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.5.0 (major) #191

Closed
wants to merge 1 commit into from

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Jun 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.5.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.12.0) ยท 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

  • 81c0732 build: add node v18 (#39) (ๅ”ฏ็„ถ)

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

  • 701b67d Breaking: drop node v10/v13/v15 (refs eslint/eslint#14023) (#23) (่–›ๅฎš่ฐ”็š„็Œซ)
  • f584b12 Breaking: Switch to ESM (#24) (Brett Zamir)
  • 7279e73 Build: Update branch reference in CI (#25) (Milos Djermanovic)
  • c6846d6 Upgrade: eslint-release (#21) (Nicholas C. Zakas)

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.1.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.

โ†—๏ธ 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.1)

๐Ÿ†• @โ€‹eslint/config-array (added, 0.16.0)

๐Ÿ†• @โ€‹eslint/eslintrc (added, 3.1.0)

๐Ÿ†• @โ€‹eslint/js (added, 9.5.0)

๐Ÿ†• @โ€‹eslint/object-schema (added, 2.1.4)

๐Ÿ†• @โ€‹humanwhocodes/module-importer (added, 1.0.1)

๐Ÿ†• @โ€‹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 30, 2024

Closed in favor of #192.

@depfu depfu bot closed this Jun 30, 2024
@depfu depfu bot deleted the depfu/update/npm/eslint-9.5.0 branch June 30, 2024 01: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.

0 participants