87 Commits
Author | SHA1 | Message | Date |
---|---|---|---|
|
6c99f66ad3 |
Lock file maintenance (#43)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
c98a165a89 |
Update dependency @types/node to v20.10.3 (#42)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
f1f6630995 |
Update non-major devDependencies (#41)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
4d11e926e8 |
Lock file maintenance (#40)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
6a73835130 |
Lock file maintenance (#39)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
708abee7bc |
Update dependency rollup to v4.6.0 (#38)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
ba641de303 |
Update non-major devDependencies (#37)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
3c0fa58fdf |
Lock file maintenance (#36)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
39b4f85dbb |
Update dependency npm-check-updates to v16.14.7 (#35)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [npm-check-updates](https://github.com/raineorshine/npm-check-updates) | devDependencies | patch | [`16.14.6` -> `16.14.7`](https://renovatebot.com/diffs/npm/npm-check-updates/16.14.6/16.14.7) | --- ### Release Notes <details> <summary>raineorshine/npm-check-updates (npm-check-updates)</summary> ### [`v16.14.7`](https://github.com/raineorshine/npm-check-updates/compare/v16.14.6...v16.14.7) [Compare Source](https://github.com/raineorshine/npm-check-updates/compare/v16.14.6...v16.14.7) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3pm on Sunday" in timezone America/New_York, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy42MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuNjEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: chris b <blue.iron1752@chrisb.xyz> Reviewed-on: #35 Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
60b4ac8117 |
Update non-major devDependencies (#34)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
18b6a1bafa |
Lock file maintenance (#33)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
8d071665dc |
Update dependency rollup to v4.4.0 (#32)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
ef77896e75 |
Update non-major devDependencies (#31)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
698966cf36 |
Lock file maintenance (#30)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
15544fad46 |
Update non-major devDependencies (#28)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
2ea5eb6805
|
Fix rate limiting (#29)
Reviewed-on: #29 Co-authored-by: chris b <blue.iron1752@chrisb.xyz> Co-committed-by: chris b <blue.iron1752@chrisb.xyz> |
|
|
96a3347969 |
Lock file maintenance (#27)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
445c702d86 |
Update non-major devDependencies (#26)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
4950cdd521 |
Update actions/setup-node action to v4 (#25)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/setup-node](https://github.com/actions/setup-node) | action | major | `v3` -> `v4` | --- ### Release Notes <details> <summary>actions/setup-node (actions/setup-node)</summary> ### [`v4`](https://github.com/actions/setup-node/compare/v3...v4) [Compare Source](https://github.com/actions/setup-node/compare/v3...v4) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3pm on Sunday" in timezone America/New_York, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMS4zIiwidXBkYXRlZEluVmVyIjoiMzcuMzEuMyIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Reviewed-on: #25 Reviewed-by: chrisw-b <chrisw-b@noreply.localhost> Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
a6b4f8b3a5 |
Lock file maintenance (#24)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
2d5d633be5 |
Update all dev dependencies (non-major) (#23)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
3047b9e11a |
Lock file maintenance (#22)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
b2006c37a9 |
Update renovate.json (#21)
Reviewed-on: #21 |
|
|
663a17a073 |
Update dependency rollup to v4.1.3 (#20)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
0e7f05b006 |
Update dependency @rollup/plugin-commonjs to v25.0.7 (#19)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
88ae1dd7d4 |
Update dependency rollup to v4.1.1 (#18)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
f37695b181 |
Update dependency rollup to v4.1.0 (#17)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
85409bd692 |
Update all patch dependencies (patch) (#16)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
d2f210a7d5 |
Update dependency @rollup/plugin-node-resolve to v15.2.3 (#15)
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [@rollup/plugin-node-resolve](https://github.com/rollup/plugins/tree/master/packages/node-resolve/#readme) ([source](https://github.com/rollup/plugins)) | devDependencies | patch | [`15.2.2` -> `15.2.3`](https://renovatebot.com/diffs/npm/@rollup%2fplugin-node-resolve/15.2.2/15.2.3) |
---
### Release Notes
<details>
<summary>rollup/plugins (@​rollup/plugin-node-resolve)</summary>
### [`v15.2.3`](https://github.com/rollup/plugins/blob/HEAD/packages/node-resolve/CHANGELOG.md#v1523)
[Compare Source](
|
|
|
4ed8ed64dd |
Update dependency eslint to v8.51.0 (#13)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint](https://eslint.org) ([source](https://github.com/eslint/eslint)) | devDependencies | minor | [`8.50.0` -> `8.51.0`](https://renovatebot.com/diffs/npm/eslint/8.50.0/8.51.0) | --- ### Release Notes <details> <summary>eslint/eslint (eslint)</summary> ### [`v8.51.0`](https://github.com/eslint/eslint/releases/tag/v8.51.0) [Compare Source](https://github.com/eslint/eslint/compare/v8.50.0...v8.51.0) #### Features - [`0a9c433`]( |
|
|
e8fb924736 |
Update dependency rollup to v4 (#14)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [rollup](https://rollupjs.org/) ([source](https://github.com/rollup/rollup)) | devDependencies | major | [`3.29.4` -> `4.0.2`](https://renovatebot.com/diffs/npm/rollup/3.29.4/4.0.2) | --- ### Release Notes <details> <summary>rollup/rollup (rollup)</summary> ### [`v4.0.2`](https://github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#402) [Compare Source](https://github.com/rollup/rollup/compare/v4.0.1...v4.0.2) *2023-10-06* ##### Bug Fixes - Fix annotation detection logic to not fail when a non-ASCII character precedes a double underscore ([#​5178](https://github.com/rollup/rollup/issues/5178)) ##### Pull Requests - [#​5178](https://github.com/rollup/rollup/pull/5178): Handle special characters before double underscores ([@​lukastaegert](https://github.com/lukastaegert)) ### [`v4.0.1`](https://github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#401) [Compare Source](https://github.com/rollup/rollup/compare/v4.0.0...v4.0.1) *2023-10-06* ##### Bug Fixes - Do not panic on trailing semicolons after class methods ([#​5173](https://github.com/rollup/rollup/issues/5173)) - Add artifact for arm64 linux musl target ([#​5176](https://github.com/rollup/rollup/issues/5176)) ##### Pull Requests - [#​5172](https://github.com/rollup/rollup/pull/5172): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://github.com/renovate)\[bot]) - [#​5173](https://github.com/rollup/rollup/pull/5173): fix: ignores empty statements in class body that is returned by SWC parser ([@​TrickyPi](https://github.com/TrickyPi)) - [#​5176](https://github.com/rollup/rollup/pull/5176): Fix linux arm musl build ([@​lukastaegert](https://github.com/lukastaegert)) ### [`v4.0.0`](https://github.com/rollup/rollup/blob/HEAD/CHANGELOG.md#400) [Compare Source](https://github.com/rollup/rollup/compare/v3.29.4...v4.0.0) *2023-10-05* ##### BREAKING CHANGES ##### General Changes - The minimal required Node version is now 18.0.0 ([#​5142](https://github.com/rollup/rollup/issues/5142)) - The browser build now relies on a WASM artifact that needs to be provided as well ([#​5073](https://github.com/rollup/rollup/issues/5073)) - The NodeJS build now relies on an optional native binary; for unsupported platforms, users can use the `@rollup/wasm-node` package that has the same interface as Rollup but relies on WASM artifacts ([#​5073](https://github.com/rollup/rollup/issues/5073)) - The `INVALID_IMPORT_ASSERTION` error code has been replaced with `INVALID_IMPORT_ATTRIBUTE` ([#​5073](https://github.com/rollup/rollup/issues/5073)) - Rollup will now warn for `@__PURE__` and `@__NO_SIDE_EFFECTS__` annotations in invalid locations ([#​5165](https://github.com/rollup/rollup/issues/5165)) - If an entry module starts with a shebang comment `#!...`, this comment will be prepended to the output for `es` and `cjs` formats ([#​5163](https://github.com/rollup/rollup/issues/5163)) - File hashes will now use url-safe base64 encoded hashes ([#​5155](https://github.com/rollup/rollup/issues/5155)) - The maximum hash length has been reduced to 22 characters ([#​5155](https://github.com/rollup/rollup/issues/5155)) - The `RollupWarning` type has been removed in favor of the `RollupLog` type ([#​5147](https://github.com/rollup/rollup/issues/5147)) ##### Changes to Rollup Options - Acorn plugins are no longer supported, the `acornInjectPlugins` option has been removed ([#​5073](https://github.com/rollup/rollup/issues/5073)) - The `acorn` option has been removed ([#​5073](https://github.com/rollup/rollup/issues/5073)) - `output.externalImportAssertions` has been deprecated in favor of `output.externalImportAttributes` ([#​5073](https://github.com/rollup/rollup/issues/5073)) - `inlineDynamicImports`, `manualChunks` and `preserveModules` have been removed on input option level: Please use the corresponding output options of the same names ([#​5143](https://github.com/rollup/rollup/issues/5143)) - Removed output options ([#​5143](https://github.com/rollup/rollup/issues/5143)): - `output.experimentalDeepDynamicChunkOptimization`: This option is no longer needed as Rollup now always runs the full chunking algorithm - `output.dynamicImportFunction`: Use the `renderDynamicImport` plugin hook instead - `output.namespaceToStringTag`: Use `output.generatedCode.symbols` instead - `output.preferConst`: Use `output.generatedCode.constBindings` instead ##### Plugin API Changes - For `this.resolve`, the default of the `skipSelf` option is now `true` ([#​5142](https://github.com/rollup/rollup/issues/5142)) - `this.parse` now only supports the `allowReturnOutsideFunction` option for now ([#​5073](https://github.com/rollup/rollup/issues/5073)) - Import assertions now use the [new import attribute AST structure](https://github.com/estree/estree/blob/master/experimental/import-attributes.md) ([#​5073](https://github.com/rollup/rollup/issues/5073)) - "assertions" have been replaced with "attributes" in various places of the plugin interface ([#​5073](https://github.com/rollup/rollup/issues/5073)) - If the import of a module id is handled by the `load` hook of a plugin, `rollup.watch` no longer watches the actual file if the module id corresponds to a real path; if this is intended, then the plugin is responsible for calling `this.addWatchFile` for any dependency files ([#​5150](https://github.com/rollup/rollup/issues/5150)) - The normalized input options provided by `buildStart` and other hooks no longer contain an `onwarn` handler; plugins should use `onLog` instead ([#​5147](https://github.com/rollup/rollup/issues/5147)) - `this.moduleIds` has been removed from the plugin context: Use `this.getModuleIds()` instead ([#​5143](https://github.com/rollup/rollup/issues/5143)) - The `hasModuleSideEffects` flag has been removed from the `ModuleInfo` returned by `this.getModuleInfo()`: Use `moduleSideEffects` on the `ModuleInfo` instead ([#​5143](https://github.com/rollup/rollup/issues/5143)) ##### Features - Improve parsing speed by switching to a native SWC-based parser ([#​5073](https://github.com/rollup/rollup/issues/5073)) - Rollup will now warn for `@__PURE__` and `@__NO_SIDE_EFFECTS__` annotations in invalid locations ([#​5165](https://github.com/rollup/rollup/issues/5165)) - The parser is now exposed as a separate export `parseAst` ([#​5169](https://github.com/rollup/rollup/issues/5169)) ##### Bug Fixes - Rollup no longer tries to watch virtual files if their name corresponds to an actual file name; instead, plugins handle watching via `this.addWatchFile()` ([#​5150](https://github.com/rollup/rollup/issues/5150)) ##### Pull Requests - [#​5073](https://github.com/rollup/rollup/pull/5073): \[v4.0] Switch parser to SWC and introduce native/WASM code ([@​lukastaegert](https://github.com/lukastaegert)) - [#​5142](https://github.com/rollup/rollup/pull/5142): \[v4.0] Set the default of skipSelf to true ([@​TrickyPi](https://github.com/TrickyPi)) - [#​5143](https://github.com/rollup/rollup/pull/5143): \[v4.0] Remove deprecated features ([@​lukastaegert](https://github.com/lukastaegert)) - [#​5144](https://github.com/rollup/rollup/pull/5144): \[v4.0] Imporve the performance of generating ast and rollup ast nodes ([@​TrickyPi](https://github.com/TrickyPi)) - [#​5147](https://github.com/rollup/rollup/pull/5147): \[v4.0] Remove onwarn from normalized input options ([@​lukastaegert](https://github.com/lukastaegert)) - [#​5150](https://github.com/rollup/rollup/pull/5150): \[v4.0] feat: Do not watch files anymore if their content is returned by the load hook ([@​TrickyPi](https://github.com/TrickyPi)) - [#​5154](https://github.com/rollup/rollup/pull/5154): \[v4.0] Add parse option to allow return outside function ([@​lukastaegert](https://github.com/lukastaegert)) - [#​5155](https://github.com/rollup/rollup/pull/5155): \[v4.0] feat: implement hashing content in Rust ([@​TrickyPi](https://github.com/TrickyPi)) - [#​5157](https://github.com/rollup/rollup/pull/5157): \[v4.0] Handle empty exports ([@​lukastaegert](https://github.com/lukastaegert)) - [#​5160](https://github.com/rollup/rollup/pull/5160): chore(deps): lock file maintenance minor/patch updates ([@​renovate](https://github.com/renovate)\[bot]) - [#​5163](https://github.com/rollup/rollup/pull/5163): \[v4.0] feat: preserve shebang in entry module for CJS and ESM outputs ([@​TrickyPi](https://github.com/TrickyPi)) - [#​5164](https://github.com/rollup/rollup/pull/5164): \[v4.0] fix: also strip BOM from code strings in JS ([@​TrickyPi](https://github.com/TrickyPi)) - [#​5165](https://github.com/rollup/rollup/pull/5165): \[v4.0] warn for invalid annotations ([@​lukastaegert](https://github.com/lukastaegert)) - [#​5168](https://github.com/rollup/rollup/pull/5168): \[v4.0] Ensure we support new import attribute "with" syntax ([@​lukastaegert](https://github.com/lukastaegert)) - [#​5169](https://github.com/rollup/rollup/pull/5169): \[v4.0] Expose parser ([@​lukastaegert](https://github.com/lukastaegert)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3pm on Sunday" in timezone America/New_York, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMDcuMiIsInVwZGF0ZWRJblZlciI6IjM2LjEwNy4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9--> Reviewed-on: #14 Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
cd7121e96d |
Update all patch dependencies (patch) (#12)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
22ea7b66b5 |
Update all minor dependencies (minor) (#11)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
917f899b90 |
Update all patch dependencies (patch) (#10)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
60046ffb93 |
Update actions/checkout action to v4 (#8)
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
6124bb71c5 |
update renovate config (#9)
Reviewed-on: #9 Co-authored-by: chris b <blue.iron1752@chrisb.xyz> Co-committed-by: chris b <blue.iron1752@chrisb.xyz> |
|
|
f2016104f3 |
fix releasing (#7)
Release to NPM / Publish (push) Successful in 56s
Details
Reviewed-on: #7 Co-authored-by: chris b <blue.iron1752@chrisb.xyz> Co-committed-by: chris b <blue.iron1752@chrisb.xyz> |
|
|
08447f19d9 |
Full rewrite for typescript (#6)
Release to Prod / deploy-to-netlify (push) Has been cancelled
Details
Reviewed-on: #6 Co-authored-by: chris b <blue.iron1752@chrisb.xyz> Co-committed-by: chris b <blue.iron1752@chrisb.xyz> |
|
|
62f3b5c28d |
Update dependency request-promise-native to v1.0.9 (#3)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [request-promise-native](https://github.com/request/request-promise-native) | dependencies | patch | [`1.0.4` -> `1.0.9`](https://renovatebot.com/diffs/npm/request-promise-native/1.0.4/1.0.9) | --- ### Release Notes <details> <summary>request/request-promise-native (request-promise-native)</summary> ### [`v1.0.9`](https://github.com/request/request-promise-native/compare/v1.0.8...v1.0.9) [Compare Source](https://github.com/request/request-promise-native/compare/v1.0.8...v1.0.9) ### [`v1.0.8`](https://github.com/request/request-promise-native/compare/v1.0.7...v1.0.8) [Compare Source](https://github.com/request/request-promise-native/compare/v1.0.7...v1.0.8) ### [`v1.0.7`](https://github.com/request/request-promise-native/compare/v1.0.6...v1.0.7) [Compare Source](https://github.com/request/request-promise-native/compare/v1.0.6...v1.0.7) ### [`v1.0.6`](https://github.com/request/request-promise-native/compare/v1.0.5...v1.0.6) [Compare Source](https://github.com/request/request-promise-native/compare/v1.0.5...v1.0.6) ### [`v1.0.5`](https://github.com/request/request-promise-native/compare/v1.0.4...v1.0.5) [Compare Source](https://github.com/request/request-promise-native/compare/v1.0.4...v1.0.5) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3pm on Sunday" in timezone America/New_York, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43Ny4wIiwidXBkYXRlZEluVmVyIjoiMzYuNzcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Reviewed-on: #3 Reviewed-by: chrisw-b <chrisw-b@noreply.localhost> Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
8bba838849 |
Update dependency eslint-plugin-import to v2.28.1 (#4)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) | devDependencies | minor | [`2.7.0` -> `2.28.1`](https://renovatebot.com/diffs/npm/eslint-plugin-import/2.7.0/2.28.1) | --- ### Release Notes <details> <summary>import-js/eslint-plugin-import (eslint-plugin-import)</summary> ### [`v2.28.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2281---2023-08-18) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1) ##### Fixed - \[`order`]: revert breaking change to single nested group (\[[#​2854](https://github.com/import-js/eslint-plugin-import/issues/2854)], thanks \[[@​yndajas](https://github.com/yndajas)]) ##### Changed - \[Docs] remove duplicate fixable notices in docs (\[[#​2850](https://github.com/import-js/eslint-plugin-import/issues/2850)], thanks \[[@​bmish](https://github.com/bmish)]) ### [`v2.28.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2280---2023-07-27) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.27.5...v2.28.0) ##### Fixed - \[`no-duplicates`]: remove duplicate identifiers in duplicate imports (\[[#​2577](https://github.com/import-js/eslint-plugin-import/issues/2577)], thanks \[[@​joe-matsec](https://github.com/joe-matsec)]) - \[`consistent-type-specifier-style`]: fix accidental removal of comma in certain cases (\[[#​2754](https://github.com/import-js/eslint-plugin-import/issues/2754)], thanks \[[@​bradzacher](https://github.com/bradzacher)]) - \[Perf] `ExportMap`: Improve `ExportMap.for` performance on larger codebases (\[[#​2756](https://github.com/import-js/eslint-plugin-import/issues/2756)], thanks \[[@​leipert](https://github.com/leipert)]) - \[`no-extraneous-dependencies`]/TypeScript: do not error when importing inline type from dev dependencies (\[[#​1820](https://github.com/import-js/eslint-plugin-import/issues/1820)], thanks \[[@​andyogo](https://github.com/andyogo)]) - \[`newline-after-import`]/TypeScript: do not error when re-exporting a namespaced import (\[[#​2832](https://github.com/import-js/eslint-plugin-import/issues/2832)], thanks \[[@​laurens-dg](https://github.com/laurens-dg)]) - \[`order`]: partial fix for \[[#​2687](https://github.com/import-js/eslint-plugin-import/issues/2687)] (thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`no-duplicates`]: Detect across type and regular imports (\[[#​2835](https://github.com/import-js/eslint-plugin-import/issues/2835)], thanks \[[@​benkrejci](https://github.com/benkrejci)]) - \[`extensions`]: handle `.` and `..` properly (\[[#​2778](https://github.com/import-js/eslint-plugin-import/issues/2778)], thanks \[[@​benasher44](https://github.com/benasher44)]) - \[`no-unused-modules`]: improve schema (thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`no-unused-modules`]: report error on binding instead of parent export (\[[#​2842](https://github.com/import-js/eslint-plugin-import/issues/2842)], thanks \[[@​Chamion](https://github.com/Chamion)]) ##### Changed - \[Docs] \[`no-duplicates`]: fix example schema (\[[#​2684](https://github.com/import-js/eslint-plugin-import/issues/2684)], thanks \[[@​simmo](https://github.com/simmo)]) - \[Docs] \[`group-exports`]: fix syntax highlighting (\[[#​2699](https://github.com/import-js/eslint-plugin-import/issues/2699)], thanks \[[@​devinrhode2](https://github.com/devinrhode2)]) - \[Docs] \[`extensions`]: reference node ESM behavior (\[[#​2748](https://github.com/import-js/eslint-plugin-import/issues/2748)], thanks \[[@​xM8WVqaG](https://github.com/xM8WVqaG)]) - \[Refactor] \[`exports-last`]: use `array.prototype.findlastindex` (thanks \[[@​ljharb](https://github.com/ljharb)]) - \[Refactor] \[`no-anonymous-default-export`]: use `object.fromentries` (thanks \[[@​ljharb](https://github.com/ljharb)]) - \[Refactor] \[`no-unused-modules`]: use `array.prototype.flatmap` (thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.27.5`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2275---2023-01-16) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.27.4...v2.27.5) ##### Fixed - \[`order]`: Fix group ranks order when alphabetizing (\[[#​2674](https://github.com/import-js/eslint-plugin-import/issues/2674)], thanks \[[@​Pearce-Ropion](https://github.com/Pearce-Ropion)]) ### [`v2.27.4`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2274---2023-01-11) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.27.3...v2.27.4) ##### Fixed - `semver` should be a prod dep (\[[#​2668](https://github.com/import-js/eslint-plugin-import/issues/2668)]) ### [`v2.27.3`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2273---2023-01-11) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.27.2...v2.27.3) ##### Fixed - \[`no-empty-named-blocks`]: rewrite rule to only check import declarations (\[[#​2666](https://github.com/import-js/eslint-plugin-import/issues/2666)]) ### [`v2.27.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2272---2023-01-11) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.27.1...v2.27.2) ##### Fixed - \[`no-duplicates`]: do not unconditionally require `typescript` (\[[#​2665](https://github.com/import-js/eslint-plugin-import/issues/2665)]) ### [`v2.27.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2271---2023-01-11) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.27.0...v2.27.1) ##### Fixed - `array.prototype.flatmap` should be a prod dep (\[[#​2664](https://github.com/import-js/eslint-plugin-import/issues/2664)], thanks \[[@​cristobal](https://github.com/cristobal)]) ### [`v2.27.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2270---2023-01-11) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.26.0...v2.27.0) ##### Added - \[`newline-after-import`]: add `considerComments` option (\[[#​2399](https://github.com/import-js/eslint-plugin-import/issues/2399)], thanks \[[@​pri1311](https://github.com/pri1311)]) - \[`no-cycle`]: add `allowUnsafeDynamicCyclicDependency` option (\[[#​2387](https://github.com/import-js/eslint-plugin-import/issues/2387)], thanks \[[@​GerkinDev](https://github.com/GerkinDev)]) - \[`no-restricted-paths`]: support arrays for `from` and `target` options (\[[#​2466](https://github.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://github.com/AdriAt360)]) - \[`no-anonymous-default-export`]: add `allowNew` option (\[[#​2505](https://github.com/import-js/eslint-plugin-import/issues/2505)], thanks \[[@​DamienCassou](https://github.com/DamienCassou)]) - \[`order`]: Add `distinctGroup` option (\[[#​2395](https://github.com/import-js/eslint-plugin-import/issues/2395)], thanks \[[@​hyperupcall](https://github.com/hyperupcall)]) - \[`no-extraneous-dependencies`]: Add `includeInternal` option (\[[#​2541](https://github.com/import-js/eslint-plugin-import/issues/2541)], thanks \[[@​bdwain](https://github.com/bdwain)]) - \[`no-extraneous-dependencies`]: Add `includeTypes` option (\[[#​2543](https://github.com/import-js/eslint-plugin-import/issues/2543)], thanks \[[@​bdwain](https://github.com/bdwain)]) - \[`order`]: new `alphabetize.orderImportKind` option to sort imports with same path based on their kind (`type`, `typeof`) (\[[#​2544](https://github.com/import-js/eslint-plugin-import/issues/2544)], thanks \[[@​stropho](https://github.com/stropho)]) - \[`consistent-type-specifier-style`]: add rule (\[[#​2473](https://github.com/import-js/eslint-plugin-import/issues/2473)], thanks \[[@​bradzacher](https://github.com/bradzacher)]) - Add \[`no-empty-named-blocks`] rule (\[[#​2568](https://github.com/import-js/eslint-plugin-import/issues/2568)], thanks \[[@​guilhermelimak](https://github.com/guilhermelimak)]) - \[`prefer-default-export`]: add "target" option (\[[#​2602](https://github.com/import-js/eslint-plugin-import/issues/2602)], thanks \[[@​azyzz228](https://github.com/azyzz228)]) - \[`no-absolute-path`]: add fixer (\[[#​2613](https://github.com/import-js/eslint-plugin-import/issues/2613)], thanks \[[@​adipascu](https://github.com/adipascu)]) - \[`no-duplicates`]: support inline type import with `inlineTypeImport` option (\[[#​2475](https://github.com/import-js/eslint-plugin-import/issues/2475)], thanks \[[@​snewcomer](https://github.com/snewcomer)]) ##### Fixed - \[`order`]: move nested imports closer to main import entry (\[[#​2396](https://github.com/import-js/eslint-plugin-import/issues/2396)], thanks \[[@​pri1311](https://github.com/pri1311)]) - \[`no-restricted-paths`]: fix an error message (\[[#​2466](https://github.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://github.com/AdriAt360)]) - \[`no-restricted-paths`]: use `Minimatch.match` instead of `minimatch` to comply with Windows Native paths (\[[#​2466](https://github.com/import-js/eslint-plugin-import/issues/2466)], thanks \[[@​AdriAt360](https://github.com/AdriAt360)]) - \[`order`]: require with member expression could not be fixed if alphabetize.order was used (\[[#​2490](https://github.com/import-js/eslint-plugin-import/issues/2490)], thanks \[[@​msvab](https://github.com/msvab)]) - \[`order`]: leave more space in rankings for consecutive path groups (\[[#​2506](https://github.com/import-js/eslint-plugin-import/issues/2506)], thanks \[[@​Pearce-Ropion](https://github.com/Pearce-Ropion)]) - \[`no-cycle`]: add ExportNamedDeclaration statements to dependencies (\[[#​2511](https://github.com/import-js/eslint-plugin-import/issues/2511)], thanks \[[@​BenoitZugmeyer](https://github.com/BenoitZugmeyer)]) - \[`dynamic-import-chunkname`]: prevent false report on a valid webpack magic comment (\[[#​2330](https://github.com/import-js/eslint-plugin-import/issues/2330)], thanks \[[@​mhmadhamster](https://github.com/mhmadhamster)]) - \[`export`]: do not error on TS export overloads (\[[#​1590](https://github.com/import-js/eslint-plugin-import/issues/1590)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`no-unresolved`], \[`extensions`]: ignore type only exports (\[[#​2436](https://github.com/import-js/eslint-plugin-import/issues/2436)], thanks \[[@​Lukas-Kullmann](https://github.com/Lukas-Kullmann)]) - `ExportMap`: add missing param to function (\[[#​2589](https://github.com/import-js/eslint-plugin-import/issues/2589)], thanks \[[@​Fdawgs](https://github.com/Fdawgs)]) - \[`no-unused-modules`]: `checkPkgFieldObject` filters boolean fields from checks (\[[#​2598](https://github.com/import-js/eslint-plugin-import/issues/2598)], thanks \[[@​mpint](https://github.com/mpint)]) - \[`no-cycle`]: accept Flow `typeof` imports, just like `type` (\[[#​2608](https://github.com/import-js/eslint-plugin-import/issues/2608)], thanks \[[@​gnprice](https://github.com/gnprice)]) - \[`no-import-module-exports`]: avoid a false positive for import variables (\[[#​2315](https://github.com/import-js/eslint-plugin-import/issues/2315)], thanks \[[@​BarryThePenguin](https://github.com/BarryThePenguin)]) ##### Changed - \[Tests] \[`named`]: Run all TypeScript test (\[[#​2427](https://github.com/import-js/eslint-plugin-import/issues/2427)], thanks \[[@​ProdigySim](https://github.com/ProdigySim)]) - \[readme] note use of typescript in readme `import/extensions` section (\[[#​2440](https://github.com/import-js/eslint-plugin-import/issues/2440)], thanks \[[@​OutdatedVersion](https://github.com/OutdatedVersion)]) - \[Docs] \[`order`]: use correct default value (\[[#​2392](https://github.com/import-js/eslint-plugin-import/issues/2392)], thanks \[[@​hyperupcall](https://github.com/hyperupcall)]) - \[meta] replace git.io link in comments with the original URL (\[[#​2444](https://github.com/import-js/eslint-plugin-import/issues/2444)], thanks \[[@​liby](https://github.com/liby)]) - \[Docs] remove global install in readme (\[[#​2412](https://github.com/import-js/eslint-plugin-import/issues/2412)], thanks \[[@​aladdin-add](https://github.com/aladdin-add)]) - \[readme] clarify `eslint-import-resolver-typescript` usage (\[[#​2503](https://github.com/import-js/eslint-plugin-import/issues/2503)], thanks \[[@​JounQin](https://github.com/JounQin)]) - \[Refactor] \[`no-cycle`]: Add per-run caching of traversed paths (\[[#​2419](https://github.com/import-js/eslint-plugin-import/issues/2419)], thanks \[[@​nokel81](https://github.com/nokel81)]) - \[Performance] `ExportMap`: add caching after parsing for an ambiguous module (\[[#​2531](https://github.com/import-js/eslint-plugin-import/issues/2531)], thanks \[[@​stenin-nikita](https://github.com/stenin-nikita)]) - \[Docs] \[`no-useless-path-segments`]: fix paths (\[[#​2424](https://github.com/import-js/eslint-plugin-import/issues/2424)], thanks \[[@​s-h-a-d-o-w](https://github.com/s-h-a-d-o-w)]) - \[Tests] \[`no-cycle`]: add passing test cases (\[[#​2438](https://github.com/import-js/eslint-plugin-import/issues/2438)], thanks \[[@​georeith](https://github.com/georeith)]) - \[Refactor] \[`no-extraneous-dependencies`] improve performance using cache (\[[#​2374](https://github.com/import-js/eslint-plugin-import/issues/2374)], thanks \[[@​meowtec](https://github.com/meowtec)]) - \[meta] `CONTRIBUTING.md`: mention inactive PRs (\[[#​2546](https://github.com/import-js/eslint-plugin-import/issues/2546)], thanks \[[@​stropho](https://github.com/stropho)]) - \[readme] make json for setting groups multiline (\[[#​2570](https://github.com/import-js/eslint-plugin-import/issues/2570)], thanks \[[@​bertyhell](https://github.com/bertyhell)]) - \[Tests] \[`no-restricted-paths`]: Tests for `import type` statements (\[[#​2459](https://github.com/import-js/eslint-plugin-import/issues/2459)], thanks \[[@​golergka](https://github.com/golergka)]) - \[Tests] \[`no-restricted-paths`]: fix one failing `import type` test case, submitted by \[[@​golergka](https://github.com/golergka)], thanks \[[@​azyzz228](https://github.com/azyzz228)] - \[Docs] automate docs with eslint-doc-generator (\[[#​2582](https://github.com/import-js/eslint-plugin-import/issues/2582)], thanks \[[@​bmish](https://github.com/bmish)]) - \[readme] Increase clarity around typescript configuration (\[[#​2588](https://github.com/import-js/eslint-plugin-import/issues/2588)], thanks \[[@​Nfinished](https://github.com/Nfinished)]) - \[Docs] update `eslint-doc-generator` to v1.0.0 (\[[#​2605](https://github.com/import-js/eslint-plugin-import/issues/2605)], thanks \[[@​bmish](https://github.com/bmish)]) - \[Perf] \[`no-cycle`], \[`no-internal-modules`], \[`no-restricted-paths`]: use `anyOf` instead of `oneOf` (thanks \[[@​ljharb](https://github.com/ljharb)], \[[@​remcohaszing](https://github.com/remcohaszing)]) ### [`v2.26.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2260---2022-04-05) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.25.4...v2.26.0) ##### Added - \[`no-named-default`], \[`no-default-export`], \[`prefer-default-export`], \[`no-named-export`], \[`export`], \[`named`], \[`namespace`], \[`no-unused-modules`]: support arbitrary module namespace names (\[[#​2358](https://github.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@​sosukesuzuki](https://github.com/sosukesuzuki)]) - \[`no-dynamic-require`]: support dynamic import with espree (\[[#​2371](https://github.com/import-js/eslint-plugin-import/issues/2371)], thanks \[[@​sosukesuzuki](https://github.com/sosukesuzuki)]) - \[`no-relative-packages`]: add fixer (\[[#​2381](https://github.com/import-js/eslint-plugin-import/issues/2381)], thanks \[[@​forivall](https://github.com/forivall)]) ##### Fixed - \[`default`]: `typescript-eslint-parser`: avoid a crash on exporting as namespace (thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`export`]/TypeScript: false positive for typescript namespace merging (\[[#​1964](https://github.com/import-js/eslint-plugin-import/issues/1964)], thanks \[[@​magarcia](https://github.com/magarcia)]) - \[`no-duplicates`]: ignore duplicate modules in different TypeScript module declarations (\[[#​2378](https://github.com/import-js/eslint-plugin-import/issues/2378)], thanks \[[@​remcohaszing](https://github.com/remcohaszing)]) - \[`no-unused-modules`]: avoid a crash when processing re-exports (\[[#​2388](https://github.com/import-js/eslint-plugin-import/issues/2388)], thanks \[[@​ljharb](https://github.com/ljharb)]) ##### Changed - \[Tests] \[`no-nodejs-modules`]: add tests for node protocol URL (\[[#​2367](https://github.com/import-js/eslint-plugin-import/issues/2367)], thanks \[[@​sosukesuzuki](https://github.com/sosukesuzuki)]) - \[Tests] \[`default`], \[`no-anonymous-default-export`], \[`no-mutable-exports`], \[`no-named-as-default-member`], \[`no-named-as-default`]: add tests for arbitrary module namespace names (\[[#​2358](https://github.com/import-js/eslint-plugin-import/issues/2358)], thanks \[[@​sosukesuzuki](https://github.com/sosukesuzuki)]) - \[Docs] \[`no-unresolved`]: Fix RegExp escaping in readme (\[[#​2332](https://github.com/import-js/eslint-plugin-import/issues/2332)], thanks \[[@​stephtr](https://github.com/stephtr)]) - \[Refactor] \[`namespace`]: try to improve performance (\[[#​2340](https://github.com/import-js/eslint-plugin-import/issues/2340)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[Docs] make rule doc titles consistent (\[[#​2393](https://github.com/import-js/eslint-plugin-import/issues/2393)], thanks \[[@​TheJaredWilcurt](https://github.com/TheJaredWilcurt)]) - \[Docs] \[`order`]: TS code examples should use TS code blocks (\[[#​2411](https://github.com/import-js/eslint-plugin-import/issues/2411)], thanks \[[@​MM25Zamanian](https://github.com/MM25Zamanian)]) - \[Docs] \[`no-unresolved`]: fix link (\[[#​2417](https://github.com/import-js/eslint-plugin-import/issues/2417)], thanks \[[@​kylemh](https://github.com/kylemh)]) ### [`v2.25.4`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2254---2022-01-02) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.25.3...v2.25.4) ##### Fixed - `importType`: avoid crashing on a non-string' (\[[#​2305](https://github.com/import-js/eslint-plugin-import/issues/2305)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`first`]: prevent crash when parsing angular templates (\[[#​2210](https://github.com/import-js/eslint-plugin-import/issues/2210)], thanks \[[@​ljharb](https://github.com/ljharb)]) - `importType`: properly resolve `@/*`-aliased imports as internal (\[[#​2334](https://github.com/import-js/eslint-plugin-import/issues/2334)], thanks \[[@​ombene](https://github.com/ombene)]) - \[`named`]/`ExportMap`: handle named imports from CJS modules that use dynamic import (\[[#​2341](https://github.com/import-js/eslint-plugin-import/issues/2341)], thanks \[[@​ludofischer](https://github.com/ludofischer)]) ##### Changed - \[`no-default-import`]: report on the token "default" instead of the entire node (\[[#​2299](https://github.com/import-js/eslint-plugin-import/issues/2299)], thanks \[[@​pmcelhaney](https://github.com/pmcelhaney)]) - \[Docs] \[`order`]: Remove duplicate mention of default (\[[#​2280](https://github.com/import-js/eslint-plugin-import/issues/2280)], thanks \[[@​johnthagen](https://github.com/johnthagen)]) - \[Deps] update `eslint-module-utils` ### [`v2.25.3`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2253---2021-11-09) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.25.2...v2.25.3) ##### Fixed - \[`extensions`]: ignore unresolveable type-only imports (\[[#​2270](https://github.com/import-js/eslint-plugin-import/issues/2270)], \[[#​2271](https://github.com/import-js/eslint-plugin-import/issues/2271)], thanks \[[@​jablko](https://github.com/jablko)]) - `importType`: fix `isExternalModule` calculation (\[[#​2282](https://github.com/import-js/eslint-plugin-import/issues/2282)], thanks \[[@​mx-bernhard](https://github.com/mx-bernhard)]) - \[`no-import-module-exports`]: avoid false positives with a shadowed `module` or `exports` (\[[#​2297](https://github.com/import-js/eslint-plugin-import/issues/2297)], thanks \[[@​ljharb](https://github.com/ljharb)]) ##### Changed - \[Docs] \[`order`]: add type to the default groups (\[[#​2272](https://github.com/import-js/eslint-plugin-import/issues/2272)], thanks \[[@​charpeni](https://github.com/charpeni)]) - \[readme] Add note to TypeScript docs to install appropriate resolver (\[[#​2279](https://github.com/import-js/eslint-plugin-import/issues/2279)], thanks \[[@​johnthagen](https://github.com/johnthagen)]) - \[Refactor] `importType`: combine redundant `isScoped` and `isScopedModule` (thanks \[[@​ljharb](https://github.com/ljharb)]) - \[Docs] HTTP => HTTPS (\[[#​2287](https://github.com/import-js/eslint-plugin-import/issues/2287)], thanks \[[@​Schweinepriester](https://github.com/Schweinepriester)]) ### [`v2.25.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2252---2021-10-12) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.25.1...v2.25.2) ##### Fixed - \[Deps] update `eslint-module-utils` for real this time (\[[#​2255](https://github.com/import-js/eslint-plugin-import/issues/2255)], thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.25.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2251---2021-10-11) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.25.0...v2.25.1) ##### Fixed - \[Deps] update `eslint-module-utils` ### [`v2.25.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2250---2021-10-11) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.24.2...v2.25.0) ##### Added - Support `eslint` v8 (\[[#​2191](https://github.com/import-js/eslint-plugin-import/issues/2191)], thanks \[[@​ota-meshi](https://github.com/ota-meshi)]) - \[`no-unresolved`]: add `caseSensitiveStrict` option (\[[#​1262](https://github.com/import-js/eslint-plugin-import/issues/1262)], thanks \[[@​sergei-startsev](https://github.com/sergei-startsev)]) - \[`no-unused-modules`]: add eslint v8 support (\[[#​2194](https://github.com/import-js/eslint-plugin-import/issues/2194)], thanks \[[@​coderaiser](https://github.com/coderaiser)]) - \[`no-restricted-paths`]: add/restore glob pattern support (\[[#​2219](https://github.com/import-js/eslint-plugin-import/issues/2219)], thanks \[[@​stropho](https://github.com/stropho)]) - \[`no-unused-modules`]: support dynamic imports (\[[#​1660](https://github.com/import-js/eslint-plugin-import/issues/1660)], \[[#​2212](https://github.com/import-js/eslint-plugin-import/issues/2212)], thanks \[[@​maxkomarychev](https://github.com/maxkomarychev)], \[[@​aladdin-add](https://github.com/aladdin-add)], \[[@​Hypnosphi](https://github.com/Hypnosphi)]) ##### Fixed - \[`no-unresolved`]: ignore type-only imports (\[[#​2220](https://github.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@​jablko](https://github.com/jablko)]) - \[`order`]: fix sorting imports inside TypeScript module declarations (\[[#​2226](https://github.com/import-js/eslint-plugin-import/issues/2226)], thanks \[[@​remcohaszing](https://github.com/remcohaszing)]) - \[`default`], `ExportMap`: Resolve extended TypeScript configuration files (\[[#​2240](https://github.com/import-js/eslint-plugin-import/issues/2240)], thanks \[[@​mrmckeb](https://github.com/mrmckeb)]) ##### Changed - \[Refactor] switch to an internal replacement for `pkg-up` and `read-pkg-up` (\[[#​2047](https://github.com/import-js/eslint-plugin-import/issues/2047)], thanks \[[@​mgwalker](https://github.com/mgwalker)]) - \[patch] TypeScript config: remove `.d.ts` from \[`import/parsers` setting] and \[`import/extensions` setting] (\[[#​2220](https://github.com/import-js/eslint-plugin-import/issues/2220)], thanks \[[@​jablko](https://github.com/jablko)]) - \[Refactor] \[`no-unresolved`], \[`no-extraneous-dependencies`]: moduleVisitor usage (\[[#​2233](https://github.com/import-js/eslint-plugin-import/issues/2233)], thanks \[[@​jablko](https://github.com/jablko)]) ### [`v2.24.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2242---2021-08-24) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.24.1...v2.24.2) ##### Fixed - \[`named`], \[`namespace`]: properly handle ExportAllDeclarations (\[[#​2199](https://github.com/import-js/eslint-plugin-import/issues/2199)], thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.24.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2241---2021-08-19) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.24.0...v2.24.1) ##### Fixed - `ExportMap`: Add default export when esModuleInterop is true and anything is exported (\[[#​2184](https://github.com/import-js/eslint-plugin-import/issues/2184)], thanks \[[@​Maxim-Mazurok](https://github.com/Maxim-Mazurok)]) - \[`named`], \[`namespace`]: properly set reexports on `export * as … from` (\[[#​1998](https://github.com/import-js/eslint-plugin-import/issues/1998)], \[[#​2161](https://github.com/import-js/eslint-plugin-import/issues/2161)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`no-duplicates`]: correctly handle case of mixed default/named type imports (\[[#​2149](https://github.com/import-js/eslint-plugin-import/issues/2149)], thanks \[[@​GoodForOneFare](https://github.com/GoodForOneFare)], \[[@​nwalters512](https://github.com/nwalters512)]) - \[`no-duplicates`]: avoid crash with empty `import type {}` (\[[#​2201](https://github.com/import-js/eslint-plugin-import/issues/2201)], thanks \[[@​ljharb](https://github.com/ljharb)]) ##### Changed - \[Docs] `max-dependencies`: 📖 Document `ignoreTypeImports` option (\[[#​2196](https://github.com/import-js/eslint-plugin-import/issues/2196)], thanks \[[@​himynameisdave](https://github.com/himynameisdave)]) ### [`v2.24.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2240---2021-08-08) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0) ##### Added - \[`no-dynamic-require`]: add option `esmodule` (\[[#​1223](https://github.com/import-js/eslint-plugin-import/issues/1223)], thanks \[[@​vikr01](https://github.com/vikr01)]) - \[`named`]: add `commonjs` option (\[[#​1222](https://github.com/import-js/eslint-plugin-import/issues/1222)], thanks \[[@​vikr01](https://github.com/vikr01)]) - \[`no-namespace`]: Add `ignore` option (\[[#​2112](https://github.com/import-js/eslint-plugin-import/issues/2112)], thanks \[[@​aberezkin](https://github.com/aberezkin)]) - \[`max-dependencies`]: add option `ignoreTypeImports` (\[[#​1847](https://github.com/import-js/eslint-plugin-import/issues/1847)], thanks \[[@​rfermann](https://github.com/rfermann)]) ##### Fixed - \[`no-duplicates`]: ensure autofix avoids excessive newlines (\[[#​2028](https://github.com/import-js/eslint-plugin-import/issues/2028)], thanks \[[@​ertrzyiks](https://github.com/ertrzyiks)]) - \[`extensions`]: avoid crashing on partially typed import/export statements (\[[#​2118](https://github.com/import-js/eslint-plugin-import/issues/2118)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`no-extraneous-dependencies`]: add ESM intermediate package.json support (\[[#​2121](https://github.com/import-js/eslint-plugin-import/issues/2121)], thanks \[[@​paztis](https://github.com/paztis)]) - Use `context.getPhysicalFilename()` when available (ESLint 7.28+) (\[[#​2160](https://github.com/import-js/eslint-plugin-import/issues/2160)], thanks \[[@​pmcelhaney](https://github.com/pmcelhaney)]) - \[`extensions`]/`importType`: fix isScoped treating @​/abc as scoped module (\[[#​2146](https://github.com/import-js/eslint-plugin-import/issues/2146)], thanks \[[@​rperello](https://github.com/rperello)]) ##### Changed - \[Docs] \[`extensions`]: improved cases for using `@/...` (\[[#​2140](https://github.com/import-js/eslint-plugin-import/issues/2140)], thanks \[[@​wenfangdu](https://github.com/wenfangdu)]) - \[Docs] \[`extensions`]: removed incorrect cases (\[[#​2138](https://github.com/import-js/eslint-plugin-import/issues/2138)], thanks \[[@​wenfangdu](https://github.com/wenfangdu)]) - \[Tests] \[`order`]: add tests for `pathGroupsExcludedImportTypes: ['type']` (\[[#​2158](https://github.com/import-js/eslint-plugin-import/issues/2158)], thanks \[[@​atav32](https://github.com/atav32)]) - \[Docs] \[`order`]: improve the documentation for the `pathGroupsExcludedImportTypes` option (\[[#​2156](https://github.com/import-js/eslint-plugin-import/issues/2156)], thanks \[[@​liby](https://github.com/liby)]) - \[Tests] \[`no-cycle`]: Restructure test files (\[[#​1517](https://github.com/import-js/eslint-plugin-import/issues/1517)], thanks \[[@​soryy708](https://github.com/soryy708)]) - \[Docs] add description how to use plugin with yarn berry (\[[#​2179](https://github.com/import-js/eslint-plugin-import/issues/2179)], thanks \[[@​KostyaZgara](https://github.com/KostyaZgara)]) ### [`v2.23.4`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2234---2021-05-29) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.23.3...v2.23.4) ##### Fixed - \[`no-import-module-exports`]: Don't crash if packages have no entrypoint (\[[#​2099](https://github.com/import-js/eslint-plugin-import/issues/2099)], thanks \[[@​eps1lon](https://github.com/eps1lon)]) - \[`no-extraneous-dependencies`]: fix package name algorithm (\[[#​2097](https://github.com/import-js/eslint-plugin-import/issues/2097)], thanks \[[@​paztis](https://github.com/paztis)]) ### [`v2.23.3`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2233---2021-05-21) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.23.2...v2.23.3) ##### Fixed - \[`no-restricted-paths`]: fix false positive matches (\[[#​2090](https://github.com/import-js/eslint-plugin-import/issues/2090)], thanks \[[@​malykhinvi](https://github.com/malykhinvi)]) - \[`no-cycle`]: ignore imports where imported file only imports types of importing file (\[[#​2083](https://github.com/import-js/eslint-plugin-import/issues/2083)], thanks \[[@​cherryblossom000](https://github.com/cherryblossom000)]) - \[`no-cycle`]: fix false negative when file imports a type after importing a value in Flow (\[[#​2083](https://github.com/import-js/eslint-plugin-import/issues/2083)], thanks \[[@​cherryblossom000](https://github.com/cherryblossom000)]) - \[`order`]: restore default behavior unless `type` is in groups (\[[#​2087](https://github.com/import-js/eslint-plugin-import/issues/2087)], thanks \[[@​grit96](https://github.com/grit96)]) ##### Changed - \[Docs] Add \[`no-relative-packages`] to list of to the list of rules (\[[#​2075](https://github.com/import-js/eslint-plugin-import/issues/2075)], thanks \[[@​arvigeus](https://github.com/arvigeus)]) ### [`v2.23.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2232---2021-05-15) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.23.1...v2.23.2) ##### Changed - \[meta] add `safe-publish-latest`; use `prepublishOnly` script for npm 7+ ### [`v2.23.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2231---2021-05-14) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.23.0...v2.23.1) ##### Fixed - \[`newline-after-import`]: fix crash with `export {}` syntax (\[[#​2063](https://github.com/import-js/eslint-plugin-import/issues/2063)], \[[#​2056](https://github.com/import-js/eslint-plugin-import/issues/2056)], thanks \[[@​ljharb](https://github.com/ljharb)]) - `ExportMap`: do not crash when tsconfig lacks `.compilerOptions` (\[[#​2067](https://github.com/import-js/eslint-plugin-import/issues/2067)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`order`]: fix alphabetical sorting (\[[#​2071](https://github.com/import-js/eslint-plugin-import/issues/2071)], thanks \[[@​grit96](https://github.com/grit96)]) ### [`v2.23.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2230---2021-05-13) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.22.1...v2.23.0) ##### Added - \[`no-commonjs`]: Also detect require calls with expressionless template literals: ``require(`x`)`` (\[[#​1958](https://github.com/import-js/eslint-plugin-import/issues/1958)], thanks \[[@​FloEdelmann](https://github.com/FloEdelmann)]) - \[`no-internal-modules`]: Add `forbid` option (\[[#​1846](https://github.com/import-js/eslint-plugin-import/issues/1846)], thanks \[[@​guillaumewuip](https://github.com/guillaumewuip)]) - add \[`no-relative-packages`] (\[[#​1860](https://github.com/import-js/eslint-plugin-import/issues/1860)], \[[#​966](https://github.com/import-js/eslint-plugin-import/issues/966)], thanks \[[@​tapayne88](https://github.com/tapayne88)] \[[@​panrafal](https://github.com/panrafal)]) - add \[`no-import-module-exports`] rule: report import declarations with CommonJS exports (\[[#​804](https://github.com/import-js/eslint-plugin-import/issues/804)], thanks \[[@​kentcdodds](https://github.com/kentcdodds)] and \[[@​ttmarek](https://github.com/ttmarek)]) - \[`no-unused-modules`]: Support destructuring assignment for `export`. (\[[#​1997](https://github.com/import-js/eslint-plugin-import/issues/1997)], thanks \[[@​s-h-a-d-o-w](https://github.com/s-h-a-d-o-w)]) - \[`order`]: support type imports (\[[#​2021](https://github.com/import-js/eslint-plugin-import/issues/2021)], thanks \[[@​grit96](https://github.com/grit96)]) - \[`order`]: Add `warnOnUnassignedImports` option to enable warnings for out of order unassigned imports (\[[#​1990](https://github.com/import-js/eslint-plugin-import/issues/1990)], thanks \[[@​hayes](https://github.com/hayes)]) ##### Fixed - \[`export`]/TypeScript: properly detect export specifiers as children of a TS module block (\[[#​1889](https://github.com/import-js/eslint-plugin-import/issues/1889)], thanks \[[@​andreubotella](https://github.com/andreubotella)]) - \[`order`]: ignore non-module-level requires (\[[#​1940](https://github.com/import-js/eslint-plugin-import/issues/1940)], thanks \[[@​golopot](https://github.com/golopot)]) - \[`no-webpack-loader-syntax`]/TypeScript: avoid crash on missing name (\[[#​1947](https://github.com/import-js/eslint-plugin-import/issues/1947)], thanks \[[@​leonardodino](https://github.com/leonardodino)]) - \[`no-extraneous-dependencies`]: Add package.json cache (\[[#​1948](https://github.com/import-js/eslint-plugin-import/issues/1948)], thanks \[[@​fa93hws](https://github.com/fa93hws)]) - \[`prefer-default-export`]: handle empty array destructuring (\[[#​1965](https://github.com/import-js/eslint-plugin-import/issues/1965)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`no-unused-modules`]: make type imports mark a module as used (fixes [#​1924](https://github.com/import-js/eslint-plugin-import/issues/1924)) (\[[#​1974](https://github.com/import-js/eslint-plugin-import/issues/1974)], thanks \[[@​cherryblossom000](https://github.com/cherryblossom000)]) - \[`no-cycle`]: fix perf regression (\[[#​1944](https://github.com/import-js/eslint-plugin-import/issues/1944)], thanks \[[@​Blasz](https://github.com/Blasz)]) - \[`first`]: fix handling of `import = require` (\[[#​1963](https://github.com/import-js/eslint-plugin-import/issues/1963)], thanks \[[@​MatthiasKunnen](https://github.com/MatthiasKunnen)]) - \[`no-cycle`]/\[`extensions`]: fix isExternalModule usage (\[[#​1696](https://github.com/import-js/eslint-plugin-import/issues/1696)], thanks \[[@​paztis](https://github.com/paztis)]) - \[`extensions`]/\[`no-cycle`]/\[`no-extraneous-dependencies`]: Correct module real path resolution (\[[#​1696](https://github.com/import-js/eslint-plugin-import/issues/1696)], thanks \[[@​paztis](https://github.com/paztis)]) - \[`no-named-default`]: ignore Flow import type and typeof (\[[#​1983](https://github.com/import-js/eslint-plugin-import/issues/1983)], thanks \[[@​christianvuerings](https://github.com/christianvuerings)]) - \[`no-extraneous-dependencies`]: Exclude flow `typeof` imports (\[[#​1534](https://github.com/import-js/eslint-plugin-import/issues/1534)], thanks \[[@​devongovett](https://github.com/devongovett)]) - \[`newline-after-import`]: respect decorator annotations (\[[#​1985](https://github.com/import-js/eslint-plugin-import/issues/1985)], thanks \[[@​lilling](https://github.com/lilling)]) - \[`no-restricted-paths`]: enhance performance for zones with `except` paths (\[[#​2022](https://github.com/import-js/eslint-plugin-import/issues/2022)], thanks \[[@​malykhinvi](https://github.com/malykhinvi)]) - \[`no-unresolved`]: check import() (\[[#​2026](https://github.com/import-js/eslint-plugin-import/issues/2026)], thanks \[[@​aladdin-add](https://github.com/aladdin-add)]) ##### Changed - \[Generic Import Callback] Make callback for all imports once in rules (\[[#​1237](https://github.com/import-js/eslint-plugin-import/issues/1237)], thanks \[[@​ljqx](https://github.com/ljqx)]) - \[Docs] \[`no-named-as-default`]: add semicolon (\[[#​1897](https://github.com/import-js/eslint-plugin-import/issues/1897)], thanks \[[@​bicstone](https://github.com/bicstone)]) - \[Docs] \[`no-extraneous-dependencies`]: correct peerDependencies option default to `true` (\[[#​1993](https://github.com/import-js/eslint-plugin-import/issues/1993)], thanks \[[@​dwardu](https://github.com/dwardu)]) - \[Docs] \[`order`]: Document options required to match ordering example (\[[#​1992](https://github.com/import-js/eslint-plugin-import/issues/1992)], thanks \[[@​silviogutierrez](https://github.com/silviogutierrez)]) - \[Tests] \[`no-unresolved`]: add tests for `import()` (\[[#​2012](https://github.com/import-js/eslint-plugin-import/issues/2012)], thanks \[[@​davidbonnet](https://github.com/davidbonnet)]) - \[Docs] Add import/recommended ruleset to README (\[[#​2034](https://github.com/import-js/eslint-plugin-import/issues/2034)], thanks \[[@​edemaine](https://github.com/edemaine)]) ### [`v2.22.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2221---2020-09-27) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.22.0...v2.22.1) ##### Fixed - \[`default`]/TypeScript: avoid crash on `export =` with a MemberExpression (\[[#​1841](https://github.com/import-js/eslint-plugin-import/issues/1841)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`extensions`]/importType: Fix @​/abc being treated as scoped module (\[[#​1854](https://github.com/import-js/eslint-plugin-import/issues/1854)], thanks \[[@​3nuc](https://github.com/3nuc)]) - allow using rest operator in named export (\[[#​1878](https://github.com/import-js/eslint-plugin-import/issues/1878)], thanks \[[@​foray1010](https://github.com/foray1010)]) - \[`dynamic-import-chunkname`]: allow single quotes to match Webpack support (\[[#​1848](https://github.com/import-js/eslint-plugin-import/issues/1848)], thanks \[[@​straub](https://github.com/straub)]) ##### Changed - \[`export`]: add tests for a name collision with `export * from` (\[[#​1704](https://github.com/import-js/eslint-plugin-import/issues/1704)], thanks [@​tomprats](https://github.com/tomprats)) ### [`v2.22.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2220---2020-06-26) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.21.2...v2.22.0) ##### Added - \[`no-unused-modules`]: consider exported TypeScript interfaces, types and enums (\[[#​1819](https://github.com/import-js/eslint-plugin-import/issues/1819)], thanks \[[@​nicolashenry](https://github.com/nicolashenry)]) - \[`no-cycle`]: allow `maxDepth` option to be `"∞"` (thanks \[[@​ljharb](https://github.com/ljharb)]) ##### Fixed - \[`order`]/TypeScript: properly support `import = object` expressions (\[[#​1823](https://github.com/import-js/eslint-plugin-import/issues/1823)], thanks \[[@​manuth](https://github.com/manuth)]) - \[`no-extraneous-dependencies`]/TypeScript: do not error when importing type from dev dependencies (\[[#​1820](https://github.com/import-js/eslint-plugin-import/issues/1820)], thanks \[[@​fernandopasik](https://github.com/fernandopasik)]) - \[`default`]: avoid crash with `export =` (\[[#​1822](https://github.com/import-js/eslint-plugin-import/issues/1822)], thanks \[[@​AndrewLeedham](https://github.com/AndrewLeedham)]) - \[`order`]/\[`newline-after-import`]: ignore TypeScript's "export import object" (\[[#​1830](https://github.com/import-js/eslint-plugin-import/issues/1830)], thanks \[[@​be5invis](https://github.com/be5invis)]) - \[`dynamic-import-chunkname`]/TypeScript: supports `@typescript-eslint/parser` (\[[#​1833](https://github.com/import-js/eslint-plugin-import/issues/1833)], thanks \[[@​noelebrun](https://github.com/noelebrun)]) - \[`order`]/TypeScript: ignore ordering of object imports (\[[#​1831](https://github.com/import-js/eslint-plugin-import/issues/1831)], thanks \[[@​manuth](https://github.com/manuth)]) - \[`namespace`]: do not report on shadowed import names (\[[#​518](https://github.com/import-js/eslint-plugin-import/issues/518)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`export`]: avoid warning on `export * as` non-conflicts (\[[#​1834](https://github.com/import-js/eslint-plugin-import/issues/1834)], thanks \[[@​ljharb](https://github.com/ljharb)]) ##### Changed - \[`no-extraneous-dependencies`]: add tests for importing types (\[[#​1824](https://github.com/import-js/eslint-plugin-import/issues/1824)], thanks \[[@​taye](https://github.com/taye)]) - \[docs] \[`no-default-export`]: Fix docs url (\[[#​1836](https://github.com/import-js/eslint-plugin-import/issues/1836)], thanks \[[@​beatrizrezener](https://github.com/beatrizrezener)]) - \[docs] \[`imports-first`]: deprecation info and link to `first` docs (\[[#​1835](https://github.com/import-js/eslint-plugin-import/issues/1835)], thanks \[[@​beatrizrezener](https://github.com/beatrizrezener)]) ### [`v2.21.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2212---2020-06-09) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.21.1...v2.21.2) ##### Fixed - \[`order`]: avoid a crash on TypeScript’s `export import` syntax (\[[#​1808](https://github.com/import-js/eslint-plugin-import/issues/1808)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`newline-after-import`]: consider TypeScript `import =` syntax' (\[[#​1811](https://github.com/import-js/eslint-plugin-import/issues/1811)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`no-internal-modules`]: avoid a crash on a named export declaration (\[[#​1814](https://github.com/import-js/eslint-plugin-import/issues/1814)], thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.21.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2211---2020-06-07) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.21.0...v2.21.1) ##### Fixed - TypeScript: \[`import/named`]: avoid requiring `typescript` when not using TS (\[[#​1805](https://github.com/import-js/eslint-plugin-import/issues/1805)], thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.21.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2210---2020-06-07) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.20.2...v2.21.0) ##### Added - \[`import/default`]: support default export in TSExportAssignment (\[[#​1528](https://github.com/import-js/eslint-plugin-import/issues/1528)], thanks \[[@​joaovieira](https://github.com/joaovieira)]) - \[`no-cycle`]: add `ignoreExternal` option (\[[#​1681](https://github.com/import-js/eslint-plugin-import/issues/1681)], thanks \[[@​sveyret](https://github.com/sveyret)]) - \[`order`]: Add support for TypeScript's "import equals"-expressions (\[[#​1785](https://github.com/import-js/eslint-plugin-import/issues/1785)], thanks \[[@​manuth](https://github.com/manuth)]) - \[`import/default`]: support default export in TSExportAssignment (\[[#​1689](https://github.com/import-js/eslint-plugin-import/issues/1689)], thanks \[[@​Maxim-Mazurok](https://github.com/Maxim-Mazurok)]) - \[`no-restricted-paths`]: add custom message support (\[[#​1802](https://github.com/import-js/eslint-plugin-import/issues/1802)], thanks \[[@​malykhinvi](https://github.com/malykhinvi)]) ##### Fixed - \[`group-exports`]: Flow type export awareness (\[[#​1702](https://github.com/import-js/eslint-plugin-import/issues/1702)], thanks \[[@​ernestostifano](https://github.com/ernestostifano)]) - \[`order`]: Recognize pathGroup config for first group (\[[#​1719](https://github.com/import-js/eslint-plugin-import/issues/1719)], \[[#​1724](https://github.com/import-js/eslint-plugin-import/issues/1724)], thanks \[[@​forivall](https://github.com/forivall)], \[[@​xpl](https://github.com/xpl)]) - \[`no-unused-modules`]: Fix re-export not counting as usage when used in combination with import (\[[#​1722](https://github.com/import-js/eslint-plugin-import/issues/1722)], thanks \[[@​Ephem](https://github.com/Ephem)]) - \[`no-duplicates`]: Handle TS import type (\[[#​1676](https://github.com/import-js/eslint-plugin-import/issues/1676)], thanks \[[@​kmui2](https://github.com/kmui2)]) - \[`newline-after-import`]: recognize decorators (\[[#​1139](https://github.com/import-js/eslint-plugin-import/issues/1139)], thanks \[[@​atos1990](https://github.com/atos1990)]) - \[`no-unused-modules`]: Revert "\[flow] \[`no-unused-modules`]: add flow type support" (\[[#​1770](https://github.com/import-js/eslint-plugin-import/issues/1770)], thanks \[[@​Hypnosphi](https://github.com/Hypnosphi)]) - TypeScript: Add nested namespace handling (\[[#​1763](https://github.com/import-js/eslint-plugin-import/issues/1763)], thanks \[[@​julien1619](https://github.com/julien1619)]) - \[`namespace`]/`ExportMap`: Fix interface declarations for TypeScript (\[[#​1764](https://github.com/import-js/eslint-plugin-import/issues/1764)], thanks \[[@​julien1619](https://github.com/julien1619)]) - \[`no-unused-modules`]: avoid order-dependence (\[[#​1744](https://github.com/import-js/eslint-plugin-import/issues/1744)], thanks \[[@​darkartur](https://github.com/darkartur)]) - \[`no-internal-modules`]: also check `export from` syntax (\[[#​1691](https://github.com/import-js/eslint-plugin-import/issues/1691)], thanks \[[@​adjerbetian](https://github.com/adjerbetian)]) - TypeScript: \[`export`]: avoid a crash with `export =` (\[[#​1801](https://github.com/import-js/eslint-plugin-import/issues/1801)], thanks \[[@​ljharb](https://github.com/ljharb)]) ##### Changed - \[Refactor] \[`no-extraneous-dependencies`]: use moduleVisitor (\[[#​1735](https://github.com/import-js/eslint-plugin-import/issues/1735)], thanks \[[@​adamborowski](https://github.com/adamborowski)]) - TypeScript config: Disable \[`named`]\[] (\[[#​1726](https://github.com/import-js/eslint-plugin-import/issues/1726)], thanks \[[@​astorije](https://github.com/astorije)]) - \[readme] Remove duplicate \[`no-unused-modules`] from docs (\[[#​1690](https://github.com/import-js/eslint-plugin-import/issues/1690)], thanks \[[@​arvigeus](https://github.com/arvigeus)]) - \[Docs] \[`order`]: fix bad inline config (\[[#​1788](https://github.com/import-js/eslint-plugin-import/issues/1788)], thanks \[[@​nickofthyme](https://github.com/nickofthyme)]) - \[Tests] Add fix for Windows Subsystem for Linux (\[[#​1786](https://github.com/import-js/eslint-plugin-import/issues/1786)], thanks \[[@​manuth](https://github.com/manuth)]) - \[Docs] \[`no-unused-rules`]: Fix docs for unused exports (\[[#​1776](https://github.com/import-js/eslint-plugin-import/issues/1776)], thanks \[[@​barbogast](https://github.com/barbogast)]) - \[eslint] bump minimum v7 version to v7.2.0 ### [`v2.20.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2202---2020-03-28) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.20.1...v2.20.2) ##### Fixed - \[`order`]: fix `isExternalModule` detect on windows (\[[#​1651](https://github.com/import-js/eslint-plugin-import/issues/1651)], thanks \[[@​fisker](https://github.com/fisker)]) - \[`order`]: recognize ".." as a "parent" path (\[[#​1658](https://github.com/import-js/eslint-plugin-import/issues/1658)], thanks \[[@​golopot](https://github.com/golopot)]) - \[`no-duplicates`]: fix fixer on cases with default import (\[[#​1666](https://github.com/import-js/eslint-plugin-import/issues/1666)], thanks \[[@​golopot](https://github.com/golopot)]) - \[`no-unused-modules`]: Handle `export { default } from` syntax (\[[#​1631](https://github.com/import-js/eslint-plugin-import/issues/1631)], thanks \[[@​richardxia](https://github.com/richardxia)]) - \[`first`]: Add a way to disable `absolute-first` explicitly (\[[#​1664](https://github.com/import-js/eslint-plugin-import/issues/1664)], thanks \[[@​TheCrueltySage](https://github.com/TheCrueltySage)]) - \[Docs] \[`no-webpack-loader-syntax`]: Updates webpack URLs (\[[#​1751](https://github.com/import-js/eslint-plugin-import/issues/1751)], thanks \[[@​MikeyBeLike](https://github.com/MikeyBeLike)]) ### [`v2.20.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2201---2020-02-01) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.20.0...v2.20.1) ##### Fixed - \[`export`]: Handle function overloading in `*.d.ts` (\[[#​1619](https://github.com/import-js/eslint-plugin-import/issues/1619)], thanks \[[@​IvanGoncharov](https://github.com/IvanGoncharov)]) - \[`no-absolute-path`]: fix a crash with invalid import syntax (\[[#​1616](https://github.com/import-js/eslint-plugin-import/issues/1616)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`import/external-module-folders` setting] now correctly works with directories containing modules symlinked from `node_modules` (\[[#​1605](https://github.com/import-js/eslint-plugin-import/issues/1605)], thanks \[[@​skozin](https://github.com/skozin)]) - \[`extensions`]: for invalid code where `name` does not exist, do not crash (\[[#​1613](https://github.com/import-js/eslint-plugin-import/issues/1613)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`extensions`]: Fix scope regex (\[[#​1611](https://github.com/import-js/eslint-plugin-import/issues/1611)], thanks \[[@​yordis](https://github.com/yordis)]) - \[`no-duplicates`]: allow duplicate imports if one is a namespace and the other not (\[[#​1612](https://github.com/import-js/eslint-plugin-import/issues/1612)], thanks \[[@​sveyret](https://github.com/sveyret)]) - Add some missing rule meta schemas and types (\[[#​1620](https://github.com/import-js/eslint-plugin-import/issues/1620)], thanks \[[@​bmish](https://github.com/bmish)]) - \[`named`]: for importing from a module which re-exports named exports from a `node_modules` module (\[[#​1569](https://github.com/import-js/eslint-plugin-import/issues/1569)], \[[#​1447](https://github.com/import-js/eslint-plugin-import/issues/1447)], thanks \[[@​redbugz](https://github.com/redbugz)], \[[@​kentcdodds](https://github.com/kentcdodds)]) - \[`order`]: Fix alphabetize for mixed requires and imports (\[[#​1626](https://github.com/import-js/eslint-plugin-import/issues/1626)], thanks \[[@​wschurman](https://github.com/wschurman)]) ##### Changed - \[`import/external-module-folders` setting] behavior is more strict now: it will only match complete path segments (\[[#​1605](https://github.com/import-js/eslint-plugin-import/issues/1605)], thanks \[[@​skozin](https://github.com/skozin)]) - \[meta] fix "files" field to include/exclude the proper files (\[[#​1635](https://github.com/import-js/eslint-plugin-import/issues/1635)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[Tests] \[`order`]: Add TS import type tests (\[[#​1736](https://github.com/import-js/eslint-plugin-import/issues/1736)], thanks \[[@​kmui2](https://github.com/kmui2)]) ### [`v2.20.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2200---2020-01-10) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.19.1...v2.20.0) ##### Added - \[`order`]: added `caseInsensitive` as an additional option to `alphabetize` (\[[#​1586](https://github.com/import-js/eslint-plugin-import/issues/1586)], thanks \[[@​dbrewer5](https://github.com/dbrewer5)]) - \[`no-restricted-paths`]: New `except` option per `zone`, allowing exceptions to be defined for a restricted zone (\[[#​1238](https://github.com/import-js/eslint-plugin-import/issues/1238)], thanks \[[@​rsolomon](https://github.com/rsolomon)]) - \[`order`]: add option pathGroupsExcludedImportTypes to allow ordering of external import types (\[[#​1565](https://github.com/import-js/eslint-plugin-import/issues/1565)], thanks \[[@​Mairu](https://github.com/Mairu)]) ##### Fixed - \[`no-unused-modules`]: fix usage of \[`import/extensions` setting] (\[[#​1560](https://github.com/import-js/eslint-plugin-import/issues/1560)], thanks \[[@​stekycz](https://github.com/stekycz)]) - \[`extensions`]: ignore non-main modules (\[[#​1563](https://github.com/import-js/eslint-plugin-import/issues/1563)], thanks \[[@​saschanaz](https://github.com/saschanaz)]) - TypeScript config: lookup for external modules in [@​types](https://github.com/types) folder (\[[#​1526](https://github.com/import-js/eslint-plugin-import/issues/1526)], thanks \[[@​joaovieira](https://github.com/joaovieira)]) - \[`no-extraneous-dependencies`]: ensure `node.source` is truthy (\[[#​1589](https://github.com/import-js/eslint-plugin-import/issues/1589)], thanks \[[@​ljharb](https://github.com/ljharb)]) - \[`extensions`]: Ignore query strings when checking for extensions (\[[#​1572](https://github.com/import-js/eslint-plugin-import/issues/1572)], thanks \[[@​pcorpet](https://github.com/pcorpet)]) ##### Docs - \[`extensions`]: improve `ignorePackages` docs (\[[#​1248](https://github.com/import-js/eslint-plugin-import/issues/1248)], thanks \[[@​ivo-stefchev](https://github.com/ivo-stefchev)]) ### [`v2.19.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2191---2019-12-08) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.19.0...v2.19.1) ##### Fixed - \[`no-extraneous-dependencies`]: ensure `node.source` exists ### [`v2.19.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2190---2019-12-08) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.18.2...v2.19.0) ##### Added - \[`internal-regex` setting]: regex pattern for marking packages "internal" (\[[#​1491](https://github.com/import-js/eslint-plugin-import/issues/1491)], thanks \[[@​Librazy](https://github.com/Librazy)]) - \[`group-exports`]: make aggregate module exports valid (\[[#​1472](https://github.com/import-js/eslint-plugin-import/issues/1472)], thanks \[[@​atikenny](https://github.com/atikenny)]) - \[`no-namespace`]: Make rule fixable (\[[#​1401](https://github.com/import-js/eslint-plugin-import/issues/1401)], thanks \[[@​TrevorBurnham](https://github.com/TrevorBurnham)]) - support `parseForESLint` from custom parser (\[[#​1435](https://github.com/import-js/eslint-plugin-import/issues/1435)], thanks \[[@​JounQin](https://github.com/JounQin)]) - \[`no-extraneous-dependencies`]: Implement support for [bundledDependencies](https://npm.github.io/using-pkgs-docs/package-json/types/bundleddependencies.html) (\[[#​1436](https://github.com/import-js/eslint-plugin-import/issues/1436)], thanks \[[@​schmidsi](https://github.com/schmidsi)])) - \[`no-unused-modules`]: add flow type support (\[[#​1542](https://github.com/import-js/eslint-plugin-import/issues/1542)], thanks \[[@​rfermann](https://github.com/rfermann)]) - \[`order`]: Adds support for pathGroups to allow ordering by defined patterns (\[[#​795](https://github.com/import-js/eslint-plugin-import/issues/795)], \[[#​1386](https://github.com/import-js/eslint-plugin-import/issues/1386)], thanks \[[@​Mairu](https://github.com/Mairu)]) - \[`no-duplicates`]: Add `considerQueryString` option : allow duplicate imports with different query strings (\[[#​1107](https://github.com/import-js/eslint-plugin-import/issues/1107)], thanks \[[@​pcorpet](https://github.com/pcorpet)]). - \[`order`]: Add support for alphabetical sorting of import paths within import groups (\[[#​1360](https://github.com/import-js/eslint-plugin-import/issues/1360)], \[[#​1105](https://github.com/import-js/eslint-plugin-import/issues/1105)], \[[#​629](https://github.com/import-js/eslint-plugin-import/issues/629)], thanks \[[@​duncanbeevers](https://github.com/duncanbeevers)], \[[@​stropho](https://github.com/stropho)], \[[@​luczsoma](https://github.com/luczsoma)], \[[@​randallreedjr](https://github.com/randallreedjr)]) - \[`no-commonjs`]: add `allowConditionalRequire` option (\[[#​1439](https://github.com/import-js/eslint-plugin-import/issues/1439)], thanks \[[@​Pessimistress](https://github.com/Pessimistress)]) ##### Fixed - \[`default`]: make error message less confusing (\[[#​1470](https://github.com/import-js/eslint-plugin-import/issues/1470)], thanks \[[@​golopot](https://github.com/golopot)]) - Improve performance of `ExportMap.for` by only loading paths when necessary. (\[[#​1519](https://github.com/import-js/eslint-plugin-import/issues/1519)], thanks \[[@​brendo](https://github.com/brendo)]) - Support export of a merged TypeScript namespace declaration (\[[#​1495](https://github.com/import-js/eslint-plugin-import/issues/1495)], thanks \[[@​benmunro](https://github.com/benmunro)]) - \[`order`]: fix autofix to not move imports across fn calls (\[[#​1253](https://github.com/import-js/eslint-plugin-import/issues/1253)], thanks \[[@​tihonove](https://github.com/tihonove)]) - \[`prefer-default-export`]: fix false positive with type export (\[[#​1506](https://github.com/import-js/eslint-plugin-import/issues/1506)], thanks \[[@​golopot](https://github.com/golopot)]) - \[`extensions`]: Fix `ignorePackages` to produce errors (\[[#​1521](https://github.com/import-js/eslint-plugin-import/issues/1521)], thanks \[[@​saschanaz](https://github.com/saschanaz)]) - \[`no-unused-modules`]: fix crash due to `export *` (\[[#​1496](https://github.com/import-js/eslint-plugin-import/issues/1496)], thanks \[[@​Taranys](https://github.com/Taranys)]) - \[`no-cycle`]: should not warn for Flow imports (\[[#​1494](https://github.com/import-js/eslint-plugin-import/issues/1494)], thanks \[[@​maxmalov](https://github.com/maxmalov)]) - \[`order`]: fix `@someModule` considered as `unknown` instead of `internal` (\[[#​1493](https://github.com/import-js/eslint-plugin-import/issues/1493)], thanks \[[@​aamulumi](https://github.com/aamulumi)]) - \[`no-extraneous-dependencies`]: Check `export from` (\[[#​1049](https://github.com/import-js/eslint-plugin-import/issues/1049)], thanks \[[@​marcusdarmstrong](https://github.com/marcusdarmstrong)]) ##### Docs - \[`no-useless-path-segments`]: add docs for option `commonjs` (\[[#​1507](https://github.com/import-js/eslint-plugin-import/issues/1507)], thanks \[[@​golopot](https://github.com/golopot)]) ##### Changed - \[`no-unused-modules`]/`eslint-module-utils`: Avoid superfluous calls and code (\[[#​1551](https://github.com/import-js/eslint-plugin-import/issues/1551)], thanks \[[@​brettz9](https://github.com/brettz9)]) ### [`v2.18.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2182---2019-07-19) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.18.1...v2.18.2) ##### Fixed - Skip warning on type interfaces (\[[#​1425](https://github.com/import-js/eslint-plugin-import/issues/1425)], thanks \[[@​lencioni](https://github.com/lencioni)]) ### [`v2.18.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2181---2019-07-18) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.18.0...v2.18.1) ##### Fixed - Improve parse perf when using `@typescript-eslint/parser` (\[[#​1409](https://github.com/import-js/eslint-plugin-import/issues/1409)], thanks \[[@​bradzacher](https://github.com/bradzacher)]) - \[`prefer-default-export`]: don't warn on TypeAlias & TSTypeAliasDeclaration (\[[#​1377](https://github.com/import-js/eslint-plugin-import/issues/1377)], thanks \[[@​sharmilajesupaul](https://github.com/sharmilajesupaul)]) - \[`no-unused-modules`]: Exclude package "main"/"bin"/"browser" entry points (\[[#​1404](https://github.com/import-js/eslint-plugin-import/issues/1404)], thanks \[[@​rfermann](https://github.com/rfermann)]) - \[`export`]: false positive for TypeScript overloads (\[[#​1412](https://github.com/import-js/eslint-plugin-import/issues/1412)], thanks \[[@​golopot](https://github.com/golopot)]) ##### Refactors - \[`no-extraneous-dependencies`], `importType`: remove lodash (\[[#​1419](https://github.com/import-js/eslint-plugin-import/issues/1419)], thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.18.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2180---2019-06-24) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.17.3...v2.18.0) ##### Added - Support eslint v6 (\[[#​1393](https://github.com/import-js/eslint-plugin-import/issues/1393)], thanks \[[@​sheepsteak](https://github.com/sheepsteak)]) - \[`order`]: Adds support for correctly sorting unknown types into a single group (\[[#​1375](https://github.com/import-js/eslint-plugin-import/issues/1375)], thanks \[[@​swernerx](https://github.com/swernerx)]) - \[`order`]: add fixer for destructuring commonjs import (\[[#​1372](https://github.com/import-js/eslint-plugin-import/issues/1372)], thanks \[[@​golopot](https://github.com/golopot)]) - TypeScript config: add TS def extensions + defer to TS over JS (\[[#​1366](https://github.com/import-js/eslint-plugin-import/issues/1366)], thanks \[[@​benmosher](https://github.com/benmosher)]) ##### Fixed - \[`no-unused-modules`]: handle ClassDeclaration (\[[#​1371](https://github.com/import-js/eslint-plugin-import/issues/1371)], thanks \[[@​golopot](https://github.com/golopot)]) ##### Docs - \[`no-cycle`]: split code examples so file separation is obvious (\[[#​1370](https://github.com/import-js/eslint-plugin-import/issues/1370)], thanks \[[@​alex-page](https://github.com/alex-page)]) - \[`no-named-as-default-member`]: update broken link (\[[#​1389](https://github.com/import-js/eslint-plugin-import/issues/1389)], thanks \[[@​fooloomanzoo](https://github.com/fooloomanzoo)]) ### [`v2.17.3`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2173---2019-05-23) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.17.2...v2.17.3) ##### Fixed - \[`no-common-js`]: Also throw an error when assigning (\[[#​1354](https://github.com/import-js/eslint-plugin-import/issues/1354)], thanks \[[@​charlessuh](https://github.com/charlessuh)]) - \[`no-unused-modules`]: don't crash when lint file outside src-folder (\[[#​1347](https://github.com/import-js/eslint-plugin-import/issues/1347)], thanks \[[@​rfermann](https://github.com/rfermann)]) - \[`no-unused-modules`]: make `import { name as otherName }` work (\[[#​1340](https://github.com/import-js/eslint-plugin-import/issues/1340)], \[[#​1342](https://github.com/import-js/eslint-plugin-import/issues/1342)], thanks \[[@​rfermann](https://github.com/rfermann)]) - \[`no-unused-modules`]: make appveyor tests passing (\[[#​1333](https://github.com/import-js/eslint-plugin-import/issues/1333)], thanks \[[@​rfermann](https://github.com/rfermann)]) - \[`named`]: ignore Flow `typeof` imports and `type` exports (\[[#​1345](https://github.com/import-js/eslint-plugin-import/issues/1345)], thanks \[[@​loganfsmyth](https://github.com/loganfsmyth)]) - \[refactor] fix eslint 6 compat by fixing imports (thank \[[@​ljharb](https://github.com/ljharb)]) - Improve support for TypeScript declare structures (\[[#​1356](https://github.com/import-js/eslint-plugin-import/issues/1356)], thanks \[[@​christophercurrie](https://github.com/christophercurrie)]) ##### Docs - add missing \[`no-unused-modules`] in README (\[[#​1358](https://github.com/import-js/eslint-plugin-import/issues/1358)], thanks \[[@​golopot](https://github.com/golopot)]) - \[`no-unused-modules`]: Indicates usage, plugin defaults to no-op, and add description to main README.md (\[[#​1352](https://github.com/import-js/eslint-plugin-import/issues/1352)], thanks \[[@​johndevedu](https://github.com/johndevedu)]) - Document `env` option for `eslint-import-resolver-webpack` (\[[#​1363](https://github.com/import-js/eslint-plugin-import/issues/1363)], thanks \[[@​kgregory](https://github.com/kgregory)]) ### [`v2.17.2`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2172---2019-04-16) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.17.1...v2.17.2) ##### Fixed - \[`no-unused-modules`]: avoid crash when using `ignoreExports`-option (\[[#​1331](https://github.com/import-js/eslint-plugin-import/issues/1331)], \[[#​1323](https://github.com/import-js/eslint-plugin-import/issues/1323)], thanks \[[@​rfermann](https://github.com/rfermann)]) - \[`no-unused-modules`]: make sure that rule with no options will not fail (\[[#​1330](https://github.com/import-js/eslint-plugin-import/issues/1330)], \[[#​1334](https://github.com/import-js/eslint-plugin-import/issues/1334)], thanks \[[@​kiwka](https://github.com/kiwka)]) ### [`v2.17.1`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2171---2019-04-13) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.17.0...v2.17.1) ##### Fixed - require v2.4 of `eslint-module-utils` (\[[#​1322](https://github.com/import-js/eslint-plugin-import/issues/1322)]) ### [`v2.17.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2170---2019-04-13) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.16.0...v2.17.0) ##### Added - \[`no-useless-path-segments`]: Add `noUselessIndex` option (\[[#​1290](https://github.com/import-js/eslint-plugin-import/issues/1290)], thanks \[[@​timkraut](https://github.com/timkraut)]) - \[`no-duplicates`]: Add autofix (\[[#​1312](https://github.com/import-js/eslint-plugin-import/issues/1312)], thanks \[[@​lydell](https://github.com/lydell)]) - Add \[`no-unused-modules`] rule (\[[#​1142](https://github.com/import-js/eslint-plugin-import/issues/1142)], thanks \[[@​rfermann](https://github.com/rfermann)]) - support export type named exports from TypeScript (\[[#​1304](https://github.com/import-js/eslint-plugin-import/issues/1304)], thanks \[[@​bradennapier](https://github.com/bradennapier)] and \[[@​schmod](https://github.com/schmod)]) ##### Fixed - \[`order`]: Fix interpreting some external modules being interpreted as internal modules (\[[#​793](https://github.com/import-js/eslint-plugin-import/issues/793)], \[[#​794](https://github.com/import-js/eslint-plugin-import/issues/794)] thanks \[[@​ephys](https://github.com/ephys)]) - allow aliases that start with @​ to be "internal" (\[[#​1293](https://github.com/import-js/eslint-plugin-import/issues/1293)], \[[#​1294](https://github.com/import-js/eslint-plugin-import/issues/1294)], thanks \[[@​jeffshaver](https://github.com/jeffshaver)]) - aliased internal modules that look like core modules (\[[#​1297](https://github.com/import-js/eslint-plugin-import/issues/1297)], thanks \[[@​echenley](https://github.com/echenley)]) - \[`namespace`]: add check for null ExportMap (\[[#​1235](https://github.com/import-js/eslint-plugin-import/issues/1235)], \[[#​1144](https://github.com/import-js/eslint-plugin-import/issues/1144)], thanks \[[@​ljqx](https://github.com/ljqx)]) - \[ExportMap] fix condition for checking if block comment (\[[#​1234](https://github.com/import-js/eslint-plugin-import/issues/1234)], \[[#​1233](https://github.com/import-js/eslint-plugin-import/issues/1233)], thanks \[[@​ljqx](https://github.com/ljqx)]) - Fix overwriting of dynamic import() CallExpression (\[`no-cycle`], \[`no-relative-parent-imports`], \[`no-unresolved`], \[`no-useless-path-segments`]) (\[[#​1218](https://github.com/import-js/eslint-plugin-import/issues/1218)], \[[#​1166](https://github.com/import-js/eslint-plugin-import/issues/1166)], \[[#​1035](https://github.com/import-js/eslint-plugin-import/issues/1035)], thanks \[[@​vikr01](https://github.com/vikr01)]) - \[`export`]: false positives for TypeScript type + value export (\[[#​1319](https://github.com/import-js/eslint-plugin-import/issues/1319)], thanks \[[@​bradzacher](https://github.com/bradzacher)]) - \[`export`]: Support TypeScript namespaces (\[[#​1320](https://github.com/import-js/eslint-plugin-import/issues/1320)], \[[#​1300](https://github.com/import-js/eslint-plugin-import/issues/1300)], thanks \[[@​bradzacher](https://github.com/bradzacher)]) ##### Docs - Update readme for TypeScript (\[[#​1256](https://github.com/import-js/eslint-plugin-import/issues/1256)], \[[#​1277](https://github.com/import-js/eslint-plugin-import/issues/1277)], thanks \[[@​kirill-konshin](https://github.com/kirill-konshin)]) - make rule names consistent (\[[#​1112](https://github.com/import-js/eslint-plugin-import/issues/1112)], thanks \[[@​feychenie](https://github.com/feychenie)]) ##### Tests - fix broken tests on master (\[[#​1295](https://github.com/import-js/eslint-plugin-import/issues/1295)], thanks \[[@​jeffshaver](https://github.com/jeffshaver)] and \[[@​ljharb](https://github.com/ljharb)]) - \[`no-commonjs`]: add tests that show corner cases (\[[#​1308](https://github.com/import-js/eslint-plugin-import/issues/1308)], thanks \[[@​TakeScoop](https://github.com/TakeScoop)]) ### [`v2.16.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2160---2019-01-29) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.15.0...v2.16.0) ##### Added - `typescript` config (\[[#​1257](https://github.com/import-js/eslint-plugin-import/issues/1257)], thanks \[[@​kirill-konshin](https://github.com/kirill-konshin)]) ##### Fixed - Memory leak of `SourceCode` objects for all parsed dependencies, resolved. (issue \[[#​1266](https://github.com/import-js/eslint-plugin-import/issues/1266)], thanks \[[@​asapach](https://github.com/asapach)] and \[[@​sergei-startsev](https://github.com/sergei-startsev)] for digging in) ### [`v2.15.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2150---2019-01-22) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.14.0...v2.15.0) ##### Added - new rule: \[`no-named-export`] (\[[#​1157](https://github.com/import-js/eslint-plugin-import/issues/1157)], thanks \[[@​fsmaia](https://github.com/fsmaia)]) ##### Fixed - \[`no-extraneous-dependencies`]: `packageDir` option with array value was clobbering package deps instead of merging them (\[[#​1175](https://github.com/import-js/eslint-plugin-import/issues/1175)]/\[[#​1176](https://github.com/import-js/eslint-plugin-import/issues/1176)], thanks \[[@​aravindet](https://github.com/aravindet)] & \[[@​pzhine](https://github.com/pzhine)]) - \[`dynamic-import-chunkname`]: Add proper webpack comment parsing (\[[#​1163](https://github.com/import-js/eslint-plugin-import/issues/1163)], thanks \[[@​st-sloth](https://github.com/st-sloth)]) - \[`named`]: fix destructuring assignment (\[[#​1232](https://github.com/import-js/eslint-plugin-import/issues/1232)], thanks \[[@​ljqx](https://github.com/ljqx)]) ### [`v2.14.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2140---2018-08-13) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.13.0...v2.14.0) ##### Added - \[`no-useless-path-segments`]: add commonJS (CJS) support (\[[#​1128](https://github.com/import-js/eslint-plugin-import/issues/1128)], thanks \[[@​1pete](https://github.com/1pete)]) - \[`namespace`]: add JSX check (\[[#​1151](https://github.com/import-js/eslint-plugin-import/issues/1151)], thanks \[[@​jf248](https://github.com/jf248)]) ##### Fixed - \[`no-cycle`]: ignore Flow imports (\[[#​1126](https://github.com/import-js/eslint-plugin-import/issues/1126)], thanks \[[@​gajus](https://github.com/gajus)]) - fix Flow type imports (\[[#​1106](https://github.com/import-js/eslint-plugin-import/issues/1106)], thanks \[[@​syymza](https://github.com/syymza)]) - \[`no-relative-parent-imports`]: resolve paths (\[[#​1135](https://github.com/import-js/eslint-plugin-import/issues/1135)], thanks \[[@​chrislloyd](https://github.com/chrislloyd)]) - \[`order`]: fix autofixer when using typescript-eslint-parser (\[[#​1137](https://github.com/import-js/eslint-plugin-import/issues/1137)], thanks \[[@​justinanastos](https://github.com/justinanastos)]) - repeat fix from \[[#​797](https://github.com/import-js/eslint-plugin-import/issues/797)] for \[[#​717](https://github.com/import-js/eslint-plugin-import/issues/717)], in another place (thanks \[[@​ljharb](https://github.com/ljharb)]) ##### Refactors - add explicit support for RestElement alongside ExperimentalRestProperty (thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.13.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2130---2018-06-24) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.12.0...v2.13.0) ##### Added - Add ESLint 5 support (\[[#​1122](https://github.com/import-js/eslint-plugin-import/issues/1122)], thanks \[[@​ai](https://github.com/ai)] and \[[@​ljharb](https://github.com/ljharb)]) - Add \[`no-relative-parent-imports`] rule: disallow relative imports from parent directories (\[[#​1093](https://github.com/import-js/eslint-plugin-import/issues/1093)], thanks \[[@​chrislloyd](https://github.com/chrislloyd)]) ##### Fixed - `namespace` rule: ensure it works in eslint 5/ecmaVersion 2018 (thanks \[[@​ljharb](https://github.com/ljharb)]) ### [`v2.12.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2120---2018-05-17) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.11.0...v2.12.0) ##### Added - Ignore type imports for \[`named`] rule (\[[#​931](https://github.com/import-js/eslint-plugin-import/issues/931)], thanks \[[@​mattijsbliek](https://github.com/mattijsbliek)]) - Add documentation for \[`no-useless-path-segments`] rule (\[[#​1068](https://github.com/import-js/eslint-plugin-import/issues/1068)], thanks \[[@​manovotny](https://github.com/manovotny)]) - `packageDir` option for \[`no-extraneous-dependencies`] can be array-valued (\[[#​1085](https://github.com/import-js/eslint-plugin-import/issues/1085)], thanks \[[@​hulkish](https://github.com/hulkish)]) ### [`v2.11.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2110---2018-04-09) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.10.0...v2.11.0) ##### Added - Fixer for \[`first`] (\[[#​1046](https://github.com/import-js/eslint-plugin-import/issues/1046)], thanks \[[@​fengkfengk](https://github.com/fengkfengk)]) - `allow-require` option for \[`no-commonjs`] rule (\[[#​880](https://github.com/import-js/eslint-plugin-import/issues/880)], thanks \[[@​futpib](https://github.com/futpib)]) ##### Fixed - memory/CPU regression where ASTs were held in memory (\[[#​1058](https://github.com/import-js/eslint-plugin-import/issues/1058)], thanks \[[@​klimashkin](https://github.com/klimashkin)]/\[[@​lukeapage](https://github.com/lukeapage)]) ### [`v2.10.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#2100---2018-03-29) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.9.0...v2.10.0) ##### Added - Autofixer for \[`order`] rule (\[[#​908](https://github.com/import-js/eslint-plugin-import/issues/908)], thanks \[[@​tihonove](https://github.com/tihonove)]) - Add \[`no-cycle`] rule: reports import cycles. ### [`v2.9.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#290---2018-02-21) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.8.0...v2.9.0) ##### Added - Add \[`group-exports`] rule: style-guide rule to report use of multiple named exports (\[[#​721](https://github.com/import-js/eslint-plugin-import/issues/721)], thanks \[[@​robertrossmann](https://github.com/robertrossmann)]) - Add \[`no-self-import`] rule: forbids a module from importing itself. (\[[#​727](https://github.com/import-js/eslint-plugin-import/issues/727)], \[[#​449](https://github.com/import-js/eslint-plugin-import/issues/449)], \[[#​447](https://github.com/import-js/eslint-plugin-import/issues/447)], thanks \[[@​giodamelio](https://github.com/giodamelio)]). - Add \[`no-default-export`] rule (\[[#​889](https://github.com/import-js/eslint-plugin-import/issues/889)], thanks \[[@​isiahmeadows](https://github.com/isiahmeadows)]) - Add \[`no-useless-path-segments`] rule (\[[#​912](https://github.com/import-js/eslint-plugin-import/issues/912)], thanks \[[@​graingert](https://github.com/graingert)] and \[[@​danny-andrews](https://github.com/danny-andrews)]) - ... and more! check the commits for v\[2.9.0] ### [`v2.8.0`](https://github.com/import-js/eslint-plugin-import/blob/HEAD/CHANGELOG.md#280---2017-10-18) [Compare Source](https://github.com/import-js/eslint-plugin-import/compare/v2.7.0...v2.8.0) ##### Added - \[`exports-last`] rule (\[[#​620](https://github.com/import-js/eslint-plugin-import/issues/620)] + \[[#​632](https://github.com/import-js/eslint-plugin-import/issues/632)], thanks \[[@​k15a](https://github.com/k15a)]) ##### Changed - Case-sensitivity checking ignores working directory and ancestors. (\[[#​720](https://github.com/import-js/eslint-plugin-import/issues/720)] + \[[#​858](https://github.com/import-js/eslint-plugin-import/issues/858)], thanks \[[@​laysent](https://github.com/laysent)]) ##### Fixed - support scoped modules containing hyphens (\[[#​744](https://github.com/import-js/eslint-plugin-import/issues/744)], thanks \[[@​rosswarren](https://github.com/rosswarren)]) - core-modules now resolves files inside declared modules (\[[#​886](https://github.com/import-js/eslint-plugin-import/issues/886)] / \[[#​891](https://github.com/import-js/eslint-plugin-import/issues/891)], thanks \[[@​mplewis](https://github.com/mplewis)]) - TypeError for missing AST fields from TypeScript (\[[#​842](https://github.com/import-js/eslint-plugin-import/issues/842)] / \[[#​944](https://github.com/import-js/eslint-plugin-import/issues/944)], thanks \[[@​alexgorbatchev](https://github.com/alexgorbatchev)]) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 3pm on Sunday" in timezone America/New_York, 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43Ny4wIiwidXBkYXRlZEluVmVyIjoiMzYuNzcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Reviewed-on: #4 Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
29f8c298e6 |
Update linters (major) (#5)
Reviewed-on: #5 Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
72a3142437 |
Configure Renovate (#1)
Welcome to [Renovate](https://github.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. 🚦 To activate Renovate, merge this Pull Request. To disable Renovate, simply close this Pull Request unmerged. --- ### Detected Package Files * `package.json` (npm) ### Configuration Summary Based on the default config's presets, Renovate will: - Start dependency updates only once this onboarding PR is merged - Enable Renovate Dependency Dashboard creation. - Use semantic commit type `fix` for dependencies and `chore` for all others if semantic commits are in use. - Ignore `node_modules`, `bower_components`, `vendor` and various test/tests directories. - Group known monorepo packages together. - Use curated list of recommended non-monorepo package groupings. - Apply crowd-sourced package replacement rules. - Apply crowd-sourced workarounds for known problems with packages. 🔡 Would you like to change the way Renovate is upgrading your dependencies? Simply edit the `renovate.json` in this branch with your custom config and the list of Pull Requests in the "What to Expect" section below will be updated the next time Renovate runs. --- ### What to Expect With your current configuration, Renovate will create 7 Pull Requests: <details> <summary>Update dependency request-promise-native to v1.0.9</summary> - Schedule: ["at any time"] - Branch name: `renovate/request-promise-native-1.x-lockfile` - Merge into: `main` - Upgrade [request-promise-native](https://github.com/request/request-promise-native) to `1.0.9` </details> <details> <summary>Update dependency eslint to v4.19.1</summary> - Schedule: ["at any time"] - Branch name: `renovate/eslint-4.x-lockfile` - Merge into: `main` - Upgrade [eslint](https://github.com/eslint/eslint) to `4.19.1` </details> <details> <summary>Update dependency eslint-config-airbnb-base to v12.1.0</summary> - Schedule: ["at any time"] - Branch name: `renovate/eslint-config-airbnb-base-12.x-lockfile` - Merge into: `main` - Upgrade [eslint-config-airbnb-base](https://github.com/airbnb/javascript) to `12.1.0` </details> <details> <summary>Update dependency eslint-plugin-import to v2.28.1</summary> - Schedule: ["at any time"] - Branch name: `renovate/eslint-plugin-import-2.x-lockfile` - Merge into: `main` - Upgrade [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) to `2.28.1` </details> <details> <summary>Update dependency eslint to v8</summary> - Schedule: ["at any time"] - Branch name: `renovate/eslint-8.x` - Merge into: `main` - Upgrade [eslint](https://github.com/eslint/eslint) to `^8.0.0` </details> <details> <summary>Update dependency eslint-config-airbnb-base to v15</summary> - Schedule: ["at any time"] - Branch name: `renovate/eslint-config-airbnb-base-15.x` - Merge into: `main` - Upgrade [eslint-config-airbnb-base](https://github.com/airbnb/javascript) to `^15.0.0` </details> <details> <summary>Update dependency eslint-plugin-jsx-a11y to v6</summary> - Schedule: ["at any time"] - Branch name: `renovate/eslint-plugin-jsx-a11y-6.x` - Merge into: `main` - Upgrade [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) to `6.7` </details> <br /> 🚸 Branch creation will be limited to maximum 2 per hour, so it doesn't swamp any CI resources or overwhelm the project. See docs for `prhourlylimit` for details. --- ❓ Got questions? Check out Renovate's [Docs](https://docs.renovatebot.com/), particularly the Getting Started section. If you need any further assistance then you can also [request help here](https://github.com/renovatebot/renovate/discussions). --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-config-hash:e80b4e42a3043bc12fa0640db4bac392d2bf770acf841360d7c8ceeeac2ec1a9--> Co-authored-by: chris b <blue.iron1752@chrisb.xyz> Reviewed-on: #1 Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz> Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz> |
|
|
7fcf17fdb8 |
Updated to use classes
There should be no breaking changes, however I'm moving to 1.0 for cases where people might be using a version of node that doesn't support es6 classes |
|
|
a9597b0694 |
No more vars
(Just lets and consts) |
|
|
db0631e42e | 0.2.3 | |
|
ad1799b1d3 | I broke everything 😢 | |
|
e90bcb05d5 | 0.2.2 | |
|
82568502ef | No more arrow functions in prototypes | |
|
de4aaa58f6 | 0.2.1 | |
|
a86fff87e7 | Switching to arrow functions for terseness |