import-js / eslint-plugin-import

ESLint plugin with rules that help validate proper imports.
MIT License
5.57k stars 1.57k forks source link

feat: drop Node 4, 6, 8, 10, 12, 14 & 16 support #3091

Open MichaelDeBoey opened 4 weeks ago

MichaelDeBoey commented 4 weeks ago

BREAKING CHANGE: Requires Node@^18.18.0 || ^20.9.0 || >=21.1.0

socket-security[bot] commented 4 weeks ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@angular-eslint/template-parser@13.5.0 Transitive: environment, filesystem, unsafe +21 6.22 MB jameshenry
npm/@typescript-eslint/parser@5.62.0 Transitive: environment, filesystem, unsafe +34 3.87 MB jameshenry
npm/babel-cli@6.26.0 Transitive: environment, eval, filesystem, shell +58 6.1 MB hzoo
npm/babel-core@6.26.3 environment, filesystem, unsafe Transitive: eval, network +29 4.52 MB loganfsmyth
npm/babel-eslint@10.1.0 Transitive: environment +16 4.49 MB kaicataldo
npm/babel-plugin-istanbul@4.1.6 environment, filesystem Transitive: eval +31 4.39 MB bcoe
npm/babel-plugin-module-resolver@2.7.1 filesystem 0 29.7 kB tleunen
npm/babel-preset-airbnb@2.6.0 Transitive: environment, eval, filesystem +92 7.31 MB lencioni
npm/babel-preset-flow@6.23.0 Transitive: environment, eval, filesystem +5 2.34 MB loganfsmyth
npm/babel-register@6.26.0 environment, filesystem Transitive: eval +9 3.83 MB hzoo
npm/babylon@6.18.0 None 0 282 kB hzoo
npm/chai@4.5.0 None +6 872 kB chaijs
npm/cross-env@4.0.0 environment Transitive: filesystem, shell +4 69.6 kB kentcdodds
npm/eslint-doc-generator@1.7.1 Transitive: environment, eval, filesystem, shell, unsafe +65 7.09 MB bmishkin
npm/eslint-import-resolver-typescript@1.1.1 None 0 4.29 kB bradzacher
npm/eslint-plugin-eslint-plugin@2.3.0 filesystem 0 105 kB not-an-aardvark
npm/eslint-plugin-import@2.31.0 None 0 1.35 MB benmosher, jfmengels, ljharb
npm/eslint-plugin-json@2.1.2 None +1 1.43 MB abandeali
npm/fs-copy-file-sync@1.1.1 filesystem 0 8.57 kB coderaiser
npm/in-publish@2.0.1 None 0 4.01 kB iarna
npm/linklocal@2.8.2 filesystem Transitive: shell +5 338 kB timoxley
npm/markdownlint-cli@0.35.0 Transitive: environment, filesystem, shell +16 4.3 MB davidanson
npm/npm-which@3.0.1 environment Transitive: filesystem, shell +2 117 kB timoxley
npm/object.fromentries@2.0.8 Transitive: eval +42 3.33 MB ljharb
npm/object.groupby@1.0.3 Transitive: eval +42 3.33 MB ljharb
npm/object.values@1.2.0 Transitive: eval +13 281 kB ljharb

🚮 Removed packages: npm/@arethetypeswrong/cli@0.15.4, npm/@ljharb/tsconfig@0.2.0, npm/@types/debug@4.1.12, npm/@types/eslint@8.56.12, npm/@types/node@20.17.2, npm/@typescript-eslint/parser@7.18.0, npm/chai@3.5.0, npm/cross-env@7.0.3, npm/eslint@2.13.1, npm/glob@1.0.0, npm/jquery@3.7.1, npm/lodash.cond@4.5.2, npm/resolve@1.22.8, npm/semver@6.3.1, npm/typescript@5.6.3, npm/typescript@5.7.0-dev.20241029

View full report↗︎

socket-security[bot] commented 4 weeks ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSourceCI
Critical CVE npm/babel-traverse@6.26.0 ⚠︎

View full report↗︎

Next steps

What is a critical CVE?

Contains a Critical Common Vulnerability and Exposure (CVE).

Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/babel-traverse@6.26.0
MichaelDeBoey commented 4 weeks ago

@ljharb Settings should be updated to make node 18+ required instead of node 4+