[Snyk] Upgrade @babel/parser from 7.1.3 to 7.27.0 #243
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sweep Summary
Refactors Node.js module initialization by extracting CommonJS setup into a dedicated function to improve code organization and maintainability.
setupUserModules()
function inlib/internal/bootstrap/node.js
to better organize the module loading process.initializeCJS()
inlib/internal/modules/cjs/loader.js
to encapsulate CommonJS module system initialization.lib/internal/process/pre_execution.js
to use the new initialization function, improving code modularity.test/parallel/test-process-env.js
to ensure process.env is properly accessible during module initialization.Ask Sweep AI questions about this PR
Snyk has created this PR to upgrade @babel/parser from 7.1.3 to 7.27.0.
ℹ️ 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 185 versions ahead of your current version.
The recommended version was released a month ago.
Issues fixed by the recommended upgrade:
SNYK-JS-AJV-584908
SNYK-JS-MICROMATCH-6838728
SNYK-JS-BABELTRAVERSE-5962462
SNYK-JS-BRACES-6838727
SNYK-JS-CROSSSPAWN-8303230
SNYK-JS-DECODEURICOMPONENT-3149970
SNYK-JS-HAWK-2808852
SNYK-JS-SEMVER-3247795
SNYK-JS-UNSETVALUE-2400660
SNYK-JS-GLOBPARENT-1016905
SNYK-JS-HAWK-6969142
SNYK-JS-QS-3153490
npm:cryptiles:20180710
SNYK-JS-PATHTOREGEXP-7925106
Release notes
Package name: @babel/parser
v7.27.0 (2025-03-24)
Thanks @ ishchhabra and @ vovkasm for your first PRs!
👓 Spec Compliance
babel-generator
,babel-parser
importAttributesKeyword
towith
(@ JLHwung)🚀 New Feature
babel-helper-create-class-features-plugin
,babel-traverse
,babel-types
traverseFast
to exit early (@ liuxingbaoyu)babel-parser
,babel-types
ImportAttributes
toStandardized
and move its parser test fixtures (@ JLHwung)babel-generator
babel-parser
,babel-template
allowYieldOutsideFunction
to parser (@ liuxingbaoyu)babel-plugin-transform-typescript
,babel-traverse
upToScope
parameter tohasBinding
(@ liuxingbaoyu)babel-parser
babel-types
🐛 Bug Fix
babel-helper-create-class-features-plugin
,babel-plugin-transform-class-properties
babel-traverse
scope.crawl()
(@ liuxingbaoyu)babel-helpers
,babel-preset-typescript
,babel-runtime-corejs2
,babel-runtime-corejs3
,babel-runtime
rewriteRelativeImportExtensions
(@ JLHwung)babel-cli
@ babel/cli
generates duplicate inline source maps (@ liuxingbaoyu)babel-plugin-transform-named-capturing-groups-regex
,babel-types
🏃♀️ Performance
babel-types
@ babel/types
(@ liuxingbaoyu)babel-helper-create-regexp-features-plugin
Committers: 5
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
babel-parser
🐛 Bug Fix
babel-parser
,babel-template
babel-core
babel-parser
,babel-plugin-transform-typescript
babel-traverse
babel-generator
abstract override
(@ liuxingbaoyu)babel-parser
babel-helpers
,babel-runtime
,babel-runtime-corejs2
,babel-runtime-corejs3
💅 Polish
babel-standalone
🏠 Internal
babel-parser
Committers: 6
v7.26.9 (2025-02-14)
🐛 Bug Fix
babel-types
TSPropertySignature.kind
(@ liuxingbaoyu)babel-generator
,babel-types
🏠 Internal
babel-types
.ts
files with explicit reexports to solve name conflicts (@ nicolo-ribaudo)babel-core
@ types/gensync
in Babel 7 (@ nicolo-ribaudo)Committers: 5
v7.26.8 (2025-02-08)
🏠 Internal
babel-preset-env
v7.26.7 (2025-01-24)
Thanks @ branchseer and @ tquetano-netflix for your first PRs!
🐛 Bug Fix
babel-helpers
,babel-preset-env
,babel-runtime-corejs3
babel-plugin-transform-typeof-symbol
typeof
in arrow functions (@ liuxingbaoyu)babel-parser
ranges
option in estree method value (@ JLHwung)babel-core
babel-plugin-transform-typescript
babel-plugin-transform-typescript
,babel-traverse
,babel-types
import x = y.z
(@ liuxingbaoyu)Committers: 6
v7.26.5 (2025-01-10)
👓 Spec Compliance
babel-parser
import.defer()
form ofimport defer
(@ babel-bot)🐛 Bug Fix
babel-plugin-transform-block-scoped-functions
isInStrictMode
in Babel 7 (@ liuxingbaoyu)babel-plugin-transform-typescript
babel-parser
@(a.b)()
(@ liuxingbaoyu)babel-generator
,babel-parser
,babel-plugin-transform-flow-strip-types
,babel-types
babel-compat-data
,babel-preset-env
transform-typeof-symbol
compat data (@ liuxingbaoyu)babel-generator
,babel-parser
,babel-types
🔬 Output optimization
babel-plugin-transform-nullish-coalescing-operator
Committers: 5
Important
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: