Snyk has created this PR to upgrade eslint-plugin-import from 2.27.5 to 2.31.0.
:information_source: 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 6 versions ahead of your current version.
The recommended version was released on a month ago.
Snyk has created this PR to upgrade eslint-plugin-import from 2.27.5 to 2.31.0.
:information_source: 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 6 versions ahead of your current version.
The recommended version was released on a month ago.
Release notes
Package name: eslint-plugin-import
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)Added
dynamic-import-chunkname
: addallowEmpty
option to allow empty leading comments (#2942, thanks [@ JiangWeixian])dynamic-import-chunkname
: Allow empty chunk name when webpackMode: 'eager' is set; add suggestions to remove name in eager mode (#3004, thanks @ amsardesai)no-unused-modules
: AddignoreUnusedTypeExports
option (#3011, thanks @ silverwind)Fixed
no-extraneous-dependencies
: allow wrong path (#3012, thanks @ chabb)no-cycle
: use scc algorithm to optimize (#2998, thanks @ soryy708)no-duplicates
: Removing duplicates breaks in TypeScript (#3033, thanks @ yesl-kim)newline-after-import
: fix considerComments option when require (#2952, thanks @ developer-bandi)order
: do not compare first path segment for relative paths (#2682) (#2885, thanks @ mihkeleidast)Changed
no-extraneous-dependencies
: Make glob pattern description more explicit (#2944, thanks @ mulztob)no-unused-modules
: add console message to help debug #2866ExportMap
: make procedures static instead of monkeypatching exportmap (#2982, thanks @ soryy708)ExportMap
: separate ExportMap instance from its builder logic (#2985, thanks @ soryy708)order
: Add a quick note on how unbound imports and --fix (#2640, thanks @ minervabot)exportMapBuilder
: avoid hoisting (#2989, thanks @ soryy708)ExportMap
: extract "builder" logic to separate files (#2991, thanks @ soryy708)order
: update the description of thepathGroupsExcludedImportTypes
option (#3036, thanks @ liby)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: