diff --git a/.node-version b/.node-version index f812e45..fdb2eaa 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -20.18.1 \ No newline at end of file +22.11.0 \ No newline at end of file diff --git a/change/@rightcapital-phpdoc-parser-a5e93e98-c441-4816-9535-2856886a86f0.json b/change/@rightcapital-phpdoc-parser-a5e93e98-c441-4816-9535-2856886a86f0.json new file mode 100644 index 0000000..ec4ec0a --- /dev/null +++ b/change/@rightcapital-phpdoc-parser-a5e93e98-c441-4816-9535-2856886a86f0.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "chore(deps): update node.js to v22", + "packageName": "@rightcapital/phpdoc-parser", + "email": "29139614+renovate[bot]@users.noreply.github.com", + "dependentChangeType": "patch" +} diff --git a/package.json b/package.json index 5c43869..1207c01 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ } }, "dependencies": { - "@types/node": "20.17.6", + "@types/node": "22.9.3", "lodash": "4.17.21", "typescript": "5.7.2" }, diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 66157f5..d836974 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,8 +9,8 @@ importers: .: dependencies: '@types/node': - specifier: 20.17.6 - version: 20.17.6 + specifier: 22.9.3 + version: 22.9.3 lodash: specifier: 4.17.21 version: 4.17.21 @@ -29,13 +29,13 @@ importers: version: 7.25.7(@babel/core@7.25.8) '@commitlint/cli': specifier: 19.5.0 - version: 19.5.0(@types/node@20.17.6)(typescript@5.7.2) + version: 19.5.0(@types/node@22.9.3)(typescript@5.7.2) '@commitlint/config-conventional': specifier: 19.5.0 version: 19.5.0 '@commitlint/cz-commitlint': specifier: 19.5.0 - version: 19.5.0(@types/node@20.17.6)(commitizen@4.3.1(@types/node@20.17.6)(typescript@5.7.2))(inquirer@12.0.0(@types/node@20.17.6))(typescript@5.7.2) + version: 19.5.0(@types/node@22.9.3)(commitizen@4.3.1(@types/node@22.9.3)(typescript@5.7.2))(inquirer@12.0.0(@types/node@22.9.3))(typescript@5.7.2) '@rightcapital/eslint-config': specifier: 38.0.0 version: 38.0.0(@typescript-eslint/parser@8.0.1(eslint@9.13.0(jiti@1.21.6))(typescript@5.7.2))(eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.0.1(eslint@9.13.0(jiti@1.21.6))(typescript@5.7.2))(eslint@9.13.0(jiti@1.21.6)))(eslint@9.13.0(jiti@1.21.6))(typescript@5.7.2) @@ -50,7 +50,7 @@ importers: version: 2.47.1(typescript@5.7.2) commitizen: specifier: 4.3.1 - version: 4.3.1(@types/node@20.17.6)(typescript@5.7.2) + version: 4.3.1(@types/node@22.9.3)(typescript@5.7.2) eslint: specifier: 9.13.0 version: 9.13.0(jiti@1.21.6) @@ -59,13 +59,13 @@ importers: version: 9.1.6 inquirer: specifier: 12.0.0 - version: 12.0.0(@types/node@20.17.6) + version: 12.0.0(@types/node@22.9.3) prettier: specifier: 3.3.3 version: 3.3.3 vitest: specifier: 2.1.2 - version: 2.1.2(@types/node@20.17.6) + version: 2.1.2(@types/node@22.9.3) packages: @@ -1129,8 +1129,8 @@ packages: '@types/lodash@4.17.10': resolution: {integrity: sha512-YpS0zzoduEhuOWjAotS6A5AVCva7X4lVlYLF0FYHAY9sdraBfnatttHItlWeZdGhuEkf+OzMNg2ZYAx8t+52uQ==} - '@types/node@20.17.6': - resolution: {integrity: sha512-VEI7OdvK2wP7XHnsuXbAJnEpEkF6NjSN45QJlL4VGqZSXsnicpesdTWsg9RISeSdYd3yeRj/y3k5KGjUXYnFwQ==} + '@types/node@22.9.3': + resolution: {integrity: sha512-F3u1fs/fce3FFk+DAxbxc78DF8x0cY09RRL8GnXLmkJ1jvx3TtPdWoTT5/NiYfI5ASqXBmfqJi9dZ3gxMx4lzw==} '@types/normalize-package-data@2.4.4': resolution: {integrity: sha512-37i+OaWTh9qeK4LSHPsyRC7NahnGotNuZvjLSgcPzblpHB3rrCJxAOgI5gCdKm7coonsaX1Of0ILiTcnZjbfxA==} @@ -3988,11 +3988,11 @@ snapshots: '@babel/helper-string-parser': 7.25.9 '@babel/helper-validator-identifier': 7.25.9 - '@commitlint/cli@19.5.0(@types/node@20.17.6)(typescript@5.7.2)': + '@commitlint/cli@19.5.0(@types/node@22.9.3)(typescript@5.7.2)': dependencies: '@commitlint/format': 19.5.0 '@commitlint/lint': 19.5.0 - '@commitlint/load': 19.5.0(@types/node@20.17.6)(typescript@5.7.2) + '@commitlint/load': 19.5.0(@types/node@22.9.3)(typescript@5.7.2) '@commitlint/read': 19.5.0 '@commitlint/types': 19.5.0 tinyexec: 0.3.1 @@ -4011,14 +4011,14 @@ snapshots: '@commitlint/types': 19.5.0 ajv: 8.17.1 - '@commitlint/cz-commitlint@19.5.0(@types/node@20.17.6)(commitizen@4.3.1(@types/node@20.17.6)(typescript@5.7.2))(inquirer@12.0.0(@types/node@20.17.6))(typescript@5.7.2)': + '@commitlint/cz-commitlint@19.5.0(@types/node@22.9.3)(commitizen@4.3.1(@types/node@22.9.3)(typescript@5.7.2))(inquirer@12.0.0(@types/node@22.9.3))(typescript@5.7.2)': dependencies: '@commitlint/ensure': 19.5.0 - '@commitlint/load': 19.5.0(@types/node@20.17.6)(typescript@5.7.2) + '@commitlint/load': 19.5.0(@types/node@22.9.3)(typescript@5.7.2) '@commitlint/types': 19.5.0 chalk: 5.3.0 - commitizen: 4.3.1(@types/node@20.17.6)(typescript@5.7.2) - inquirer: 12.0.0(@types/node@20.17.6) + commitizen: 4.3.1(@types/node@22.9.3)(typescript@5.7.2) + inquirer: 12.0.0(@types/node@22.9.3) lodash.isplainobject: 4.0.6 word-wrap: 1.2.5 transitivePeerDependencies: @@ -4053,7 +4053,7 @@ snapshots: '@commitlint/rules': 19.5.0 '@commitlint/types': 19.5.0 - '@commitlint/load@19.5.0(@types/node@20.17.6)(typescript@5.7.2)': + '@commitlint/load@19.5.0(@types/node@22.9.3)(typescript@5.7.2)': dependencies: '@commitlint/config-validator': 19.5.0 '@commitlint/execute-rule': 19.5.0 @@ -4061,7 +4061,7 @@ snapshots: '@commitlint/types': 19.5.0 chalk: 5.3.0 cosmiconfig: 9.0.0(typescript@5.7.2) - cosmiconfig-typescript-loader: 5.1.0(@types/node@20.17.6)(cosmiconfig@9.0.0(typescript@5.7.2))(typescript@5.7.2) + cosmiconfig-typescript-loader: 5.1.0(@types/node@22.9.3)(cosmiconfig@9.0.0(typescript@5.7.2))(typescript@5.7.2) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -4342,25 +4342,25 @@ snapshots: '@humanwhocodes/retry@0.3.1': {} - '@inquirer/checkbox@4.0.2(@types/node@20.17.6)': + '@inquirer/checkbox@4.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) + '@inquirer/core': 10.1.0(@types/node@22.9.3) '@inquirer/figures': 1.0.8 - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 ansi-escapes: 4.3.2 yoctocolors-cjs: 2.1.2 - '@inquirer/confirm@5.0.2(@types/node@20.17.6)': + '@inquirer/confirm@5.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 - '@inquirer/core@10.1.0(@types/node@20.17.6)': + '@inquirer/core@10.1.0(@types/node@22.9.3)': dependencies: '@inquirer/figures': 1.0.8 - '@inquirer/type': 3.0.1(@types/node@20.17.6) + '@inquirer/type': 3.0.1(@types/node@22.9.3) ansi-escapes: 4.3.2 cli-width: 4.1.0 mute-stream: 2.0.0 @@ -4371,82 +4371,82 @@ snapshots: transitivePeerDependencies: - '@types/node' - '@inquirer/editor@4.1.0(@types/node@20.17.6)': + '@inquirer/editor@4.1.0(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 external-editor: 3.1.0 - '@inquirer/expand@4.0.2(@types/node@20.17.6)': + '@inquirer/expand@4.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 yoctocolors-cjs: 2.1.2 '@inquirer/figures@1.0.8': {} - '@inquirer/input@4.0.2(@types/node@20.17.6)': + '@inquirer/input@4.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 - '@inquirer/number@3.0.2(@types/node@20.17.6)': + '@inquirer/number@3.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 - '@inquirer/password@4.0.2(@types/node@20.17.6)': + '@inquirer/password@4.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 ansi-escapes: 4.3.2 - '@inquirer/prompts@7.1.0(@types/node@20.17.6)': - dependencies: - '@inquirer/checkbox': 4.0.2(@types/node@20.17.6) - '@inquirer/confirm': 5.0.2(@types/node@20.17.6) - '@inquirer/editor': 4.1.0(@types/node@20.17.6) - '@inquirer/expand': 4.0.2(@types/node@20.17.6) - '@inquirer/input': 4.0.2(@types/node@20.17.6) - '@inquirer/number': 3.0.2(@types/node@20.17.6) - '@inquirer/password': 4.0.2(@types/node@20.17.6) - '@inquirer/rawlist': 4.0.2(@types/node@20.17.6) - '@inquirer/search': 3.0.2(@types/node@20.17.6) - '@inquirer/select': 4.0.2(@types/node@20.17.6) - '@types/node': 20.17.6 - - '@inquirer/rawlist@4.0.2(@types/node@20.17.6)': - dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/prompts@7.1.0(@types/node@22.9.3)': + dependencies: + '@inquirer/checkbox': 4.0.2(@types/node@22.9.3) + '@inquirer/confirm': 5.0.2(@types/node@22.9.3) + '@inquirer/editor': 4.1.0(@types/node@22.9.3) + '@inquirer/expand': 4.0.2(@types/node@22.9.3) + '@inquirer/input': 4.0.2(@types/node@22.9.3) + '@inquirer/number': 3.0.2(@types/node@22.9.3) + '@inquirer/password': 4.0.2(@types/node@22.9.3) + '@inquirer/rawlist': 4.0.2(@types/node@22.9.3) + '@inquirer/search': 3.0.2(@types/node@22.9.3) + '@inquirer/select': 4.0.2(@types/node@22.9.3) + '@types/node': 22.9.3 + + '@inquirer/rawlist@4.0.2(@types/node@22.9.3)': + dependencies: + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 yoctocolors-cjs: 2.1.2 - '@inquirer/search@3.0.2(@types/node@20.17.6)': + '@inquirer/search@3.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) + '@inquirer/core': 10.1.0(@types/node@22.9.3) '@inquirer/figures': 1.0.8 - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 yoctocolors-cjs: 2.1.2 - '@inquirer/select@4.0.2(@types/node@20.17.6)': + '@inquirer/select@4.0.2(@types/node@22.9.3)': dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) + '@inquirer/core': 10.1.0(@types/node@22.9.3) '@inquirer/figures': 1.0.8 - '@inquirer/type': 3.0.1(@types/node@20.17.6) - '@types/node': 20.17.6 + '@inquirer/type': 3.0.1(@types/node@22.9.3) + '@types/node': 22.9.3 ansi-escapes: 4.3.2 yoctocolors-cjs: 2.1.2 - '@inquirer/type@3.0.1(@types/node@20.17.6)': + '@inquirer/type@3.0.1(@types/node@22.9.3)': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.3 '@jridgewell/gen-mapping@0.3.5': dependencies: @@ -4589,7 +4589,7 @@ snapshots: '@types/conventional-commits-parser@5.0.0': dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.3 '@types/estree@1.0.6': {} @@ -4599,7 +4599,7 @@ snapshots: '@types/lodash@4.17.10': {} - '@types/node@20.17.6': + '@types/node@22.9.3': dependencies: undici-types: 6.19.8 @@ -4743,13 +4743,13 @@ snapshots: chai: 5.1.2 tinyrainbow: 1.2.0 - '@vitest/mocker@2.1.2(@vitest/spy@2.1.2)(vite@5.4.11(@types/node@20.17.6))': + '@vitest/mocker@2.1.2(@vitest/spy@2.1.2)(vite@5.4.11(@types/node@22.9.3))': dependencies: '@vitest/spy': 2.1.2 estree-walker: 3.0.3 magic-string: 0.30.12 optionalDependencies: - vite: 5.4.11(@types/node@20.17.6) + vite: 5.4.11(@types/node@22.9.3) '@vitest/pretty-format@2.1.2': dependencies: @@ -5048,10 +5048,10 @@ snapshots: color-name@1.1.4: {} - commitizen@4.3.1(@types/node@20.17.6)(typescript@5.7.2): + commitizen@4.3.1(@types/node@22.9.3)(typescript@5.7.2): dependencies: cachedir: 2.3.0 - cz-conventional-changelog: 3.3.0(@types/node@20.17.6)(typescript@5.7.2) + cz-conventional-changelog: 3.3.0(@types/node@22.9.3)(typescript@5.7.2) dedent: 0.7.0 detect-indent: 6.1.0 find-node-modules: 2.1.3 @@ -5100,9 +5100,9 @@ snapshots: dependencies: browserslist: 4.24.2 - cosmiconfig-typescript-loader@5.1.0(@types/node@20.17.6)(cosmiconfig@9.0.0(typescript@5.7.2))(typescript@5.7.2): + cosmiconfig-typescript-loader@5.1.0(@types/node@22.9.3)(cosmiconfig@9.0.0(typescript@5.7.2))(typescript@5.7.2): dependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.3 cosmiconfig: 9.0.0(typescript@5.7.2) jiti: 1.21.6 typescript: 5.7.2 @@ -5131,16 +5131,16 @@ snapshots: shebang-command: 2.0.0 which: 2.0.2 - cz-conventional-changelog@3.3.0(@types/node@20.17.6)(typescript@5.7.2): + cz-conventional-changelog@3.3.0(@types/node@22.9.3)(typescript@5.7.2): dependencies: chalk: 2.4.2 - commitizen: 4.3.1(@types/node@20.17.6)(typescript@5.7.2) + commitizen: 4.3.1(@types/node@22.9.3)(typescript@5.7.2) conventional-commit-types: 3.0.0 lodash.map: 4.6.0 longest: 2.0.1 word-wrap: 1.2.5 optionalDependencies: - '@commitlint/load': 19.5.0(@types/node@20.17.6)(typescript@5.7.2) + '@commitlint/load': 19.5.0(@types/node@22.9.3)(typescript@5.7.2) transitivePeerDependencies: - '@types/node' - typescript @@ -5987,11 +5987,11 @@ snapshots: ini@4.1.1: {} - inquirer@12.0.0(@types/node@20.17.6): + inquirer@12.0.0(@types/node@22.9.3): dependencies: - '@inquirer/core': 10.1.0(@types/node@20.17.6) - '@inquirer/prompts': 7.1.0(@types/node@20.17.6) - '@inquirer/type': 3.0.1(@types/node@20.17.6) + '@inquirer/core': 10.1.0(@types/node@22.9.3) + '@inquirer/prompts': 7.1.0(@types/node@22.9.3) + '@inquirer/type': 3.0.1(@types/node@22.9.3) ansi-escapes: 4.3.2 mute-stream: 2.0.0 run-async: 3.0.0 @@ -6915,12 +6915,12 @@ snapshots: spdx-correct: 3.2.0 spdx-expression-parse: 3.0.1 - vite-node@2.1.2(@types/node@20.17.6): + vite-node@2.1.2(@types/node@22.9.3): dependencies: cac: 6.7.14 debug: 4.3.7 pathe: 1.1.2 - vite: 5.4.11(@types/node@20.17.6) + vite: 5.4.11(@types/node@22.9.3) transitivePeerDependencies: - '@types/node' - less @@ -6932,19 +6932,19 @@ snapshots: - supports-color - terser - vite@5.4.11(@types/node@20.17.6): + vite@5.4.11(@types/node@22.9.3): dependencies: esbuild: 0.21.5 postcss: 8.4.49 rollup: 4.27.2 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.3 fsevents: 2.3.3 - vitest@2.1.2(@types/node@20.17.6): + vitest@2.1.2(@types/node@22.9.3): dependencies: '@vitest/expect': 2.1.2 - '@vitest/mocker': 2.1.2(@vitest/spy@2.1.2)(vite@5.4.11(@types/node@20.17.6)) + '@vitest/mocker': 2.1.2(@vitest/spy@2.1.2)(vite@5.4.11(@types/node@22.9.3)) '@vitest/pretty-format': 2.1.5 '@vitest/runner': 2.1.2 '@vitest/snapshot': 2.1.2 @@ -6959,11 +6959,11 @@ snapshots: tinyexec: 0.3.1 tinypool: 1.0.2 tinyrainbow: 1.2.0 - vite: 5.4.11(@types/node@20.17.6) - vite-node: 2.1.2(@types/node@20.17.6) + vite: 5.4.11(@types/node@22.9.3) + vite-node: 2.1.2(@types/node@22.9.3) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 20.17.6 + '@types/node': 22.9.3 transitivePeerDependencies: - less - lightningcss