Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eslint to ^9.11.1 and migrate to flat config #4727

Draft
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

MajorLift
Copy link
Contributor

@MajorLift MajorLift commented Sep 24, 2024

Explanation

References

Changelog

@metamask/package-a

  • : Your change here
  • : Your change here

@metamask/package-b

  • : Your change here
  • : Your change here

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

Copy link

socket-security bot commented Sep 24, 2024

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

Package New capabilities Transitives Size Publisher
npm/@es-joy/[email protected] None 0 121 kB brettz9
npm/@eslint-community/[email protected] None 0 446 kB eslint-community-bot
npm/@eslint/[email protected] None 0 113 kB eslintbot
npm/@eslint/[email protected] None 0 36 kB eslintbot
npm/@eslint/[email protected] filesystem, unsafe 0 668 kB eslintbot
npm/@eslint/[email protected] None 0 14.2 kB eslintbot, openjsfoundation
npm/@eslint/[email protected] None 0 55.5 kB eslintbot
npm/@eslint/[email protected] None 0 76.7 kB eslintbot
npm/@humanwhocodes/[email protected] None 0 44.3 kB nzakas
npm/@nolyfill/[email protected] unsafe 0 2.71 kB sukkaw
npm/@typescript-eslint/[email protected] None 0 2.65 MB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] None 0 18.7 kB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] None 0 602 kB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] None 0 121 kB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] None 0 171 kB jameshenry
npm/@typescript-eslint/[email protected] None 0 587 kB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] None 0 283 kB bradzacher, jameshenry
npm/@typescript-eslint/[email protected] None 0 19.5 kB bradzacher, jameshenry
npm/[email protected] None 0 13.6 kB joshuakgoldberg
npm/[email protected] environment 0 13.5 kB simenb
npm/[email protected] None 0 366 kB yavorskiys
npm/[email protected] unsafe 0 212 kB evilebottnawi
npm/[email protected] None 0 90.9 kB guybedford
npm/[email protected] filesystem 0 53.1 kB ota-meshi
npm/[email protected] None 0 20.8 kB lydell
npm/[email protected] None 0 46.8 kB jounqin
npm/[email protected] None 0 54.4 kB ljharb
npm/[email protected] None 0 409 kB eslint-community-bot
npm/[email protected] None 0 683 kB jounqin
npm/[email protected] None 0 2.08 MB gajus
npm/[email protected] None 0 437 kB eslint-community-bot, weiran.zsd
npm/[email protected] None 0 34.3 kB jounqin
npm/[email protected] None 0 77.7 kB eslint-community-bot
npm/[email protected] None 0 148 kB eslintbot
npm/[email protected] environment 0 3.3 MB eslintbot
npm/[email protected] None 0 76.5 kB eslintbot
npm/[email protected] filesystem 0 16 kB jaredwray
npm/[email protected] filesystem 0 29.3 kB jaredwray
npm/[email protected] filesystem 0 105 kB hirokiosame
npm/[email protected] None 0 25.1 kB sindresorhus
npm/[email protected] None 0 11.7 kB sunset_techuila
npm/[email protected] None 0 245 kB jsdoc-type-pratt-parser
npm/[email protected] None 0 39.1 kB tomeraberbach
npm/[email protected] environment, filesystem, unsafe 0 7.7 MB prettier-bot
npm/[email protected] None 0 15 kB hirokiosame
npm/[email protected] None 0 26 kB chrisackerman
npm/[email protected] None 0 5.46 kB quietshu
npm/[email protected] None 0 46.9 kB sokra
npm/[email protected] None 0 828 kB joshuakgoldberg
npm/[email protected] None 0 99.5 kB jameshenry

🚮 Removed packages: npm/@es-joy/[email protected], npm/@eslint-community/[email protected], npm/@eslint/[email protected], npm/@humanwhocodes/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@metamask/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link

socket-security bot commented Sep 24, 2024

🚨 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 NoteCI
Deprecated npm/[email protected]
  • Reason: Rimraf versions prior to v4 are no longer supported
⚠︎
Deprecated npm/[email protected]
  • Reason: Glob versions prior to v9 are no longer supported
⚠︎
Deprecated npm/[email protected]
  • Reason: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
⚠︎

View full report↗︎

Next steps

What is a deprecated package?

The maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.

Research the state of the package and determine if there are non-deprecated versions that can be used, or if it should be replaced with a new, supported solution.

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/[email protected] or ignore all packages with @SocketSecurity ignore-all

@MajorLift MajorLift force-pushed the jongsun/preview/240924-eslint9 branch 2 times, most recently from bf0f6eb to a680d66 Compare September 24, 2024 17:06
@MajorLift MajorLift changed the title [DNM] preview/eslint9 Bump eslint to ^9.11.1 and migrate to flat config Sep 30, 2024
@MajorLift MajorLift self-assigned this Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ESLint config format is deprecated
1 participant