Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deps): Update dependency eslint-plugin-import to v2.31.0 #768

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 31, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
eslint-plugin-import 2.x -> 2.31.0 age adoption passing confidence

Release Notes

import-js/eslint-plugin-import (eslint-plugin-import)

v2.31.0

Compare Source

Added
Fixed
Changed

v2.30.0

Compare Source

Added
Fixed
Changed
  • [Docs] no-extraneous-dependencies: Make glob pattern description more explicit ([#​2944], thanks [@​mulztob])
  • [no-unused-modules]: add console message to help debug [#​2866]
  • [Refactor] ExportMap: make procedures static instead of monkeypatching exportmap ([#​2982], thanks [@​soryy708])
  • [Refactor] ExportMap: separate ExportMap instance from its builder logic ([#​2985], thanks [@​soryy708])
  • [Docs] order: Add a quick note on how unbound imports and --fix ([#​2640], thanks [@​minervabot])
  • [Tests] appveyor -> GHA (run tests on Windows in both pwsh and WSL + Ubuntu) ([#​2987], thanks [@​joeyguerra])
  • [actions] migrate OSX tests to GHA ([ljharb#37], thanks [@​aks-])
  • [Refactor] exportMapBuilder: avoid hoisting ([#​2989], thanks [@​soryy708])
  • [Refactor] ExportMap: extract "builder" logic to separate files ([#​2991], thanks [@​soryy708])
  • [Docs] [order]: update the description of the pathGroupsExcludedImportTypes option ([#​3036], thanks [@​liby])
  • [readme] Clarify how to install the plugin ([#​2993], thanks [@​jwbth])

v2.29.1

Compare Source

Fixed

v2.29.0

Compare Source

Added

v2.28.1

Compare Source

Fixed
Changed

v2.28.0

Compare Source

Fixed
  • [no-duplicates]: remove duplicate identifiers in duplicate imports ([#​2577], thanks [@​joe-matsec])
  • [consistent-type-specifier-style]: fix accidental removal of comma in certain cases ([#​2754], thanks [@​bradzacher])
  • [Perf] ExportMap: Improve ExportMap.for performance on larger codebases ([#​2756], thanks [@​leipert])
  • [no-extraneous-dependencies]/TypeScript: do not error when importing inline type from dev dependencies ([#​1820], thanks [@​andyogo])
  • [newline-after-import]/TypeScript: do not error when re-exporting a namespaced import ([#​2832], thanks [@​laurens-dg])
  • [order]: partial fix for [#​2687] (thanks [@​ljharb])
  • [no-duplicates]: Detect across type and regular imports ([#​2835], thanks [@​benkrejci])
  • [extensions]: handle . and .. properly ([#​2778], thanks [@​benasher44])
  • [no-unused-modules]: improve schema (thanks [@​ljharb])
  • [no-unused-modules]: report error on binding instead of parent export ([#​2842], thanks [@​Chamion])
Changed
  • [Docs] [no-duplicates]: fix example schema ([#​2684], thanks [@​simmo])
  • [Docs] [group-exports]: fix syntax highlighting ([#​2699], thanks [@​devinrhode2])
  • [Docs] [extensions]: reference node ESM behavior ([#​2748], thanks [@​xM8WVqaG])
  • [Refactor] [exports-last]: use array.prototype.findlastindex (thanks [@​ljharb])
  • [Refactor] [no-anonymous-default-export]: use object.fromentries (thanks [@​ljharb])
  • [Refactor] [no-unused-modules]: use array.prototype.flatmap (thanks [@​ljharb])

v2.27.5

Compare Source

Fixed

v2.27.4

Compare Source

Fixed
  • semver should be a prod dep ([#​2668])

v2.27.3

Compare Source

Fixed
  • [no-empty-named-blocks]: rewrite rule to only check import declarations ([#​2666])

v2.27.2

Compare Source

Fixed
  • [no-duplicates]: do not unconditionally require typescript ([#​2665])

v2.27.1

Compare Source

Fixed

v2.27.0

Compare Source

Added
Fixed
Changed

v2.26.0

Compare Source

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

v2.25.4

Compare Source

Fixed
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

v2.25.3

Compare Source

Fixed
Changed

v2.25.2

Compare Source

Fixed

v2.25.1

Compare Source

Fixed
  • [Deps] update eslint-module-utils

v2.25.0

Compare Source

Added
Fixed
Changed
  • [Refactor] switch to an internal replacement for pkg-up and read-pkg-up ([#​2047], thanks [@​mgwalker])
  • [patch] TypeScript config: remove .d.ts from [import/parsers setting] and [import/extensions setting] ([#​2220], thanks [@​jablko])
  • [Refactor] [no-unresolved], [no-extraneous-dependencies]: moduleVisitor usage ([#​2233], thanks [@​jablko])

v2.24.2

Compare Source

Fixed
  • [named], [namespace]: properly handle ExportAllDeclarations ([#​2199], thanks [@​ljharb])

v2.24.1

Compare Source

Fixed
Changed

v2.24.0

Compare Source

Added
Fixed
  • [no-duplicates]: ensure autofix avoids excessive newlines ([#​2028], thanks [@​ertrzyiks])
  • [extensions]: avoid crashing on partially typed import/export statements ([#​2118], thanks [@​ljharb])
  • [no-extraneous-dependencies]: add ESM intermediate package.json support ([#​2121], thanks [@​paztis])
  • Use context.getPhysicalFilename() when available (ESLint 7.28+) ([#​2160], thanks [@​pmcelhaney])
  • [extensions]/importType: fix isScoped treating @​/abc as scoped module ([#​2146], thanks [@​rperello])
Changed

v2.23.4

Compare Source

Fixed
  • [no-import-module-exports]: Don't crash if packages have no entrypoint ([#​2099], thanks [@​eps1lon])
  • [no-extraneous-dependencies]: fix package name algorithm ([#​2097], thanks [@​paztis])

v2.23.3

Compare Source

Fixed
Changed
  • [Docs] Add [no-relative-packages] to list of to the list of rules ([#​2075], thanks [@​arvigeus])

v2.23.2

Compare Source

Changed
  • [meta] add safe-publish-latest; use prepublishOnly script for npm 7+

v2.23.1

Compare Source

Fixed

v2.23.0

Compare Source

Added
Fixed
Changed

v2.22.1

Compare Source

Fixed
  • [default]/TypeScript: avoid crash on export = with a MemberExpression ([#​1841], thanks [@​ljharb])
  • [extensions]/importType: Fix @​/abc being treated as scoped module ([#​1854], thanks [@​3nuc])
  • allow using rest operator in named export ([#​1878], thanks [@​foray1010])
  • [dynamic-import-chunkname]: allow single quotes to match Webpack support ([#​1848], thanks [@​straub])
Changed

v2.22.0

Compare Source

Added
  • [no-unused-modules]: consider exported TypeScript interfaces, types and enums ([#​1819], thanks [@​nicolashenry])
  • [no-cycle]: allow maxDepth option to be "∞" (thanks [@​ljharb])
Fixed
  • [order]/TypeScript: properly support import = object expressions ([#​1823], thanks [@​manuth])
  • [no-extraneous-dependencies]/TypeScript: do not error when importing type from dev dependencies ([#​1820], thanks [@​fernandopasik])
  • [default]: avoid crash with export = ([#​1822], thanks [@​AndrewLeedham])
  • [order]/[newline-after-import]: ignore TypeScript's "export import object" ([#​1830], thanks [@​be5invis])
  • [dynamic-import-chunkname]/TypeScript: supports @typescript-eslint/parser ([#​1833], thanks [@​noelebrun])
  • [order]/TypeScript: ignore ordering of object imports ([#​1831], thanks [@​manuth])
  • [namespace]: do not report on shadowed import names ([#​518], thanks [@​ljharb])
  • [export]: avoid warning on export * as non-conflicts ([#​1834], thanks [[@​

Configuration

📅 Schedule: Branch creation - "after 10pm every weekday,every weekend,before 5am every weekday" in timezone Europe/London, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.41%. Comparing base (b8d4404) to head (1ce5b6a).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #768   +/-   ##
=======================================
  Coverage   74.41%   74.41%           
=======================================
  Files           7        7           
  Lines          43       43           
  Branches        7        7           
=======================================
  Hits           32       32           
  Misses         11       11           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot merged commit 8994ed0 into master Oct 31, 2024
3 checks passed
@renovate renovate bot deleted the renovate/eslint-plugin-import-2.x branch October 31, 2024 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant