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 from 4.0.0 to 9.2.0 in /javascript #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github May 6, 2024

Bumps eslint from 4.0.0 to 9.2.0.

Release notes

Sourced from eslint's releases.

v9.2.0

Features

  • 8485d76 feat: no-case-declarations add suggestions (#18388) (Josh Goldberg ✨)
  • a498f35 feat: update Unicode letter detection in capitalized-comments rule (#18375) (Francesco Trotta)

Bug Fixes

  • eeec413 fix: do not throw when defining a global named defineSetter (#18364) (唯然)

Documentation

  • 0f5df50 docs: Update README (GitHub Actions Bot)
  • 1579ce0 docs: update wording regarding indirect eval (#18394) (Kirk Waiblinger)
  • f12a02c docs: update to eslint v9 in custom-rule-tutorial (#18383) (唯然)

Chores

  • b346605 chore: upgrade @​eslint/js@​9.2.0 (#18413) (Milos Djermanovic)
  • c4c18e0 chore: package.json update for @​eslint/js release (Jenkins)
  • 284722c chore: package.json update for eslint-config-eslint release (Jenkins)
  • 347d44f chore: remove eslintrc export from eslint-config-eslint (#18400) (Milos Djermanovic)
  • f316e20 ci: run tests in Node.js 22 (#18393) (Francesco Trotta)

v9.1.1

Bug Fixes

  • a26b402 fix: use @​eslint/create-config latest (#18373) (唯然)

v9.1.0

Features

  • 03068f1 feat: Provide helpful error message for nullish configs (#18357) (Nicholas C. Zakas)
  • 751b518 feat: replace dependency graphemer with Intl.Segmenter (#18110) (Francesco Trotta)
  • 4d11e56 feat: add name to eslint configs (#18289) (唯然)
  • 1cbe1f6 feat: allow while(true) in no-constant-condition (#18286) (Tanuj Kanti)
  • 0db676f feat: add Intl in es6 globals (#18318) (唯然)

Bug Fixes

  • 8d18958 fix: Remove name from eslint/js packages (#18368) (Nicholas C. Zakas)
  • 594eb0e fix: do not crash on error in fs.walk filter (#18295) (Francesco Trotta)
  • 0d8cf63 fix: EMFILE errors (#18313) (Nicholas C. Zakas)
  • e1ac0b5 fix: --inspect-config only for flat config and respect -c (#18306) (Nicholas C. Zakas)
  • 09675e1 fix: --no-ignore should not apply to non-global ignores (#18334) (Milos Djermanovic)

Documentation

  • fb50077 docs: include notes about globals in migration-guide (#18356) (Gabriel Rohden)
  • 71c771f docs: Fix missing accessible name for scroll-to-top link (#18329) (Germán Freixinós)
  • 200fd4e docs: indicate eslintrc mode for .eslintignore (#18285) (Francesco Trotta)
  • 16b6a8b docs: Update README (GitHub Actions Bot)
  • df5f8a9 docs: paths and patterns difference in no-restricted-imports (#18273) (Tanuj Kanti)
  • c537d76 docs: update npm init @eslint/config generated file names (#18298) (唯然)
  • e1e305d docs: fix linebreak-style examples (#18262) (Francesco Trotta)
  • 113f51e docs: Mention package.json config support dropped (#18305) (Nicholas C. Zakas)
  • 5c35321 docs: add eslintrc-only note to --rulesdir (#18281) (Adam Lui 刘展鹏)

... (truncated)

Changelog

Sourced from eslint's changelog.

v9.2.0 - May 3, 2024

  • b346605 chore: upgrade @​eslint/js@​9.2.0 (#18413) (Milos Djermanovic)
  • c4c18e0 chore: package.json update for @​eslint/js release (Jenkins)
  • 284722c chore: package.json update for eslint-config-eslint release (Jenkins)
  • 0f5df50 docs: Update README (GitHub Actions Bot)
  • 347d44f chore: remove eslintrc export from eslint-config-eslint (#18400) (Milos Djermanovic)
  • 8485d76 feat: no-case-declarations add suggestions (#18388) (Josh Goldberg ✨)
  • a498f35 feat: update Unicode letter detection in capitalized-comments rule (#18375) (Francesco Trotta)
  • 1579ce0 docs: update wording regarding indirect eval (#18394) (Kirk Waiblinger)
  • f316e20 ci: run tests in Node.js 22 (#18393) (Francesco Trotta)
  • eeec413 fix: do not throw when defining a global named defineSetter (#18364) (唯然)
  • f12a02c docs: update to eslint v9 in custom-rule-tutorial (#18383) (唯然)

v9.1.1 - April 22, 2024

  • a26b402 fix: use @​eslint/create-config latest (#18373) (唯然)

v9.1.0 - April 19, 2024

  • d9a2983 chore: upgrade @​eslint/js to v9.1.1 (#18367) (Francesco Trotta)
  • 03068f1 feat: Provide helpful error message for nullish configs (#18357) (Nicholas C. Zakas)
  • 50d406d chore: package.json update for @​eslint/js release (Jenkins)
  • 8d18958 fix: Remove name from eslint/js packages (#18368) (Nicholas C. Zakas)
  • 155c71c chore: package.json update for @​eslint/js release (Jenkins)
  • 594eb0e fix: do not crash on error in fs.walk filter (#18295) (Francesco Trotta)
  • 751b518 feat: replace dependency graphemer with Intl.Segmenter (#18110) (Francesco Trotta)
  • fb50077 docs: include notes about globals in migration-guide (#18356) (Gabriel Rohden)
  • 4d11e56 feat: add name to eslint configs (#18289) (唯然)
  • 1cbe1f6 feat: allow while(true) in no-constant-condition (#18286) (Tanuj Kanti)
  • 0588fc5 refactor: Move directive gathering to SourceCode (#18328) (Nicholas C. Zakas)
  • 0d8cf63 fix: EMFILE errors (#18313) (Nicholas C. Zakas)
  • e1ac0b5 fix: --inspect-config only for flat config and respect -c (#18306) (Nicholas C. Zakas)
  • 09675e1 fix: --no-ignore should not apply to non-global ignores (#18334) (Milos Djermanovic)
  • 9048e21 chore: lint docs/src/_data js files (#18335) (Milos Djermanovic)
  • 4820790 chore: upgrade [email protected] dev dependency (#18332) (Milos Djermanovic)
  • 698d9ff chore: upgrade jsdoc & unicorn plugins in eslint-config-eslint (#18333) (Milos Djermanovic)
  • 71c771f docs: Fix missing accessible name for scroll-to-top link (#18329) (Germán Freixinós)
  • 0db676f feat: add Intl in es6 globals (#18318) (唯然)
  • 200fd4e docs: indicate eslintrc mode for .eslintignore (#18285) (Francesco Trotta)
  • 32c08cf chore: drop Node < 18 and use @​eslint/js v9 in eslint-config-eslint (#18323) (Milos Djermanovic)
  • 16b6a8b docs: Update README (GitHub Actions Bot)
  • a76fb55 chore: @​eslint-community/eslint-plugin-eslint-comments v4.3.0 (#18319) (Milos Djermanovic)
  • df5f8a9 docs: paths and patterns difference in no-restricted-imports (#18273) (Tanuj Kanti)
  • c537d76 docs: update npm init @eslint/config generated file names (#18298) (唯然)
  • 78e45b1 chore: eslint-plugin-eslint-plugin v6.0.0 (#18316) (唯然)
  • 36103a5 chore: eslint-plugin-n v17.0.0 (#18315) (唯然)
  • e1e305d docs: fix linebreak-style examples (#18262) (Francesco Trotta)
  • 113f51e docs: Mention package.json config support dropped (#18305) (Nicholas C. Zakas)
  • 1fa6622 build: do not use --force flag to install dependencies (#18284) (Francesco Trotta)

... (truncated)

Commits
  • 271e7ab 9.2.0
  • 989ac9d Build: changelog update for 9.2.0
  • b346605 chore: upgrade @​eslint/js@​9.2.0 (#18413)
  • c4c18e0 chore: package.json update for @​eslint/js release
  • 284722c chore: package.json update for eslint-config-eslint release
  • 0f5df50 docs: Update README
  • 347d44f chore: remove eslintrc export from eslint-config-eslint (#18400)
  • 8485d76 feat: no-case-declarations add suggestions (#18388)
  • a498f35 feat: update Unicode letter detection in capitalized-comments rule (#18375)
  • 1579ce0 docs: update wording regarding indirect eval (#18394)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by eslintbot, a new releaser for eslint since your current version.


Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint](https://github.com/eslint/eslint) from 4.0.0 to 9.2.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v4.0.0...v9.2.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels May 6, 2024
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@eslint-community/[email protected] None +1 411 kB eslint-community-bot
npm/@eslint-community/[email protected] None 0 431 kB eslint-community-bot
npm/@eslint/[email protected] filesystem, unsafe 0 668 kB eslintbot
npm/@eslint/[email protected] None 0 14.3 kB eslintbot
npm/@humanwhocodes/[email protected] None 0 58.4 kB nzakas
npm/@humanwhocodes/[email protected] unsafe 0 21.2 kB nzakas
npm/@humanwhocodes/[email protected] None 0 23.3 kB nzakas
npm/@humanwhocodes/[email protected] None 0 40.6 kB nzakas
npm/@nodelib/[email protected] filesystem 0 22.2 kB mrmlnc
npm/@nodelib/[email protected] filesystem 0 11.8 kB mrmlnc
npm/@nodelib/[email protected] None 0 26.4 kB mrmlnc
npm/[email protected] None 0 24.4 kB rreverser
npm/[email protected] None 0 531 kB marijn
npm/[email protected] None 0 5.61 kB qix
npm/[email protected] None 0 17 kB sindresorhus
npm/[email protected] environment, filesystem 0 172 kB vitaly
npm/[email protected] None 0 6.33 kB sindresorhus
npm/[email protected] None 0 35 kB sindresorhus
npm/[email protected] None 0 27.2 kB qix
npm/[email protected] None 0 6.69 kB dfcreative
npm/[email protected] environment, filesystem, shell 0 21.2 kB satazor
npm/[email protected] environment 0 42.4 kB qix
npm/[email protected] None 0 3.79 kB sindresorhus
npm/[email protected] None 0 148 kB eslintbot
npm/[email protected] None 0 32.3 kB eslintbot
npm/[email protected] environment, filesystem 0 3.03 MB eslintbot
npm/[email protected] None 0 73.6 kB eslintbot
npm/[email protected] None 0 41.9 kB matteo.collina
npm/[email protected] filesystem 0 16 kB jaredwray
npm/[email protected] None 0 11.8 kB sindresorhus
npm/[email protected] filesystem 0 29.3 kB jaredwray
npm/[email protected] None 0 40.3 kB webreflection
npm/[email protected] None 0 7.72 kB phated
npm/[email protected] None 0 117 kB sindresorhus
npm/[email protected] None 0 4.42 kB sindresorhus
npm/[email protected] None 0 51.5 kB kael
npm/[email protected] None 0 4.87 kB sindresorhus
npm/[email protected] None 0 6.22 kB jonschlinkert
npm/[email protected] None 0 13.6 kB phated
npm/[email protected] None 0 4.12 kB sindresorhus
npm/[email protected] environment, filesystem 0 11 kB isaacs
npm/[email protected] None 0 405 kB vitaly
npm/[email protected] None 0 5.4 kB dominictarr
npm/[email protected] None 0 14.2 kB samn
npm/[email protected] None 0 27.8 kB jaredwray
npm/[email protected] None 0 24.9 kB gkz
npm/[email protected] filesystem 0 7.02 kB sindresorhus
npm/[email protected] None 0 54.1 kB jdalton
npm/[email protected] None 0 6.84 kB styfle
npm/[email protected] None 0 50.2 kB gkz
npm/[email protected] None 0 7.75 kB sindresorhus
npm/[email protected] None 0 7.24 kB sindresorhus
npm/[email protected] None 0 3.92 kB sindresorhus
npm/[email protected] filesystem 0 3.92 kB sindresorhus
npm/[email protected] None 0 4.55 kB sindresorhus
npm/[email protected] None 0 36.7 kB gkz
npm/[email protected] None 0 8.37 kB feross
npm/[email protected] filesystem, unsafe 0 4.64 kB sindresorhus
npm/[email protected] None 0 9.44 kB matteo.collina
npm/[email protected] None 0 6.56 kB feross
npm/[email protected] None 0 2.56 kB kevva
npm/[email protected] None 0 2.83 kB sindresorhus
npm/[email protected] None 0 4.03 kB sindresorhus
npm/[email protected] None 0 6.96 kB sindresorhus
npm/[email protected] None 0 7.04 kB sindresorhus
npm/[email protected] None 0 21.2 kB gkz
npm/[email protected] environment 0 9.97 kB isaacs
npm/[email protected] None 0 6.03 kB sindresorhus

View full report↗︎

Copy link

🚨 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 NoteSource
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
Environment variable access npm/[email protected]
New author npm/[email protected]
Dynamic require npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 12/15/2016, 10:00:35 PM
Filesystem access npm/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 12/11/2016, 4:04:24 AM
Filesystem access npm/[email protected]
Environment variable access npm/[email protected]
Shell access npm/[email protected]
Environment variable access npm/[email protected]
Filesystem access npm/[email protected]
Filesystem access npm/[email protected]
Environment variable access npm/[email protected]
Filesystem access npm/@nodelib/[email protected]
Filesystem access npm/@nodelib/[email protected]
Unmaintained npm/[email protected]
  • Last Publish: 1/26/2018, 9:28:18 AM
Unmaintained npm/[email protected]
  • Last Publish: 9/10/2018, 7:02:16 PM
Dynamic require npm/[email protected]
Debug access npm/@humanwhocodes/[email protected]
Dynamic require npm/@humanwhocodes/[email protected]
Filesystem access npm/[email protected]
Debug access npm/@eslint/[email protected]
Filesystem access npm/@eslint/[email protected]
Filesystem access npm/[email protected]
Environment variable access npm/[email protected]
Dynamic require npm/[email protected]
Environment variable access npm/[email protected]
Dynamic require npm/[email protected]

View full report↗︎

Next steps

What is environment variable access?

Package accesses environment variables, which may be a sign of credential stuffing or data theft.

Packages should be clear about which environment variables they access, and care should be taken to ensure they only access environment variables they claim to.

What is new author?

A new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.

Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

What is dynamic require?

Dynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.

Packages should avoid dynamic imports when possible. Audit the use of dynamic require to ensure it is not executing malicious or vulnerable code.

What are unmaintained packages?

Package has not been updated in more than 5 years and may be unmaintained. Problems with the package may go unaddressed.

Package should publish periodic maintenance releases if they are maintained, or deprecate if they have no intention in further maintenance.

What is filesystem access?

Accesses the file system, and could potentially read sensitive data.

If a package must read the file system, clarify what it will read and ensure it reads only what it claims to. If appropriate, packages can leave file system access to consumers and operate on data passed to it instead.

What is shell access?

This module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.

Packages should avoid accessing the shell which can reduce portability, and make it easier for malicious shell access to be introduced.

What is debug access?

Uses debug, reflection and dynamic code execution features.

Removing the use of debug will reduce the risk of any reflection and dynamic code execution.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants