diff --git a/package.json b/package.json index 071b579a..77b99a85 100644 --- a/package.json +++ b/package.json @@ -42,13 +42,15 @@ ], "devDependencies": { "@types/fs-extra": "^11.0.4", + "@types/node": "^22.10.6", "case-anything": "^2.1.13", "fs-extra": "^11.2.0", "lerna": "^8.1.9", "mocha": "^7.2.0", "plop": "^3.1.2", "rimraf": "^6.0.1", - "ts-node": "^10.9.2" + "ts-node": "^10.9.2", + "typescript": "^5.7.3" }, "packageManager": "yarn@4.5.1" } diff --git a/packages/class-name-updater/package.json b/packages/class-name-updater/package.json index 65546a04..fbf734ce 100644 --- a/packages/class-name-updater/package.json +++ b/packages/class-name-updater/package.json @@ -27,6 +27,6 @@ }, "devDependencies": { "@types/diff": "^5.0.9", - "typescript": "^5.4.2" + "typescript": "^5.7.3" } } diff --git a/packages/css-vars-updater/package.json b/packages/css-vars-updater/package.json index 91c5fc84..4b0857f7 100644 --- a/packages/css-vars-updater/package.json +++ b/packages/css-vars-updater/package.json @@ -21,10 +21,11 @@ "commander": "^5.1.0", "diff": "^5.1.0", "glob": "^10.2.6", - "inquirer": "^12.0.1" + "inquirer": "^12.3.2" }, "devDependencies": { "@types/diff": "^5.0.9", - "typescript": "^5.4.2" + "@types/node": "^22.10.6", + "typescript": "^5.7.3" } } diff --git a/packages/eslint-plugin-pf-codemods/package.json b/packages/eslint-plugin-pf-codemods/package.json index dce4cd79..34fcfb99 100644 --- a/packages/eslint-plugin-pf-codemods/package.json +++ b/packages/eslint-plugin-pf-codemods/package.json @@ -27,6 +27,7 @@ }, "devDependencies": { "@types/eslint": "^8.56.0", - "@types/estree-jsx": "^1.0.4" + "@types/estree-jsx": "^1.0.4", + "typescript": "^5.7.3" } } diff --git a/packages/pf-codemods/package.json b/packages/pf-codemods/package.json index 0afd3a7e..2f613cca 100644 --- a/packages/pf-codemods/package.json +++ b/packages/pf-codemods/package.json @@ -18,7 +18,7 @@ "@patternfly/eslint-plugin-pf-codemods": "^1.139.1", "@typescript-eslint/parser": "^7.3.1", "commander": "^5.1.0", - "eslint": "^7.3.0 || ^8.29.0", - "typescript": "^5.4.2" + "eslint": "^7.3.0 || ^8.56.0", + "typescript": "^5.7.3" } } diff --git a/packages/shared-codemod-helpers/package.json b/packages/shared-codemod-helpers/package.json index 96ef7c1c..3b7e8019 100644 --- a/packages/shared-codemod-helpers/package.json +++ b/packages/shared-codemod-helpers/package.json @@ -20,6 +20,6 @@ }, "devDependencies": { "@types/diff": "^5.0.9", - "typescript": "^5.4.2" + "typescript": "^5.7.3" } } diff --git a/yarn.lock b/yarn.lock index 2f71d4c5..cf96ed02 100644 --- a/yarn.lock +++ b/yarn.lock @@ -80,45 +80,45 @@ __metadata: languageName: node linkType: hard -"@eslint-community/regexpp@npm:^4.4.0": - version: 4.5.0 - resolution: "@eslint-community/regexpp@npm:4.5.0" - checksum: 10c0/7a828a8cf9422c4d6676f3b207237cabf3cd3c4327a28c5990b726630677ddc35ea9f9488d3c9c449db924cd5d9d58ded7824339774ca3592d292e0d6f945bde +"@eslint-community/regexpp@npm:^4.6.1": + version: 4.12.1 + resolution: "@eslint-community/regexpp@npm:4.12.1" + checksum: 10c0/a03d98c246bcb9109aec2c08e4d10c8d010256538dcb3f56610191607214523d4fb1b00aa81df830b6dffb74c5fa0be03642513a289c567949d3e550ca11cdf6 languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.0.2": - version: 2.0.2 - resolution: "@eslint/eslintrc@npm:2.0.2" +"@eslint/eslintrc@npm:^2.1.4": + version: 2.1.4 + resolution: "@eslint/eslintrc@npm:2.1.4" dependencies: ajv: "npm:^6.12.4" debug: "npm:^4.3.2" - espree: "npm:^9.5.1" + espree: "npm:^9.6.0" globals: "npm:^13.19.0" ignore: "npm:^5.2.0" import-fresh: "npm:^3.2.1" js-yaml: "npm:^4.1.0" minimatch: "npm:^3.1.2" strip-json-comments: "npm:^3.1.1" - checksum: 10c0/6ae7360f4e45fbfa6f66ba92be506860d15f070847bdad4542c97eda98b16c1f4f5be4a8807ccb284224691eb4125bbffc51e8933f6cb186d6cf23a8e668eb5b + checksum: 10c0/32f67052b81768ae876c84569ffd562491ec5a5091b0c1e1ca1e0f3c24fb42f804952fdd0a137873bc64303ba368a71ba079a6f691cee25beee9722d94cc8573 languageName: node linkType: hard -"@eslint/js@npm:8.38.0": - version: 8.38.0 - resolution: "@eslint/js@npm:8.38.0" - checksum: 10c0/e2f4b565d542758779b98019cfa63e24fc56fabfb8d04caf7f6310753703116b880b6a8061d671f2a40a68dba24a8a199eb01d5c8b140f53c49f05c75b404ff5 +"@eslint/js@npm:8.57.1": + version: 8.57.1 + resolution: "@eslint/js@npm:8.57.1" + checksum: 10c0/b489c474a3b5b54381c62e82b3f7f65f4b8a5eaaed126546520bf2fede5532a8ed53212919fed1e9048dcf7f37167c8561d58d0ba4492a4244004e7793805223 languageName: node linkType: hard -"@humanwhocodes/config-array@npm:^0.11.8": - version: 0.11.8 - resolution: "@humanwhocodes/config-array@npm:0.11.8" +"@humanwhocodes/config-array@npm:^0.13.0": + version: 0.13.0 + resolution: "@humanwhocodes/config-array@npm:0.13.0" dependencies: - "@humanwhocodes/object-schema": "npm:^1.2.1" - debug: "npm:^4.1.1" + "@humanwhocodes/object-schema": "npm:^2.0.3" + debug: "npm:^4.3.1" minimatch: "npm:^3.0.5" - checksum: 10c0/441223496cc5ae3ae443e11e2ba05f03f6418d1e0233e3d160b027dda742d7a957fa9e1d56125d5829079419c797c13e1ae8ffe3454f268901ac18f68e0198f1 + checksum: 10c0/205c99e756b759f92e1f44a3dc6292b37db199beacba8f26c2165d4051fe73a4ae52fdcfd08ffa93e7e5cb63da7c88648f0e84e197d154bbbbe137b2e0dd332e languageName: node linkType: hard @@ -129,10 +129,10 @@ __metadata: languageName: node linkType: hard -"@humanwhocodes/object-schema@npm:^1.2.1": - version: 1.2.1 - resolution: "@humanwhocodes/object-schema@npm:1.2.1" - checksum: 10c0/c3c35fdb70c04a569278351c75553e293ae339684ed75895edc79facc7276e351115786946658d78133130c0cca80e57e2203bc07f8fa7fe7980300e8deef7db +"@humanwhocodes/object-schema@npm:^2.0.3": + version: 2.0.3 + resolution: "@humanwhocodes/object-schema@npm:2.0.3" + checksum: 10c0/80520eabbfc2d32fe195a93557cef50dfe8c8905de447f022675aaf66abc33ae54098f5ea78548d925aa671cd4ab7c7daa5ad704fe42358c9b5e7db60f80696c languageName: node linkType: hard @@ -143,39 +143,39 @@ __metadata: languageName: node linkType: hard -"@inquirer/checkbox@npm:^4.0.1": - version: 4.0.1 - resolution: "@inquirer/checkbox@npm:4.0.1" +"@inquirer/checkbox@npm:^4.0.6": + version: 4.0.6 + resolution: "@inquirer/checkbox@npm:4.0.6" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/figures": "npm:^1.0.7" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/figures": "npm:^1.0.9" + "@inquirer/type": "npm:^3.0.2" ansi-escapes: "npm:^4.3.2" yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/62a0dd67c799ca6f45a7892564eb4bde7d5697eda4cda0594cb948022e69d86b7190f1522b291a470b5d407fa9046713b6caa5417312fc190293c599b179b0c0 + checksum: 10c0/919e3c5d652f1ccd9d5e8e9678e63981a968ba4a0dffe9d9409d94a1951b398218f7dfb05e57aefcb3c3c1d61ac2333160e370b0ff4632ada7a92ebe07a2ca72 languageName: node linkType: hard -"@inquirer/confirm@npm:^5.0.1": - version: 5.0.1 - resolution: "@inquirer/confirm@npm:5.0.1" +"@inquirer/confirm@npm:^5.1.3": + version: 5.1.3 + resolution: "@inquirer/confirm@npm:5.1.3" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/type": "npm:^3.0.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/bd8fafd75d4d591b3c153cb2f76d7ac9163701cb0a032e8e589d51c918a41d1da70ae7aaeb4d8d7394979a9af24c23a7d71ea6106d3308004f9829f133765776 + checksum: 10c0/ddbca429ebb3a8bf1d10928f4ab0c8eedbf3f74f85ed64c6b26a830f0fbbab5fa964b9ef2eb2c57a10b9afc9ca3921a12e4659f5a83069078cd1a7ce3d0d126d languageName: node linkType: hard -"@inquirer/core@npm:^10.0.1": - version: 10.0.1 - resolution: "@inquirer/core@npm:10.0.1" +"@inquirer/core@npm:^10.1.4": + version: 10.1.4 + resolution: "@inquirer/core@npm:10.1.4" dependencies: - "@inquirer/figures": "npm:^1.0.7" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/figures": "npm:^1.0.9" + "@inquirer/type": "npm:^3.0.2" ansi-escapes: "npm:^4.3.2" cli-width: "npm:^4.1.0" mute-stream: "npm:^2.0.0" @@ -183,148 +183,148 @@ __metadata: strip-ansi: "npm:^6.0.1" wrap-ansi: "npm:^6.2.0" yoctocolors-cjs: "npm:^2.1.2" - checksum: 10c0/d55682e5c26c41037cb80a3bef5a12ae4eedf14621786b44088f48aeb32eb815dfb0f241950b6dba2eb84bf22131c126a2cb59e8e2d4ef63ad3613d59339063a + checksum: 10c0/4e6c51713c79a0b22381a08a2d11c37f2d696597d01bdecd7b3482889e53e4ac279c55d663a365798ad52becc37052b571bc3ec85ee8a10054c681d9248b88d3 languageName: node linkType: hard -"@inquirer/editor@npm:^4.0.1": - version: 4.0.1 - resolution: "@inquirer/editor@npm:4.0.1" +"@inquirer/editor@npm:^4.2.3": + version: 4.2.3 + resolution: "@inquirer/editor@npm:4.2.3" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/type": "npm:^3.0.2" external-editor: "npm:^3.1.0" peerDependencies: "@types/node": ">=18" - checksum: 10c0/0a48ed8a315ae4d481a29a4bb044861004455d598289dc9faa3a4a72a2b482c103dc92792cad1dc378500e57b1ea3b95c805779d2488309b86d0bec496cd7db3 + checksum: 10c0/0194a660b33e38781c35a6ab531f76beca998e5e30ebc90bb94e2140fd943e0dfcff4f9c650f4f79f74df7dac04c82db254ff8c2d9ef0b55c491523f859a8c2b languageName: node linkType: hard -"@inquirer/expand@npm:^4.0.1": - version: 4.0.1 - resolution: "@inquirer/expand@npm:4.0.1" +"@inquirer/expand@npm:^4.0.6": + version: 4.0.6 + resolution: "@inquirer/expand@npm:4.0.6" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/type": "npm:^3.0.2" yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/6dc890f726bd65e3971ed6e7d2965ecf534c7bbd99fb9334f71204e3809822424f1a27e47322b070ee265c4a84053208a72fca617dbe669082172b585b598443 + checksum: 10c0/2a4990744edf17528c5cf894b9a7a04f202740fb9e2123fb8ced1e623f5bf9716976b037e1b23e88cfce826a85b6052d49784ac2294644e353767b51a0a2f877 languageName: node linkType: hard -"@inquirer/figures@npm:^1.0.7": - version: 1.0.7 - resolution: "@inquirer/figures@npm:1.0.7" - checksum: 10c0/d7b4cfcd38dd43d1ac79da52c4478aa89145207004a471aa2083856f1d9b99adef45563f09d66c09d6457b09200fcf784527804b70ad3bd517cbc5e11142c2df +"@inquirer/figures@npm:^1.0.9": + version: 1.0.9 + resolution: "@inquirer/figures@npm:1.0.9" + checksum: 10c0/21e1a7c902b2b77f126617b501e0fe0d703fae680a9df472afdae18a3e079756aee85690cef595a14e91d18630118f4a3893aab6832b9232fefc6ab31c804a68 languageName: node linkType: hard -"@inquirer/input@npm:^4.0.1": - version: 4.0.1 - resolution: "@inquirer/input@npm:4.0.1" +"@inquirer/input@npm:^4.1.3": + version: 4.1.3 + resolution: "@inquirer/input@npm:4.1.3" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/type": "npm:^3.0.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/94ce23165577659fb3a01491047146502c593839eb6892f1ddfbdb092d237cdd8acb5acc2ad98776cc5eb359754eeffea97f156fddb6ec83137e123b0779ec2c + checksum: 10c0/251468b9596fcbff286d0817da7408f2a78230c1f84de23361e6362a8a91e5bf4c42c04f4971a8fe751eb0afc4ab1cef0d3766742fd4e693b4b0cbcc72aa8d97 languageName: node linkType: hard -"@inquirer/number@npm:^3.0.1": - version: 3.0.1 - resolution: "@inquirer/number@npm:3.0.1" +"@inquirer/number@npm:^3.0.6": + version: 3.0.6 + resolution: "@inquirer/number@npm:3.0.6" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/type": "npm:^3.0.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/98e7bee1b887d5733d86dcee30d837072a34350ce7c11452808a67a6958786cc8200970611f4790b494acfbe741bf9b64f467b839af77e1e230f03384e903cc2 + checksum: 10c0/26c030735bdc94053dfca50db1e75c7e325b8dcc009f3f9e6f572d89b67d7b23cfb3920ed2fa6fa34c312b5ebb6b86ba5b4e77c277ce463720eba45052c0d253 languageName: node linkType: hard -"@inquirer/password@npm:^4.0.1": - version: 4.0.1 - resolution: "@inquirer/password@npm:4.0.1" +"@inquirer/password@npm:^4.0.6": + version: 4.0.6 + resolution: "@inquirer/password@npm:4.0.6" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/type": "npm:^3.0.2" ansi-escapes: "npm:^4.3.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/670b92b8083f7658800285de64b6999a35a84a481a344042a2bc41af75143dcd73fae434aafac9a5ac5c76459112d36166f8a46ba44e3ab266e69c5ac29b84ab + checksum: 10c0/c36f675d350c38156efe255d9b3a052271faff2bfcebf626f5f02092e9110ef8f87a6985e96dd0c2351fa79723d0847bacaa86ae10c1d24526434de96af5503e languageName: node linkType: hard -"@inquirer/prompts@npm:^7.0.1": - version: 7.0.1 - resolution: "@inquirer/prompts@npm:7.0.1" - dependencies: - "@inquirer/checkbox": "npm:^4.0.1" - "@inquirer/confirm": "npm:^5.0.1" - "@inquirer/editor": "npm:^4.0.1" - "@inquirer/expand": "npm:^4.0.1" - "@inquirer/input": "npm:^4.0.1" - "@inquirer/number": "npm:^3.0.1" - "@inquirer/password": "npm:^4.0.1" - "@inquirer/rawlist": "npm:^4.0.1" - "@inquirer/search": "npm:^3.0.1" - "@inquirer/select": "npm:^4.0.1" +"@inquirer/prompts@npm:^7.2.3": + version: 7.2.3 + resolution: "@inquirer/prompts@npm:7.2.3" + dependencies: + "@inquirer/checkbox": "npm:^4.0.6" + "@inquirer/confirm": "npm:^5.1.3" + "@inquirer/editor": "npm:^4.2.3" + "@inquirer/expand": "npm:^4.0.6" + "@inquirer/input": "npm:^4.1.3" + "@inquirer/number": "npm:^3.0.6" + "@inquirer/password": "npm:^4.0.6" + "@inquirer/rawlist": "npm:^4.0.6" + "@inquirer/search": "npm:^3.0.6" + "@inquirer/select": "npm:^4.0.6" peerDependencies: "@types/node": ">=18" - checksum: 10c0/bf72a25de8c53267de740cf4bb9639b95e5c9da3890ca59303bfba0adab11276d8ae53dc831f456acd31d257c959db2b05ed26c2a90cde7eab04737d158d6e94 + checksum: 10c0/52c2e1fd8a4e98bc5fd6a79acf9c7d7e1ecc534013d7c018412a6ed34d15be69a2d10791b539740fed8e538485e359e1cacbec98ca3d04e24c5e9fa9480d7bc6 languageName: node linkType: hard -"@inquirer/rawlist@npm:^4.0.1": - version: 4.0.1 - resolution: "@inquirer/rawlist@npm:4.0.1" +"@inquirer/rawlist@npm:^4.0.6": + version: 4.0.6 + resolution: "@inquirer/rawlist@npm:4.0.6" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/type": "npm:^3.0.2" yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/553aaf9c9a26041699e0a763d826264deaea8cbea561e4fb2e9fc75c8145acd170dc4c406df8b843bfa73266eeb972b465bdf567d0904e87d54408423610c504 + checksum: 10c0/c79f0ddd5cf7eae8db27a7080e277c32809d7bd58619f470d8b1598d1aff36f6aac276535ef35801a1dae97bb3763fd248e1067800e6eccd49276206d6cdb945 languageName: node linkType: hard -"@inquirer/search@npm:^3.0.1": - version: 3.0.1 - resolution: "@inquirer/search@npm:3.0.1" +"@inquirer/search@npm:^3.0.6": + version: 3.0.6 + resolution: "@inquirer/search@npm:3.0.6" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/figures": "npm:^1.0.7" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/figures": "npm:^1.0.9" + "@inquirer/type": "npm:^3.0.2" yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/8b2a35a29d3a3db09ba66b11b0051598a413c02c49a13964a84c4f9f5613fe326c1b800a783955c0a3a54d5b401a1b5bfa0ab27f15dd58501deba336561c4979 + checksum: 10c0/27afe9105b9fd26b5985847f75c82f59156158b6366e35896764cd08ee7bb76e3d9c7110c6ed50ab4d7e13466ea3f0e60492a644e0eb6a0d8c30701b07221ad9 languageName: node linkType: hard -"@inquirer/select@npm:^4.0.1": - version: 4.0.1 - resolution: "@inquirer/select@npm:4.0.1" +"@inquirer/select@npm:^4.0.6": + version: 4.0.6 + resolution: "@inquirer/select@npm:4.0.6" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/figures": "npm:^1.0.7" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/figures": "npm:^1.0.9" + "@inquirer/type": "npm:^3.0.2" ansi-escapes: "npm:^4.3.2" yoctocolors-cjs: "npm:^2.1.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/d852b49a7f1afed89e898f66fbb02d7f3317aeffc0e3abe8b7a785fbd8ffd51d26a8415737746b001c677cf019d42aef3ed986dce1bb66c4f6fa42426a388509 + checksum: 10c0/5346007a5f62ff88f36c219b625d6031ba12fea6849b38aab1d3ed1219387004bf1c3a44aeec47a3988c9aeb1934a8a06509fe9e00f39135fa22113a01e1cc37 languageName: node linkType: hard -"@inquirer/type@npm:^3.0.0": - version: 3.0.0 - resolution: "@inquirer/type@npm:3.0.0" +"@inquirer/type@npm:^3.0.2": + version: 3.0.2 + resolution: "@inquirer/type@npm:3.0.2" peerDependencies: "@types/node": ">=18" - checksum: 10c0/4c26595749782e3dfbfea0c7a19b1db603485e0fce4a9d4fe52be1c9c05fcb2cc3afbc849d03bddbde47896786df93d6f02657eeeae5dbc8cdc78cd8a4f80123 + checksum: 10c0/fe348db2977fff92cad0ade05b36ec40714326fccd4a174be31663f8923729b4276f1736d892a449627d7fb03235ff44e8aac5aa72b09036d993593b813ef313 languageName: node linkType: hard @@ -953,7 +953,7 @@ __metadata: commander: "npm:^5.1.0" diff: "npm:^5.1.0" glob: "npm:^10.2.6" - typescript: "npm:^5.4.2" + typescript: "npm:^5.7.3" bin: class-name-updater: ./dist/cli.js languageName: unknown @@ -965,12 +965,13 @@ __metadata: dependencies: "@patternfly/shared-codemod-helpers": "workspace:^" "@types/diff": "npm:^5.0.9" + "@types/node": "npm:^22.10.6" colors: "npm:^1.4.0" commander: "npm:^5.1.0" diff: "npm:^5.1.0" glob: "npm:^10.2.6" - inquirer: "npm:^12.0.1" - typescript: "npm:^5.4.2" + inquirer: "npm:^12.3.2" + typescript: "npm:^5.7.3" bin: css-vars-updater: ./dist/cli.js languageName: unknown @@ -983,6 +984,7 @@ __metadata: "@patternfly/shared-codemod-helpers": "workspace:^" "@types/eslint": "npm:^8.56.0" "@types/estree-jsx": "npm:^1.0.4" + typescript: "npm:^5.7.3" peerDependencies: "@typescript-eslint/parser": ">=5.58.0" eslint: ">=0.8.0" @@ -997,7 +999,7 @@ __metadata: "@patternfly/eslint-plugin-pf-codemods": "npm:^1.139.1" "@typescript-eslint/parser": "npm:^7.3.1" commander: "npm:^5.1.0" - eslint: "npm:^7.3.0 || ^8.29.0" + eslint: "npm:^7.3.0 || ^8.56.0" typescript: "npm:^5.4.2" bin: pf-codemods: ./index.js @@ -1011,7 +1013,7 @@ __metadata: "@types/diff": "npm:^5.0.9" colors: "npm:^1.4.0" diff: "npm:^5.1.0" - typescript: "npm:^5.4.2" + typescript: "npm:^5.7.3" languageName: unknown linkType: soft @@ -1255,6 +1257,15 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^22.10.6": + version: 22.10.6 + resolution: "@types/node@npm:22.10.6" + dependencies: + undici-types: "npm:~6.20.0" + checksum: 10c0/8b67affc211e5f9c74f7949cda04ca669721e50b83d71b8772a7bed7a4a3c41d663b3a794413f618e763ca6c5da8c234c25ffebcb0737983fc3e7415818ab9a7 + languageName: node + linkType: hard + "@types/normalize-package-data@npm:^2.4.0": version: 2.4.0 resolution: "@types/normalize-package-data@npm:2.4.0" @@ -1335,6 +1346,13 @@ __metadata: languageName: node linkType: hard +"@ungap/structured-clone@npm:^1.2.0": + version: 1.2.1 + resolution: "@ungap/structured-clone@npm:1.2.1" + checksum: 10c0/127afbcc75ff1532f7b1eb85ee992f9faa70e8d5bb2558da05355d423b966fc279d0a485bf19da2883280e7c299ae4170809a72e78eab086da71c6bcdda5d1e2 + languageName: node + linkType: hard + "@yarnpkg/lockfile@npm:^1.1.0": version: 1.1.0 resolution: "@yarnpkg/lockfile@npm:1.1.0" @@ -1407,12 +1425,12 @@ __metadata: languageName: node linkType: hard -"acorn@npm:^8.8.0": - version: 8.8.2 - resolution: "acorn@npm:8.8.2" +"acorn@npm:^8.9.0": + version: 8.14.0 + resolution: "acorn@npm:8.14.0" bin: acorn: bin/acorn - checksum: 10c0/b5c54e736af5ed753911c6752fafd02d0a74cf4d55be606bd81fe71faba4f986dc090952329931ac2aba165803fd0005c59eeef08f9c6c689e8dc420031f3df0 + checksum: 10c0/6d4ee461a7734b2f48836ee0fbb752903606e576cc100eb49340295129ca0b452f3ba91ddd4424a1d4406a98adfb2ebb6bd0ff4c49d7a0930c10e462719bbfd7 languageName: node linkType: hard @@ -1442,18 +1460,6 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^6.10.0": - version: 6.12.2 - resolution: "ajv@npm:6.12.2" - dependencies: - fast-deep-equal: "npm:^3.1.1" - fast-json-stable-stringify: "npm:^2.0.0" - json-schema-traverse: "npm:^0.4.1" - uri-js: "npm:^4.2.2" - checksum: 10c0/66c945316189c1d959c1df9f4ee488d6e16b195accde7dcbec1d5455230a8a367fa2664f0299824bf60c87e8a417192b6088e69a4c2728f03077c13932fc5c1a - languageName: node - linkType: hard - "ajv@npm:^6.12.4": version: 6.12.6 resolution: "ajv@npm:6.12.6" @@ -2425,12 +2431,15 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.1.1": - version: 4.1.1 - resolution: "debug@npm:4.1.1" +"debug@npm:^4.3.1": + version: 4.4.0 + resolution: "debug@npm:4.4.0" dependencies: - ms: "npm:^2.1.1" - checksum: 10c0/399e98c779ba4e71537497f10caf6390646b69330ff8a455427acce04f1ce8d8cd018e1804fdcca772177666fdcd888dd3672bb8f9986c1d785a6c2b9805f370 + ms: "npm:^2.1.3" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10c0/db94f1a182bf886f57b4755f85b3a74c39b5114b9377b7ab375dc2cfa3454f09490cc6c30f829df3fc8042bc8b8995f6567ce5cd96f3bc3688bd24027197d9de languageName: node linkType: hard @@ -2795,50 +2804,51 @@ __metadata: languageName: node linkType: hard -"eslint-scope@npm:^7.1.1": - version: 7.1.1 - resolution: "eslint-scope@npm:7.1.1" +"eslint-scope@npm:^7.2.2": + version: 7.2.2 + resolution: "eslint-scope@npm:7.2.2" dependencies: esrecurse: "npm:^4.3.0" estraverse: "npm:^5.2.0" - checksum: 10c0/3ae3280cbea34af3b816e941b83888aca063aaa0169966ff7e4c1bfb0715dbbeac3811596e56315e8ceea84007a7403754459ae4f1d19f25487eb02acd951aa7 + checksum: 10c0/613c267aea34b5a6d6c00514e8545ef1f1433108097e857225fed40d397dd6b1809dffd11c2fde23b37ca53d7bf935fe04d2a18e6fc932b31837b6ad67e1c116 languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.3.0, eslint-visitor-keys@npm:^3.4.0": +"eslint-visitor-keys@npm:^3.3.0": version: 3.4.0 resolution: "eslint-visitor-keys@npm:3.4.0" checksum: 10c0/8b8cc611219b8864952a7485540482763e33289d734161bd6fe00cb6c1fc98af6bd8fe5c1d02d6d2b2657ff5cc52d30828fd52606ed50924412953a3e7d95cb7 languageName: node linkType: hard -"eslint-visitor-keys@npm:^3.4.1": +"eslint-visitor-keys@npm:^3.4.1, eslint-visitor-keys@npm:^3.4.3": version: 3.4.3 resolution: "eslint-visitor-keys@npm:3.4.3" checksum: 10c0/92708e882c0a5ffd88c23c0b404ac1628cf20104a108c745f240a13c332a11aac54f49a22d5762efbffc18ecbc9a580d1b7ad034bf5f3cc3307e5cbff2ec9820 languageName: node linkType: hard -"eslint@npm:^7.3.0 || ^8.29.0": - version: 8.38.0 - resolution: "eslint@npm:8.38.0" +"eslint@npm:^7.3.0 || ^8.56.0": + version: 8.57.1 + resolution: "eslint@npm:8.57.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" - "@eslint-community/regexpp": "npm:^4.4.0" - "@eslint/eslintrc": "npm:^2.0.2" - "@eslint/js": "npm:8.38.0" - "@humanwhocodes/config-array": "npm:^0.11.8" + "@eslint-community/regexpp": "npm:^4.6.1" + "@eslint/eslintrc": "npm:^2.1.4" + "@eslint/js": "npm:8.57.1" + "@humanwhocodes/config-array": "npm:^0.13.0" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" - ajv: "npm:^6.10.0" + "@ungap/structured-clone": "npm:^1.2.0" + ajv: "npm:^6.12.4" chalk: "npm:^4.0.0" cross-spawn: "npm:^7.0.2" debug: "npm:^4.3.2" doctrine: "npm:^3.0.0" escape-string-regexp: "npm:^4.0.0" - eslint-scope: "npm:^7.1.1" - eslint-visitor-keys: "npm:^3.4.0" - espree: "npm:^9.5.1" + eslint-scope: "npm:^7.2.2" + eslint-visitor-keys: "npm:^3.4.3" + espree: "npm:^9.6.1" esquery: "npm:^1.4.2" esutils: "npm:^2.0.2" fast-deep-equal: "npm:^3.1.3" @@ -2846,37 +2856,34 @@ __metadata: find-up: "npm:^5.0.0" glob-parent: "npm:^6.0.2" globals: "npm:^13.19.0" - grapheme-splitter: "npm:^1.0.4" + graphemer: "npm:^1.4.0" ignore: "npm:^5.2.0" - import-fresh: "npm:^3.0.0" imurmurhash: "npm:^0.1.4" is-glob: "npm:^4.0.0" is-path-inside: "npm:^3.0.3" - js-sdsl: "npm:^4.1.4" js-yaml: "npm:^4.1.0" json-stable-stringify-without-jsonify: "npm:^1.0.1" levn: "npm:^0.4.1" lodash.merge: "npm:^4.6.2" minimatch: "npm:^3.1.2" natural-compare: "npm:^1.4.0" - optionator: "npm:^0.9.1" + optionator: "npm:^0.9.3" strip-ansi: "npm:^6.0.1" - strip-json-comments: "npm:^3.1.0" text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: 10c0/1aeba0106770bd29834bb01550c72fa0ebea851ceeaef61d2860ecb455391992b316f222600939f11d12db2a7ea6fb9443f4aa137566f98f9f26af9fa40b96b5 + checksum: 10c0/1fd31533086c1b72f86770a4d9d7058ee8b4643fd1cfd10c7aac1ecb8725698e88352a87805cf4b2ce890aa35947df4b4da9655fb7fdfa60dbb448a43f6ebcf1 languageName: node linkType: hard -"espree@npm:^9.5.1": - version: 9.5.1 - resolution: "espree@npm:9.5.1" +"espree@npm:^9.6.0, espree@npm:^9.6.1": + version: 9.6.1 + resolution: "espree@npm:9.6.1" dependencies: - acorn: "npm:^8.8.0" + acorn: "npm:^8.9.0" acorn-jsx: "npm:^5.3.2" - eslint-visitor-keys: "npm:^3.4.0" - checksum: 10c0/a67a1551895aa25c59c182a58e45d31a34cbeffb4a3731812db0a859fa0373cd9921af22a8aae15f42c3bf22c75a1dbd2304cdeb6530a5e7f672af87a9f9ef5f + eslint-visitor-keys: "npm:^3.4.1" + checksum: 10c0/1a2e9b4699b715347f62330bcc76aee224390c28bb02b31a3752e9d07549c473f5f986720483c6469cf3cfb3c9d05df612ffc69eb1ee94b54b739e67de9bb460 languageName: node linkType: hard @@ -3605,10 +3612,10 @@ __metadata: languageName: node linkType: hard -"grapheme-splitter@npm:^1.0.4": - version: 1.0.4 - resolution: "grapheme-splitter@npm:1.0.4" - checksum: 10c0/108415fb07ac913f17040dc336607772fcea68c7f495ef91887edddb0b0f5ff7bc1d1ab181b125ecb2f0505669ef12c9a178a3bbd2dd8e042d8c5f1d7c90331a +"graphemer@npm:^1.4.0": + version: 1.4.0 + resolution: "graphemer@npm:1.4.0" + checksum: 10c0/e951259d8cd2e0d196c72ec711add7115d42eb9a8146c8eeda5b8d3ac91e5dd816b9cd68920726d9fd4490368e7ed86e9c423f40db87e2d8dfafa00fa17c3a31 languageName: node linkType: hard @@ -3843,16 +3850,6 @@ __metadata: languageName: node linkType: hard -"import-fresh@npm:^3.0.0": - version: 3.2.1 - resolution: "import-fresh@npm:3.2.1" - dependencies: - parent-module: "npm:^1.0.0" - resolve-from: "npm:^4.0.0" - checksum: 10c0/c136febd5f80fe61b322ae098e48eec636d02ebb50d823ac1f748021ac70b8c3c6eccb2ab3b447846e1f4d6be353ab7fcc23e5f3d62d073d064c420cf70d5db6 - languageName: node - linkType: hard - "import-fresh@npm:^3.2.1, import-fresh@npm:^3.3.0": version: 3.3.0 resolution: "import-fresh@npm:3.3.0" @@ -3942,20 +3939,20 @@ __metadata: languageName: node linkType: hard -"inquirer@npm:^12.0.1": - version: 12.0.1 - resolution: "inquirer@npm:12.0.1" +"inquirer@npm:^12.3.2": + version: 12.3.2 + resolution: "inquirer@npm:12.3.2" dependencies: - "@inquirer/core": "npm:^10.0.1" - "@inquirer/prompts": "npm:^7.0.1" - "@inquirer/type": "npm:^3.0.0" + "@inquirer/core": "npm:^10.1.4" + "@inquirer/prompts": "npm:^7.2.3" + "@inquirer/type": "npm:^3.0.2" ansi-escapes: "npm:^4.3.2" mute-stream: "npm:^2.0.0" run-async: "npm:^3.0.0" rxjs: "npm:^7.8.1" peerDependencies: "@types/node": ">=18" - checksum: 10c0/417763a6a4370c791f5b51035bf1f9e5873fd4e328ae03abc4565edeed006a3af45841897977f2980bfe75a714a8f6eb7fb96ed481438b6413b0eb4f95b845ee + checksum: 10c0/cdded52fa440f2622aec2972eb5775789c9c36cea7d31f3f83d5ef692e328a4c52ae1e039960f41d2d5c8a0e6e728b3fb502c1b552dcb6c422dd0f7adc3906a5 languageName: node linkType: hard @@ -4419,13 +4416,6 @@ __metadata: languageName: node linkType: hard -"js-sdsl@npm:^4.1.4": - version: 4.4.0 - resolution: "js-sdsl@npm:4.4.0" - checksum: 10c0/1eabe718867d293771074b5a14a82a115727b3d4abc9524fb9b0cb74293f447b90fe27bb74eb712b6400aeb7b869631c0a67d3347670cf22d067e77caeeb2f33 - languageName: node - linkType: hard - "js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0" @@ -5816,17 +5806,17 @@ __metadata: languageName: node linkType: hard -"optionator@npm:^0.9.1": - version: 0.9.1 - resolution: "optionator@npm:0.9.1" +"optionator@npm:^0.9.3": + version: 0.9.4 + resolution: "optionator@npm:0.9.4" dependencies: deep-is: "npm:^0.1.3" fast-levenshtein: "npm:^2.0.6" levn: "npm:^0.4.1" prelude-ls: "npm:^1.2.1" type-check: "npm:^0.4.0" - word-wrap: "npm:^1.2.3" - checksum: 10c0/8b574d50b032f34713dc09bfacdc351824f713c3c80773ead3a05ab977364de88f2f3962a6f15437747b93a5e0636928253949970daea3aaeeefbd3a525da6a4 + word-wrap: "npm:^1.2.5" + checksum: 10c0/4afb687a059ee65b61df74dfe87d8d6815cd6883cb8b3d5883a910df72d0f5d029821f37025e4bccf4048873dbdb09acc6d303d27b8f76b1a80dd5a7d5334675 languageName: node linkType: hard @@ -6292,6 +6282,7 @@ __metadata: resolution: "pf-codemods@workspace:." dependencies: "@types/fs-extra": "npm:^11.0.4" + "@types/node": "npm:^22.10.6" case-anything: "npm:^2.1.13" fs-extra: "npm:^11.2.0" lerna: "npm:^8.1.9" @@ -6299,6 +6290,7 @@ __metadata: plop: "npm:^3.1.2" rimraf: "npm:^6.0.1" ts-node: "npm:^10.9.2" + typescript: "npm:^5.7.3" languageName: unknown linkType: soft @@ -7309,7 +7301,7 @@ __metadata: languageName: node linkType: hard -"strip-json-comments@npm:^3.1.0, strip-json-comments@npm:^3.1.1": +"strip-json-comments@npm:^3.1.1": version: 3.1.1 resolution: "strip-json-comments@npm:3.1.1" checksum: 10c0/9681a6257b925a7fa0f285851c0e613cc934a50661fa7bb41ca9cbbff89686bb4a0ee366e6ecedc4daafd01e83eee0720111ab294366fe7c185e935475ebcecd @@ -7644,6 +7636,16 @@ __metadata: languageName: node linkType: hard +"typescript@npm:^5.7.3": + version: 5.7.3 + resolution: "typescript@npm:5.7.3" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/b7580d716cf1824736cc6e628ab4cd8b51877408ba2be0869d2866da35ef8366dd6ae9eb9d0851470a39be17cbd61df1126f9e211d8799d764ea7431d5435afa + languageName: node + linkType: hard + "typescript@patch:typescript@npm%3A>=3 < 6#optional!builtin": version: 5.6.3 resolution: "typescript@patch:typescript@npm%3A5.6.3#optional!builtin::version=5.6.3&hash=8c6c40" @@ -7664,6 +7666,16 @@ __metadata: languageName: node linkType: hard +"typescript@patch:typescript@npm%3A^5.7.3#optional!builtin": + version: 5.7.3 + resolution: "typescript@patch:typescript@npm%3A5.7.3#optional!builtin::version=5.7.3&hash=cef18b" + bin: + tsc: bin/tsc + tsserver: bin/tsserver + checksum: 10c0/3b56d6afa03d9f6172d0b9cdb10e6b1efc9abc1608efd7a3d2f38773d5d8cfb9bbc68dfb72f0a7de5e8db04fc847f4e4baeddcd5ad9c9feda072234f0d788896 + languageName: node + linkType: hard + "uglify-js@npm:^3.1.4": version: 3.9.4 resolution: "uglify-js@npm:3.9.4" @@ -7682,6 +7694,13 @@ __metadata: languageName: node linkType: hard +"undici-types@npm:~6.20.0": + version: 6.20.0 + resolution: "undici-types@npm:6.20.0" + checksum: 10c0/68e659a98898d6a836a9a59e6adf14a5d799707f5ea629433e025ac90d239f75e408e2e5ff086afc3cace26f8b26ee52155293564593fbb4a2f666af57fc59bf + languageName: node + linkType: hard + "unique-filename@npm:^3.0.0": version: 3.0.0 resolution: "unique-filename@npm:3.0.0" @@ -7886,10 +7905,10 @@ __metadata: languageName: node linkType: hard -"word-wrap@npm:^1.2.3": - version: 1.2.4 - resolution: "word-wrap@npm:1.2.4" - checksum: 10c0/a71416c2019981fb7a55e2beb1706990d8fd087b7ad8234bd10c2aad5e7939eef3d88f0206ac781435c4f46125c94a6b33fe2afc234daf48c5d912409dad4f24 +"word-wrap@npm:^1.2.5": + version: 1.2.5 + resolution: "word-wrap@npm:1.2.5" + checksum: 10c0/e0e4a1ca27599c92a6ca4c32260e8a92e8a44f4ef6ef93f803f8ed823f486e0889fc0b93be4db59c8d51b3064951d25e43d434e95dc8c960cc3a63d65d00ba20 languageName: node linkType: hard