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

🚨 [security] Update eslint 4.19.1 → 9.3.0 (major) #189

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented May 19, 2024


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ eslint (4.19.1 → 9.3.0) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ acorn (indirect, 5.7.4 → 8.11.3) · Repo

Security Advisories 🚨

🚨 Regular Expression Denial of Service in Acorn

Affected versions of acorn are vulnerable to Regular Expression Denial of Service.
A regex in the form of /[x-\ud800]/u causes the parser to enter an infinite loop.
The string is not valid UTF16 which usually results in it being sanitized before reaching the parser.
If an application processes untrusted input and passes it directly to acorn,
attackers may leverage the vulnerability leading to Denial of Service.

🚨 Regular Expression Denial of Service in Acorn

Affected versions of acorn are vulnerable to Regular Expression Denial of Service.
A regex in the form of /[x-\ud800]/u causes the parser to enter an infinite loop.
The string is not valid UTF16 which usually results in it being sanitized before reaching the parser.
If an application processes untrusted input and passes it directly to acorn,
attackers may leverage the vulnerability leading to Denial of Service.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ acorn-jsx (indirect, 3.0.1 → 5.3.2) · Repo

Release Notes

5.2.0

Forbid } and > in JSX text (#108). This was previously allowed, but went against the spec (#106).

Does any of this look wrong? Please let us know.

Sorry, we couldn't find anything useful about this release.

↗️ callsites (indirect, 0.2.0 → 3.1.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ chalk (indirect, 2.4.2 → 4.1.2) · Repo

Release Notes

4.1.2

  • Readme updates

4.1.1

4.1.0

  • Support template literals for nested calls (#392) 09ddbad

v4.0.0...v4.1.0

4.0.0

Breaking

  • Require Node.js 10 61999a4
  • Change the Level TypeScript type to be a union instead of enum f0f4638
-if (chalk.level > Level.None) {}
+if (chalk.level > 0) {}

Improvements

  • Use Object.setPrototypeOf as __proto__ could potentially be disabled (#387) 63469d3

v3.0.0...v4.0.0

3.0.0

This release has been in development for more than a year and massively improves performance and the time it takes to import Chalk.

Thanks to @stroncium for his hard work on this. 🙌

Breaking

  • Require Node.js 8 3ef170b
  • Remove the .enabled property in favor of .level (#356) 1f77953
    • Why: It was confusing to users to have two properties for detecting color support.
    • Migrate:
-if (chalk.enabled) {}
+if (chalk.level > 0) {}
  • Remove chalk.constructor() in favor of chalk.Instance() (#322) de2f4cd
    • Migrate:
-new chalk.constructor({level: 1});
+new chalk.Instance({level: 1})

Minor breaking

-import chalk from 'chalk';
+import chalk = require('chalk');
  • Drop built-in Flow type definition d3be9c6
    • Why: None of us use Flow and we were not good at maintaining the type definition. You can get the types at flow-typed (needs to be updated to Chalk v3, open an issue on flow-typed).
  • Rename the ChalkOptions TypeScript type to Options cf66156
  • Remove dim style workaround for Windows (#331) cd5de7a
    • Why: The issue was fixed in newer Windows 10 builds.
  • Remove the blue color workaround for Windows (#330) 2ca015c
    • Why: The issue was fixed in newer Windows 10 builds.

Enhancements

  • Massively improve performance! (#337) c08417e
  • Improve require speed (#358) 61aca7c
  • Add chalk.stderr for printing to stderr (#359) 2a53389
  • Add blackBright color. It's the same as the gray color, but added for consistency. c25c32a
  • Fix support for bracketed Unicode escapes in template literals (#350) 9830948
  • Export TypeScript types for colors and modifiers (#357) 6b4d206
  • Add ansi256 and bgAnsi256 to TypeScript declaration (#368) fb8e85a
  • Add ansi and bgAnsi to TypeScript declaration (#369) 18c280d

Color detection

Fixes

  • Fix support for nested styles (#335) 87156ce
  • Fix const enum for TypeScript (#364) 4e65299
  • Fix TypeScript type for supportsColor which is top‑level only (#342) b3e9b91
  • Fix TypeScript type for chalk.supportsColor (#347) d82b2a6
  • Fix TypeScript type for tagged template literal argument to accept unknown instead of just string (#316) 7f6e563

v2.4.1...v3.0.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ color-convert (indirect, 1.9.3 → 2.0.1) · Repo · Changelog

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ color-name (indirect, 1.1.3 → 1.1.4) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ cross-spawn (indirect, 5.1.0 → 7.0.3) · Repo · Changelog

Release Notes

7.0.3 (from changelog)

Bug Fixes

  • detect path key based on correct environment (#133) (159e7e9)

7.0.2 (from changelog)

Bug Fixes

  • fix worker threads in Node >=11.10.0 (#132) (6c5b4f0)

7.0.1 (from changelog)

Bug Fixes

7.0.0 (from changelog)

⚠ BREAKING CHANGES

  • drop support for Node.js < 8

  • drop support for versions below Node.js 8 (#125) (16feb53)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ eslint-scope (indirect, 3.7.3 → 8.0.1) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ eslint-visitor-keys (indirect, 1.3.0 → 4.0.0) · Repo · Changelog

Release Notes

4.0.0

4.0.0 (2024-02-08)

⚠ BREAKING CHANGES

  • Require Node.js ^18.18.0 || ^20.9.0 || >=21.1.0 (#63)

Features

  • Require Node.js ^18.18.0 || ^20.9.0 || &gt;=21.1.0 (#63) (388b2ac)

Chores

3.4.3

3.4.3 (2023-08-08)

Chores

3.4.2

3.4.2 (2023-07-27)

Documentation

Chores

3.4.1

3.4.1 (2023-05-05)

Bug Fixes

  • correct types for node16 resolution (#47) (7bd1fc1)

Chores

3.4.0

Features

  • 6ece4bd feat: add JSXSpreadChild and tool to build keys out of AST definitions (#36) (Brett Zamir)

Bug Fixes

  • e9a070f fix: remove useless sourcemap url (fixes #43) (#44) (余腾靖)

Documentation

  • 4beb7a7 docs: update badges (#37) (Milos Djermanovic)

Build Related

Chores

  • 0398109 chore: add triage action (#42) (Milos Djermanovic)
  • bcffbe5 ci: add Node v19 (#41) (Milos Djermanovic)
  • c24f2e4 chore: update github actions and add funding field (#40) (Deepshika S)

3.3.0

Features

  • 7f10327 feat: Bundle JSDoc-built TypeScript declaration file (#34) (Brett Zamir)

3.2.0

Features

  • 5c53218 feat: add missing JSXOpeningFragment and JSXClosingFragment (#33) (Richard Huang)

Documentation

  • 2a5c9a6 docs: readme add syntax highlighting (#32) (coderaiser)

3.1.0

Enhancements

  • 5f5b232 Update: add StaticBlock (#29) (Milos Djermanovic)

Documentation

  • 7b756cd Docs: Update the minimum Node.js version requirement (#26) (0uep)

Build Related

  • 5e3e687 build: upgrade eslint-release to v3.2.0 to support conventional commits (#31) (Milos Djermanovic)
  • 53d3939 Build: add node v17 (#30) (唯然)

Chores

  • e89bff9 Chore: use actions/setup-node@v2 (薛定谔的猫)

3.0.0

2.1.0

  • 908fdf8 Update: add PrivateIdentifier and PropertyDefinition (#20) (Toru Nagashima)
  • 2d7be11 Chore: No longer test in Node.js 13 (#17) (Michaël De Boey)
  • b41b509 Docs: Update required Node.js version (#15) (Michaël De Boey)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ espree (indirect, 3.5.4 → 10.0.1) · Repo · Changelog

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ esquery (indirect, 1.3.1 → 1.5.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ estraverse (indirect, 4.3.0 → 5.3.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ file-entry-cache (indirect, 2.0.0 → 8.0.0) · Repo · Changelog

Release Notes

8.0.0

Removing support for Nodejs 10, 12, and 14

This is updating modules to the latest versions and supporting Nodejs >=16 moving forward with v8.0.0

What's Changed

Full Changelog: v7.0.2...v8.0.0

7.0.2

What's Changed

Full Changelog: v7.0.1...v7.0.2

7.0.1

What's Changed

Full Changelog: v7.0.0...v7.0.1

7.0.0

What's Changed

Full Changelog: v6.0.1...v7.0.0

6.0.1 (from changelog)

6.0.0 (from changelog)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ flat-cache (indirect, 1.3.4 → 4.0.1) · Repo · Changelog

Release Notes

4.0.1

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.0.1

4.0.0

Major version release

To stay up to date with latest module dependencies we moved to supporting nodejs >=16 with this release. All other functionality stayed the same.

What's Changed

Full Changelog: v3.2.0...v4.0.0

3.2.0

What's Changed

New Contributors

Full Changelog: v3.1.1...v3.2.0

3.1.1

What's Changed

New Contributors

Full Changelog: v3.0.4...v3.1.1

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ globals (indirect, 11.12.0 → 14.0.0) · Repo

Release Notes

Too many releases to show here. View the full release notes.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ has-flag (indirect, 3.0.0 → 4.0.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ ignore (indirect, 3.3.10 → 5.3.1) · Repo · Changelog

Release Notes

5.3.0

5.3.0

  • MINOR export Options interface (#105)

An upgrade is safe for all dependents


It allows typing external methods which expect Options as a param, by importing the Options interface.

import {Options} from 'ignore'

5.2.4

  • PATCH fixes normal single asterisk and normal consecutive asterisks defined in gitignore spec (#57)
  • PATCH invalid trailing backslash will not throw unexpectedly

An upgrade is recommended for all dependents


The following rules could be not properly parsed with previous ignore versions

**foo
*bar
qu*ux
abc\   # `ignore` would throw if no whitespace after `\`

5.2.0

  • PATCH support readonly arrays of typescript. (#70)
  • MINOR bring backward compatibility with relative paths. (#75)

An upgrade is recommended for all dependents.


ignore().ignores('../foo/bar.js') // will throw

And the code below will not throw, however it is not recommended

ignore({
  allowRelativePaths: true
}).ignores('../foo/bar.js')

Recommend:

ignore().ignores('foo/bar.js')

5.1.9

  • PATCH fixes ignorecase when internal cache is hit. (#74)

An upgrade is recommended for all dependents.

5.1.5

  • PATCH fixes escaping for square brackets (#59)

An upgrade is recommended for all dependents.

5.1.1

  • PATCH fixes isPathValid on Windows (#54)

On Windows, if path is an absolute path, ig.ignores(path), ig.test(path) and related methods will now throw an error as expected.

5.1.0

  • FEATURE: Typescript: export interface Ignore (#53)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ resolve-from (indirect, 1.0.1 → 4.0.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ shebang-command (indirect, 1.2.0 → 2.0.0) · Repo

Release Notes

2.0.0

v1.2.0...v2.0.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ shebang-regex (indirect, 1.0.0 → 3.0.0) · Repo

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

↗️ strip-json-comments (indirect, 2.0.1 → 3.1.1) · Repo

Release Notes

3.1.1

  • Add jsonc to package.json keywords (#45) 60d2039

v3.1.0...v3.1.1

3.1.0

  • Strictly validate that the jsonString argument is a string 681f8b8

v3.0.1...v3.1.0

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

🆕 @​eslint-community/eslint-utils (added, 4.4.0)

🆕 @​eslint-community/regexpp (added, 4.10.0)

🆕 @​eslint/eslintrc (added, 3.1.0)

🆕 @​eslint/js (added, 9.3.0)

🆕 @​humanwhocodes/config-array (added, 0.13.0)

🆕 @​humanwhocodes/module-importer (added, 1.0.1)

🆕 @​humanwhocodes/object-schema (added, 2.0.3)

🆕 @​humanwhocodes/retry (added, 0.3.0)

🆕 @​nodelib/fs.scandir (added, 2.1.5)

🆕 @​nodelib/fs.stat (added, 2.0.5)

🆕 @​nodelib/fs.walk (added, 1.2.8)

🆕 fastq (added, 1.17.1)

🆕 flatted (added, 3.3.1)

🆕 import-fresh (added, 3.3.0)

🆕 is-path-inside (added, 3.0.3)

🆕 json-buffer (added, 3.0.1)

🆕 keyv (added, 4.5.4)

🆕 locate-path (added, 6.0.0)

🆕 lodash.merge (added, 4.6.2)

🆕 p-limit (added, 3.1.0)

🆕 p-locate (added, 5.0.0)

🆕 parent-module (added, 1.0.1)

🆕 queue-microtask (added, 1.2.3)

🆕 reusify (added, 1.0.4)

🆕 run-parallel (added, 1.2.0)

🆕 yocto-queue (added, 0.1.0)

🗑️ ajv-keywords (removed)

🗑️ ansi-escapes (removed)

🗑️ babel-code-frame (removed)

🗑️ caller-path (removed)

🗑️ chardet (removed)

🗑️ circular-json (removed)

🗑️ cli-cursor (removed)

🗑️ cli-width (removed)

🗑️ co (removed)

🗑️ doctrine (removed)

🗑️ external-editor (removed)

🗑️ figures (removed)

🗑️ functional-red-black-tree (removed)

🗑️ inquirer (removed)

🗑️ is-resolvable (removed)

🗑️ js-tokens (removed)

🗑️ mimic-fn (removed)

🗑️ mute-stream (removed)

🗑️ onetime (removed)

🗑️ path-is-inside (removed)

🗑️ pluralize (removed)

🗑️ progress (removed)

🗑️ regexpp (removed)

🗑️ require-uncached (removed)

🗑️ restore-cursor (removed)

🗑️ run-async (removed)

🗑️ rx-lite (removed)

🗑️ rx-lite-aggregates (removed)

🗑️ slice-ansi (removed)

🗑️ table (removed)

🗑️ through (removed)

🗑️ write (removed)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Copy link
Contributor Author

depfu bot commented Jun 3, 2024

Closed in favor of #190.

@depfu depfu bot closed this Jun 3, 2024
@depfu depfu bot deleted the depfu/update/npm/eslint-9.3.0 branch June 3, 2024 06:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants