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

[Snyk] Upgrade @babel/generator from 7.1.3 to 7.26.10 #231

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

Conversation

nerdy-tech-com-gitub
Copy link
Owner

@nerdy-tech-com-gitub nerdy-tech-com-gitub commented Apr 6, 2025

snyk-top-banner

Snyk has created this PR to upgrade @babel/generator from 7.1.3 to 7.26.10.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 137 versions ahead of your current version.

  • The recommended version was released 25 days ago.

Issues fixed by the recommended upgrade:

Issue Score Exploit Maturity
high severity Inefficient Regular Expression Complexity
SNYK-JS-MICROMATCH-6838728
124 No Known Exploit
high severity Prototype Pollution
SNYK-JS-AJV-584908
124 No Known Exploit
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-SEMVER-3247795
124 Proof of Concept
high severity Prototype Pollution
SNYK-JS-UNSETVALUE-2400660
124 No Known Exploit
critical severity Incomplete List of Disallowed Inputs
SNYK-JS-BABELTRAVERSE-5962462
124 Proof of Concept
high severity Excessive Platform Resource Consumption within a Loop
SNYK-JS-BRACES-6838727
124 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-CROSSSPAWN-8303230
124 Proof of Concept
high severity Denial of Service (DoS)
SNYK-JS-DECODEURICOMPONENT-3149970
124 Proof of Concept
high severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-HAWK-2808852
124 No Known Exploit
high severity Prototype Poisoning
SNYK-JS-QS-3153490
124 Proof of Concept
medium severity Insecure Randomness
npm:cryptiles:20180710
124 No Known Exploit
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-GLOBPARENT-1016905
124 Proof of Concept
critical severity Authentication Bypass
SNYK-JS-HAWK-6969142
124 Proof of Concept
medium severity Regular Expression Denial of Service (ReDoS)
SNYK-JS-PATHTOREGEXP-7925106
124 Proof of Concept
Release notes
Package name: @babel/generator
  • 7.26.10 - 2025-03-11

    v7.26.10 (2025-03-11)

    Thanks @ jordan-choi and @ mmmsssttt404 for your first PRs!

    This release includes a fix for GHSA-968p-4wvh-cqc8, a security vulnerability which affects the .replace method of transpiled regular expressions that use named capturing groups.

    👓 Spec Compliance

    🐛 Bug Fix

    • babel-parser, babel-template
    • babel-core
    • babel-parser, babel-plugin-transform-typescript
    • babel-traverse
    • babel-generator
    • babel-parser
    • babel-helpers, babel-runtime, babel-runtime-corejs2, babel-runtime-corejs3

    💅 Polish

    • babel-standalone

    🏠 Internal

    Committers: 6

  • 7.26.9 - 2025-02-14

    v7.26.9 (2025-02-14)

    🐛 Bug Fix

    🏠 Internal

    Committers: 5

  • 7.26.8 - 2025-02-08

    v7.26.8 (2025-02-08)

    🏠 Internal

    • babel-preset-env
      • #17097 Update dependency babel-plugin-polyfill-corejs3 to ^0.11.0
  • 7.26.5 - 2025-01-10

    v7.26.5 (2025-01-10)

    👓 Spec Compliance

    • babel-parser

    🐛 Bug Fix

    • babel-plugin-transform-block-scoped-functions
    • babel-plugin-transform-typescript
    • babel-parser
    • babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-types
    • babel-compat-data, babel-preset-env
    • babel-generator, babel-parser, babel-types

    🔬 Output optimization

    • babel-plugin-transform-nullish-coalescing-operator

    Committers: 5

  • 7.26.3 - 2024-12-04
  • 7.26.2 - 2024-10-30
  • 7.26.0 - 2024-10-25
  • 7.25.9 - 2024-10-22
  • 7.25.7 - 2024-10-02
  • 7.25.6 - 2024-08-29
  • 7.25.5 - 2024-08-23
  • 7.25.4 - 2024-08-22
  • 7.25.0 - 2024-07-26
  • 7.24.10 - 2024-07-16
  • 7.24.9 - 2024-07-15
  • 7.24.8 - 2024-07-11
  • 7.24.7 - 2024-06-05
  • 7.24.6 - 2024-05-24
  • 7.24.5 - 2024-04-29
  • 7.24.4 - 2024-04-03
  • 7.24.1 - 2024-03-19
  • 7.23.6 - 2023-12-11
  • 7.23.5 - 2023-11-29
  • 7.23.4 - 2023-11-20
  • 7.23.3 - 2023-11-09
  • 7.23.0 - 2023-09-25
  • 7.22.15 - 2023-09-04
  • 7.22.10 - 2023-08-07
  • 7.22.9 - 2023-07-12
  • 7.22.7 - 2023-07-06
  • 7.22.5 - 2023-06-08
  • 7.22.3 - 2023-05-27
  • 7.22.0 - 2023-05-26
  • 7.21.9 - 2023-05-22
  • 7.21.5 - 2023-04-28
  • 7.21.4 - 2023-03-31
  • 7.21.4-esm.4 - 2023-04-04
  • 7.21.4-esm.3 - 2023-04-04
  • 7.21.4-esm.2 - 2023-04-04
  • 7.21.4-esm.1 - 2023-04-04
  • 7.21.4-esm - 2023-04-04
  • 7.21.3 - 2023-03-14
  • 7.21.1 - 2023-02-20
  • 7.21.0 - 2023-02-20
  • 7.20.14 - 2023-01-27
  • 7.20.7 - 2022-12-22
  • 7.20.5 - 2022-11-28
  • 7.20.4 - 2022-11-08
  • 7.20.3 - 2022-11-07
  • 7.20.2 - 2022-11-04
  • 7.20.1 - 2022-11-01
  • 7.20.0 - 2022-10-27
  • 7.19.6 - 2022-10-20
  • 7.19.5 - 2022-10-10
  • 7.19.4 - 2022-10-10
  • 7.19.3 - 2022-09-27
  • 7.19.0 - 2022-09-05
  • 7.18.13 - 2022-08-22
  • 7.18.12 - 2022-08-05
  • 7.18.10 - 2022-08-01
  • 7.18.9 - 2022-07-18
  • 7.18.7 - 2022-06-28
  • 7.18.6 - 2022-06-27
  • 7.18.2 - 2022-05-25
  • 7.18.0 - 2022-05-19
  • 7.17.12 - 2022-05-16
  • 7.17.10 - 2022-04-29
  • 7.17.9 - 2022-04-06
  • 7.17.7 - 2022-03-14
  • 7.17.3 - 2022-02-15
  • 7.17.0 - 2022-02-02
  • 7.16.8 - 2022-01-10
  • 7.16.7 - 2021-12-31
  • 7.16.5 - 2021-12-13
  • 7.16.0 - 2021-10-29
  • 7.15.8 - 2021-10-06
  • 7.15.4 - 2021-09-02
  • 7.15.0 - 2021-08-04
  • 7.14.9 - 2021-08-01
  • 7.14.8 - 2021-07-20
  • 7.14.5 - 2021-06-09
  • 7.14.3 - 2021-05-17
  • 7.14.2 - 2021-05-12
  • 7.14.1 - 2021-05-04
  • 7.14.0 - 2021-04-29
  • 7.13.16 - 2021-04-20
  • 7.13.9 - 2021-03-01
  • 7.13.0 - 2021-02-22
  • 7.12.17 - 2021-02-18
  • 7.12.15 - 2021-02-04
  • 7.12.13 - 2021-02-03
  • 7.12.11 - 2020-12-15
  • 7.12.10 - 2020-12-09
  • 7.12.5 - 2020-11-03
  • 7.12.1 - 2020-10-15
  • 7.12.0 - 2020-10-14
  • 7.11.6 - 2020-09-03
  • 7.11.5 - 2020-08-31
  • 7.11.4 - 2020-08-20
  • 7.11.0 - 2020-07-30
  • 7.10.5 - 2020-07-14
  • 7.10.4 - 2020-06-30
  • 7.10.3 - 2020-06-19
  • 7.10.2 - 2020-05-30
  • 7.10.1 - 2020-05-27
  • 7.10.0 - 2020-05-26
  • 7.9.6 - 2020-04-29
  • 7.9.5 - 2020-04-07
  • 7.9.4 - 2020-03-24
  • 7.9.3 - 2020-03-22
  • 7.9.0 - 2020-03-20
  • 7.8.8 - 2020-03-12
  • 7.8.7 - 2020-03-05
  • 7.8.6 - 2020-02-27
  • 7.8.4 - 2020-01-30
  • 7.8.3 - 2020-01-13
  • 7.8.0 - 2020-01-12
  • 7.7.7 - 2019-12-19
  • 7.7.4 - 2019-11-22
  • 7.7.2 - 2019-11-06
  • 7.7.0 - 2019-11-05
  • 7.6.4 - 2019-10-10
  • 7.6.3 - 2019-10-08
  • 7.6.2 - 2019-09-23
  • 7.6.0 - 2019-09-06
  • 7.5.5 - 2019-07-17
  • 7.5.0 - 2019-07-04
  • 7.4.4 - 2019-04-26
  • 7.4.0 - 2019-03-19
  • 7.3.4 - 2019-02-25
  • 7.3.3 - 2019-02-15
  • 7.3.2 - 2019-02-04
  • 7.3.0 - 2019-01-21
  • 7.2.2 - 2018-12-15
  • 7.2.0 - 2018-12-03
  • 7.1.6 - 2018-11-13
  • 7.1.5 - 2018-11-06
  • 7.1.3 - 2018-10-11
from @babel/generator GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.
  • Max score is 1000. Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Summary by Sourcery

Bug Fixes:

  • Resolve multiple high and critical severity security vulnerabilities in the Babel generator package

Snyk has created this PR to upgrade @babel/generator from 7.1.3 to 7.26.10.

See this package in npm:
@babel/generator

See this project in Snyk:
https://app.snyk.io/org/nerds-github/project/5c08c7f3-e081-4b45-bb54-aed4a1afcddf?utm_source=github&utm_medium=referral&page=upgrade-pr
Copy link

sourcery-ai bot commented Apr 6, 2025

Reviewer's Guide by Sourcery

This pull request upgrades the @babel/generator dependency from version 7.1.3 to 7.26.10. This upgrade addresses multiple security vulnerabilities and incorporates various bug fixes, spec compliance updates, and internal improvements.

Updated class diagram for @babel/generator (v7.26.10)

classDiagram
  class Generator {
    + generate(ast: ASTNode, options: Object, code: string): Output
  }

  class Output {
    + code: string
    + map: SourceMap
  }

  class SourceMap {
    + addMapping(mapping: Mapping)
  }

  class Mapping {
    + generated: Position
    + original: Position
    + source: string
  }

  class Position {
    + line: number
    + column: number
  }

  note for Generator "This class generates code from an AST."
  note for Output "This class represents the generated code and source map."
  note for SourceMap "This class represents the source map."
  note for Mapping "This class represents a mapping between generated and original code."
  note for Position "This class represents a position in the code."
Loading

File-Level Changes

Change Details Files
The pull request upgrades the @babel/generator dependency.
  • Upgraded @babel/generator from version 7.1.3 to 7.26.10.
deps/v8/tools/clusterfuzz/js_fuzzer/package.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants