From dff396a02f03e30ed3229264b8f80a3152dcc435 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 10 Jun 2025 14:45:04 +0300 Subject: [PATCH 001/189] chore(deps-dev): bump the dependencies group with 4 updates (#4475) Bumps the dependencies group with 4 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin), [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) and [sass](https://github.com/sass/dart-sass). Updates `@types/node` from 22.15.30 to 22.15.31 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.33.1 to 8.34.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.33.1 to 8.34.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.0/packages/parser) Updates `sass` from 1.89.1 to 1.89.2 - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.89.1...1.89.2) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.31 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.34.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@typescript-eslint/parser" dependency-version: 8.34.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: sass dependency-version: 1.89.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 134 +++++++++++++++++++++++++++--------------------------- 1 file changed, 67 insertions(+), 67 deletions(-) diff --git a/yarn.lock b/yarn.lock index c0d98eb9b80..583e64b6048 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2791,9 +2791,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^22.5.5": - version "22.15.30" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.30.tgz#3a20431783e28dd0b0326f84ab386a2ec81d921d" - integrity sha512-6Q7lr06bEHdlfplU6YRbgG1SFBdlsfNC4/lX+SkhiTs0cpJkOElmWls8PxDFv4yY/xKb8Y6SO0OmSX4wgqTZbA== + version "22.15.31" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.31.tgz#454f11e2061150135c8353d7f3b3b1823fca9f3f" + integrity sha512-jnVe5ULKl6tijxUhvQeNbQG/84fHfg+yMak02cT8QVhBx/F05rAVxCGBYYTh2EKz22D6JF5ktXuNwdx7b9iEGw== dependencies: undici-types "~6.21.0" @@ -2887,77 +2887,77 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^8.6.0": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.33.1.tgz#532641b416ed2afd5be893cddb2a58e9cd1f7a3e" - integrity sha512-TDCXj+YxLgtvxvFlAvpoRv9MAncDLBV2oT9Bd7YBGC/b/sEURoOYuIwLI99rjWOfY3QtDzO+mk0n4AmdFExW8A== + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.34.0.tgz#96c9f818782fe24cd5883a5d517ca1826d3fa9c2" + integrity sha512-QXwAlHlbcAwNlEEMKQS2RCgJsgXrTJdjXT08xEgbPFa2yYQgVjBymxP5DrfrE7X7iodSzd9qBUHUycdyVJTW1w== dependencies: "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "8.33.1" - "@typescript-eslint/type-utils" "8.33.1" - "@typescript-eslint/utils" "8.33.1" - "@typescript-eslint/visitor-keys" "8.33.1" + "@typescript-eslint/scope-manager" "8.34.0" + "@typescript-eslint/type-utils" "8.34.0" + "@typescript-eslint/utils" "8.34.0" + "@typescript-eslint/visitor-keys" "8.34.0" graphemer "^1.4.0" ignore "^7.0.0" natural-compare "^1.4.0" ts-api-utils "^2.1.0" "@typescript-eslint/parser@^8.6.0": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.33.1.tgz#ef9a5ee6aa37a6b4f46cc36d08a14f828238afe2" - integrity sha512-qwxv6dq682yVvgKKp2qWwLgRbscDAYktPptK4JPojCwwi3R9cwrvIxS4lvBpzmcqzR4bdn54Z0IG1uHFskW4dA== - dependencies: - "@typescript-eslint/scope-manager" "8.33.1" - "@typescript-eslint/types" "8.33.1" - "@typescript-eslint/typescript-estree" "8.33.1" - "@typescript-eslint/visitor-keys" "8.33.1" + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.34.0.tgz#703270426ac529304ae6988482f487c856d9c13f" + integrity sha512-vxXJV1hVFx3IXz/oy2sICsJukaBrtDEQSBiV48/YIV5KWjX1dO+bcIr/kCPrW6weKXvsaGKFNlwH0v2eYdRRbA== + dependencies: + "@typescript-eslint/scope-manager" "8.34.0" + "@typescript-eslint/types" "8.34.0" + "@typescript-eslint/typescript-estree" "8.34.0" + "@typescript-eslint/visitor-keys" "8.34.0" debug "^4.3.4" -"@typescript-eslint/project-service@8.33.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.33.1.tgz#c85e7d9a44d6a11fe64e73ac1ed47de55dc2bf9f" - integrity sha512-DZR0efeNklDIHHGRpMpR5gJITQpu6tLr9lDJnKdONTC7vvzOlLAG/wcfxcdxEWrbiZApcoBCzXqU/Z458Za5Iw== +"@typescript-eslint/project-service@8.34.0": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.34.0.tgz#449119b72fe9fae185013a6bdbaf1ffbfee6bcaf" + integrity sha512-iEgDALRf970/B2YExmtPMPF54NenZUf4xpL3wsCRx/lgjz6ul/l13R81ozP/ZNuXfnLCS+oPmG7JIxfdNYKELw== dependencies: - "@typescript-eslint/tsconfig-utils" "^8.33.1" - "@typescript-eslint/types" "^8.33.1" + "@typescript-eslint/tsconfig-utils" "^8.34.0" + "@typescript-eslint/types" "^8.34.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@8.33.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.33.1.tgz#d1e0efb296da5097d054bc9972e69878a2afea73" - integrity sha512-dM4UBtgmzHR9bS0Rv09JST0RcHYearoEoo3pG5B6GoTR9XcyeqX87FEhPo+5kTvVfKCvfHaHrcgeJQc6mrDKrA== +"@typescript-eslint/scope-manager@8.34.0": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.34.0.tgz#9fedaec02370cf79c018a656ab402eb00dc69e67" + integrity sha512-9Ac0X8WiLykl0aj1oYQNcLZjHgBojT6cW68yAgZ19letYu+Hxd0rE0veI1XznSSst1X5lwnxhPbVdwjDRIomRw== dependencies: - "@typescript-eslint/types" "8.33.1" - "@typescript-eslint/visitor-keys" "8.33.1" + "@typescript-eslint/types" "8.34.0" + "@typescript-eslint/visitor-keys" "8.34.0" -"@typescript-eslint/tsconfig-utils@8.33.1", "@typescript-eslint/tsconfig-utils@^8.33.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.33.1.tgz#7836afcc097a4657a5ed56670851a450d8b70ab8" - integrity sha512-STAQsGYbHCF0/e+ShUQ4EatXQ7ceh3fBCXkNU7/MZVKulrlq1usH7t2FhxvCpuCi5O5oi1vmVaAjrGeL71OK1g== +"@typescript-eslint/tsconfig-utils@8.34.0", "@typescript-eslint/tsconfig-utils@^8.34.0": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.34.0.tgz#97d0a24e89a355e9308cebc8e23f255669bf0979" + integrity sha512-+W9VYHKFIzA5cBeooqQxqNriAP0QeQ7xTiDuIOr71hzgffm3EL2hxwWBIIj4GuofIbKxGNarpKqIq6Q6YrShOA== -"@typescript-eslint/type-utils@8.33.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.33.1.tgz#d73ee1a29d8a0abe60d4abbff4f1d040f0de15fa" - integrity sha512-1cG37d9xOkhlykom55WVwG2QRNC7YXlxMaMzqw2uPeJixBFfKWZgaP/hjAObqMN/u3fr5BrTwTnc31/L9jQ2ww== +"@typescript-eslint/type-utils@8.34.0": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.34.0.tgz#03e7eb3776129dfd751ba1cac0c6ea4b0fab5ec6" + integrity sha512-n7zSmOcUVhcRYC75W2pnPpbO1iwhJY3NLoHEtbJwJSNlVAZuwqu05zY3f3s2SDWWDSo9FdN5szqc73DCtDObAg== dependencies: - "@typescript-eslint/typescript-estree" "8.33.1" - "@typescript-eslint/utils" "8.33.1" + "@typescript-eslint/typescript-estree" "8.34.0" + "@typescript-eslint/utils" "8.34.0" debug "^4.3.4" ts-api-utils "^2.1.0" -"@typescript-eslint/types@8.33.1", "@typescript-eslint/types@^8.33.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.33.1.tgz#b693111bc2180f8098b68e9958cf63761657a55f" - integrity sha512-xid1WfizGhy/TKMTwhtVOgalHwPtV8T32MS9MaH50Cwvz6x6YqRIPdD2WvW0XaqOzTV9p5xdLY0h/ZusU5Lokg== +"@typescript-eslint/types@8.34.0", "@typescript-eslint/types@^8.34.0": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.34.0.tgz#18000f205c59c9aff7f371fc5426b764cf2890fb" + integrity sha512-9V24k/paICYPniajHfJ4cuAWETnt7Ssy+R0Rbcqo5sSFr3QEZ/8TSoUi9XeXVBGXCaLtwTOKSLGcInCAvyZeMA== -"@typescript-eslint/typescript-estree@8.33.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.33.1.tgz#d271beed470bc915b8764e22365d4925c2ea265d" - integrity sha512-+s9LYcT8LWjdYWu7IWs7FvUxpQ/DGkdjZeE/GGulHvv8rvYwQvVaUZ6DE+j5x/prADUgSbbCWZ2nPI3usuVeOA== +"@typescript-eslint/typescript-estree@8.34.0": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.34.0.tgz#c9f3feec511339ef64e9e4884516c3e558f1b048" + integrity sha512-rOi4KZxI7E0+BMqG7emPSK1bB4RICCpF7QD3KCLXn9ZvWoESsOMlHyZPAHyG04ujVplPaHbmEvs34m+wjgtVtg== dependencies: - "@typescript-eslint/project-service" "8.33.1" - "@typescript-eslint/tsconfig-utils" "8.33.1" - "@typescript-eslint/types" "8.33.1" - "@typescript-eslint/visitor-keys" "8.33.1" + "@typescript-eslint/project-service" "8.34.0" + "@typescript-eslint/tsconfig-utils" "8.34.0" + "@typescript-eslint/types" "8.34.0" + "@typescript-eslint/visitor-keys" "8.34.0" debug "^4.3.4" fast-glob "^3.3.2" is-glob "^4.0.3" @@ -2965,22 +2965,22 @@ semver "^7.6.0" ts-api-utils "^2.1.0" -"@typescript-eslint/utils@8.33.1", "@typescript-eslint/utils@^8.26.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.33.1.tgz#ea22f40d3553da090f928cf17907e963643d4b96" - integrity sha512-52HaBiEQUaRYqAXpfzWSR2U3gxk92Kw006+xZpElaPMg3C4PgM+A5LqwoQI1f9E5aZ/qlxAZxzm42WX+vn92SQ== +"@typescript-eslint/utils@8.34.0", "@typescript-eslint/utils@^8.26.1": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.34.0.tgz#7844beebc1153b4d3ec34135c2da53a91e076f8d" + integrity sha512-8L4tWatGchV9A1cKbjaavS6mwYwp39jql8xUmIIKJdm+qiaeHy5KMKlBrf30akXAWBzn2SqKsNOtSENWUwg7XQ== dependencies: "@eslint-community/eslint-utils" "^4.7.0" - "@typescript-eslint/scope-manager" "8.33.1" - "@typescript-eslint/types" "8.33.1" - "@typescript-eslint/typescript-estree" "8.33.1" + "@typescript-eslint/scope-manager" "8.34.0" + "@typescript-eslint/types" "8.34.0" + "@typescript-eslint/typescript-estree" "8.34.0" -"@typescript-eslint/visitor-keys@8.33.1": - version "8.33.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.33.1.tgz#6c6e002c24d13211df3df851767f24dfdb4f42bc" - integrity sha512-3i8NrFcZeeDHJ+7ZUuDkGT+UHq+XoFGsymNK2jZCOHcfEzRQ0BdpRtdpSx/Iyf3MHLWIcLS0COuOPibKQboIiQ== +"@typescript-eslint/visitor-keys@8.34.0": + version "8.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.34.0.tgz#c7a149407be31d755dba71980617d638a40ac099" + integrity sha512-qHV7pW7E85A0x6qyrFn+O+q1k1p3tQCsqIZ1KZ5ESLXY57aTvUd3/a4rdPTeXisvhXn2VQG0VSKUqs8KHF2zcA== dependencies: - "@typescript-eslint/types" "8.33.1" + "@typescript-eslint/types" "8.34.0" eslint-visitor-keys "^4.2.0" "@ungap/structured-clone@^1.2.0": @@ -9042,9 +9042,9 @@ sass-loader@^16.0.2: neo-async "^2.6.2" sass@^1.54.9: - version "1.89.1" - resolved "https://registry.yarnpkg.com/sass/-/sass-1.89.1.tgz#9281c52c85b4be54264d310fef63a811dfcfb9d9" - integrity sha512-eMLLkl+qz7tx/0cJ9wI+w09GQ2zodTkcE/aVfywwdlRcI3EO19xGnbmJwg/JMIm+5MxVJ6outddLZ4Von4E++Q== + version "1.89.2" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.89.2.tgz#a771716aeae774e2b529f72c0ff2dfd46c9de10e" + integrity sha512-xCmtksBKd/jdJ9Bt9p7nPKiuqrlBMBuuGkQlkhZjjQk3Ty48lv93k5Dq6OPkKt4XwxDJ7tvlfrTa1MPA9bf+QA== dependencies: chokidar "^4.0.0" immutable "^5.0.2" From 3a37ec948585a49e59f5082a0238d795640bd636 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 14 Jun 2025 23:44:11 +0200 Subject: [PATCH 002/189] chore(deps-dev): bump the dependencies group with 2 updates (#4476) Bumps the dependencies group with 2 updates: [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) and [ts-jest](https://github.com/kulshekhar/ts-jest). Updates `eslint-plugin-n` from 17.19.0 to 17.20.0 - [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/v17.19.0...v17.20.0) Updates `ts-jest` from 29.3.4 to 29.4.0 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.3.4...v29.4.0) --- updated-dependencies: - dependency-name: eslint-plugin-n dependency-version: 17.20.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: ts-jest dependency-version: 29.4.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/yarn.lock b/yarn.lock index 583e64b6048..7c1e3d01d9d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4876,9 +4876,9 @@ eslint-plugin-es-x@^7.8.0: eslint-compat-utils "^0.5.1" eslint-plugin-n@^17.10.2: - version "17.19.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.19.0.tgz#3c198306c2eb9ea950c7458cff9c9a6426d02c58" - integrity sha512-qxn1NaDHtizbhVAPpbMT8wWFaLtPnwhfN/e+chdu2i6Vgzmo/tGM62tcJ1Hf7J5Ie4dhse3DOPMmDxduzfifzw== + version "17.20.0" + resolved "https://registry.yarnpkg.com/eslint-plugin-n/-/eslint-plugin-n-17.20.0.tgz#000a7a39675d737824d704ae77b626c257b318ef" + integrity sha512-IRSoatgB/NQJZG5EeTbv/iAx1byOGdbbyhQrNvWdCfTnmPxUT0ao9/eGOeG7ljD8wJBsxwE8f6tES5Db0FRKEw== dependencies: "@eslint-community/eslint-utils" "^4.5.0" "@typescript-eslint/utils" "^8.26.1" @@ -6723,7 +6723,7 @@ jest-snapshot@^29.7.0: pretty-format "^29.7.0" semver "^7.5.3" -jest-util@^29.0.0, jest-util@^29.7.0: +jest-util@^29.7.0: version "29.7.0" resolved "https://registry.yarnpkg.com/jest-util/-/jest-util-29.7.0.tgz#23c2b62bfb22be82b44de98055802ff3710fc0bc" integrity sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA== @@ -9830,14 +9830,13 @@ ts-declaration-location@^1.0.6: picomatch "^4.0.2" ts-jest@^29.0.1: - version "29.3.4" - resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.3.4.tgz#9354472aceae1d3867a80e8e02014ea5901aee41" - integrity sha512-Iqbrm8IXOmV+ggWHOTEbjwyCf2xZlUMv5npExksXohL+tk8va4Fjhb+X2+Rt9NBmgO7bJ8WpnMLOwih/DnMlFA== + version "29.4.0" + resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.0.tgz#bef0ee98d94c83670af7462a1617bf2367a83740" + integrity sha512-d423TJMnJGu80/eSgfQ5w/R+0zFJvdtTxwtF9KzFFunOpSeD+79lHJQIiAhluJoyGRbvj9NZJsl9WjCUo0ND7Q== dependencies: bs-logger "^0.2.6" ejs "^3.1.10" fast-json-stable-stringify "^2.1.0" - jest-util "^29.0.0" json5 "^2.2.3" lodash.memoize "^4.1.2" make-error "^1.3.6" From 667a9b1540e2ea99fb129bf8dfbbf12bf7bb29df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Jun 2025 17:11:37 +0300 Subject: [PATCH 003/189] chore(deps-dev): bump the dependencies group with 3 updates (#4478) Bumps the dependencies group with 3 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@types/node` from 22.15.31 to 22.15.32 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) Updates `@typescript-eslint/eslint-plugin` from 8.34.0 to 8.34.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.1/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.34.0 to 8.34.1 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.34.1/packages/parser) --- updated-dependencies: - dependency-name: "@types/node" dependency-version: 22.15.32 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.34.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies - dependency-name: "@typescript-eslint/parser" dependency-version: 8.34.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 138 +++++++++++++++++++++++++++--------------------------- 1 file changed, 69 insertions(+), 69 deletions(-) diff --git a/yarn.lock b/yarn.lock index 7c1e3d01d9d..a1025c26695 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2791,9 +2791,9 @@ "@types/node" "*" "@types/node@*", "@types/node@^22.5.5": - version "22.15.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.31.tgz#454f11e2061150135c8353d7f3b3b1823fca9f3f" - integrity sha512-jnVe5ULKl6tijxUhvQeNbQG/84fHfg+yMak02cT8QVhBx/F05rAVxCGBYYTh2EKz22D6JF5ktXuNwdx7b9iEGw== + version "22.15.32" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.15.32.tgz#c301cc2275b535a5e54bb81d516b1d2e9afe06e5" + integrity sha512-3jigKqgSjsH6gYZv2nEsqdXfZqIFGAV36XYYjf9KGZ3PSG+IhLecqPnI310RvjutyMwifE2hhhNEklOUrvx/wA== dependencies: undici-types "~6.21.0" @@ -2887,77 +2887,77 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^8.6.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.34.0.tgz#96c9f818782fe24cd5883a5d517ca1826d3fa9c2" - integrity sha512-QXwAlHlbcAwNlEEMKQS2RCgJsgXrTJdjXT08xEgbPFa2yYQgVjBymxP5DrfrE7X7iodSzd9qBUHUycdyVJTW1w== + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.34.1.tgz#56cf35b89383eaf2bdcf602f5bbdac6dbb11e51b" + integrity sha512-STXcN6ebF6li4PxwNeFnqF8/2BNDvBupf2OPx2yWNzr6mKNGF7q49VM00Pz5FaomJyqvbXpY6PhO+T9w139YEQ== dependencies: "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "8.34.0" - "@typescript-eslint/type-utils" "8.34.0" - "@typescript-eslint/utils" "8.34.0" - "@typescript-eslint/visitor-keys" "8.34.0" + "@typescript-eslint/scope-manager" "8.34.1" + "@typescript-eslint/type-utils" "8.34.1" + "@typescript-eslint/utils" "8.34.1" + "@typescript-eslint/visitor-keys" "8.34.1" graphemer "^1.4.0" ignore "^7.0.0" natural-compare "^1.4.0" ts-api-utils "^2.1.0" "@typescript-eslint/parser@^8.6.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.34.0.tgz#703270426ac529304ae6988482f487c856d9c13f" - integrity sha512-vxXJV1hVFx3IXz/oy2sICsJukaBrtDEQSBiV48/YIV5KWjX1dO+bcIr/kCPrW6weKXvsaGKFNlwH0v2eYdRRbA== - dependencies: - "@typescript-eslint/scope-manager" "8.34.0" - "@typescript-eslint/types" "8.34.0" - "@typescript-eslint/typescript-estree" "8.34.0" - "@typescript-eslint/visitor-keys" "8.34.0" + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.34.1.tgz#f102357ab3a02d5b8aa789655905662cc5093067" + integrity sha512-4O3idHxhyzjClSMJ0a29AcoK0+YwnEqzI6oz3vlRf3xw0zbzt15MzXwItOlnr5nIth6zlY2RENLsOPvhyrKAQA== + dependencies: + "@typescript-eslint/scope-manager" "8.34.1" + "@typescript-eslint/types" "8.34.1" + "@typescript-eslint/typescript-estree" "8.34.1" + "@typescript-eslint/visitor-keys" "8.34.1" debug "^4.3.4" -"@typescript-eslint/project-service@8.34.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.34.0.tgz#449119b72fe9fae185013a6bdbaf1ffbfee6bcaf" - integrity sha512-iEgDALRf970/B2YExmtPMPF54NenZUf4xpL3wsCRx/lgjz6ul/l13R81ozP/ZNuXfnLCS+oPmG7JIxfdNYKELw== +"@typescript-eslint/project-service@8.34.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.34.1.tgz#20501f8b87202c45f5e70a5b24dcdcb8fe12d460" + integrity sha512-nuHlOmFZfuRwLJKDGQOVc0xnQrAmuq1Mj/ISou5044y1ajGNp2BNliIqp7F2LPQ5sForz8lempMFCovfeS1XoA== dependencies: - "@typescript-eslint/tsconfig-utils" "^8.34.0" - "@typescript-eslint/types" "^8.34.0" + "@typescript-eslint/tsconfig-utils" "^8.34.1" + "@typescript-eslint/types" "^8.34.1" debug "^4.3.4" -"@typescript-eslint/scope-manager@8.34.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.34.0.tgz#9fedaec02370cf79c018a656ab402eb00dc69e67" - integrity sha512-9Ac0X8WiLykl0aj1oYQNcLZjHgBojT6cW68yAgZ19letYu+Hxd0rE0veI1XznSSst1X5lwnxhPbVdwjDRIomRw== +"@typescript-eslint/scope-manager@8.34.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.34.1.tgz#727ea43441f4d23d5c73d34195427d85042e5117" + integrity sha512-beu6o6QY4hJAgL1E8RaXNC071G4Kso2MGmJskCFQhRhg8VOH/FDbC8soP8NHN7e/Hdphwp8G8cE6OBzC8o41ZA== dependencies: - "@typescript-eslint/types" "8.34.0" - "@typescript-eslint/visitor-keys" "8.34.0" + "@typescript-eslint/types" "8.34.1" + "@typescript-eslint/visitor-keys" "8.34.1" -"@typescript-eslint/tsconfig-utils@8.34.0", "@typescript-eslint/tsconfig-utils@^8.34.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.34.0.tgz#97d0a24e89a355e9308cebc8e23f255669bf0979" - integrity sha512-+W9VYHKFIzA5cBeooqQxqNriAP0QeQ7xTiDuIOr71hzgffm3EL2hxwWBIIj4GuofIbKxGNarpKqIq6Q6YrShOA== +"@typescript-eslint/tsconfig-utils@8.34.1", "@typescript-eslint/tsconfig-utils@^8.34.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.34.1.tgz#d6abb1b1e9f1f1c83ac92051c8fbf2dbc4dc9f5e" + integrity sha512-K4Sjdo4/xF9NEeA2khOb7Y5nY6NSXBnod87uniVYW9kHP+hNlDV8trUSFeynA2uxWam4gIWgWoygPrv9VMWrYg== -"@typescript-eslint/type-utils@8.34.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.34.0.tgz#03e7eb3776129dfd751ba1cac0c6ea4b0fab5ec6" - integrity sha512-n7zSmOcUVhcRYC75W2pnPpbO1iwhJY3NLoHEtbJwJSNlVAZuwqu05zY3f3s2SDWWDSo9FdN5szqc73DCtDObAg== +"@typescript-eslint/type-utils@8.34.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.34.1.tgz#df860d8edefbfe142473ea4defb7408edb0c379e" + integrity sha512-Tv7tCCr6e5m8hP4+xFugcrwTOucB8lshffJ6zf1mF1TbU67R+ntCc6DzLNKM+s/uzDyv8gLq7tufaAhIBYeV8g== dependencies: - "@typescript-eslint/typescript-estree" "8.34.0" - "@typescript-eslint/utils" "8.34.0" + "@typescript-eslint/typescript-estree" "8.34.1" + "@typescript-eslint/utils" "8.34.1" debug "^4.3.4" ts-api-utils "^2.1.0" -"@typescript-eslint/types@8.34.0", "@typescript-eslint/types@^8.34.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.34.0.tgz#18000f205c59c9aff7f371fc5426b764cf2890fb" - integrity sha512-9V24k/paICYPniajHfJ4cuAWETnt7Ssy+R0Rbcqo5sSFr3QEZ/8TSoUi9XeXVBGXCaLtwTOKSLGcInCAvyZeMA== +"@typescript-eslint/types@8.34.1", "@typescript-eslint/types@^8.34.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.34.1.tgz#565a46a251580dae674dac5aafa8eb14b8322a35" + integrity sha512-rjLVbmE7HR18kDsjNIZQHxmv9RZwlgzavryL5Lnj2ujIRTeXlKtILHgRNmQ3j4daw7zd+mQgy+uyt6Zo6I0IGA== -"@typescript-eslint/typescript-estree@8.34.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.34.0.tgz#c9f3feec511339ef64e9e4884516c3e558f1b048" - integrity sha512-rOi4KZxI7E0+BMqG7emPSK1bB4RICCpF7QD3KCLXn9ZvWoESsOMlHyZPAHyG04ujVplPaHbmEvs34m+wjgtVtg== +"@typescript-eslint/typescript-estree@8.34.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.34.1.tgz#befdb042a6bc44fdad27429b2d3b679c80daad71" + integrity sha512-rjCNqqYPuMUF5ODD+hWBNmOitjBWghkGKJg6hiCHzUvXRy6rK22Jd3rwbP2Xi+R7oYVvIKhokHVhH41BxPV5mA== dependencies: - "@typescript-eslint/project-service" "8.34.0" - "@typescript-eslint/tsconfig-utils" "8.34.0" - "@typescript-eslint/types" "8.34.0" - "@typescript-eslint/visitor-keys" "8.34.0" + "@typescript-eslint/project-service" "8.34.1" + "@typescript-eslint/tsconfig-utils" "8.34.1" + "@typescript-eslint/types" "8.34.1" + "@typescript-eslint/visitor-keys" "8.34.1" debug "^4.3.4" fast-glob "^3.3.2" is-glob "^4.0.3" @@ -2965,23 +2965,23 @@ semver "^7.6.0" ts-api-utils "^2.1.0" -"@typescript-eslint/utils@8.34.0", "@typescript-eslint/utils@^8.26.1": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.34.0.tgz#7844beebc1153b4d3ec34135c2da53a91e076f8d" - integrity sha512-8L4tWatGchV9A1cKbjaavS6mwYwp39jql8xUmIIKJdm+qiaeHy5KMKlBrf30akXAWBzn2SqKsNOtSENWUwg7XQ== +"@typescript-eslint/utils@8.34.1", "@typescript-eslint/utils@^8.26.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.34.1.tgz#f98c9b0c5cae407e34f5131cac0f3a74347a398e" + integrity sha512-mqOwUdZ3KjtGk7xJJnLbHxTuWVn3GO2WZZuM+Slhkun4+qthLdXx32C8xIXbO1kfCECb3jIs3eoxK3eryk7aoQ== dependencies: "@eslint-community/eslint-utils" "^4.7.0" - "@typescript-eslint/scope-manager" "8.34.0" - "@typescript-eslint/types" "8.34.0" - "@typescript-eslint/typescript-estree" "8.34.0" + "@typescript-eslint/scope-manager" "8.34.1" + "@typescript-eslint/types" "8.34.1" + "@typescript-eslint/typescript-estree" "8.34.1" -"@typescript-eslint/visitor-keys@8.34.0": - version "8.34.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.34.0.tgz#c7a149407be31d755dba71980617d638a40ac099" - integrity sha512-qHV7pW7E85A0x6qyrFn+O+q1k1p3tQCsqIZ1KZ5ESLXY57aTvUd3/a4rdPTeXisvhXn2VQG0VSKUqs8KHF2zcA== +"@typescript-eslint/visitor-keys@8.34.1": + version "8.34.1" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.34.1.tgz#28a1987ea3542ccafb92aa792726a304b39531cf" + integrity sha512-xoh5rJ+tgsRKoXnkBPFRLZ7rjKM0AfVbC68UZ/ECXoDbfggb9RbEySN359acY1vS3qZ0jVTVWzbtfapwm5ztxw== dependencies: - "@typescript-eslint/types" "8.34.0" - eslint-visitor-keys "^4.2.0" + "@typescript-eslint/types" "8.34.1" + eslint-visitor-keys "^4.2.1" "@ungap/structured-clone@^1.2.0": version "1.3.0" @@ -4912,10 +4912,10 @@ eslint-visitor-keys@^3.4.1, eslint-visitor-keys@^3.4.3: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz#0cd72fe8550e3c2eae156a96a4dddcd1c8ac5800" integrity sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag== -eslint-visitor-keys@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz#687bacb2af884fcdda8a6e7d65c606f46a14cd45" - integrity sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw== +eslint-visitor-keys@^4.2.1: + version "4.2.1" + resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.2.1.tgz#4cfea60fe7dd0ad8e816e1ed026c1d5251b512c1" + integrity sha512-Uhdk5sfqcee/9H/rCOJikYz67o0a2Tw2hGRPOG2Y1R2dg7brRe1uG0yaNQDHu+TO/uQPF/5eCapvYSmHUjt7JQ== eslint@^8.57.1: version "8.57.1" From 78f5442e28fa2442bbe1656d52e544a6bdf6ea83 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 23 Jun 2025 15:20:16 +0300 Subject: [PATCH 004/189] chore(deps-dev): bump prettier in the dependencies group (#4479) Bumps the dependencies group with 1 update: [prettier](https://github.com/prettier/prettier). Updates `prettier` from 3.5.3 to 3.6.0 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.5.3...3.6.0) --- updated-dependencies: - dependency-name: prettier dependency-version: 3.6.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index a1025c26695..9dd65f5d1a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8570,9 +8570,9 @@ prelude-ls@^1.2.1: integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== prettier@^3.3.3: - version "3.5.3" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.5.3.tgz#4fc2ce0d657e7a02e602549f053b239cb7dfe1b5" - integrity sha512-QQtaxnoDJeAkDvDKWCLiwIXkTgRhwYDEQCghU9Z6q03iyek/rxRh/2lC3HB7P8sWT2xC/y5JDctPLBIGzHKbhw== + version "3.6.0" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.0.tgz#18ec98d62cb0757a5d4eab40253ff3e6d0fc8dea" + integrity sha512-ujSB9uXHJKzM/2GBuE0hBOUgC77CN3Bnpqa+g80bkv3T3A93wL/xlzDATHhnhkzifz/UE2SNOvmbTz5hSkDlHw== pretty-format@^29.0.0, pretty-format@^29.7.0: version "29.7.0" From 93dd096047de0ba7b5ca4dc8687a3151df5d64a7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Jun 2025 08:02:16 +0300 Subject: [PATCH 005/189] chore(deps-dev): bump the dependencies group with 2 updates (#4480) Bumps the dependencies group with 2 updates: [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) and [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser). Updates `@typescript-eslint/eslint-plugin` from 8.34.1 to 8.35.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.35.0/packages/eslint-plugin) Updates `@typescript-eslint/parser` from 8.34.1 to 8.35.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.35.0/packages/parser) --- updated-dependencies: - dependency-name: "@typescript-eslint/eslint-plugin" dependency-version: 8.35.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies - dependency-name: "@typescript-eslint/parser" dependency-version: 8.35.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- yarn.lock | 122 +++++++++++++++++++++++++++--------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/yarn.lock b/yarn.lock index 9dd65f5d1a2..dbe85d1bbdc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2887,77 +2887,77 @@ "@types/yargs-parser" "*" "@typescript-eslint/eslint-plugin@^8.6.0": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.34.1.tgz#56cf35b89383eaf2bdcf602f5bbdac6dbb11e51b" - integrity sha512-STXcN6ebF6li4PxwNeFnqF8/2BNDvBupf2OPx2yWNzr6mKNGF7q49VM00Pz5FaomJyqvbXpY6PhO+T9w139YEQ== + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.35.0.tgz#515170100ff867445fe0a17ce05c14fc5fd9ca63" + integrity sha512-ijItUYaiWuce0N1SoSMrEd0b6b6lYkYt99pqCPfybd+HKVXtEvYhICfLdwp42MhiI5mp0oq7PKEL+g1cNiz/Eg== dependencies: "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "8.34.1" - "@typescript-eslint/type-utils" "8.34.1" - "@typescript-eslint/utils" "8.34.1" - "@typescript-eslint/visitor-keys" "8.34.1" + "@typescript-eslint/scope-manager" "8.35.0" + "@typescript-eslint/type-utils" "8.35.0" + "@typescript-eslint/utils" "8.35.0" + "@typescript-eslint/visitor-keys" "8.35.0" graphemer "^1.4.0" ignore "^7.0.0" natural-compare "^1.4.0" ts-api-utils "^2.1.0" "@typescript-eslint/parser@^8.6.0": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.34.1.tgz#f102357ab3a02d5b8aa789655905662cc5093067" - integrity sha512-4O3idHxhyzjClSMJ0a29AcoK0+YwnEqzI6oz3vlRf3xw0zbzt15MzXwItOlnr5nIth6zlY2RENLsOPvhyrKAQA== - dependencies: - "@typescript-eslint/scope-manager" "8.34.1" - "@typescript-eslint/types" "8.34.1" - "@typescript-eslint/typescript-estree" "8.34.1" - "@typescript-eslint/visitor-keys" "8.34.1" + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.35.0.tgz#20a0e17778a329a6072722f5ac418d4376b767d2" + integrity sha512-6sMvZePQrnZH2/cJkwRpkT7DxoAWh+g6+GFRK6bV3YQo7ogi3SX5rgF6099r5Q53Ma5qeT7LGmOmuIutF4t3lA== + dependencies: + "@typescript-eslint/scope-manager" "8.35.0" + "@typescript-eslint/types" "8.35.0" + "@typescript-eslint/typescript-estree" "8.35.0" + "@typescript-eslint/visitor-keys" "8.35.0" debug "^4.3.4" -"@typescript-eslint/project-service@8.34.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.34.1.tgz#20501f8b87202c45f5e70a5b24dcdcb8fe12d460" - integrity sha512-nuHlOmFZfuRwLJKDGQOVc0xnQrAmuq1Mj/ISou5044y1ajGNp2BNliIqp7F2LPQ5sForz8lempMFCovfeS1XoA== +"@typescript-eslint/project-service@8.35.0": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/project-service/-/project-service-8.35.0.tgz#00bd77e6845fbdb5684c6ab2d8a400a58dcfb07b" + integrity sha512-41xatqRwWZuhUMF/aZm2fcUsOFKNcG28xqRSS6ZVr9BVJtGExosLAm5A1OxTjRMagx8nJqva+P5zNIGt8RIgbQ== dependencies: - "@typescript-eslint/tsconfig-utils" "^8.34.1" - "@typescript-eslint/types" "^8.34.1" + "@typescript-eslint/tsconfig-utils" "^8.35.0" + "@typescript-eslint/types" "^8.35.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@8.34.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.34.1.tgz#727ea43441f4d23d5c73d34195427d85042e5117" - integrity sha512-beu6o6QY4hJAgL1E8RaXNC071G4Kso2MGmJskCFQhRhg8VOH/FDbC8soP8NHN7e/Hdphwp8G8cE6OBzC8o41ZA== +"@typescript-eslint/scope-manager@8.35.0": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.35.0.tgz#8ccb2ab63383544fab98fc4b542d8d141259ff4f" + integrity sha512-+AgL5+mcoLxl1vGjwNfiWq5fLDZM1TmTPYs2UkyHfFhgERxBbqHlNjRzhThJqz+ktBqTChRYY6zwbMwy0591AA== dependencies: - "@typescript-eslint/types" "8.34.1" - "@typescript-eslint/visitor-keys" "8.34.1" + "@typescript-eslint/types" "8.35.0" + "@typescript-eslint/visitor-keys" "8.35.0" -"@typescript-eslint/tsconfig-utils@8.34.1", "@typescript-eslint/tsconfig-utils@^8.34.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.34.1.tgz#d6abb1b1e9f1f1c83ac92051c8fbf2dbc4dc9f5e" - integrity sha512-K4Sjdo4/xF9NEeA2khOb7Y5nY6NSXBnod87uniVYW9kHP+hNlDV8trUSFeynA2uxWam4gIWgWoygPrv9VMWrYg== +"@typescript-eslint/tsconfig-utils@8.35.0", "@typescript-eslint/tsconfig-utils@^8.35.0": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.35.0.tgz#6e05aeb999999e31d562ceb4fe144f3cbfbd670e" + integrity sha512-04k/7247kZzFraweuEirmvUj+W3bJLI9fX6fbo1Qm2YykuBvEhRTPl8tcxlYO8kZZW+HIXfkZNoasVb8EV4jpA== -"@typescript-eslint/type-utils@8.34.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.34.1.tgz#df860d8edefbfe142473ea4defb7408edb0c379e" - integrity sha512-Tv7tCCr6e5m8hP4+xFugcrwTOucB8lshffJ6zf1mF1TbU67R+ntCc6DzLNKM+s/uzDyv8gLq7tufaAhIBYeV8g== +"@typescript-eslint/type-utils@8.35.0": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.35.0.tgz#0201eae9d83ffcc3451ef8c94f53ecfbf2319ecc" + integrity sha512-ceNNttjfmSEoM9PW87bWLDEIaLAyR+E6BoYJQ5PfaDau37UGca9Nyq3lBk8Bw2ad0AKvYabz6wxc7DMTO2jnNA== dependencies: - "@typescript-eslint/typescript-estree" "8.34.1" - "@typescript-eslint/utils" "8.34.1" + "@typescript-eslint/typescript-estree" "8.35.0" + "@typescript-eslint/utils" "8.35.0" debug "^4.3.4" ts-api-utils "^2.1.0" -"@typescript-eslint/types@8.34.1", "@typescript-eslint/types@^8.34.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.34.1.tgz#565a46a251580dae674dac5aafa8eb14b8322a35" - integrity sha512-rjLVbmE7HR18kDsjNIZQHxmv9RZwlgzavryL5Lnj2ujIRTeXlKtILHgRNmQ3j4daw7zd+mQgy+uyt6Zo6I0IGA== +"@typescript-eslint/types@8.35.0", "@typescript-eslint/types@^8.35.0": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.35.0.tgz#e60d062907930e30008d796de5c4170f02618a93" + integrity sha512-0mYH3emanku0vHw2aRLNGqe7EXh9WHEhi7kZzscrMDf6IIRUQ5Jk4wp1QrledE/36KtdZrVfKnE32eZCf/vaVQ== -"@typescript-eslint/typescript-estree@8.34.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.34.1.tgz#befdb042a6bc44fdad27429b2d3b679c80daad71" - integrity sha512-rjCNqqYPuMUF5ODD+hWBNmOitjBWghkGKJg6hiCHzUvXRy6rK22Jd3rwbP2Xi+R7oYVvIKhokHVhH41BxPV5mA== +"@typescript-eslint/typescript-estree@8.35.0": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.35.0.tgz#86141e6c55b75bc1eaecc0781bd39704de14e52a" + integrity sha512-F+BhnaBemgu1Qf8oHrxyw14wq6vbL8xwWKKMwTMwYIRmFFY/1n/9T/jpbobZL8vp7QyEUcC6xGrnAO4ua8Kp7w== dependencies: - "@typescript-eslint/project-service" "8.34.1" - "@typescript-eslint/tsconfig-utils" "8.34.1" - "@typescript-eslint/types" "8.34.1" - "@typescript-eslint/visitor-keys" "8.34.1" + "@typescript-eslint/project-service" "8.35.0" + "@typescript-eslint/tsconfig-utils" "8.35.0" + "@typescript-eslint/types" "8.35.0" + "@typescript-eslint/visitor-keys" "8.35.0" debug "^4.3.4" fast-glob "^3.3.2" is-glob "^4.0.3" @@ -2965,22 +2965,22 @@ semver "^7.6.0" ts-api-utils "^2.1.0" -"@typescript-eslint/utils@8.34.1", "@typescript-eslint/utils@^8.26.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.34.1.tgz#f98c9b0c5cae407e34f5131cac0f3a74347a398e" - integrity sha512-mqOwUdZ3KjtGk7xJJnLbHxTuWVn3GO2WZZuM+Slhkun4+qthLdXx32C8xIXbO1kfCECb3jIs3eoxK3eryk7aoQ== +"@typescript-eslint/utils@8.35.0", "@typescript-eslint/utils@^8.26.1": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.35.0.tgz#aaf0afab5ab51ea2f1897002907eacd9834606d5" + integrity sha512-nqoMu7WWM7ki5tPgLVsmPM8CkqtoPUG6xXGeefM5t4x3XumOEKMoUZPdi+7F+/EotukN4R9OWdmDxN80fqoZeg== dependencies: "@eslint-community/eslint-utils" "^4.7.0" - "@typescript-eslint/scope-manager" "8.34.1" - "@typescript-eslint/types" "8.34.1" - "@typescript-eslint/typescript-estree" "8.34.1" + "@typescript-eslint/scope-manager" "8.35.0" + "@typescript-eslint/types" "8.35.0" + "@typescript-eslint/typescript-estree" "8.35.0" -"@typescript-eslint/visitor-keys@8.34.1": - version "8.34.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.34.1.tgz#28a1987ea3542ccafb92aa792726a304b39531cf" - integrity sha512-xoh5rJ+tgsRKoXnkBPFRLZ7rjKM0AfVbC68UZ/ECXoDbfggb9RbEySN359acY1vS3qZ0jVTVWzbtfapwm5ztxw== +"@typescript-eslint/visitor-keys@8.35.0": + version "8.35.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.35.0.tgz#93e905e7f1e94d26a79771d1b1eb0024cb159dbf" + integrity sha512-zTh2+1Y8ZpmeQaQVIc/ZZxsx8UzgKJyNg1PTvjzC7WMhPSVS8bfDX34k1SrwOf016qd5RU3az2UxUNue3IfQ5g== dependencies: - "@typescript-eslint/types" "8.34.1" + "@typescript-eslint/types" "8.35.0" eslint-visitor-keys "^4.2.1" "@ungap/structured-clone@^1.2.0": From 264b22949297af06abd3256f1f7f7149e00dc22d Mon Sep 17 00:00:00 2001 From: Alexander Akait <4567934+alexander-akait@users.noreply.github.com> Date: Wed, 25 Jun 2025 17:15:07 +0300 Subject: [PATCH 006/189] chore: migrate to `eslint-config-webpack` (#4481) --- .cspell.json | 1 + .eslintignore | 14 - .eslintrc.js | 62 - eslint.config.mjs | 36 + package.json | 34 +- packages/configtest/src/index.ts | 10 +- packages/create-webpack-app/bin/cli.js | 3 +- .../src/generators/init/default.ts | 16 +- .../src/generators/init/react.ts | 16 +- .../src/generators/init/svelte.ts | 16 +- .../src/generators/init/vue.ts | 16 +- .../src/generators/loader/default.ts | 14 +- .../src/generators/plugin/default.ts | 14 +- packages/create-webpack-app/src/index.ts | 12 +- packages/create-webpack-app/src/plopfile.ts | 8 +- packages/create-webpack-app/src/types.ts | 25 +- .../src/utils/generate-files.ts | 26 +- .../src/utils/install-dependencies.ts | 20 +- .../create-webpack-app/src/utils/logger.ts | 32 +- packages/serve/src/index.ts | 31 +- packages/webpack-cli/bin/cli.js | 10 +- packages/webpack-cli/src/bootstrap.ts | 8 +- packages/webpack-cli/src/index.ts | 9 +- .../webpack-cli/src/plugins/cli-plugin.ts | 24 +- packages/webpack-cli/src/types.ts | 140 +- .../src/utils/dynamic-import-loader.ts | 5 +- packages/webpack-cli/src/webpack-cli.ts | 394 ++- packages/webpack-cli/tsconfig.json | 1 - scripts/cleanup-test.js | 14 +- scripts/setup-build.js | 4 +- scripts/setup-test.js | 2 + scripts/snapshot-resolver.js | 3 +- scripts/update-docs.js | 6 +- scripts/utils.js | 36 +- smoketests/helpers.js | 36 +- smoketests/index.js | 17 +- test/.eslintrc | 10 - test/api/CLI.test.js | 22 +- test/api/capitalizeFirstLetter.test.js | 4 +- test/api/do-install.test.js | 84 +- test/api/get-default-package-manager.test.js | 50 +- .../api/resolve-config/env.webpack.config.cjs | 2 +- .../api/resolve-config/resolve-config.test.js | 4 +- .../resolve-config/webpack.promise.config.cjs | 9 +- test/build/bail/bail.test.js | 4 +- test/build/basic/basic.test.js | 4 +- test/build/build-errors/errors.test.js | 24 +- test/build/build-variable/webpack.config.js | 13 +- test/build/build-warnings/warnings.test.js | 26 +- test/build/bundle-variable/webpack.config.js | 13 +- test/build/cache/cache.test.js | 28 +- test/build/cache/multi.config.js | 2 +- test/build/cache/webpack.config.js | 2 +- test/build/colors/colors.test.js | 40 +- .../multi-stats-colors.webpack.config.js | 4 +- .../colors/stats-colors.webpack.config.js | 2 +- .../babel-commonjs/babel-esm.test.js | 1 - .../babel-commonjs/webpack.config.babel.js | 2 +- .../commonjs-default/webpack.config.cjs | 2 +- .../config-format/commonjs/webpack.config.cjs | 2 +- .../disable-interpret.test.js | 5 +- .../disable-interpret/webpack.config.ts | 2 +- .../config-format/esm/webpack.config.mjs | 4 +- .../config-format/failure/failure.test.js | 2 +- .../typescript.test.js | 5 +- .../webpack.config.ts | 4 +- .../typescript.test.js | 5 +- .../webpack.config.ts | 4 +- .../typescript.test.js | 5 +- .../webpack.config.ts | 4 +- .../typescript.test.js | 4 +- .../webpack.config.ts | 5 +- .../typescript.test.js | 5 +- .../typescript-using-nodejs/webpack.config.ts | 4 +- .../custom-name/config.webpack.js | 2 +- .../custom-name/config.webpack.mjs | 4 +- .../custom-name/custom-name.test.js | 2 +- .../dotfolder-array/dotfolder-array.test.js | 5 +- .../dotfolder-single/dotfolder-single.test.js | 4 +- .../config-lookup/relative/webpack.config.js | 2 +- test/build/config-name/config-name.test.js | 26 +- .../build/config/absent/config-absent.test.js | 2 +- test/build/config/basic/basic-config.test.js | 2 +- test/build/config/basic/webpack.config.js | 2 +- .../basic-config/default-js-config.test.js | 6 +- .../cjs-config/default-cjs-config.test.js | 6 +- .../.webpack/webpackfile.js | 2 +- .../dot-webpack-webpackfile.test.js | 9 +- .../.webpack/webpack.config.js | 2 +- .../dot-webpack-config.test.js | 9 +- .../mjs-config/default-mjs-config.test.js | 8 +- .../default-config-with-mode.test.js | 9 +- .../defaults/with-mode/webpack.config.js | 2 +- .../config/empty-array/empty-array.test.js | 3 +- .../empty-function/empty-function.test.js | 3 +- .../config/empty-function/webpack.config.js | 4 +- .../empty-promise/empty-promise.test.js | 3 +- test/build/config/empty/empty.test.js | 3 +- .../error-array/config-array-error.test.js | 1 + .../error-commonjs/config-error.test.js | 5 +- .../config/error-commonjs/webpack.config.js | 2 +- .../config/error-mjs/config-error.test.js | 5 +- .../build/config/error-mjs/webpack.config.mjs | 2 +- .../config/function/functional-config.test.js | 4 +- .../config/function/single-webpack.config.js | 16 +- .../invalid-export/invalid-export.test.js | 3 +- .../config/invalid-path/invalid-path.test.js | 3 +- .../multiple-with-one-compilation.test.js | 2 +- .../webpack.config.js | 2 +- .../config/multiple/multiple-config.test.js | 2 +- .../config/named-export/webpack.config.mjs | 2 +- test/build/config/no-code/no-code.test.js | 3 +- .../no-config-array/no-config-array.test.js | 2 +- .../no-config-object/no-config-object.test.js | 2 +- .../object-freeze-partial/index.test.js | 3 +- test/build/config/object-freeze/index.test.js | 3 +- .../top-multi-compilers-options.test.js | 2 +- .../webpack.config.js | 24 +- .../function-with-argv.test.js | 9 +- .../array-function-with-env.test.js | 9 +- .../array-functions/array-functions.test.js | 5 +- .../type/array-functions/webpack.config.js | 38 +- .../array-promises/array-promises.test.js | 5 +- .../type/array-promises/webpack.config.js | 6 +- test/build/config/type/array/array.test.js | 5 +- .../function-array/function-array.test.js | 5 +- .../type/function-array/webpack.config.js | 6 +- .../function-async/function-async.test.js | 5 +- .../type/function-async/webpack.config.js | 18 +- .../function-promise/function-promise.test.js | 5 +- .../type/function-promise/webpack.config.js | 9 +- .../function-with-argv.test.js | 7 +- .../function-with-env.test.js | 53 +- .../type/function-with-env/webpack.config.js | 4 +- .../function-with-env/webpack.env.config.js | 2 +- .../config/type/function/function.test.js | 5 +- .../config/type/function/webpack.config.js | 18 +- .../type/promise-array/promise-array.test.js | 5 +- .../type/promise-array/webpack.config.js | 6 +- .../promise-function/promise-function.test.js | 5 +- .../type/promise-function/webpack.config.js | 4 +- .../build/config/type/promise/promise.test.js | 5 +- .../config/type/promise/webpack.config.js | 4 +- .../undefined-default.test.js | 3 +- test/build/config/undefined/undefined.test.js | 3 +- test/build/core-flags/core-flags.test.js | 38 +- test/build/core-flags/warning.config.js | 2 +- .../custom-webpack/custom-webpack.test.js | 2 +- test/build/defaults/output-defaults.test.js | 4 +- .../devtool/array/source-map-array.test.js | 10 +- .../devtool/object/source-map-object.test.js | 7 +- test/build/entry/config-entry/1.js | 2 +- .../entry-with-config.test.js | 5 +- .../entry-with-index/webpack.config.js | 2 +- .../defaults-empty/entry-single-arg.test.js | 2 +- .../defaults-index/entry-multi-args.test.js | 4 +- .../entry/flag-entry/entry-with-flag.test.js | 34 +- .../multiple-entries/multi-entries.test.js | 10 +- test/build/env/array/array-env.test.js | 3 +- test/build/env/object/object-env.test.js | 3 +- .../invalid-schema/invalid-schema.test.js | 25 +- test/build/extends/extends.test.js | 33 +- .../extends/recursive-extends/other.config.js | 10 +- .../recursive-extends/webpack.config.js | 10 +- test/build/import-local/import-local.test.js | 1 + test/build/json/json.test.js | 66 +- .../config-absent/merge-config-absent.test.js | 6 +- .../mode-single-arg/mode-single-arg.test.js | 12 +- .../mode-with-config/mode-with-config.test.js | 34 +- .../mode/mode-with-config/webpack.config.js | 2 +- test/build/name/name.test.js | 1 + test/build/node/node.test.js | 3 +- test/build/node/webpack.config.js | 2 +- .../build/output/output-named-bundles.test.js | 4 +- test/build/output/webpack.config.js | 2 +- test/build/output/webpack.multiple.config.js | 2 +- test/build/output/webpack.single.config.js | 2 +- test/build/progress/progress-flag.test.js | 4 +- .../config-no/no-stats-with-config.test.js | 4 +- test/build/stats/flags/stats.test.js | 10 +- .../target-flag.test.js.snap.webpack5 | 24 - .../target/flag-test/target-flag.test.js | 52 +- test/build/target/node/main.js | 3 +- test/build/target/node/new.js | 3 +- test/build/target/node/node-test.test.js | 1 + .../unknown.test.js.snap.webpack5 | 7 - test/build/unknown/unknown.test.js | 8 - .../with-config-path/with-config-path.test.js | 2 +- .../without-config-path.test.js | 2 +- .../without-config-path-error.test.js | 2 +- ...ut-config-path-multi-compiler-mode.test.js | 2 +- ...thout-config-path-no-configuration.test.js | 2 +- .../without-config-path.test.js | 2 +- test/create-webpack-app/init/init.test.js | 141 +- .../loader/error-test/loader-error.test.js | 7 +- .../loader/error-test/src/index.ts | 2 +- .../loader/error-test/webpack.config.js | 2 +- test/create-webpack-app/loader/loader.test.js | 34 +- .../warning-test/loader-warning.test.js | 6 +- .../loader/warning-test/webpack.config.js | 2 +- test/create-webpack-app/plugin/plugin.test.js | 33 +- test/create-webpack-app/test.utils.js | 56 +- .../help.test.js.snap.devServer5.webpack5 | 4 +- test/help/help.test.js | 24 +- test/info/additional-package.test.js | 4 +- test/info/basic.test.js | 2 +- test/info/output.test.js | 10 +- test/serve/basic/serve-basic.test.js | 7 +- .../invalid-schema/invalid-schema.test.js | 9 +- .../serve-variable/serve-variable.test.js | 2 +- test/serve/serve-variable/webpack.config.js | 13 +- ...om-config.test.js.snap.devServer5.webpack5 | 6 +- .../serve-custom-config.test.js | 8 +- test/utils/cli-plugin-test/plugin.test.js | 5 +- test/utils/test-utils.js | 86 +- test/utils/webpack-cli-test-plugin.js | 8 +- test/version/additional-package.test.js | 4 +- test/version/basic.test.js | 2 +- test/version/output.test.js | 10 +- test/watch/bail/bail.test.js | 15 +- test/watch/basic/basic.test.js | 18 +- .../watch-variable/watch-variable.test.js | 10 +- test/watch/watch-variable/webpack.config.js | 13 +- tsconfig.json | 4 +- yarn.lock | 2199 ++++++++++++++--- 225 files changed, 3358 insertions(+), 1843 deletions(-) delete mode 100644 .eslintignore delete mode 100644 .eslintrc.js create mode 100644 eslint.config.mjs delete mode 100644 test/.eslintrc diff --git a/.cspell.json b/.cspell.json index a63df0e0fd7..8498177e77c 100644 --- a/.cspell.json +++ b/.cspell.json @@ -116,6 +116,7 @@ "**/yarn.lock", "**/*.png.tpl", "**/package-lock.json", + "packages/*/lib/**", "node_modules", "coverage", "*.log" diff --git a/.eslintignore b/.eslintignore deleted file mode 100644 index 844c3971e3f..00000000000 --- a/.eslintignore +++ /dev/null @@ -1,14 +0,0 @@ -coverage -.nyc_output -node_modules -dist -packages/*/lib -test/**/dist/ -test/**/bin/ -test/**/binary/ -test/**/index.js -test/build/config/error-commonjs/syntax-error.js -test/build/config/error-mjs/syntax-error.mjs -test/build/config/error-array/webpack.config.js -test/build/config-format/esm-require-await/webpack.config.js -test/configtest/with-config-path/syntax-error.config.js diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 3a7b389a670..00000000000 --- a/.eslintrc.js +++ /dev/null @@ -1,62 +0,0 @@ -module.exports = { - root: true, - reportUnusedDisableDirectives: true, - extends: ["eslint:recommended", "plugin:n/recommended", "prettier"], - parserOptions: { ecmaVersion: 2018, sourceType: "script" }, - plugins: ["n"], - env: { - node: true, - es6: true, - jest: true, - }, - rules: { - "no-process-exit": "off", - "n/no-process-exit": "off", - "no-template-curly-in-string": "error", - "no-caller": "error", - "no-extra-bind": "error", - "no-loop-func": "error", - "no-undef": "error", - "prefer-const": "error", - }, - overrides: [ - { - settings: { - n: { - tryExtensions: [".ts", ".tsx", ".js", ".jsx", ".json"], - }, - }, - files: ["**/*.ts"], - extends: [ - "plugin:@typescript-eslint/eslint-recommended", - "plugin:@typescript-eslint/recommended", - "prettier", - ], - parser: "@typescript-eslint/parser", - plugins: ["@typescript-eslint"], - rules: { - "@typescript-eslint/no-unused-vars": [ - "error", - { - args: "all", - argsIgnorePattern: "^_", - caughtErrors: "all", - caughtErrorsIgnorePattern: "^_", - destructuredArrayIgnorePattern: "^_", - varsIgnorePattern: "^_", - ignoreRestSiblings: true, - }, - ], - "n/no-unsupported-features/es-syntax": "off", - "n/no-process-exit": "off", - "@typescript-eslint/no-require-imports": "off", - }, - }, - { - files: ["**/packages/create-webpack-app/**/*.js"], - parserOptions: { - sourceType: "module", - }, - }, - ], -}; diff --git a/eslint.config.mjs b/eslint.config.mjs new file mode 100644 index 00000000000..ae4acf6464e --- /dev/null +++ b/eslint.config.mjs @@ -0,0 +1,36 @@ +import { globalIgnores, defineConfig } from "eslint/config"; +import config from "eslint-config-webpack"; +import configs from "eslint-config-webpack/configs.js"; + +export default defineConfig([ + globalIgnores([ + "packages/*/lib/**/*", + "test/**/dist/**/*", + "test/**/bin/**/*", + "test/**/binary/**/*", + "test/**/index.js", + "test/build/config/error-commonjs/syntax-error.js", + "test/build/config/error-mjs/syntax-error.mjs", + "test/build/config/error-array/webpack.config.js", + "test/build/config-format/esm-require-await/webpack.config.js", + "test/configtest/with-config-path/syntax-error.config.js", + "test/build/config-format/esm-require/webpack.config.js", + ]), + { + extends: [config], + ignores: ["./packages/create-webpack-app/**/*"], + rules: { + // We are CLI, so using `console.log` is normal + "no-console": "off", + strict: "off", + }, + }, + { + files: ["./packages/create-webpack-app/**/*"], + extends: [configs["recommended-module"]], + rules: { + // We are CLI, so using `console.log` is normal + "no-console": "off", + }, + }, +]); diff --git a/package.json b/package.json index 55de0cd74a9..dd50a0859d2 100644 --- a/package.json +++ b/package.json @@ -32,11 +32,14 @@ "build": "tsc --build", "build:ci": "tsc --build", "watch": "tsc --build --watch", - "lint:prettier": "prettier --cache --list-different .", - "lint:eslint": "eslint --cache --ext .js --ext .ts .", - "lint:spelling": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", - "lint": "yarn lint:eslint && yarn lint:prettier && yarn lint:spelling", - "fix": "yarn lint:eslint --fix && yarn lint:prettier --write", + "lint": "yarn lint:code && yarn lint:spellcheck", + "lint:code": "eslint --cache .", + "lint:spellcheck": "cspell --cache --no-must-find-files --quiet \"**/*.*\"", + "fmt": "yarn fmt:base --log-level warn --write", + "fmt:check": "yarn fmt:base --check", + "fmt:base": "prettier --cache --ignore-unknown .", + "fix": "yarn fix:code", + "fix:code": "yarn lint:code --fix", "pretest": "yarn build && yarn lint", "test": "jest --reporters=default", "test:smoketests": "nyc node smoketests", @@ -56,24 +59,32 @@ "@babel/core": "^7.25.2", "@babel/preset-env": "^7.25.2", "@babel/register": "^7.15.8", + "@eslint/js": "^9.28.0", + "@eslint/markdown": "^6.6.0", "@commitlint/cli": "^19.4.0", "@commitlint/config-conventional": "^19.2.2", + "@stylistic/eslint-plugin": "^5.0.0", "@types/jest": "^29.5.13", "@types/node": "^22.5.5", "@types/rechoir": "^0.6.1", - "@typescript-eslint/eslint-plugin": "^8.6.0", - "@typescript-eslint/parser": "^8.6.0", "coffeescript": "^2.7.0", "colorette": "^2.0.16", "concat-stream": "^2.0.0", "cspell": "^8.3.2", "css-loader": "^7.1.2", "del-cli": "^6.0.0", - "eslint": "^8.57.1", - "eslint-config-prettier": "^9.1.0", - "eslint-plugin-n": "^17.10.2", + "eslint": "^9.29.0", + "eslint-config-webpack": "^4.1.4", + "eslint-config-prettier": "^10.1.5", + "eslint-plugin-import": "^2.32.0", + "eslint-plugin-jest": "^29.0.1", + "eslint-plugin-jsdoc": "^51.2.3", + "eslint-plugin-n": "^17.19.0", + "eslint-plugin-prettier": "^5.4.1", + "eslint-plugin-unicorn": "^59.0.1", "execa": "^5.0.0", "get-port": "^5.1.1", + "globals": "^16.2.0", "husky": "^9.1.4", "jest": "^29.4.1", "jest-watch-typeahead": "^2.2.2", @@ -81,7 +92,7 @@ "lint-staged": "^15.2.9", "mini-css-extract-plugin": "^2.6.1", "nyc": "^17.1.0", - "prettier": "^3.3.3", + "prettier": "^3.6.0", "readable-stream": "^4.5.2", "sass": "^1.54.9", "sass-loader": "^16.0.2", @@ -91,6 +102,7 @@ "ts-loader": "^9.3.1", "ts-node": "^10.9.1", "typescript": "^5.0.4", + "typescript-eslint": "^8.35.0", "webpack": "^5.99.1", "webpack-bundle-analyzer": "^4.5.0", "webpack-dev-server": "^5.1.0" diff --git a/packages/configtest/src/index.ts b/packages/configtest/src/index.ts index 104a3adf54d..67002e7205f 100644 --- a/packages/configtest/src/index.ts +++ b/packages/configtest/src/index.ts @@ -20,18 +20,18 @@ class ConfigTestCommand { const configPaths = new Set(); if (Array.isArray(config.options)) { - config.options.forEach((options) => { + for (const options of config.options) { const loadedConfigPaths = config.path.get(options); if (loadedConfigPaths) { - loadedConfigPaths.forEach((path) => configPaths.add(path)); + for (const path of loadedConfigPaths) configPaths.add(path); } - }); + } } else if (config.path.get(config.options)) { const loadedConfigPaths = config.path.get(config.options); if (loadedConfigPaths) { - loadedConfigPaths.forEach((path) => configPaths.add(path)); + for (const path of loadedConfigPaths) configPaths.add(path); } } @@ -40,7 +40,7 @@ class ConfigTestCommand { process.exit(2); } - cli.logger.info(`Validate '${Array.from(configPaths).join(" ,")}'.`); + cli.logger.info(`Validate '${[...configPaths].join(" ,")}'.`); try { cli.webpack.validate(config.options); diff --git a/packages/create-webpack-app/bin/cli.js b/packages/create-webpack-app/bin/cli.js index aaefc07b7d0..33b44db26b4 100755 --- a/packages/create-webpack-app/bin/cli.js +++ b/packages/create-webpack-app/bin/cli.js @@ -1,4 +1,3 @@ #!/usr/bin/env node -//eslint-disable-next-line -import * as cli from "../lib/index.js"; +import "../lib/index.js"; diff --git a/packages/create-webpack-app/src/generators/init/default.ts b/packages/create-webpack-app/src/generators/init/default.ts index 64a03a60954..3bf52d00c1a 100644 --- a/packages/create-webpack-app/src/generators/init/default.ts +++ b/packages/create-webpack-app/src/generators/init/default.ts @@ -1,13 +1,13 @@ -import { type Answers, type ActionType, type FileRecord } from "../../types"; +import { type Answers, type ActionType, type FileRecord } from "../../types.js"; import { type NodePlopAPI, type DynamicActionsFunction } from "node-plop"; -import { dirname, join, resolve } from "path"; -import { fileURLToPath } from "url"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; -export default async function (plop: NodePlopAPI) { +export default async function defaultInitGenerator(plop: NodePlopAPI) { const __dirname = dirname(fileURLToPath(import.meta.url)); // dependencies to be installed - const devDependencies: Array = ["webpack", "webpack-cli"]; + const devDependencies: string[] = ["webpack", "webpack-cli"]; await plop.load("../../utils/install-dependencies.js", {}, true); await plop.load("../../utils/generate-files.js", {}, true); @@ -74,7 +74,7 @@ export default async function (plop: NodePlopAPI) { type: "confirm", name: "isPostCSS", message: "Do you want to use PostCSS in your project?", - default: (answers: Answers) => answers.cssType == "CSS only", + default: (answers: Answers) => answers.cssType === "CSS only", }, { type: "list", @@ -97,7 +97,7 @@ export default async function (plop: NodePlopAPI) { }, }, ], - actions: function (answers: Answers) { + actions: function actions(answers: Answers) { const actions: ActionType[] = []; switch (answers.langType) { @@ -147,7 +147,7 @@ export default async function (plop: NodePlopAPI) { devDependencies.push("mini-css-extract-plugin"); } - const files: Array = [ + const files: FileRecord[] = [ { filePath: "./index.html", fileType: "text" }, { filePath: "webpack.config.js", fileType: "text" }, { filePath: "package.json", fileType: "text" }, diff --git a/packages/create-webpack-app/src/generators/init/react.ts b/packages/create-webpack-app/src/generators/init/react.ts index 6f97db884f5..975a4735bdc 100644 --- a/packages/create-webpack-app/src/generators/init/react.ts +++ b/packages/create-webpack-app/src/generators/init/react.ts @@ -1,13 +1,13 @@ -import { type Answers, type ActionType, type FileRecord } from "../../types"; +import { type Answers, type ActionType, type FileRecord } from "../../types.js"; import { type NodePlopAPI, type DynamicActionsFunction } from "node-plop"; -import { dirname, resolve, join } from "path"; -import { fileURLToPath } from "url"; +import { dirname, resolve, join } from "node:path"; +import { fileURLToPath } from "node:url"; -export default async function (plop: NodePlopAPI) { +export default async function reactInitGenerator(plop: NodePlopAPI) { const __dirname = dirname(fileURLToPath(import.meta.url)); // dependencies to be installed - const devDependencies: Array = [ + const devDependencies: string[] = [ "webpack", "webpack-cli", "react@18", @@ -77,7 +77,7 @@ export default async function (plop: NodePlopAPI) { type: "confirm", name: "isPostCSS", message: "Do you want to use PostCSS in your project?", - default: (answers: Answers) => answers.cssType == "CSS only", + default: (answers: Answers) => answers.cssType === "CSS only", }, { type: "list", @@ -100,7 +100,7 @@ export default async function (plop: NodePlopAPI) { }, }, ], - actions: function (answers: Answers) { + actions: function actions(answers: Answers) { // setting some default values based on the answers const actions: ActionType[] = []; answers.htmlWebpackPlugin = true; @@ -149,7 +149,7 @@ export default async function (plop: NodePlopAPI) { devDependencies.push("workbox-webpack-plugin"); } - const files: Array = [ + const files: FileRecord[] = [ { filePath: "./index.html", fileType: "text" }, { filePath: "webpack.config.js", fileType: "text" }, { filePath: "package.json", fileType: "text" }, diff --git a/packages/create-webpack-app/src/generators/init/svelte.ts b/packages/create-webpack-app/src/generators/init/svelte.ts index 14f1df83ff7..657baa8545f 100644 --- a/packages/create-webpack-app/src/generators/init/svelte.ts +++ b/packages/create-webpack-app/src/generators/init/svelte.ts @@ -1,13 +1,13 @@ -import { type Answers, type ActionType, type FileRecord } from "../../types"; +import { type Answers, type ActionType, type FileRecord } from "../../types.js"; import { type NodePlopAPI, type DynamicActionsFunction } from "node-plop"; -import { dirname, join, resolve } from "path"; -import { fileURLToPath } from "url"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; -export default async function (plop: NodePlopAPI) { +export default async function svelteInitGenerator(plop: NodePlopAPI) { const __dirname = dirname(fileURLToPath(import.meta.url)); // dependencies to be installed - const devDependencies: Array = [ + const devDependencies: string[] = [ "webpack", "webpack-cli", "svelte", @@ -68,7 +68,7 @@ export default async function (plop: NodePlopAPI) { type: "confirm", name: "isPostCSS", message: "Do you want to use PostCSS in your project?", - default: (answers: Answers) => answers.cssType == "CSS only", + default: (answers: Answers) => answers.cssType === "CSS only", }, { type: "list", @@ -91,7 +91,7 @@ export default async function (plop: NodePlopAPI) { }, }, ], - actions: function (answers: Answers) { + actions: function actions(answers: Answers) { // setting some default values based on the answers const actions: ActionType[] = []; answers.htmlWebpackPlugin = true; @@ -140,7 +140,7 @@ export default async function (plop: NodePlopAPI) { devDependencies.push("mini-css-extract-plugin"); } - const files: Array = [ + const files: FileRecord[] = [ { filePath: "./index.html", fileType: "text" }, { filePath: "./src/assets/webpack.png", fileType: "binary" }, { filePath: "webpack.config.js", fileType: "text" }, diff --git a/packages/create-webpack-app/src/generators/init/vue.ts b/packages/create-webpack-app/src/generators/init/vue.ts index 8af8c51f540..d186093c8d7 100644 --- a/packages/create-webpack-app/src/generators/init/vue.ts +++ b/packages/create-webpack-app/src/generators/init/vue.ts @@ -1,13 +1,13 @@ -import { type Answers, type ActionType, type FileRecord } from "../../types"; +import { type Answers, type ActionType, type FileRecord } from "../../types.js"; import { type NodePlopAPI, type DynamicActionsFunction } from "node-plop"; -import { dirname, join, resolve } from "path"; -import { fileURLToPath } from "url"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; -export default async function (plop: NodePlopAPI) { +export default async function vueInitGenerator(plop: NodePlopAPI) { const __dirname = dirname(fileURLToPath(import.meta.url)); // dependencies to be installed - const devDependencies: Array = [ + const devDependencies: string[] = [ "webpack", "webpack-cli", "vue@3", @@ -76,7 +76,7 @@ export default async function (plop: NodePlopAPI) { type: "confirm", name: "isPostCSS", message: "Do you want to use PostCSS in your project?", - default: (answers: Answers) => answers.cssType == "CSS only", + default: (answers: Answers) => answers.cssType === "CSS only", }, { type: "list", @@ -99,7 +99,7 @@ export default async function (plop: NodePlopAPI) { }, }, ], - actions: function (answers: Answers) { + actions: function actions(answers: Answers) { // setting some default values based on the answers const actions: ActionType[] = []; answers.htmlWebpackPlugin = true; @@ -152,7 +152,7 @@ export default async function (plop: NodePlopAPI) { devDependencies.push("mini-css-extract-plugin"); } - const files: Array = [ + const files: FileRecord[] = [ { filePath: "./index.html", fileType: "text" }, { filePath: "./src/assets/webpack.png", fileType: "binary" }, { filePath: "webpack.config.js", fileType: "text" }, diff --git a/packages/create-webpack-app/src/generators/loader/default.ts b/packages/create-webpack-app/src/generators/loader/default.ts index 0a4d73607d3..ac4a4a5266b 100644 --- a/packages/create-webpack-app/src/generators/loader/default.ts +++ b/packages/create-webpack-app/src/generators/loader/default.ts @@ -1,14 +1,14 @@ -import { type Answers, type ActionType, type FileRecord } from "../../types"; +import { type LoaderAnswers, type ActionType, type FileRecord } from "../../types.js"; import { type NodePlopAPI, type DynamicActionsFunction } from "node-plop"; -import { dirname, join, resolve } from "path"; -import { fileURLToPath } from "url"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; import { logger } from "../../utils/logger.js"; -export default async function (plop: NodePlopAPI) { +export default async function loaderGenerator(plop: NodePlopAPI) { const __dirname = dirname(fileURLToPath(import.meta.url)); // dependencies to be installed - const devDependencies: Array = ["webpack-defaults"]; + const devDependencies: string[] = ["webpack-defaults"]; await plop.load("../../utils/install-dependencies.js", {}, true); await plop.load("../../utils/generate-files.js", {}, true); @@ -51,7 +51,7 @@ export default async function (plop: NodePlopAPI) { }, }, ], - actions: function (answers: Answers) { + actions: function actions(answers: LoaderAnswers) { const actions: ActionType[] = []; answers.projectPath = join(answers.projectPath, answers.name); @@ -60,7 +60,7 @@ export default async function (plop: NodePlopAPI) { I will create this folder for you. `); - const files: Array = [ + const files: FileRecord[] = [ { filePath: "./package.json", fileType: "text" }, { filePath: "./examples/simple/src/index.js", fileType: "text" }, { filePath: "./examples/simple/src/lazy-module.js", fileType: "text" }, diff --git a/packages/create-webpack-app/src/generators/plugin/default.ts b/packages/create-webpack-app/src/generators/plugin/default.ts index d640ffaa7e1..3e6e05c50a1 100644 --- a/packages/create-webpack-app/src/generators/plugin/default.ts +++ b/packages/create-webpack-app/src/generators/plugin/default.ts @@ -1,14 +1,14 @@ -import { type Answers, type ActionType, type FileRecord } from "../../types"; +import { type ActionType, type FileRecord, PluginAnswers } from "../../types.js"; import { type NodePlopAPI, type DynamicActionsFunction } from "node-plop"; -import { dirname, join, resolve } from "path"; -import { fileURLToPath } from "url"; +import { dirname, join, resolve } from "node:path"; +import { fileURLToPath } from "node:url"; import { logger } from "../../utils/logger.js"; -export default async function (plop: NodePlopAPI) { +export default async function pluginGenerator(plop: NodePlopAPI) { const __dirname = dirname(fileURLToPath(import.meta.url)); // dependencies to be installed - const devDependencies: Array = ["webpack-defaults"]; + const devDependencies: string[] = ["webpack-defaults"]; await plop.load("../../utils/install-dependencies.js", {}, true); await plop.load("../../utils/generate-files.js", {}, true); @@ -42,7 +42,7 @@ export default async function (plop: NodePlopAPI) { }, }, ], - actions: function (answers: Answers) { + actions: function actions(answers: PluginAnswers) { const actions: ActionType[] = []; answers.projectPath = join(answers.projectPath, answers.name); @@ -53,7 +53,7 @@ export default async function (plop: NodePlopAPI) { answers.pluginIdentifier = plop.getHelper("pascalCase")(answers.name); - const files: Array = [ + const files: FileRecord[] = [ { filePath: "./package.json", fileType: "text" }, { filePath: "./examples/simple/src/index.js", fileType: "text" }, { filePath: "./examples/simple/src/lazy-module.js", fileType: "text" }, diff --git a/packages/create-webpack-app/src/index.ts b/packages/create-webpack-app/src/index.ts index e389dfa60a3..03161796fe2 100644 --- a/packages/create-webpack-app/src/index.ts +++ b/packages/create-webpack-app/src/index.ts @@ -1,11 +1,11 @@ import { Command } from "commander"; -import { resolve, dirname } from "path"; +import { resolve, dirname } from "node:path"; import select from "@inquirer/select"; import nodePlop, { type PlopGenerator } from "node-plop"; -import { fileURLToPath } from "url"; +import { fileURLToPath } from "node:url"; import { onSuccessHandler, onFailureHandler, logger } from "./utils/logger.js"; -import { type Answers, type InitOptions, type LoaderOptions, type PluginOptions } from "./types"; +import { type Answers, type InitOptions, type LoaderOptions, type PluginOptions } from "./types.js"; const __dirname = dirname(fileURLToPath(import.meta.url)); @@ -74,7 +74,7 @@ program .argument("[projectPath]", "Path to create the project") .option("-f, --force", "Skip the prompt and use the default values", false) .option("-t --template