From 0d47e995c35a0800c66996ce82fa3fd961375987 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 00:54:13 +0000 Subject: [PATCH] fix(deps): update dependency eslint-plugin-import-x to v4 ##### [v4.2.1](https://github.com/un-ts/eslint-plugin-import-x/blob/HEAD/CHANGELOG.md#421) ##### Patch Changes - [#148](https://github.com/un-ts/eslint-plugin-import-x/pull/148) [`d228129`](https://github.com/un-ts/eslint-plugin-import-x/commit/d228129e21804e35d68af9f3ac18864349f99a6f) Thanks [@SukkaW](https://github.com/SukkaW)! - Fix `newline-after-import`'s `considerComments` options when linting `require`, backports https://github.com/import-js/eslint-plugin-import/pull/2952 - [#147](https://github.com/un-ts/eslint-plugin-import-x/pull/147) [`eca73ed`](https://github.com/un-ts/eslint-plugin-import-x/commit/eca73edf9ce69ca2e07555a7f34702a5c1e2d75a) Thanks [@nchevsky](https://github.com/nchevsky)! - Fix regression in rule `no-unused-modules` which would incorrectly initialize option `src` to `[]` instead of `[process.cwd()]`, breaking file discovery. - [#148](https://github.com/un-ts/eslint-plugin-import-x/pull/148) [`d228129`](https://github.com/un-ts/eslint-plugin-import-x/commit/d228129e21804e35d68af9f3ac18864349f99a6f) Thanks [@SukkaW](https://github.com/SukkaW)! - Fix `no-duplicates` for TypeScript, backports https://github.com/import-js/eslint-plugin-import/pull/3033 ##### [v4.2.0](https://github.com/un-ts/eslint-plugin-import-x/blob/HEAD/CHANGELOG.md#420) ##### Minor Changes - [#142](https://github.com/un-ts/eslint-plugin-import-x/pull/142) [`f12447e`](https://github.com/un-ts/eslint-plugin-import-x/commit/f12447e72a1104305c852436577df2eadb4acd44) Thanks [@Zamiell](https://github.com/Zamiell)! - Add new option "whitelist" for rule "no-extraneous-dependencies" ##### Patch Changes - [#146](https://github.com/un-ts/eslint-plugin-import-x/pull/146) [`e5e4580`](https://github.com/un-ts/eslint-plugin-import-x/commit/e5e45805e64ebb49a0331b21785a5f9d03b5cc02) Thanks [@SukkaW](https://github.com/SukkaW)! - Fix https://github.com/nuxt/eslint/issues/494 by avoid importing from `@typescript-eslint/typescript-estree`. ##### [v4.1.1](https://github.com/un-ts/eslint-plugin-import-x/blob/HEAD/CHANGELOG.md#411) ##### Patch Changes - [#133](https://github.com/un-ts/eslint-plugin-import-x/pull/133) [`757ffa9`](https://github.com/un-ts/eslint-plugin-import-x/commit/757ffa9d4850d4decac467bf3b5e8c950a8a720e) Thanks [@SukkaW](https://github.com/SukkaW)! - Fix [#123](https://github.com/un-ts/eslint-plugin-import-x/issues/123) where the rule `no-named-as-default` will confuse TypeScript namespace exports with actual exports. ##### [v4.1.0](https://github.com/un-ts/eslint-plugin-import-x/blob/HEAD/CHANGELOG.md#410) ##### Minor Changes - [#122](https://github.com/un-ts/eslint-plugin-import-x/pull/122) [`cd52e86`](https://github.com/un-ts/eslint-plugin-import-x/commit/cd52e86f44754b4dd0c1aae1e9fd5e952e90938f) Thanks [@michaelfaith](https://github.com/michaelfaith)! - Add ESLint flat configuration presets. You can access them with: ```ts import eslintPluginImportX from "eslint-plugin-import-x"; eslintPluginImportX.flatConfigs.recommended; eslintPluginImportX.flatConfigs.react; eslintPluginImportX.flatConfigs.typescript; eslintPluginImportX.flatConfigs.electron; ``` - [#132](https://github.com/un-ts/eslint-plugin-import-x/pull/132) [`9948c78`](https://github.com/un-ts/eslint-plugin-import-x/commit/9948c7894758dd461f6d75b89c6425fee304789a) Thanks [@SukkaW](https://github.com/SukkaW)! - Added `no-rename-default` that forbid importing a default export by a different name. Originally created by [@whitneyit](https://github.com/whitneyit), ported by [@SukkaW](https://github.com/SukkaW) ##### [v4.0.0](https://github.com/un-ts/eslint-plugin-import-x/blob/HEAD/CHANGELOG.md#400) ##### Major Changes - [#112](https://github.com/un-ts/eslint-plugin-import-x/pull/112) [`4ba14da`](https://github.com/un-ts/eslint-plugin-import-x/commit/4ba14daa29100566d468872205c8e5415edb1b69) Thanks [@SukkaW](https://github.com/SukkaW)! - Use typescript-eslint v8. The minimum supported ESLint version is now >= 8.57.0 and the minimum required Node.js version is now 18.18.0. --- package.json | 2 +- pnpm-lock.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 4bf8228..d083b68 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "eslint-config-xo-typescript": "^1.0.1", "eslint-plugin-codegen": "0.29.0", "eslint-plugin-functional": "^6.0.0", - "eslint-plugin-import-x": "^3.1.0", + "eslint-plugin-import-x": "^4.0.0", "eslint-plugin-jsx-a11y": "^6.8.0", "eslint-plugin-markdown": "^5.0.0", "eslint-plugin-prettier": "^5.1.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 614b169..7b1453a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,8 +54,8 @@ importers: specifier: ^6.0.0 version: 6.6.3(eslint@8.57.1)(typescript@5.6.2) eslint-plugin-import-x: - specifier: ^3.1.0 - version: 3.1.0(eslint@8.57.1)(typescript@5.6.2) + specifier: ^4.0.0 + version: 4.2.1(eslint@8.57.1)(typescript@5.6.2) eslint-plugin-jsx-a11y: specifier: ^6.8.0 version: 6.10.0(eslint@8.57.1) @@ -1881,11 +1881,11 @@ packages: typescript: optional: true - eslint-plugin-import-x@3.1.0: - resolution: {integrity: sha512-/UbPA+bYY7nIxcjL3kpcDY3UNdoLHFhyBFzHox2M0ypcUoueTn6woZUUmzzi5et/dXChksasYYFeKE2wshOrhg==} - engines: {node: '>=16'} + eslint-plugin-import-x@4.2.1: + resolution: {integrity: sha512-WWi2GedccIJa0zXxx3WDnTgouGQTtdYK1nhXMwywbqqAgB0Ov+p1pYBsWh3VaB0bvBOwLse6OfVII7jZD9xo5Q==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - eslint: ^8.56.0 || ^9.0.0-0 + eslint: ^8.57.0 || ^9.0.0 eslint-plugin-jsx-a11y@6.10.0: resolution: {integrity: sha512-ySOHvXX8eSN6zz8Bywacm7CvGNhUtdjvqfQDVe6020TUK34Cywkw7m0KsCCk1Qtm9G1FayfTN1/7mMYnYO2Bhg==} @@ -5938,9 +5938,9 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-plugin-import-x@3.1.0(eslint@8.57.1)(typescript@5.6.2): + eslint-plugin-import-x@4.2.1(eslint@8.57.1)(typescript@5.6.2): dependencies: - '@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.6.2) + '@typescript-eslint/utils': 8.6.0(eslint@8.57.1)(typescript@5.6.2) debug: 4.3.7 doctrine: 3.0.0 eslint: 8.57.1