diff --git a/package.json b/package.json index a656b0a..f6b1ce6 100644 --- a/package.json +++ b/package.json @@ -73,7 +73,7 @@ "devDependencies": { "@arethetypeswrong/cli": "^0.15.3", "@total-typescript/shoehorn": "^0.1.2", - "@types/node": "^20.14.12", + "@types/node": "^22.0.2", "@types/validate-npm-package-name": "^4.0.2", "@vitest/coverage-v8": "^2.0.4", "np": "^10.0.7", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1577ab6..8ae5681 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,14 +52,14 @@ importers: specifier: ^0.1.2 version: 0.1.2 '@types/node': - specifier: ^20.14.12 - version: 20.14.12 + specifier: ^22.0.2 + version: 22.0.2 '@types/validate-npm-package-name': specifier: ^4.0.2 version: 4.0.2 '@vitest/coverage-v8': specifier: ^2.0.4 - version: 2.0.5(vitest@2.0.5(@types/node@20.14.12)) + version: 2.0.5(vitest@2.0.5(@types/node@22.0.2)) np: specifier: ^10.0.7 version: 10.0.7(typescript@5.5.4) @@ -74,7 +74,7 @@ importers: version: 5.5.4 vitest: specifier: ^2.0.4 - version: 2.0.5(@types/node@20.14.12) + version: 2.0.5(@types/node@22.0.2) packages: @@ -581,8 +581,8 @@ packages: '@types/estree@1.0.5': resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} - '@types/node@20.14.12': - resolution: {integrity: sha512-r7wNXakLeSsGT0H1AU863vS2wa5wBOK4bWMjZz2wj+8nBx+m5PeIn0k8AloSLpRuiwdRQZwarZqHE4FNArPuJQ==} + '@types/node@22.0.2': + resolution: {integrity: sha512-yPL6DyFwY5PiMVEwymNeqUTKsDczQBJ/5T7W/46RwLU/VH+AA8aT5TZkvBviLKLbbm0hlfftEkGrNzfRk/fofQ==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -2189,8 +2189,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - undici-types@5.26.5: - resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + undici-types@6.11.1: + resolution: {integrity: sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ==} unicode-emoji-modifier-base@1.0.0: resolution: {integrity: sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==} @@ -2670,15 +2670,15 @@ snapshots: '@types/estree@1.0.5': {} - '@types/node@20.14.12': + '@types/node@22.0.2': dependencies: - undici-types: 5.26.5 + undici-types: 6.11.1 '@types/normalize-package-data@2.4.4': {} '@types/validate-npm-package-name@4.0.2': {} - '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@20.14.12))': + '@vitest/coverage-v8@2.0.5(vitest@2.0.5(@types/node@22.0.2))': dependencies: '@ampproject/remapping': 2.3.0 '@bcoe/v8-coverage': 0.2.3 @@ -2692,7 +2692,7 @@ snapshots: std-env: 3.7.0 test-exclude: 7.0.1 tinyrainbow: 1.2.0 - vitest: 2.0.5(@types/node@20.14.12) + vitest: 2.0.5(@types/node@22.0.2) transitivePeerDependencies: - supports-color @@ -4304,7 +4304,7 @@ snapshots: typescript@5.5.4: {} - undici-types@5.26.5: {} + undici-types@6.11.1: {} unicode-emoji-modifier-base@1.0.0: {} @@ -4338,13 +4338,13 @@ snapshots: validate-npm-package-name@5.0.1: {} - vite-node@2.0.5(@types/node@20.14.12): + vite-node@2.0.5(@types/node@22.0.2): dependencies: cac: 6.7.14 debug: 4.3.5 pathe: 1.1.2 tinyrainbow: 1.2.0 - vite: 5.3.5(@types/node@20.14.12) + vite: 5.3.5(@types/node@22.0.2) transitivePeerDependencies: - '@types/node' - less @@ -4355,16 +4355,16 @@ snapshots: - supports-color - terser - vite@5.3.5(@types/node@20.14.12): + vite@5.3.5(@types/node@22.0.2): dependencies: esbuild: 0.21.5 postcss: 8.4.40 rollup: 4.19.0 optionalDependencies: - '@types/node': 20.14.12 + '@types/node': 22.0.2 fsevents: 2.3.3 - vitest@2.0.5(@types/node@20.14.12): + vitest@2.0.5(@types/node@22.0.2): dependencies: '@ampproject/remapping': 2.3.0 '@vitest/expect': 2.0.5 @@ -4382,11 +4382,11 @@ snapshots: tinybench: 2.8.0 tinypool: 1.0.0 tinyrainbow: 1.2.0 - vite: 5.3.5(@types/node@20.14.12) - vite-node: 2.0.5(@types/node@20.14.12) + vite: 5.3.5(@types/node@22.0.2) + vite-node: 2.0.5(@types/node@22.0.2) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.14.12 + '@types/node': 22.0.2 transitivePeerDependencies: - less - lightningcss diff --git a/test/packages/__snapshots__/magicast.test.ts.snap b/test/packages/__snapshots__/magicast.test.ts.snap index 3b854cc..31d05dd 100644 --- a/test/packages/__snapshots__/magicast.test.ts.snap +++ b/test/packages/__snapshots__/magicast.test.ts.snap @@ -544,7 +544,7 @@ exports[`magicast@0.3.3 1`] = ` "file": "/@babel/types/lib/index.d.ts", "id": "+type.ASTNode", "kind": "type", - "line": 1464, + "line": 1480, "name": "ASTNode", "signature": "type Node = | AnyTypeAnnotation