[Snyk] Upgrade eslint-plugin-import from 2.31.0 to 2.32.0 #933
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade eslint-plugin-import from 2.31.0 to 2.32.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 1 version ahead of your current version.
The recommended version was released 24 days ago.
Release notes
Package name: eslint-plugin-import
Added
enforce-node-protocol-usage
rule andimport/node-version
setting (#3024, thanks @ GoldStrikeArch and @ sevenc-nanashi)extensions
: add `pathGroupOverrides to allow enforcement decision overrides based on specifier (#3105, thanks @ Xunnamius)order
: addsortTypesGroup
option to allow intragroup sorting of type-only imports (#3104, thanks @ Xunnamius)order
: addnewlines-between-types
option to control intragroup sorting of type-only imports (#3127, thanks @ Xunnamius)order
: addconsolidateIslands
option to collapse excess spacing for aesthetically pleasing imports (#3129, thanks @ Xunnamius)Fixed
no-unused-modules
: provide more meaningful error message when no .eslintrc is present (#3116, thanks @ michaelfaith)order
: ensure arcane imports do not cause undefined behavior (#3128, thanks @ Xunnamius)order
: resolve undefined property access issue when usingnamed
ordering (#3166, thanks @ Xunnamius)enforce-node-protocol-usage
: avoid a crash with some TS code (#3173, thanks @ ljharb)order
: codify invariants from docs into config schema (#3152, thanks @ Xunnamius)Changed
extensions
,order
: improve documentation (#3106, thanks @ Xunnamius)tseslint.config()
(#3125, thanks @ lnuvy)order
: remove unnecessary negative check (#3167, thanks @ JounQin)no-unused-modules
: add missing double quote (#3191, thanks @ albertpastrana)no-restricted-paths
: clarify wording and fix errors (#3172, thanks @ greim)Added
order
: allow validating named imports (#3043, thanks @ manuth)extensions
: add thecheckTypeImports
option (#2817, thanks @ phryneas)Fixed
ExportMap
/ flat config: includelanguageOptions
in context (#3052, thanks @ michaelfaith)no-named-as-default
: Allow using an identifier if the export is both a named and a default export (#3032, thanks @ akwodkiewicz)export
: False positive for exported overloaded functions in TS (#3065, thanks @ liuxingbaoyu)exportMap
: export map cache is tainted by unreliable parse results (#3062, thanks @ michaelfaith)exportMap
: improve cacheKey when using flat config (#3072, thanks @ michaelfaith)Changed
no-relative-packages
: fix typo (#3066, thanks @ joshuaobrien)no-cycle
: dont scc for each linted file (#3068, thanks @ soryy708)no-cycle
: adddisableScc
to docs (#3070, thanks @ soryy708)RuleTester
(#3071, thanks @ G-Rath)no-restricted-paths
: fix grammar (#3073, thanks @ unbeauvoyage)no-default-export
,no-named-export
: add test case (thanks @ G-Rath)Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: