From a535126eee8d3b9c71cea04ba2b03c499e678025 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 21 Feb 2024 21:03:26 +0800 Subject: [PATCH] chore(deps): update dependency eslint-plugin-simple-import-sort to v12 (#1124) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [eslint-plugin-simple-import-sort](https://togithub.com/lydell/eslint-plugin-simple-import-sort) | [`10.0.0` -> `12.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-simple-import-sort/10.0.0/12.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-simple-import-sort/12.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint-plugin-simple-import-sort/12.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint-plugin-simple-import-sort/10.0.0/12.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-simple-import-sort/10.0.0/12.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
lydell/eslint-plugin-simple-import-sort (eslint-plugin-simple-import-sort) ### [`v12.0.0`](https://togithub.com/lydell/eslint-plugin-simple-import-sort/blob/HEAD/CHANGELOG.md#Version-1200-2024-02-10) [Compare Source](https://togithub.com/lydell/eslint-plugin-simple-import-sort/compare/v11.0.0...v12.0.0) This release removes the support for import assignments added in version 11.0.0: - Turns out it was broken in some cases. - The suggested fix went past my complexity tolerance for such an esoteric feature. - I also learned that they aren’t really imports, and that I don’t understand their semantics well enough to know how sorting them affects your program. If you miss the support for import assignments, I suggest you write your own ESLint rule which moves them out of the way from the actual imports, sorting them or not. ### [`v11.0.0`](https://togithub.com/lydell/eslint-plugin-simple-import-sort/blob/HEAD/CHANGELOG.md#Version-1100-2024-02-08) [Compare Source](https://togithub.com/lydell/eslint-plugin-simple-import-sort/compare/v10.0.0...v11.0.0) This release adds support for TypeScript import assignments (`import A = B.C` and `import A = require("module")`). Thanks to Szabolcs Kurdi ([@​szku01](https://togithub.com/szku01)) and Svyatoslav Zaytsev ([@​MillerSvt](https://togithub.com/MillerSvt))! It’s only a breaking change if you use TypeScript import assignments, and only in the form that you need to autofix your files. In other news, this release adds the `meta` plugin property in preparation for ESLint Flat Config, and avoids the deprecated `context.getSourceCode()` method (while still being backwards compatible).
--- ### Configuration 📅 **Schedule**: Branch creation - "on sunday" in timezone Asia/Shanghai, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **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 has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/PKUHPC/SCOW). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- package.json | 2 +- pnpm-lock.yaml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index da8e31c450..60dc0a52df 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "eslint-import-resolver-typescript": "3.6.1", "eslint-plugin-import": "2.29.1", "eslint-plugin-license-header": "0.6.0", - "eslint-plugin-simple-import-sort": "10.0.0", + "eslint-plugin-simple-import-sort": "12.0.0", "front-matter": "4.0.2", "globby": "14.0.0", "husky": "9.0.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 08665b9461..f9f01c723b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,7 +27,7 @@ importers: version: 18.6.0 '@ddadaal/eslint-config': specifier: 1.9.0 - version: 1.9.0(@typescript-eslint/eslint-plugin@7.0.1)(eslint-import-resolver-typescript@3.6.1)(eslint-plugin-import@2.29.1)(eslint-plugin-simple-import-sort@10.0.0)(eslint@8.56.0)(typescript@5.3.3) + version: 1.9.0(@typescript-eslint/eslint-plugin@7.0.1)(eslint-import-resolver-typescript@3.6.1)(eslint-plugin-import@2.29.1)(eslint-plugin-simple-import-sort@12.0.0)(eslint@8.56.0)(typescript@5.3.3) '@pnpm/lockfile-file': specifier: 8.1.6 version: 8.1.6(@pnpm/logger@5.0.0) @@ -74,8 +74,8 @@ importers: specifier: 0.6.0 version: 0.6.0 eslint-plugin-simple-import-sort: - specifier: 10.0.0 - version: 10.0.0(eslint@8.56.0) + specifier: 12.0.0 + version: 12.0.0(eslint@8.56.0) front-matter: specifier: 4.0.2 version: 4.0.2 @@ -3789,7 +3789,7 @@ packages: resolution: {integrity: sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==} engines: {node: '>=10'} - /@ddadaal/eslint-config@1.9.0(@typescript-eslint/eslint-plugin@7.0.1)(eslint-import-resolver-typescript@3.6.1)(eslint-plugin-import@2.29.1)(eslint-plugin-simple-import-sort@10.0.0)(eslint@8.56.0)(typescript@5.3.3): + /@ddadaal/eslint-config@1.9.0(@typescript-eslint/eslint-plugin@7.0.1)(eslint-import-resolver-typescript@3.6.1)(eslint-plugin-import@2.29.1)(eslint-plugin-simple-import-sort@12.0.0)(eslint@8.56.0)(typescript@5.3.3): resolution: {integrity: sha512-k6RKAT1FUGBEpyB5rRS/RuF20pA/H8u0cBNUf7xKDxHcTk/yR3oN0FjtxmAPkZhVuKjoUWvGniSlEeg1zE3K2g==} peerDependencies: '@typescript-eslint/eslint-plugin': '>=5.37.0' @@ -3803,7 +3803,7 @@ packages: eslint: 8.56.0 eslint-import-resolver-typescript: 3.6.1(@typescript-eslint/parser@7.0.1)(eslint-plugin-import@2.29.1)(eslint@8.56.0) eslint-plugin-import: 2.29.1(@typescript-eslint/parser@7.0.1)(eslint-import-resolver-typescript@3.6.1)(eslint@8.56.0) - eslint-plugin-simple-import-sort: 10.0.0(eslint@8.56.0) + eslint-plugin-simple-import-sort: 12.0.0(eslint@8.56.0) optionalDependencies: eslint-plugin-react: 7.31.10(eslint@8.56.0) transitivePeerDependencies: @@ -11044,8 +11044,8 @@ packages: dev: true optional: true - /eslint-plugin-simple-import-sort@10.0.0(eslint@8.56.0): - resolution: {integrity: sha512-AeTvO9UCMSNzIHRkg8S6c3RPy5YEwKWSQPx3DYghLedo2ZQxowPFLGDN1AZ2evfg6r6mjBSZSLxLFsWSu3acsw==} + /eslint-plugin-simple-import-sort@12.0.0(eslint@8.56.0): + resolution: {integrity: sha512-8o0dVEdAkYap0Cn5kNeklaKcT1nUsa3LITWEuFk3nJifOoD+5JQGoyDUW2W/iPWwBsNBJpyJS9y4je/BgxLcyQ==} peerDependencies: eslint: '>=5.0.0' dependencies: