Commit a38be55

Anton Golub <antongolub@antongolub.com>
2025-03-04 17:14:51
chore(deps): update TS to 5.8 (#1120)
1 parent 3efc9eb
package-lock.json
@@ -15,7 +15,7 @@
         "@size-limit/file": "11.2.0",
         "@types/fs-extra": "11.0.4",
         "@types/minimist": "1.2.5",
-        "@types/node": ">=22.13.5",
+        "@types/node": "22.13.5",
         "@types/which": "3.0.4",
         "@webpod/ingrid": "0.0.0-beta.3",
         "@webpod/ps": "0.1.0",
@@ -37,17 +37,17 @@
         "fs-extra": "11.2.0",
         "get-port": "7.1.0",
         "globby": "14.0.2",
-        "jsr": "0.13.3",
-        "lefthook": "1.10.11",
+        "jsr": "0.13.4",
+        "lefthook": "1.11.2",
         "madge": "8.0.0",
         "minimist": "1.2.8",
         "node-fetch-native": "1.6.4",
-        "prettier": "3.5.2",
+        "prettier": "3.5.3",
         "size-limit": "11.2.0",
         "ts-node": "10.9.2",
         "tsd": "0.31.2",
         "tsx": "4.19.3",
-        "typescript": "5.7.3",
+        "typescript": "5.8.2",
         "vitepress": "1.6.3",
         "which": "5.0.0",
         "yaml": "2.7.0",
@@ -1246,9 +1246,9 @@
       "license": "MIT"
     },
     "node_modules/@typescript-eslint/types": {
-      "version": "8.24.0",
-      "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.24.0.tgz",
-      "integrity": "sha512-VacJCBTyje7HGAw7xp11q439A+zeGG0p0/p2zsZwpnMzjPB5WteaWqt4g2iysgGFafrqvyLWqq6ZPZAOCoefCw==",
+      "version": "8.26.0",
+      "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.26.0.tgz",
+      "integrity": "sha512-89B1eP3tnpr9A8L6PZlSjBvnJhWXtYfZhECqlBl1D9Lme9mHO6iWlsprBtVenQvY1HMhax1mWOjhtL3fh/u+pA==",
       "dev": true,
       "license": "MIT",
       "engines": {
@@ -1260,14 +1260,14 @@
       }
     },
     "node_modules/@typescript-eslint/typescript-estree": {
-      "version": "8.24.0",
-      "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.24.0.tgz",
-      "integrity": "sha512-ITjYcP0+8kbsvT9bysygfIfb+hBj6koDsu37JZG7xrCiy3fPJyNmfVtaGsgTUSEuTzcvME5YI5uyL5LD1EV5ZQ==",
+      "version": "8.26.0",
+      "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.26.0.tgz",
+      "integrity": "sha512-tiJ1Hvy/V/oMVRTbEOIeemA2XoylimlDQ03CgPPNaHYZbpsc78Hmngnt+WXZfJX1pjQ711V7g0H7cSJThGYfPQ==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
-        "@typescript-eslint/types": "8.24.0",
-        "@typescript-eslint/visitor-keys": "8.24.0",
+        "@typescript-eslint/types": "8.26.0",
+        "@typescript-eslint/visitor-keys": "8.26.0",
         "debug": "^4.3.4",
         "fast-glob": "^3.3.2",
         "is-glob": "^4.0.3",
@@ -1283,7 +1283,7 @@
         "url": "https://opencollective.com/typescript-eslint"
       },
       "peerDependencies": {
-        "typescript": ">=4.8.4 <5.8.0"
+        "typescript": ">=4.8.4 <5.9.0"
       }
     },
     "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
@@ -1313,13 +1313,13 @@
       }
     },
     "node_modules/@typescript-eslint/visitor-keys": {
-      "version": "8.24.0",
-      "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.24.0.tgz",
-      "integrity": "sha512-kArLq83QxGLbuHrTMoOEWO+l2MwsNS2TGISEdx8xgqpkbytB07XmlQyQdNDrCc1ecSqx0cnmhGvpX+VBwqqSkg==",
+      "version": "8.26.0",
+      "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.26.0.tgz",
+      "integrity": "sha512-2z8JQJWAzPdDd51dRQ/oqIJxe99/hoLIqmf8RMCAJQtYDc535W/Jt2+RTP4bP0aKeBG1F65yjIZuczOXCmbWwg==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
-        "@typescript-eslint/types": "8.24.0",
+        "@typescript-eslint/types": "8.26.0",
         "eslint-visitor-keys": "^4.2.0"
       },
       "engines": {
@@ -3755,9 +3755,9 @@
       }
     },
     "node_modules/jsr": {
-      "version": "0.13.3",
-      "resolved": "https://registry.npmjs.org/jsr/-/jsr-0.13.3.tgz",
-      "integrity": "sha512-iPt9r1lMK8BIdGwLP9/PslqkP8HoU3tn3c26qrQlavC6sgqy7lbJk0wLHbrbKZCD5a7RIomvTivvJTFQrvkIPQ==",
+      "version": "0.13.4",
+      "resolved": "https://registry.npmjs.org/jsr/-/jsr-0.13.4.tgz",
+      "integrity": "sha512-GJ9Ju8kf2SxH90C1AqANrMKBFlDjrZu1YoFm4SoMCOBOxix3Bvirdg5JB31gbF8FwPBo3196dAaqV0WUjeuq8Q==",
       "dev": true,
       "license": "MIT",
       "dependencies": {
@@ -3787,9 +3787,9 @@
       "license": "MIT"
     },
     "node_modules/lefthook": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook/-/lefthook-1.10.11.tgz",
-      "integrity": "sha512-UIH7g6VhCt0Vmfojtl75xOwxHPSC11nG1CCanDHsiBy8TAa2WI6SWgpVXxJOuAEakzj4DFLZyxFI26jJ1mu/vg==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook/-/lefthook-1.11.2.tgz",
+      "integrity": "sha512-/5royc/WbL2KTfFJ54wEdvxUZOBXwc54v/fW2Bz4LMOkAA3LWIxnoUiybSiauu+nhdTG98qERxH1YHwF2wZlAA==",
       "dev": true,
       "hasInstallScript": true,
       "license": "MIT",
@@ -3797,22 +3797,22 @@
         "lefthook": "bin/index.js"
       },
       "optionalDependencies": {
-        "lefthook-darwin-arm64": "1.10.11",
-        "lefthook-darwin-x64": "1.10.11",
-        "lefthook-freebsd-arm64": "1.10.11",
-        "lefthook-freebsd-x64": "1.10.11",
-        "lefthook-linux-arm64": "1.10.11",
-        "lefthook-linux-x64": "1.10.11",
-        "lefthook-openbsd-arm64": "1.10.11",
-        "lefthook-openbsd-x64": "1.10.11",
-        "lefthook-windows-arm64": "1.10.11",
-        "lefthook-windows-x64": "1.10.11"
+        "lefthook-darwin-arm64": "1.11.2",
+        "lefthook-darwin-x64": "1.11.2",
+        "lefthook-freebsd-arm64": "1.11.2",
+        "lefthook-freebsd-x64": "1.11.2",
+        "lefthook-linux-arm64": "1.11.2",
+        "lefthook-linux-x64": "1.11.2",
+        "lefthook-openbsd-arm64": "1.11.2",
+        "lefthook-openbsd-x64": "1.11.2",
+        "lefthook-windows-arm64": "1.11.2",
+        "lefthook-windows-x64": "1.11.2"
       }
     },
     "node_modules/lefthook-darwin-arm64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-darwin-arm64/-/lefthook-darwin-arm64-1.10.11.tgz",
-      "integrity": "sha512-yFsuEKjO5FP1svuv7m+epGsKmec8hHWxYIAnL2sDMiVR+rbSrd4zKWCGis7hdu/H0ltR/3NbHWzM3NFcxmDalg==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-darwin-arm64/-/lefthook-darwin-arm64-1.11.2.tgz",
+      "integrity": "sha512-8DpvrybtWdt6UmfZk+hA8daYXr6zkpJVogZ8M49BQx6ISSKUaC03xzO1m4MrAsoKok77ka4JAidYhOa2gCu15A==",
       "cpu": [
         "arm64"
       ],
@@ -3824,9 +3824,9 @@
       ]
     },
     "node_modules/lefthook-darwin-x64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-darwin-x64/-/lefthook-darwin-x64-1.10.11.tgz",
-      "integrity": "sha512-mWoMnZzDsV5RnfNmH7iDtlGCi+2DVhnS2IgiBqyYF2nS1Qcitq6heFvs6bwwMY1eC2brtTn0BeuqzEV6Ye635Q==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-darwin-x64/-/lefthook-darwin-x64-1.11.2.tgz",
+      "integrity": "sha512-DrL1SOT8lJksjudRu6fTZTp3M0EbpCP2RQ22MDT71clS8BMrFL8x3h9Ziw+uNH76j9zA241tW5zMxWMSv+foAA==",
       "cpu": [
         "x64"
       ],
@@ -3838,9 +3838,9 @@
       ]
     },
     "node_modules/lefthook-freebsd-arm64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-freebsd-arm64/-/lefthook-freebsd-arm64-1.10.11.tgz",
-      "integrity": "sha512-f96TplcyqUQtUE41XnCLkmCJXgzeJB0spzy/0k/k/DhMDNWOJZC72a08XfxyCIOCg9b5XXBP+jjmVWB/4ZcyJA==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-freebsd-arm64/-/lefthook-freebsd-arm64-1.11.2.tgz",
+      "integrity": "sha512-AliG4Wi8BNC27hCSnuFBeUXh/eA3fppnUbQQPISy/G94yfwRkzyml9MZzvb7HKmUpw1LT0sq9RQ6FQPxBZ2DYA==",
       "cpu": [
         "arm64"
       ],
@@ -3852,9 +3852,9 @@
       ]
     },
     "node_modules/lefthook-freebsd-x64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-freebsd-x64/-/lefthook-freebsd-x64-1.10.11.tgz",
-      "integrity": "sha512-9WVlSIzyb6U8kSGb9sFyeTWL4XesCGIWwElGIoDo6q3K4BnlAVC9gfy6aoBA795r7ccOvDvJu8b/G+tE3Qk1Jg==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-freebsd-x64/-/lefthook-freebsd-x64-1.11.2.tgz",
+      "integrity": "sha512-V6cgRCoi5+jcq6XBIdRYraeEOK1UhBrtL/XZlNypAIkhPoBtfTP9u2wSprGMDzZvJCRriLXZxV/d0v94laKXzA==",
       "cpu": [
         "x64"
       ],
@@ -3866,9 +3866,9 @@
       ]
     },
     "node_modules/lefthook-linux-arm64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-linux-arm64/-/lefthook-linux-arm64-1.10.11.tgz",
-      "integrity": "sha512-EvFeBjXsUG45qbX5Xn7YQYjmp+jMhv9E2p/DHX+1aUschG5xKiGlVVEnjyb1uvd7fgnKUCp1IwcJ/dtBGEbI5w==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-linux-arm64/-/lefthook-linux-arm64-1.11.2.tgz",
+      "integrity": "sha512-VKcK7sjIK8UpXX/qK6Fxa0Lnwr4gzRtlXDS17jzxThcyFk8iGBpQ+9ZnPLv2yAaEIzmGhJUG9sDgOb9IQ5kpBQ==",
       "cpu": [
         "arm64"
       ],
@@ -3880,9 +3880,9 @@
       ]
     },
     "node_modules/lefthook-linux-x64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-linux-x64/-/lefthook-linux-x64-1.10.11.tgz",
-      "integrity": "sha512-+FR7P6BYWV+FsgDCioJkF+z6q19+FR1G5cFB1b2RhdFU0/ARd9EvphBps0t84cmjwilVvB8jEUXSieJx2AFfJg==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-linux-x64/-/lefthook-linux-x64-1.11.2.tgz",
+      "integrity": "sha512-aGa2Krph14YwSW7KF0PrlCBK9P7V/Z4oFklonmz3r2Fjm8EdhA750y7OQvA9KerXRleIb5SaUH/cz1azG/izeQ==",
       "cpu": [
         "x64"
       ],
@@ -3894,9 +3894,9 @@
       ]
     },
     "node_modules/lefthook-openbsd-arm64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-openbsd-arm64/-/lefthook-openbsd-arm64-1.10.11.tgz",
-      "integrity": "sha512-yqJmk35FGLwV+2FtT35akpekTQXccfBMImPfV0WO4xxhqhzCEqYhcIC7snLfmNKffBbTZr4Dih6BVWP0b70Xtw==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-openbsd-arm64/-/lefthook-openbsd-arm64-1.11.2.tgz",
+      "integrity": "sha512-f7owNQ9Ki6Y07KBgdXdH28EYO0eBdZuGTpIggMeHNhYFVDavxuINP2BjmbXtzpUu8K5BX6exGx0umtWhRhXbvQ==",
       "cpu": [
         "arm64"
       ],
@@ -3908,9 +3908,9 @@
       ]
     },
     "node_modules/lefthook-openbsd-x64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-openbsd-x64/-/lefthook-openbsd-x64-1.10.11.tgz",
-      "integrity": "sha512-DEMaaiCLXZQECssg5SYXDEPm6d0k7FtRSCKdBELIvzCwFGG5dmLo9AdRBwog60Y9eqGMa4a34tVs/jWNC2fzhw==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-openbsd-x64/-/lefthook-openbsd-x64-1.11.2.tgz",
+      "integrity": "sha512-HKv6PV64vOjqPrlxAqo07N9+Z34jdPDBfeExqi0ldR7vACFaBJFIdhWCLLP+3uQUrNKc8GXlikqplZn8MgRSQw==",
       "cpu": [
         "x64"
       ],
@@ -3922,9 +3922,9 @@
       ]
     },
     "node_modules/lefthook-windows-arm64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-windows-arm64/-/lefthook-windows-arm64-1.10.11.tgz",
-      "integrity": "sha512-ZW4xhsdffWS2CvE7VvrS4lcYHVOn1bcqFwd0vGhfz6mK6IocjOChLwLitRl816UOZd5F3qvQet/MndHsEbuP6Q==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-windows-arm64/-/lefthook-windows-arm64-1.11.2.tgz",
+      "integrity": "sha512-042jCKZ/H+lS6XYoMIf2FWMP2hxXqfAT52UW6lYObIOvQ5xu/epUXFjtmXRyYxCv57No3JYYMg1Yr06xdzTKkQ==",
       "cpu": [
         "arm64"
       ],
@@ -3936,9 +3936,9 @@
       ]
     },
     "node_modules/lefthook-windows-x64": {
-      "version": "1.10.11",
-      "resolved": "https://registry.npmjs.org/lefthook-windows-x64/-/lefthook-windows-x64-1.10.11.tgz",
-      "integrity": "sha512-G4Gh96AKp/pRDH6PE3UPhuAg+gOHBNaJAXq0/NJ1zb8qnadyPLf9Vk248AVW916v6UQBq75wIeAe1kjeaxa7Uw==",
+      "version": "1.11.2",
+      "resolved": "https://registry.npmjs.org/lefthook-windows-x64/-/lefthook-windows-x64-1.11.2.tgz",
+      "integrity": "sha512-1Map6Ck2AyfY6ptN9T19N41HFKFqRTzmILtGaRGJABEzHiE4+gSWcq5YT1R6cCtkVlewD3Lx+J/80D/Kb/cVtw==",
       "cpu": [
         "x64"
       ],
@@ -4975,9 +4975,9 @@
       }
     },
     "node_modules/prettier": {
-      "version": "3.5.2",
-      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.2.tgz",
-      "integrity": "sha512-lc6npv5PH7hVqozBR7lkBNOGXV9vMwROAPlumdBkX0wTbbzPu/U1hk5yL8p2pt4Xoc+2mkT8t/sow2YrV/M5qg==",
+      "version": "3.5.3",
+      "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.5.3.tgz",
+      "integrity": "sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw==",
       "dev": true,
       "license": "MIT",
       "bin": {
@@ -6367,9 +6367,9 @@
       }
     },
     "node_modules/typescript": {
-      "version": "5.7.3",
-      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.3.tgz",
-      "integrity": "sha512-84MVSjMEHP+FQRPy3pX9sTVV/INIex71s9TL2Gm5FG/WG1SqXeKyZ0k7/blY/4FdOzI12CBy1vGc4og/eus0fw==",
+      "version": "5.8.2",
+      "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.8.2.tgz",
+      "integrity": "sha512-aJn6wq13/afZp/jT9QZmwEjDqqvSGp1VT5GVg+f/t6/oVyrgXM6BY1h9BRh/O5p3PlUPAe+WuiEZOmb/49RqoQ==",
       "dev": true,
       "license": "Apache-2.0",
       "bin": {
package.json
@@ -96,7 +96,7 @@
     "@size-limit/file": "11.2.0",
     "@types/fs-extra": "11.0.4",
     "@types/minimist": "1.2.5",
-    "@types/node": ">=22.13.5",
+    "@types/node": "22.13.5",
     "@types/which": "3.0.4",
     "@webpod/ingrid": "0.0.0-beta.3",
     "@webpod/ps": "0.1.0",
@@ -118,17 +118,17 @@
     "fs-extra": "11.2.0",
     "get-port": "7.1.0",
     "globby": "14.0.2",
-    "jsr": "0.13.3",
-    "lefthook": "1.10.11",
+    "jsr": "0.13.4",
+    "lefthook": "1.11.2",
     "madge": "8.0.0",
     "minimist": "1.2.8",
     "node-fetch-native": "1.6.4",
-    "prettier": "3.5.2",
+    "prettier": "3.5.3",
     "size-limit": "11.2.0",
     "ts-node": "10.9.2",
     "tsd": "0.31.2",
     "tsx": "4.19.3",
-    "typescript": "5.7.3",
+    "typescript": "5.8.2",
     "vitepress": "1.6.3",
     "which": "5.0.0",
     "yaml": "2.7.0",
tsconfig.json
@@ -9,7 +9,7 @@
     "declaration": true,
     "emitDeclarationOnly": true,
     "allowImportingTsExtensions": true,
-    "types": []
+    "types": ["node", "fs-extra"]
   },
   "include": ["./src/**/*"],
   "exclude": ["./src/globals.ts"]