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 ESLint v2, v3, v4, v5, v6 & v7 support #3092

Open MichaelDeBoey opened 1 month ago

MichaelDeBoey commented 1 month ago

BREAKING CHANGE: Requires ESLint@^8.57.0 || ^9.0.0

socket-security[bot] commented 3 weeks ago

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

Package New capabilities Transitives Size Publisher
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, unsafe +11 4.68 MB hzoo
npm/babylon@6.18.0 None 0 282 kB hzoo
npm/chai@4.5.0 None +7 910 kB chaijs
npm/cross-env@4.0.0 environment Transitive: filesystem, shell +7 95.3 kB kentcdodds
npm/eslint-doc-generator@1.7.1 Transitive: environment, eval, filesystem, unsafe +67 7.04 MB bmishkin
npm/eslint-import-resolver-typescript@1.1.1 Transitive: environment, filesystem +1 150 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 +2 1.9 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 +6 341 kB timoxley
npm/markdownlint-cli@0.35.0 Transitive: environment, filesystem, shell +22 3.69 MB davidanson
npm/npm-which@3.0.1 environment Transitive: filesystem, shell +2 88.8 kB timoxley
npm/redux@3.7.2 environment +3 1.57 MB timdorr
npm/rimraf@2.7.1 filesystem 0 15.5 kB isaacs
npm/safe-publish-latest@2.0.0 environment, shell 0 19 kB ljharb
npm/sinon@2.4.1 None +2 6.7 MB mrgnrdrck
npm/typescript-eslint-parser@22.0.0 None +1 139 kB eslint
npm/typescript@4.5.5 None 0 64 MB typescript-bot

🚮 Removed packages: npm/@typescript-eslint/parser@7.18.0, npm/chai@3.5.0, npm/cross-env@7.0.3, npm/eslint@2.13.1, npm/find-up@1.1.2, npm/glob@1.0.0, npm/jquery@3.7.1, npm/lodash.cond@4.5.2, npm/typescript@5.6.3

View full report↗︎

socket-security[bot] commented 3 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