mime-types
mime-types copied to clipboard
build(deps-dev): bump eslint-plugin-import from 2.27.5 to 2.31.0
Bumps eslint-plugin-import from 2.27.5 to 2.31.0.
Release notes
Sourced from eslint-plugin-import's releases.
v2.31.0
Added
- support eslint v9 (#2996, thanks [
@G-Rath] [@michaelfaith])order: allow validating named imports (#3043, thanks [@manuth])extensions: add thecheckTypeImportsoption (#2817, thanks [@phryneas])Fixed
ExportMap/ flat config: includelanguageOptionsin 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])- adjust "is source type module" checks for flat config (#2996, thanks [
@G-Rath])Changed
- [Docs]
no-relative-packages: fix typo (#3066, thanks [@joshuaobrien])- [Performance]
no-cycle: dont scc for each linted file (#3068, thanks [@soryy708])- [Docs]
no-cycle: adddisableSccto docs (#3070, thanks [@soryy708])- [Tests] use re-exported
RuleTester(#3071, thanks [@G-Rath])- [Docs]
no-restricted-paths: fix grammar (#3073, thanks [@unbeauvoyage])- [Tests]
no-default-export,no-named-export: add test case (thanks [@G-Rath])#3073: import-js/eslint-plugin-import#3073 #3072: import-js/eslint-plugin-import#3072 #3071: import-js/eslint-plugin-import#3071 #3070: import-js/eslint-plugin-import#3070 #3068: import-js/eslint-plugin-import#3068 #3066: import-js/eslint-plugin-import#3066 #3065: import-js/eslint-plugin-import#3065 #3062: import-js/eslint-plugin-import#3062 #3052: import-js/eslint-plugin-import#3052 #3043: import-js/eslint-plugin-import#3043 #3032: import-js/eslint-plugin-import#3032 #2996: import-js/eslint-plugin-import#2996 #2817: import-js/eslint-plugin-import#2817 [
@akwodkiewicz]: https://github.com/akwodkiewicz [@joshuaobrien]: https://github.com/joshuaobrien [@liuxingbaoyu]: https://github.com/liuxingbaoyu [@manuth]: https://github.com/manuth [@michaelfaith]: https://github.com/michaelfaith [@phryneas]: https://github.com/phryneas
... (truncated)
Changelog
Sourced from eslint-plugin-import's changelog.
[2.31.0] - 2024-10-03
Added
- support eslint v9 (#2996, thanks [
@G-Rath] [@michaelfaith])- [
order]: allow validating named imports (#3043, thanks [@manuth])- [
extensions]: add thecheckTypeImportsoption (#2817, thanks [@phryneas])Fixed
ExportMap/ flat config: includelanguageOptionsin 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])- adjust "is source type module" checks for flat config (#2996, thanks [
@G-Rath])Changed
- [Docs] [
no-relative-packages]: fix typo (#3066, thanks [@joshuaobrien])- [Performance] [
no-cycle]: dont scc for each linted file (#3068, thanks [@soryy708])- [Docs] [
no-cycle]: adddisableSccto docs (#3070, thanks [@soryy708])- [Tests] use re-exported
RuleTester(#3071, thanks [@G-Rath])- [Docs] [
no-restricted-paths]: fix grammar (#3073, thanks [@unbeauvoyage])- [Tests] [
no-default-export], [no-named-export]: add test case (thanks [@G-Rath])[2.30.0] - 2024-09-02
Added
- [
dynamic-import-chunkname]: addallowEmptyoption 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]: AddignoreUnusedTypeExportsoption (#3011, thanks [@silverwind])- add support for Flat Config (#3018, thanks [
@michaelfaith])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
- [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 thepathGroupsExcludedImportTypesoption (#3036, thanks [@liby])- [readme] Clarify how to install the plugin (#2993, thanks [
@jwbth])
... (truncated)
Commits
91f809bv2.31.03f1ac24[utils] [refactor]parse: avoid using a regex hered225176[New]extensions: add thecheckTypeImportsoption5a51b9a[Tests]rule-tester: try this babel class workaroundd66cde0[New] support eslint v9d27a639[Fix] adjust "is source type module" checks for flat config1fa8a07[Refactor] createsourceTypehelper0bc1355[Tests]no-default-export,no-named-export: add test cases with non-modu...55fa203[Tests]no-default-export,no-named-export: add test case6be20df[Docs]no-restricted-paths: fix grammar- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)