]> git.ardis.lu - csvio/commitdiff
Upgrade to TypeScript 6
authorArdis Lu <ardisglu@gmail.com>
Wed, 3 Jun 2026 05:09:32 +0000 (22:09 -0700)
committerArdis Lu <ardisglu@gmail.com>
Wed, 3 Jun 2026 05:09:32 +0000 (22:09 -0700)
package-lock.json
package.json
tsconfig.json

index b70b80e4eb1d6f5e1a205c12ecb6ca46280dd85d..848fe3a5161f925ad2598ca57f574ca5e7d3a948 100644 (file)
@@ -10,7 +10,7 @@
       "license": "MIT",
       "devDependencies": {
         "@types/node": "^25.0.10",
-        "typescript": "^5.9.3"
+        "typescript": "^6.0.3"
       },
       "engines": {
         "node": ">=20"
@@ -27,9 +27,9 @@
       }
     },
     "node_modules/typescript": {
-      "version": "5.9.3",
-      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
-      "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
+      "version": "6.0.3",
+      "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",
+      "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",
       "dev": true,
       "license": "Apache-2.0",
       "bin": {
index 64c1525526b585bc882f8a148ff03f1d0db63c81..efec5742a96e6dc9739cd25855eed1f273638d86 100644 (file)
@@ -51,6 +51,6 @@
   },
   "devDependencies": {
     "@types/node": "^25.0.10",
-    "typescript": "^5.9.3"
+    "typescript": "^6.0.3"
   }
 }
index bfc63e61709d4ab4b314b2fa0d363af1d6d8de9b..f0bca3779884507fbc946aa0043061f6c74f2839 100644 (file)
@@ -1,14 +1,15 @@
 {
   "files": ["./src/index.js"],
   "compilerOptions": {
+    "rootDir": "./src",
     "outDir": "./types",
     "module": "NodeNext",
     "target": "ESNext",
     "lib": ["ESNext"],
+    "types": ["node"],
     "allowJs": true,
     "declaration": true,
     "declarationMap": true,
-    "emitDeclarationOnly": true,
-    "strict": true
+    "emitDeclarationOnly": true
   }
 }
This page took 0.039133 seconds and 4 git commands to generate.