Changelog
*Sourced from [eslint-plugin-import's changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md).*
> ## [2.19.1] - 2019-12-08
> ### Fixed
> - [`no-extraneous-dependencies`]: ensure `node.source` exists
>
> ## [2.19.0] - 2019-12-08
> ### Added
> - [`internal-regex`]: regex pattern for marking packages "internal" ([#1491](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1491), thanks [@Librazy])
> - [`group-exports`]: make aggregate module exports valid ([#1472](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1472), thanks [@atikenny])
> - [`no-namespace`]: Make rule fixable ([#1401](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1401), thanks [@TrevorBurnham])
> - support `parseForESLint` from custom parser ([#1435](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1435), thanks [@JounQin])
> - [`no-extraneous-dependencies`]: Implement support for [bundledDependencies](https://npm.github.io/using-pkgs-docs/package-json/types/bundleddependencies.html) ([#1436](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1436), thanks [@schmidsi]))
> - [`no-unused-modules`]: add flow type support ([#1542](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1542), thanks [@rfermann])
> - [`order`]: Adds support for pathGroups to allow ordering by defined patterns ([#795](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/795), [#1386](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1386), thanks [@Mairu])
> - [`no-duplicates`]: Add `considerQueryString` option : allow duplicate imports with different query strings ([#1107](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1107), thanks [@pcorpet]).
> - [`order`]: Add support for alphabetical sorting of import paths within import groups ([#1360](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1360), [#1105](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1105), [#629](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/629), thanks [@duncanbeevers], [@stropho], [@luczsoma], [@randallreedjr])
> - [`no-commonjs`]: add `allowConditionalRequire` option ([#1439](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1439), thanks [@Pessimistress])
>
> ### Fixed
> - [`default`]: make error message less confusing ([#1470](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1470), thanks [@golopot])
> - Improve performance of `ExportMap.for` by only loading paths when necessary. ([#1519](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1519), thanks [@brendo])
> - Support export of a merged TypeScript namespace declaration ([#1495](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1495), thanks [@benmunro])
> - [`order`]: fix autofix to not move imports across fn calls ([#1253](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1253), thanks [@tihonove])
> - [`prefer-default-export`]: fix false positive with type export ([#1506](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1506), thanks [@golopot])
> - [`extensions`]: Fix `ignorePackages` to produce errors ([#1521](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1521), thanks [@saschanaz])
> - [`no-unused-modules`]: fix crash due to `export *` ([#1496](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1496), thanks [@Taranys])
> - [`no-cycle`]: should not warn for Flow imports ([#1494](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1494), thanks [@maxmalov])
> - [`order`]: fix `@someModule` considered as `unknown` instead of `internal` ([#1493](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1493), thanks [@aamulumi])
> - [`no-extraneous-dependencies`]: Check `export from` ([#1049](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1049), thanks [@marcusdarmstrong])
>
> ### Docs
> - [`no-useless-path-segments`]: add docs for option `commonjs` ([#1507](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1507), thanks [@golopot])
>
> ### Changed
> - [`no-unused-modules`]/`eslint-module-utils`: Avoid superfluous calls and code ([#1551](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1551), thanks [@brettz9])
>
> ## [2.18.2] - 2019-07-19
> ### Fixed
> - Skip warning on type interfaces ([#1425](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1425), thanks [@lencioni])
>
> ## [2.18.1] - 2019-07-18
> ### Fixed
> - Improve parse perf when using `@typescript-eslint/parser` ([#1409](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1409), thanks [@bradzacher])
> - [`prefer-default-export`]: don't warn on TypeAlias & TSTypeAliasDeclaration ([#1377](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1377), thanks [@sharmilajesupaul])
> - [`no-unused-modules`]: Exclude package "main"/"bin"/"browser" entry points ([#1404](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1404), thanks [@rfermann])
> - [`export`]: false positive for TypeScript overloads ([#1412](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1412), thanks [@golopot])
>
> ### Refactors
> - [`no-extraneous-dependencies`], `importType`: remove lodash ([#1419](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1419), thanks [@ljharb])
>
> ## [2.18.0] - 2019-06-24
> ... (truncated)
Commits
- [`bc3b034`](https://github.com/benmosher/eslint-plugin-import/commit/bc3b034b59a034b4aa47b8a9e74f48fe0e14e997) Bump to v2.19.1
- [`be7efb1`](https://github.com/benmosher/eslint-plugin-import/commit/be7efb14e44c201faae9af39737a17d037162b37) [Fix] `no-extraneous-dependencies`: ensure `node.source` exists
- [`9b76635`](https://github.com/benmosher/eslint-plugin-import/commit/9b76635160cdbf4e0f1f34b9757da81aeb1882f9) Bump to v2.19.0
- [`47a232e`](https://github.com/benmosher/eslint-plugin-import/commit/47a232e5a8e9b14484d48c7ad7c1879dee1dc6bc) [resolvers/webpack] v0.12.0
- [`26ad476`](https://github.com/benmosher/eslint-plugin-import/commit/26ad476cbc0da3469acd25a35ddac4d111fb565e) [resolvers/webpack] [deps] update `debug`, `enhanced-resolve`, `has`, `interp...
- [`3f0e8f3`](https://github.com/benmosher/eslint-plugin-import/commit/3f0e8f3553266fa6abf74efd822e41e1991a20a6) [resolvers/node] [Deps] update `resolve`
- [`7190c3e`](https://github.com/benmosher/eslint-plugin-import/commit/7190c3e927550e48d8e4e7d5383f4e1bff9253ea) bump utils to v2.5.0
- [`a60e5c6`](https://github.com/benmosher/eslint-plugin-import/commit/a60e5c64541610df6d82eeddce6468067f770a18) [New] `no-commonjs`: add `allowConditionalRequire` option
- [`414c923`](https://github.com/benmosher/eslint-plugin-import/commit/414c9233386e5a4e525364f8a24a59b84dbae877) [New] enable passing cwd as an option to `eslint-import-resolver-webpack`
- [`8224e51`](https://github.com/benmosher/eslint-plugin-import/commit/8224e51670c636b4b2be8bb2895cd6fed79cd3d2) [New] `order`/`no-extraneous-dependencies`: Alphabetize imports within groups
- Additional commits viewable in [compare view](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.3...v2.19.1)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps eslint-plugin-import from 2.17.3 to 2.19.1.
Changelog
*Sourced from [eslint-plugin-import's changelog](https://github.com/benmosher/eslint-plugin-import/blob/master/CHANGELOG.md).* > ## [2.19.1] - 2019-12-08 > ### Fixed > - [`no-extraneous-dependencies`]: ensure `node.source` exists > > ## [2.19.0] - 2019-12-08 > ### Added > - [`internal-regex`]: regex pattern for marking packages "internal" ([#1491](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1491), thanks [@Librazy]) > - [`group-exports`]: make aggregate module exports valid ([#1472](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1472), thanks [@atikenny]) > - [`no-namespace`]: Make rule fixable ([#1401](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1401), thanks [@TrevorBurnham]) > - support `parseForESLint` from custom parser ([#1435](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1435), thanks [@JounQin]) > - [`no-extraneous-dependencies`]: Implement support for [bundledDependencies](https://npm.github.io/using-pkgs-docs/package-json/types/bundleddependencies.html) ([#1436](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1436), thanks [@schmidsi])) > - [`no-unused-modules`]: add flow type support ([#1542](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1542), thanks [@rfermann]) > - [`order`]: Adds support for pathGroups to allow ordering by defined patterns ([#795](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/795), [#1386](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1386), thanks [@Mairu]) > - [`no-duplicates`]: Add `considerQueryString` option : allow duplicate imports with different query strings ([#1107](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1107), thanks [@pcorpet]). > - [`order`]: Add support for alphabetical sorting of import paths within import groups ([#1360](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1360), [#1105](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1105), [#629](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/629), thanks [@duncanbeevers], [@stropho], [@luczsoma], [@randallreedjr]) > - [`no-commonjs`]: add `allowConditionalRequire` option ([#1439](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1439), thanks [@Pessimistress]) > > ### Fixed > - [`default`]: make error message less confusing ([#1470](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1470), thanks [@golopot]) > - Improve performance of `ExportMap.for` by only loading paths when necessary. ([#1519](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1519), thanks [@brendo]) > - Support export of a merged TypeScript namespace declaration ([#1495](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1495), thanks [@benmunro]) > - [`order`]: fix autofix to not move imports across fn calls ([#1253](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1253), thanks [@tihonove]) > - [`prefer-default-export`]: fix false positive with type export ([#1506](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1506), thanks [@golopot]) > - [`extensions`]: Fix `ignorePackages` to produce errors ([#1521](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1521), thanks [@saschanaz]) > - [`no-unused-modules`]: fix crash due to `export *` ([#1496](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1496), thanks [@Taranys]) > - [`no-cycle`]: should not warn for Flow imports ([#1494](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1494), thanks [@maxmalov]) > - [`order`]: fix `@someModule` considered as `unknown` instead of `internal` ([#1493](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1493), thanks [@aamulumi]) > - [`no-extraneous-dependencies`]: Check `export from` ([#1049](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1049), thanks [@marcusdarmstrong]) > > ### Docs > - [`no-useless-path-segments`]: add docs for option `commonjs` ([#1507](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1507), thanks [@golopot]) > > ### Changed > - [`no-unused-modules`]/`eslint-module-utils`: Avoid superfluous calls and code ([#1551](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1551), thanks [@brettz9]) > > ## [2.18.2] - 2019-07-19 > ### Fixed > - Skip warning on type interfaces ([#1425](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1425), thanks [@lencioni]) > > ## [2.18.1] - 2019-07-18 > ### Fixed > - Improve parse perf when using `@typescript-eslint/parser` ([#1409](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1409), thanks [@bradzacher]) > - [`prefer-default-export`]: don't warn on TypeAlias & TSTypeAliasDeclaration ([#1377](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1377), thanks [@sharmilajesupaul]) > - [`no-unused-modules`]: Exclude package "main"/"bin"/"browser" entry points ([#1404](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1404), thanks [@rfermann]) > - [`export`]: false positive for TypeScript overloads ([#1412](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1412), thanks [@golopot]) > > ### Refactors > - [`no-extraneous-dependencies`], `importType`: remove lodash ([#1419](https://github-redirect.dependabot.com/benmosher/eslint-plugin-import/issues/1419), thanks [@ljharb]) > > ## [2.18.0] - 2019-06-24 > ... (truncated)Commits
- [`bc3b034`](https://github.com/benmosher/eslint-plugin-import/commit/bc3b034b59a034b4aa47b8a9e74f48fe0e14e997) Bump to v2.19.1 - [`be7efb1`](https://github.com/benmosher/eslint-plugin-import/commit/be7efb14e44c201faae9af39737a17d037162b37) [Fix] `no-extraneous-dependencies`: ensure `node.source` exists - [`9b76635`](https://github.com/benmosher/eslint-plugin-import/commit/9b76635160cdbf4e0f1f34b9757da81aeb1882f9) Bump to v2.19.0 - [`47a232e`](https://github.com/benmosher/eslint-plugin-import/commit/47a232e5a8e9b14484d48c7ad7c1879dee1dc6bc) [resolvers/webpack] v0.12.0 - [`26ad476`](https://github.com/benmosher/eslint-plugin-import/commit/26ad476cbc0da3469acd25a35ddac4d111fb565e) [resolvers/webpack] [deps] update `debug`, `enhanced-resolve`, `has`, `interp... - [`3f0e8f3`](https://github.com/benmosher/eslint-plugin-import/commit/3f0e8f3553266fa6abf74efd822e41e1991a20a6) [resolvers/node] [Deps] update `resolve` - [`7190c3e`](https://github.com/benmosher/eslint-plugin-import/commit/7190c3e927550e48d8e4e7d5383f4e1bff9253ea) bump utils to v2.5.0 - [`a60e5c6`](https://github.com/benmosher/eslint-plugin-import/commit/a60e5c64541610df6d82eeddce6468067f770a18) [New] `no-commonjs`: add `allowConditionalRequire` option - [`414c923`](https://github.com/benmosher/eslint-plugin-import/commit/414c9233386e5a4e525364f8a24a59b84dbae877) [New] enable passing cwd as an option to `eslint-import-resolver-webpack` - [`8224e51`](https://github.com/benmosher/eslint-plugin-import/commit/8224e51670c636b4b2be8bb2895cd6fed79cd3d2) [New] `order`/`no-extraneous-dependencies`: Alphabetize imports within groups - Additional commits viewable in [compare view](https://github.com/benmosher/eslint-plugin-import/compare/v2.17.3...v2.19.1)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)