From 8796b1711f72c4eac0955993b59c4c38dc93f6e0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 9 Sep 2024 18:56:38 +0000 Subject: [PATCH] fix(deps): update dependency eslint-plugin-import to v2.30.0 (#11490) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-import](https://redirect.github.com/import-js/eslint-plugin-import) | [`2.29.1` -> `2.30.0`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.29.1/2.30.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-import/2.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-import/2.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-import/2.29.1/2.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-import/2.29.1/2.30.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
import-js/eslint-plugin-import (eslint-plugin-import) ### [`v2.30.0`](https://redirect.github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2300---2024-09-02) [Compare Source](https://redirect.github.com/import-js/eslint-plugin-import/compare/v2.29.1...v2.30.0) ##### Added - \[`dynamic-import-chunkname`]: add `allowEmpty` option to allow empty leading comments (\[[#​2942](https://redirect.github.com/import-js/eslint-plugin-import/issues/2942)], thanks \[[@​JiangWeixian](https://redirect.github.com/JiangWeixian)]) - \[`dynamic-import-chunkname`]: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode (\[[#​3004](https://redirect.github.com/import-js/eslint-plugin-import/issues/3004)], thanks \[[@​amsardesai](https://redirect.github.com/amsardesai)]) - \[`no-unused-modules`]: Add `ignoreUnusedTypeExports` option (\[[#​3011](https://redirect.github.com/import-js/eslint-plugin-import/issues/3011)], thanks \[[@​silverwind](https://redirect.github.com/silverwind)]) - add support for Flat Config (\[[#​3018](https://redirect.github.com/import-js/eslint-plugin-import/issues/3018)], thanks \[[@​michaelfaith](https://redirect.github.com/michaelfaith)]) ##### Fixed - \[`no-extraneous-dependencies`]: allow wrong path (\[[#​3012](https://redirect.github.com/import-js/eslint-plugin-import/issues/3012)], thanks \[[@​chabb](https://redirect.github.com/chabb)]) - \[`no-cycle`]: use scc algorithm to optimize (\[[#​2998](https://redirect.github.com/import-js/eslint-plugin-import/issues/2998)], thanks \[[@​soryy708](https://redirect.github.com/soryy708)]) - \[`no-duplicates`]: Removing duplicates breaks in TypeScript (\[[#​3033](https://redirect.github.com/import-js/eslint-plugin-import/issues/3033)], thanks \[[@​yesl-kim](https://redirect.github.com/yesl-kim)]) - \[`newline-after-import`]: fix considerComments option when require (\[[#​2952](https://redirect.github.com/import-js/eslint-plugin-import/issues/2952)], thanks \[[@​developer-bandi](https://redirect.github.com/developer-bandi)]) - \[`order`]: do not compare first path segment for relative paths (\[[#​2682](https://redirect.github.com/import-js/eslint-plugin-import/issues/2682)]) (\[[#​2885](https://redirect.github.com/import-js/eslint-plugin-import/issues/2885)], thanks \[[@​mihkeleidast](https://redirect.github.com/mihkeleidast)]) ##### Changed - \[Docs] `no-extraneous-dependencies`: Make glob pattern description more explicit (\[[#​2944](https://redirect.github.com/import-js/eslint-plugin-import/issues/2944)], thanks \[[@​mulztob](https://redirect.github.com/mulztob)]) - \[`no-unused-modules`]: add console message to help debug \[[#​2866](https://redirect.github.com/import-js/eslint-plugin-import/issues/2866)] - \[Refactor] `ExportMap`: make procedures static instead of monkeypatching exportmap (\[[#​2982](https://redirect.github.com/import-js/eslint-plugin-import/issues/2982)], thanks \[[@​soryy708](https://redirect.github.com/soryy708)]) - \[Refactor] `ExportMap`: separate ExportMap instance from its builder logic (\[[#​2985](https://redirect.github.com/import-js/eslint-plugin-import/issues/2985)], thanks \[[@​soryy708](https://redirect.github.com/soryy708)]) - \[Docs] `order`: Add a quick note on how unbound imports and --fix (\[[#​2640](https://redirect.github.com/import-js/eslint-plugin-import/issues/2640)], thanks \[[@​minervabot](https://redirect.github.com/minervabot)]) - \[Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) (\[[#​2987](https://redirect.github.com/import-js/eslint-plugin-import/issues/2987)], thanks \[[@​joeyguerra](https://redirect.github.com/joeyguerra)]) - \[actions] migrate OSX tests to GHA (\[[ljharb#37](https://redirect.github.com/ljharb/eslint-plugin-import/issues/37)], thanks \[[@​aks-](https://redirect.github.com/aks-)]) - \[Refactor] `exportMapBuilder`: avoid hoisting (\[[#​2989](https://redirect.github.com/import-js/eslint-plugin-import/issues/2989)], thanks \[[@​soryy708](https://redirect.github.com/soryy708)]) - \[Refactor] `ExportMap`: extract "builder" logic to separate files (\[[#​2991](https://redirect.github.com/import-js/eslint-plugin-import/issues/2991)], thanks \[[@​soryy708](https://redirect.github.com/soryy708)]) - \[Docs] \[`order`]: update the description of the `pathGroupsExcludedImportTypes` option (\[[#​3036](https://redirect.github.com/import-js/eslint-plugin-import/issues/3036)], thanks \[[@​liby](https://redirect.github.com/liby)]) - \[readme] Clarify how to install the plugin (\[[#​2993](https://redirect.github.com/import-js/eslint-plugin-import/issues/2993)], thanks \[[@​jwbth](https://redirect.github.com/jwbth)])
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/redwoodjs/redwood). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- packages/eslint-config/package.json | 2 +- yarn.lock | 92 ++++++++++++++++------------- 2 files changed, 51 insertions(+), 43 deletions(-) diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index e3e995ce4f5d..ff867f988cd9 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -25,7 +25,7 @@ "eslint-config-prettier": "9.1.0", "eslint-import-resolver-babel-module": "5.3.2", "eslint-plugin-babel": "5.3.1", - "eslint-plugin-import": "2.29.1", + "eslint-plugin-import": "2.30.0", "eslint-plugin-jest-dom": "4.0.3", "eslint-plugin-jsx-a11y": "6.10.0", "eslint-plugin-prettier": "5.2.1", diff --git a/yarn.lock b/yarn.lock index a11b6c5aafd6..8a4169652d92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8140,7 +8140,7 @@ __metadata: eslint-config-prettier: "npm:9.1.0" eslint-import-resolver-babel-module: "npm:5.3.2" eslint-plugin-babel: "npm:5.3.1" - eslint-plugin-import: "npm:2.29.1" + eslint-plugin-import: "npm:2.30.0" eslint-plugin-jest-dom: "npm:4.0.3" eslint-plugin-jsx-a11y: "npm:6.10.0" eslint-plugin-prettier: "npm:5.2.1" @@ -9042,6 +9042,13 @@ __metadata: languageName: node linkType: hard +"@rtsao/scc@npm:^1.1.0": + version: 1.1.0 + resolution: "@rtsao/scc@npm:1.1.0" + checksum: 10c0/b5bcfb0d87f7d1c1c7c0f7693f53b07866ed9fec4c34a97a8c948fb9a7c0082e416ce4d3b60beb4f5e167cbe04cdeefbf6771320f3ede059b9ce91188c409a5b + languageName: node + linkType: hard + "@sdl-codegen/node@npm:2.0.1": version: 2.0.1 resolution: "@sdl-codegen/node@npm:2.0.1" @@ -12364,7 +12371,7 @@ __metadata: languageName: node linkType: hard -"array-includes@npm:^3.1.6, array-includes@npm:^3.1.7, array-includes@npm:^3.1.8": +"array-includes@npm:^3.1.6, array-includes@npm:^3.1.8": version: 3.1.8 resolution: "array-includes@npm:3.1.8" dependencies: @@ -12399,16 +12406,17 @@ __metadata: languageName: node linkType: hard -"array.prototype.findlastindex@npm:^1.2.3": - version: 1.2.3 - resolution: "array.prototype.findlastindex@npm:1.2.3" +"array.prototype.findlastindex@npm:^1.2.5": + version: 1.2.5 + resolution: "array.prototype.findlastindex@npm:1.2.5" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - es-shim-unscopables: "npm:^1.0.0" - get-intrinsic: "npm:^1.2.1" - checksum: 10c0/2c5c4d3f07512d6729f728f6260a314c00f2eb0a243123092661fa1bc65dce90234c3b483b5f978396eccef6f69c50f0bea248448aaf9cdfcd1cedad6217acbb + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + es-errors: "npm:^1.3.0" + es-object-atoms: "npm:^1.0.0" + es-shim-unscopables: "npm:^1.0.2" + checksum: 10c0/962189487728b034f3134802b421b5f39e42ee2356d13b42d2ddb0e52057ffdcc170b9524867f4f0611a6f638f4c19b31e14606e8bcbda67799e26685b195aa3 languageName: node linkType: hard @@ -16540,15 +16548,15 @@ __metadata: languageName: node linkType: hard -"eslint-module-utils@npm:^2.8.0": - version: 2.8.0 - resolution: "eslint-module-utils@npm:2.8.0" +"eslint-module-utils@npm:^2.9.0": + version: 2.11.0 + resolution: "eslint-module-utils@npm:2.11.0" dependencies: debug: "npm:^3.2.7" peerDependenciesMeta: eslint: optional: true - checksum: 10c0/c7a8d1a58d76ec8217a8fea49271ec8132d1b9390965a75f6a4ecbc9e5983d742195b46d2e4378231d2186801439fe1aa5700714b0bfd4eb17aac6e1b65309df + checksum: 10c0/c1b02e83429878ab22596f17a5ac138e51a520e96a5ef89a5a6698769a2d174ab28302d45eb563c0fc418d21a5842e328c37a6e8f294bf2e64e675ba55203dd7 languageName: node linkType: hard @@ -16563,30 +16571,31 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-import@npm:2.29.1": - version: 2.29.1 - resolution: "eslint-plugin-import@npm:2.29.1" +"eslint-plugin-import@npm:2.30.0": + version: 2.30.0 + resolution: "eslint-plugin-import@npm:2.30.0" dependencies: - array-includes: "npm:^3.1.7" - array.prototype.findlastindex: "npm:^1.2.3" + "@rtsao/scc": "npm:^1.1.0" + array-includes: "npm:^3.1.8" + array.prototype.findlastindex: "npm:^1.2.5" array.prototype.flat: "npm:^1.3.2" array.prototype.flatmap: "npm:^1.3.2" debug: "npm:^3.2.7" doctrine: "npm:^2.1.0" eslint-import-resolver-node: "npm:^0.3.9" - eslint-module-utils: "npm:^2.8.0" - hasown: "npm:^2.0.0" - is-core-module: "npm:^2.13.1" + eslint-module-utils: "npm:^2.9.0" + hasown: "npm:^2.0.2" + is-core-module: "npm:^2.15.1" is-glob: "npm:^4.0.3" minimatch: "npm:^3.1.2" - object.fromentries: "npm:^2.0.7" - object.groupby: "npm:^1.0.1" - object.values: "npm:^1.1.7" + object.fromentries: "npm:^2.0.8" + object.groupby: "npm:^1.0.3" + object.values: "npm:^1.2.0" semver: "npm:^6.3.1" tsconfig-paths: "npm:^3.15.0" peerDependencies: eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 - checksum: 10c0/5f35dfbf4e8e67f741f396987de9504ad125c49f4144508a93282b4ea0127e052bde65ab6def1f31b6ace6d5d430be698333f75bdd7dca3bc14226c92a083196 + checksum: 10c0/4c9dcb1f27505c4d5dd891d2b551f56c70786d136aa3992a77e785bdc67c9f60200a2c7fb0ce55b7647fe550b12bc433d5dfa59e2c00ab44227791c5ab86badf languageName: node linkType: hard @@ -19519,12 +19528,12 @@ __metadata: languageName: node linkType: hard -"is-core-module@npm:^2.13.0, is-core-module@npm:^2.13.1, is-core-module@npm:^2.5.0": - version: 2.13.1 - resolution: "is-core-module@npm:2.13.1" +"is-core-module@npm:^2.13.0, is-core-module@npm:^2.15.1, is-core-module@npm:^2.5.0": + version: 2.15.1 + resolution: "is-core-module@npm:2.15.1" dependencies: - hasown: "npm:^2.0.0" - checksum: 10c0/2cba9903aaa52718f11c4896dabc189bab980870aae86a62dc0d5cedb546896770ee946fb14c84b7adf0735f5eaea4277243f1b95f5cefa90054f92fbcac2518 + hasown: "npm:^2.0.2" + checksum: 10c0/53432f10c69c40bfd2fa8914133a68709ff9498c86c3bf5fca3cdf3145a56fd2168cbf4a43b29843a6202a120a5f9c5ffba0a4322e1e3441739bc0b641682612 languageName: node linkType: hard @@ -23896,7 +23905,7 @@ __metadata: languageName: node linkType: hard -"object.fromentries@npm:^2.0.7, object.fromentries@npm:^2.0.8": +"object.fromentries@npm:^2.0.8": version: 2.0.8 resolution: "object.fromentries@npm:2.0.8" dependencies: @@ -23921,19 +23930,18 @@ __metadata: languageName: node linkType: hard -"object.groupby@npm:^1.0.1": - version: 1.0.1 - resolution: "object.groupby@npm:1.0.1" +"object.groupby@npm:^1.0.3": + version: 1.0.3 + resolution: "object.groupby@npm:1.0.3" dependencies: - call-bind: "npm:^1.0.2" - define-properties: "npm:^1.2.0" - es-abstract: "npm:^1.22.1" - get-intrinsic: "npm:^1.2.1" - checksum: 10c0/61e41fbf08cc04ed860363db9629eedeaa590fce243c0960e948fd7b11f78a9d4350065c339936d118a2dd8775d7259e26207340cc8ce688bec66cb615fec6fe + call-bind: "npm:^1.0.7" + define-properties: "npm:^1.2.1" + es-abstract: "npm:^1.23.2" + checksum: 10c0/60d0455c85c736fbfeda0217d1a77525956f76f7b2495edeca9e9bbf8168a45783199e77b894d30638837c654d0cc410e0e02cbfcf445bc8de71c3da1ede6a9c languageName: node linkType: hard -"object.values@npm:^1.1.6, object.values@npm:^1.1.7, object.values@npm:^1.2.0": +"object.values@npm:^1.1.6, object.values@npm:^1.2.0": version: 1.2.0 resolution: "object.values@npm:1.2.0" dependencies: