chore(deps-dev): bump eslint-plugin-import from 2.25.2 to 2.26.0 #279

Merged
dependabot[bot] merged 1 commits from dependabot/npm_and_yarn/eslint-plugin-import-2.26.0 into master 2022-12-02 01:10:12 +08:00
dependabot[bot] commented 2022-12-02 00:40:23 +08:00 (Migrated from github.com)

Bumps eslint-plugin-import from 2.25.2 to 2.26.0.

Changelog

Sourced from eslint-plugin-import's changelog.

[2.26.0] - 2022-04-05

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, thanks [@​sosukesuzuki])
  • [no-dynamic-require]: support dynamic import with espree (#2371, thanks [@​sosukesuzuki])
  • [no-relative-packages]: add fixer (#2381, thanks [@​forivall])

Fixed

  • [default]: typescript-eslint-parser: avoid a crash on exporting as namespace (thanks [@​ljharb])
  • [export]/TypeScript: false positive for typescript namespace merging (#1964, thanks [@​magarcia])
  • [no-duplicates]: ignore duplicate modules in different TypeScript module declarations (#2378, thanks [@​remcohaszing])
  • [no-unused-modules]: avoid a crash when processing re-exports (#2388, thanks [@​ljharb])

Changed

  • [Tests] no-nodejs-modules: add tests for node protocol URL (#2367, thanks [@​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, thanks [@​sosukesuzuki])
  • [Docs] [no-unresolved]: Fix RegExp escaping in readme (#2332, thanks [@​stephtr])
  • [Refactor] namespace: try to improve performance (#2340, thanks [@​ljharb])
  • [Docs] make rule doc titles consistent (#2393, thanks [@​TheJaredWilcurt])
  • [Docs] order: TS code examples should use TS code blocks (#2411, thanks [@​MM25Zamanian])
  • [Docs] no-unresolved: fix link (#2417, thanks [@​kylemh])

[2.25.4] - 2022-01-02

Fixed

  • importType: avoid crashing on a non-string' (#2305, thanks [@​ljharb])
  • [first]: prevent crash when parsing angular templates (#2210, thanks [@​ljharb])
  • importType: properly resolve @/*-aliased imports as internal (#2334, thanks [@​ombene])
  • [named]/ExportMap: handle named imports from CJS modules that use dynamic import (#2341, thanks [@​ludofischer])

Changed

  • [no-default-import]: report on the token "default" instead of the entire node (#2299, thanks [@​pmcelhaney])
  • [Docs] [order]: Remove duplicate mention of default (#2280, thanks [@​johnthagen])
  • [Deps] update eslint-module-utils

[2.25.3] - 2021-11-09

Fixed

  • [extensions]: ignore unresolveable type-only imports (#2270, #2271, thanks [@​jablko])
  • importType: fix isExternalModule calculation (#2282, thanks [@​mx-bernhard])
  • [no-import-module-exports]: avoid false positives with a shadowed module or exports (#2297, thanks [@​ljharb])

Changed

Commits
  • d160285 Bump to 2.26.0
  • 0e80ee3 [Deps] update tsconfig-paths
  • d8633c3 [Docs] no-unresolved: fix link
  • 98bbb2c [Docs] order: TS code examples should use TS code blocks
  • 21304bd [Deps] update tsconfig-paths
  • 8b7000e [Fix] no-unused-modules: avoid a crash when processing re-exports
  • 747d6dc [Docs] make rule doc titles consistent
  • b0e6f7f [Refactor] namespace: try to improve performance
  • 00a4ede [Deps] update minimatch
  • 35bd3a5 [Dev Deps] update @angular-eslint/template-parser, chai
  • Additional commits viewable in compare view

Dependabot compatibility score

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)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.25.2 to 2.26.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md">eslint-plugin-import's changelog</a>.</em></p> <blockquote> <h2>[2.26.0] - 2022-04-05</h2> <h3>Added</h3> <ul> <li>[<code>no-named-default</code>, <code>no-default-export</code>, <code>prefer-default-export</code>, <code>no-named-export</code>, <code>export</code>, <code>named</code>, <code>namespace</code>, <code>no-unused-modules</code>]: support arbitrary module namespace names (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2358">#2358</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li> <li>[<code>no-dynamic-require</code>]: support dynamic import with espree (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2371">#2371</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li> <li>[<code>no-relative-packages</code>]: add fixer (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2381">#2381</a>, thanks [<a href="https://github.com/forivall"><code>@​forivall</code></a>])</li> </ul> <h3>Fixed</h3> <ul> <li>[<code>default</code>]: <code>typescript-eslint-parser</code>: avoid a crash on exporting as namespace (thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li> <li>[<code>export</code>]/TypeScript: false positive for typescript namespace merging (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/1964">#1964</a>, thanks [<a href="https://github.com/magarcia"><code>@​magarcia</code></a>])</li> <li>[<code>no-duplicates</code>]: ignore duplicate modules in different TypeScript module declarations (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2378">#2378</a>, thanks [<a href="https://github.com/remcohaszing"><code>@​remcohaszing</code></a>])</li> <li>[<code>no-unused-modules</code>]: avoid a crash when processing re-exports (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2388">#2388</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Tests] <code>no-nodejs-modules</code>: add tests for node protocol URL (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2367">#2367</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li> <li>[Tests] <code>default</code>, <code>no-anonymous-default-export</code>, <code>no-mutable-exports</code>, <code>no-named-as-default-member</code>, <code>no-named-as-default</code>: add tests for arbitrary module namespace names (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2358">#2358</a>, thanks [<a href="https://github.com/sosukesuzuki"><code>@​sosukesuzuki</code></a>])</li> <li>[Docs] [<code>no-unresolved</code>]: Fix RegExp escaping in readme (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2332">#2332</a>, thanks [<a href="https://github.com/stephtr"><code>@​stephtr</code></a>])</li> <li>[Refactor] <code>namespace</code>: try to improve performance (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2340">#2340</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li> <li>[Docs] make rule doc titles consistent (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2393">#2393</a>, thanks [<a href="https://github.com/TheJaredWilcurt"><code>@​TheJaredWilcurt</code></a>])</li> <li>[Docs] <code>order</code>: TS code examples should use TS code blocks (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2411">#2411</a>, thanks [<a href="https://github.com/MM25Zamanian"><code>@​MM25Zamanian</code></a>])</li> <li>[Docs] <code>no-unresolved</code>: fix link (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2417">#2417</a>, thanks [<a href="https://github.com/kylemh"><code>@​kylemh</code></a>])</li> </ul> <h2>[2.25.4] - 2022-01-02</h2> <h3>Fixed</h3> <ul> <li><code>importType</code>: avoid crashing on a non-string' (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2305">#2305</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li> <li>[<code>first</code>]: prevent crash when parsing angular templates (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2210">#2210</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li> <li><code>importType</code>: properly resolve <code>@/*</code>-aliased imports as internal (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2334">#2334</a>, thanks [<a href="https://github.com/ombene"><code>@​ombene</code></a>])</li> <li>[<code>named</code>]/<code>ExportMap</code>: handle named imports from CJS modules that use dynamic import (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2341">#2341</a>, thanks [<a href="https://github.com/ludofischer"><code>@​ludofischer</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[<code>no-default-import</code>]: report on the token &quot;default&quot; instead of the entire node (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2299">#2299</a>, thanks [<a href="https://github.com/pmcelhaney"><code>@​pmcelhaney</code></a>])</li> <li>[Docs] [<code>order</code>]: Remove duplicate mention of default (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2280">#2280</a>, thanks [<a href="https://github.com/johnthagen"><code>@​johnthagen</code></a>])</li> <li>[Deps] update <code>eslint-module-utils</code></li> </ul> <h2>[2.25.3] - 2021-11-09</h2> <h3>Fixed</h3> <ul> <li>[<code>extensions</code>]: ignore unresolveable type-only imports (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2270">#2270</a>, <a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2271">#2271</a>, thanks [<a href="https://github.com/jablko"><code>@​jablko</code></a>])</li> <li><code>importType</code>: fix <code>isExternalModule</code> calculation (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2282">#2282</a>, thanks [<a href="https://github.com/mx-bernhard"><code>@​mx-bernhard</code></a>])</li> <li>[<code>no-import-module-exports</code>]: avoid false positives with a shadowed <code>module</code> or <code>exports</code> (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2297">#2297</a>, thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li> </ul> <h3>Changed</h3> <ul> <li>[Docs] [<code>order</code>]: add type to the default groups (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2272">#2272</a>, thanks [<a href="https://github.com/charpeni"><code>@​charpeni</code></a>])</li> <li>[readme] Add note to TypeScript docs to install appropriate resolver (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2279">#2279</a>, thanks [<a href="https://github.com/johnthagen"><code>@​johnthagen</code></a>])</li> <li>[Refactor] <code>importType</code>: combine redundant <code>isScoped</code> and <code>isScopedModule</code> (thanks [<a href="https://github.com/ljharb"><code>@​ljharb</code></a>])</li> <li>[Docs] HTTP =&gt; HTTPS (<a href="https://github-redirect.dependabot.com/import-js/eslint-plugin-import/issues/2287">#2287</a>, thanks [<a href="https://github.com/Schweinepriester"><code>@​Schweinepriester</code></a>])</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/d1602854ea9842082f48c51da869f3e3b70d1ef9"><code>d160285</code></a> Bump to 2.26.0</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/0e80ee37cc5e4941c90b781f916b6676bb132da7"><code>0e80ee3</code></a> [Deps] update <code>tsconfig-paths</code></li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/d8633c35ba7031eb49b2a36b27c82b289f8f85ce"><code>d8633c3</code></a> [Docs] <code>no-unresolved</code>: fix link</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/98bbb2cb30f90eaba91ff29bf1c1a21553886302"><code>98bbb2c</code></a> [Docs] <code>order</code>: TS code examples should use TS code blocks</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/21304bdf0124be1db8e6b152b072661b50fa931c"><code>21304bd</code></a> [Deps] update <code>tsconfig-paths</code></li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/8b7000ec75968c1bd94f3099d67995a699286cf0"><code>8b7000e</code></a> [Fix] <code>no-unused-modules</code>: avoid a crash when processing re-exports</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/747d6dc5b905a718c89f10aad04cb2bcdbed7068"><code>747d6dc</code></a> [Docs] make rule doc titles consistent</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/b0e6f7f48945e2533e96d513248bf3e54e0c1aac"><code>b0e6f7f</code></a> [Refactor] <code>namespace</code>: try to improve performance</li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/00a4edee3501d65ada7f9f98f04ad2ada46ad86f"><code>00a4ede</code></a> [Deps] update <code>minimatch</code></li> <li><a href="https://github.com/import-js/eslint-plugin-import/commit/35bd3a576c20005579cfbaa443a3a5f9d62250f6"><code>35bd3a5</code></a> [Dev Deps] update <code>@angular-eslint/template-parser</code>, <code>chai</code></li> <li>Additional commits viewable in <a href="https://github.com/import-js/eslint-plugin-import/compare/v2.25.2...v2.26.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=eslint-plugin-import&package-manager=npm_and_yarn&previous-version=2.25.2&new-version=2.26.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details>
xiaohai2271 commented 2022-12-02 01:05:04 +08:00 (Migrated from github.com)

@dependabot rebase

@dependabot rebase
Sign in to join this conversation.
No description provided.