Update dependency @babel/runtime to v7.26.10 [SECURITY]
Note: This PR body was truncated due to platform limits.
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| @babel/runtime (source) | 7.21.5 -> 7.26.10 |
GitHub Vulnerability Alerts
CVE-2025-27789
Impact
When using Babel to compile regular expression named capturing groups, Babel will generate a polyfill for the .replace method that has quadratic complexity on some specific replacement pattern strings (i.e. the second argument passed to .replace).
Your generated code is vulnerable if all the following conditions are true:
- You use Babel to compile regular expression named capturing groups
- You use the
.replacemethod on a regular expression that contains named capturing groups - Your code uses untrusted strings as the second argument of
.replace
If you are using @babel/preset-env with the targets option, the transform that injects the vulnerable code is automatically enabled if:
- you use duplicated named capturing groups, and target any browser older than Chrome/Edge 126, Opera 112, Firefox 129, Safari 17.4, or Node.js 23
- you use any named capturing groups, and target any browser older than Chrome 64, Opera 71, Edge 79, Firefox 78, Safari 11.1, or Node.js 10
You can verify what transforms @babel/preset-env is using by enabling the debug option.
Patches
This problem has been fixed in @babel/helpers and @babel/runtime 7.26.10 and 8.0.0-alpha.17, please upgrade. It's likely that you do not directly depend on @babel/helpers, and instead you depend on @babel/core (which itself depends on @babel/helpers). Upgrading to @babel/core 7.26.10 is not required, but it guarantees that you are on a new enough @babel/helpers version.
Please note that just updating your Babel dependencies is not enough: you will also need to re-compile your code.
Workarounds
If you are passing user-provided strings as the second argument of .replace on regular expressions that contain named capturing groups, validate the input and make sure it does not contain the substring $< if it's then not followed by > (possibly with other characters in between).
References
This vulnerability was reported and fixed in https://github.com/babel/babel/pull/17173.
Release Notes
babel/babel (@​babel/runtime)
v7.26.10
:eyeglasses: Spec Compliance
babel-parser- #​17159 Disallow decorator in array pattern (@​JLHwung)
:bug: Bug Fix
babel-parser,babel-template- #​17164 Fix: always initialize ExportDeclaration attributes (@​JLHwung)
babel-core- #​17142 fix: "Map maximum size exceeded" in deepClone (@​liuxingbaoyu)
babel-parser,babel-plugin-transform-typescript- #​17154 Update typescript parser tests (@​JLHwung)
babel-traverse- #​17151 fix: Should not evaluate vars in child scope (@​liuxingbaoyu)
babel-generator- #​17153 fix: Correctly generate
abstract override(@​liuxingbaoyu)
- #​17153 fix: Correctly generate
babel-parser- #​17107 Fix source type detection when parsing TypeScript (@​JLHwung)
babel-helpers,babel-runtime,babel-runtime-corejs2,babel-runtime-corejs3- #​17173 Fix processing of replacement pattern with named capture groups (@​mmmsssttt404)
:nail_care: Polish
babel-standalone- #​17158 Avoid warnings when re-bundling @​babel/standalone with webpack (@​liuxingbaoyu)
:house: Internal
babel-parser- #​17160 Left-value parsing cleanup (@​JLHwung)
v7.26.9
:bug: Bug Fix
babel-types- #​17103 fix: Definition for
TSPropertySignature.kind(@​liuxingbaoyu)
- #​17103 fix: Definition for
babel-generator,babel-types- #​17062 Print TypeScript optional/definite in ClassPrivateProperty (@​jamiebuilds-signal)
:house: Internal
babel-types- #​17130 Use
.tsfiles with explicit reexports to solve name conflicts (@​nicolo-ribaudo)
- #​17130 Use
babel-core- #​17127 Do not depend on
@types/gensyncin Babel 7 (@​nicolo-ribaudo)
- #​17127 Do not depend on
v7.26.7
:bug: Bug Fix
babel-helpers,babel-preset-env,babel-runtime-corejs3- #​17086 Make "object without properties" helpers ES6-compatible (@​tquetano-netflix)
babel-plugin-transform-typeof-symbol- #​17085 fix: Correctly handle
typeofin arrow functions (@​liuxingbaoyu)
- #​17085 fix: Correctly handle
babel-parser- #​17079 Respect
rangesoption in estree method value (@​JLHwung)
- #​17079 Respect
babel-core- #​17052 Do not try to parse .ts configs as JSON if natively supported (@​nicolo-ribaudo)
babel-plugin-transform-typescript- #​17050 fix: correctly resolve references to non-constant enum members (@​branchseer)
babel-plugin-transform-typescript,babel-traverse,babel-types- #​17025 fix: Remove type-only
import x = y.z(@​liuxingbaoyu)
- #​17025 fix: Remove type-only
v7.26.0
:rocket: New Feature
babel-core,babel-generator,babel-parser,babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributes,babel-preset-env,babel-standalone,babel-types- #​16850 Enable import attributes parsing by default (@​nicolo-ribaudo)
babel-core- #​16862 feat: support async plugin's pre/post (@​timofei-iatsenko)
babel-compat-data,babel-plugin-proposal-regexp-modifiers,babel-plugin-transform-regexp-modifiers,babel-preset-env,babel-standalone- #​16692 Add
transform-regexp-modifierstopreset-env(@​JLHwung)
- #​16692 Add
babel-parser- #​16849 feat: add
startIndexparser option (@​DylanPiercey)
- #​16849 feat: add
babel-generator,babel-parser,babel-plugin-syntax-flow- #​16841 Always enable parsing of Flow enums (@​nicolo-ribaudo)
babel-helpers,babel-preset-typescript,babel-runtime-corejs3- #​16794 Support
import()inrewriteImportExtensions(@​liuxingbaoyu)
- #​16794 Support
babel-generator,babel-parser- #​16708 Add experimental format-preserving mode to
@babel/generator(@​nicolo-ribaudo)
- #​16708 Add experimental format-preserving mode to
:bug: Bug Fix
babel-core- #​16928 Workaround Node.js bug for parallel loading of TLA modules (@​nicolo-ribaudo)
- #​16926 Fix loading of modules with TLA in Node.js 23 (@​nicolo-ribaudo)
:nail_care: Polish
babel-plugin-proposal-json-modules,babel-plugin-transform-json-modules,babel-standalone- #​16924 Rename
proposal-json-modulestotransform-json-modules(@​nicolo-ribaudo)
- #​16924 Rename
:house: Internal
babel-code-frame,babel-highlight- #​16896 Inline
@babel/highlightin@babel/code-frame(@​nicolo-ribaudo)
- #​16896 Inline
babel-generator,babel-parser,babel-types- #​16732 Add
kindtoTSModuleDeclaration(@​liuxingbaoyu)
- #​16732 Add
:running_woman: Performance
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #​16882 perf: Improve module transforms (@​liuxingbaoyu)
v7.25.9
:bug: Bug Fix
babel-parser,babel-template,babel-types- #​16905 fix: Keep type annotations in
syntacticPlaceholdersmode (@​liuxingbaoyu)
- #​16905 fix: Keep type annotations in
babel-helper-compilation-targets,babel-preset-env- #​16907 fix: support BROWSERSLIST{,_CONFIG} env (@​JLHwung)
- Other
- #​16884 Analyze
ClassAccessorPropertyto prevent theno-undefrule (@​victorenator)
- #​16884 Analyze
:house: Internal
babel-helper-transform-fixture-test-runner- #​16914 remove test options flaky (@​JLHwung)
:running_woman: Performance
babel-parser,babel-types- #​16918 perf: Make
VISITOR_KEYSetc. faster to access (@​liuxingbaoyu)
- #​16918 perf: Make
v7.25.7
:bug: Bug Fix
babel-helper-validator-identifier- #​16825 fix: update identifier to unicode 16 (@​JLHwung)
babel-traverse- #​16814 fix: issue with node path keys updated on unrelated paths (@​DylanPiercey)
babel-plugin-transform-classes- #​16797 Use an inclusion rather than exclusion list for
super()check (@​nicolo-ribaudo)
- #​16797 Use an inclusion rather than exclusion list for
babel-generator- #​16788 Fix printing of TS
inferin compact mode (@​nicolo-ribaudo) - #​16785 Print TS type annotations for destructuring in assignment pattern (@​nicolo-ribaudo)
- #​16778 Respect
[no LineTerminator here]after nodes (@​nicolo-ribaudo)
- #​16788 Fix printing of TS
:nail_care: Polish
babel-types- #​16852 Add deprecated JSDOC for fields (@​liuxingbaoyu)
:house: Internal
babel-core- #​16820 Allow sync loading of ESM when
--experimental-require-module(@​nicolo-ribaudo)
- #​16820 Allow sync loading of ESM when
babel-helper-compilation-targets,babel-helper-plugin-utils,babel-preset-env- #​16858 Add browserslist config to external dependency (@​JLHwung)
babel-plugin-proposal-destructuring-private,babel-plugin-syntax-decimal,babel-plugin-syntax-import-reflection,babel-standalone- #​16809 Archive syntax-import-reflection and syntax-decimal (@​nicolo-ribaudo)
babel-generator- #​16779 Simplify logic for
[no LineTerminator here]before nodes (@​nicolo-ribaudo)
- #​16779 Simplify logic for
:running_woman: Performance
babel-plugin-transform-typescript- #​16875 perf: Avoid extra cloning of namespaces (@​liuxingbaoyu)
babel-types- #​16842 perf: Improve @​babel/types builders (@​liuxingbaoyu)
- #​16828 Only access
BABEL_TYPES_8_BREAKINGat startup (@​nicolo-ribaudo)
v7.25.6
:bug: Bug Fix
babel-generator- #​16783 Properly print inner comments in TS array types (@​nicolo-ribaudo)
- #​16775 fix: jsx whitespace is not properly preserved when retainLines (@​liuxingbaoyu)
babel-traverse- #​16727 fix:
path.getAssignmentIdentifiersmay beundefined(@​liuxingbaoyu)
- #​16727 fix:
babel-parser- #​16761 fix: improve static canFollowModifier checks (@​JLHwung)
babel-helpers,babel-plugin-transform-optional-chaining,babel-runtime-corejs3- #​16769 Only wrap functions in
superPropertyGethelper (@​nicolo-ribaudo)
- #​16769 Only wrap functions in
:nail_care: Polish
babel-generator,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-duplicate-named-capturing-groups-regex,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env- #​16780 Do not enforce printing space between
(and comments (@​nicolo-ribaudo)
- #​16780 Do not enforce printing space between
babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributes- #​16781 Don't throw when enabling both syntax-import-{assertions,attributes} (@​nicolo-ribaudo)
babel-generator- #​16782 TS union/intersection nested in union does not need parens (@​nicolo-ribaudo)
:house: Internal
babel-generator- #​16777 Remove unused
parentparams in the generator (@​nicolo-ribaudo)
- #​16777 Remove unused
v7.25.4
:bug: Bug Fix
babel-traverse- #​16756 fix: Skip computed key when renaming (@​liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #​16755 fix: Decorator 2018-09 may throw an exception (@​liuxingbaoyu)
babel-types- #​16710 Visit AST fields nodes according to their syntactical order (@​nicolo-ribaudo)
babel-generator- #​16709 Print semicolon after TS
export namespace as A(@​nicolo-ribaudo)
- #​16709 Print semicolon after TS
:nail_care: Polish
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-typescript,babel-runtime-corejs2,babel-runtime,babel-traverse- #​16722 Avoid unnecessary parens around sequence expressions (@​nicolo-ribaudo)
babel-generator,babel-plugin-transform-class-properties- #​16714 Avoid unnecessary parens around exported arrow functions (@​nicolo-ribaudo)
babel-generator,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-transform-object-rest-spread- #​16712 Avoid printing unnecessary parens around object destructuring (@​nicolo-ribaudo)
:microscope: Output optimization
babel-generator- #​16740 Avoid extra spaces between comments/regexps in compact mode (@​nicolo-ribaudo)
v7.25.0
:eyeglasses: Spec Compliance
babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3- #​16537
await usingnormative updates (@​JLHwung)
- #​16537
babel-plugin-transform-typescript- #​16602 Ensure enum members syntactically determinable to be strings do not get reverse mappings (@​liuxingbaoyu)
:rocket: New Feature
babel-helper-create-class-features-plugin,babel-helper-function-name,babel-helper-plugin-utils,babel-helper-wrap-function,babel-plugin-bugfix-safari-class-field-initializer-scope,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-preset-env,babel-traverse,babel-types- #​16658 Move
ensureFunctionNametoNodePath.prototype(@​nicolo-ribaudo)
- #​16658 Move
babel-helper-hoist-variables,babel-helper-plugin-utils,babel-plugin-proposal-async-do-expressions,babel-plugin-transform-modules-systemjs,babel-traverse- #​16644 Move
hoistVariablestoScope.prototype(@​nicolo-ribaudo)
- #​16644 Move
babel-helper-create-class-features-plugin,babel-helper-module-transforms,babel-helper-plugin-utils,babel-helper-split-export-declaration,babel-plugin-transform-classes,babel-traverse,babel-types- #​16645 Move
splitExportDeclarationtoNodePath.prototype(@​nicolo-ribaudo)
- #​16645 Move
babel-helper-create-class-features-plugin,babel-helper-environment-visitor,babel-helper-module-transforms,babel-helper-plugin-utils,babel-helper-remap-async-to-generator,babel-helper-replace-supers,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-plugin-bugfix-v8-static-class-fields-redefine-readonly,babel-plugin-transform-async-generator-functions,babel-plugin-transform-classes,babel-traverse- #​16649 Move
environment-visitorhelper into@babel/traverse(@​nicolo-ribaudo)
- #​16649 Move
babel-core,babel-parser- #​16480 Expose wether a module has TLA or not as
.extra.async(@​nicolo-ribaudo)
- #​16480 Expose wether a module has TLA or not as
babel-compat-data,babel-plugin-bugfix-safari-class-field-initializer-scope,babel-preset-env- #​16569 Introduce
bugfix-safari-class-field-initializer-scope(@​davidtaylorhq)
- #​16569 Introduce
babel-plugin-transform-block-scoping,babel-traverse,babel-types- #​16551 Add
NodePath#getAssignmentIdentifiers(@​JLHwung)
- #​16551 Add
babel-helper-import-to-platform-api,babel-plugin-proposal-json-modules- #​16579 Add
uncheckedRequireoption for JSON imports to CJS (@​nicolo-ribaudo)
- #​16579 Add
babel-helper-transform-fixture-test-runner,babel-node- #​16642 Allow using custom config in
babel-node --eval(@​slatereax)
- #​16642 Allow using custom config in
babel-compat-data,babel-helper-create-regexp-features-plugin,babel-plugin-proposal-duplicate-named-capturing-groups-regex,babel-plugin-transform-duplicate-named-capturing-groups-regex,babel-preset-env,babel-standalone- #​16445 Add
duplicate-named-capturing-groups-regextopreset-env(@​JLHwung)
- #​16445 Add
:bug: Bug Fix
babel-generator- #​16678 Print parens around as expressions on the LHS (@​nicolo-ribaudo)
babel-template,babel-types- #​15286 fix: Props are lost when the template replaces the node (@​liuxingbaoyu)
:house: Internal
- Other
- #​16674 bump gulp to 5 (@​JLHwung)
babel-generator- #​16651 Simplify the printing logic for
(before ambiguous tokens (@​nicolo-ribaudo)
- #​16651 Simplify the printing logic for
babel-helper-function-name,babel-plugin-transform-arrow-functions,babel-plugin-transform-function-name,babel-preset-env,babel-traverse- #​16652 Simplify
helper-function-namelogic (@​nicolo-ribaudo)
- #​16652 Simplify
:running_woman: Performance
babel-parser,babel-plugin-proposal-pipeline-operator- #​16461 Some minor parser performance improvements for ts (@​liuxingbaoyu)
:microscope: Output optimization
babel-plugin-transform-classes- #​16670 Reduce redundant
assertThisInitialized(@​liuxingbaoyu)
- #​16670 Reduce redundant
babel-helper-create-class-features-plugin,babel-helper-replace-supers,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-exponentiation-operator,babel-plugin-transform-object-super,babel-plugin-transform-private-methods,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​16374 Improve
super.xoutput (@​liuxingbaoyu)
- #​16374 Improve
babel-plugin-transform-class-properties,babel-plugin-transform-classes- #​16656 Simplify output for anonymous classes with no methods (@​nicolo-ribaudo)
v7.24.8
:eyeglasses: Spec Compliance
babel-parser- #​16567 Do not use strict mode in TS
declare(@​liuxingbaoyu)
- #​16567 Do not use strict mode in TS
:bug: Bug Fix
babel-generator- #​16630 Correctly print parens around
ininforheads (@​nicolo-ribaudo) - #​16626 Fix printing of comments in
await using(@​nicolo-ribaudo) - #​16591 fix typescript code generation for yield expression inside type expre… (@​SreeXD)
- #​16630 Correctly print parens around
babel-parser- #​16613 Disallow destructuring assignment in
usingdeclarations (@​H0onnn) - #​16490 fix: do not add
.value: undefinedto regexp literals (@​liuxingbaoyu)
- #​16613 Disallow destructuring assignment in
babel-types- #​16615 Remove boolean props from
ObjectTypeInternalSlotvisitor keys (@​nicolo-ribaudo)
- #​16615 Remove boolean props from
babel-plugin-transform-typescript- #​16566 fix: Correctly handle
export import x =(@​liuxingbaoyu)
- #​16566 fix: Correctly handle
:nail_care: Polish
babel-generator- #​16625 Avoid unnecessary parens around
asyncinfor await(@​nicolo-ribaudo)
- #​16625 Avoid unnecessary parens around
babel-traverse- #​16619 Avoid checking
Scope.globalsmultiple times (@​liuxingbaoyu)
- #​16619 Avoid checking
v7.24.7
:bug: Bug Fix
babel-node- #​16554 Allow extra flags in babel-node (@​nicolo-ribaudo)
babel-traverse- #​16522 fix: incorrect
constantViolationswith destructuring (@​liuxingbaoyu)
- #​16522 fix: incorrect
babel-helper-transform-fixture-test-runner,babel-plugin-proposal-explicit-resource-management- #​16524 fix: Transform
usinginswitchcorrectly (@​liuxingbaoyu)
- #​16524 fix: Transform
:house: Internal
babel-helpers,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​16525 Delete unused array helpers (@​blakewilson)
v7.24.6
:bug: Bug Fix
babel-helper-create-class-features-plugin,babel-plugin-transform-class-properties- #​16514 Fix source maps for private member expressions (@​nicolo-ribaudo)
babel-core,babel-generator,babel-plugin-transform-modules-commonjs- #​16515 Fix source maps for template literals (@​nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #​16485 Support undecorated static accessor in anonymous classes (@​JLHwung)
- #​16484 Fix decorator bare yield await (@​JLHwung)
babel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs3- #​16483 Fix: throw TypeError if addInitializer is called after finished (@​JLHwung)
babel-parser,babel-plugin-transform-typescript- #​16476 fix: Correctly parse
cls.fn<C> = x(@​liuxingbaoyu)
- #​16476 fix: Correctly parse
:house: Internal
babel-core,babel-helpers,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​16501 Generate helper metadata at build time (@​nicolo-ribaudo)
babel-helpers- #​16499 Add
tsconfig.jsonfor@babel/helpers/src/helpers(@​nicolo-ribaudo)
- #​16499 Add
babel-cli,babel-helpers,babel-plugin-external-helpers,babel-plugin-proposal-decorators,babel-plugin-transform-class-properties,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​16495 Move all runtime helpers to individual files (@​nicolo-ribaudo)
babel-parser,babel-traverse- #​16482 Statically generate boilerplate for bitfield accessors (@​nicolo-ribaudo)
- Other
- #​16466 Migrate import assertions syntax (@​JLHwung)
v7.24.5
:bug: Bug Fix
babel-plugin-transform-classes,babel-traverse- #​16377 fix: TypeScript annotation affects output (@​liuxingbaoyu)
babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3- #​16440 Fix suppressed error order (@​sossost)
- #​16408 Await nullish async disposable (@​JLHwung)
:nail_care: Polish
babel-parser- #​16407 Recover from exported
usingdeclaration (@​JLHwung)
- #​16407 Recover from exported
:house: Internal
- Other
- #​16414 Relax ESLint peerDependency constraint to allow v9 (@​liuxingbaoyu)
babel-parser- #​16425 Improve
@babel/parserAST types (@​nicolo-ribaudo) - #​16417 Always pass type argument to
.startNode(@​nicolo-ribaudo)
- #​16425 Improve
babel-helper-create-class-features-plugin,babel-helper-member-expression-to-functions,babel-helper-module-transforms,babel-helper-split-export-declaration,babel-helper-wrap-function,babel-helpers,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-plugin-proposal-explicit-resource-management,babel-plugin-transform-block-scoping,babel-plugin-transform-destructuring,babel-plugin-transform-object-rest-spread,babel-plugin-transform-optional-chaining,babel-plugin-transform-parameters,babel-plugin-transform-private-property-in-object,babel-plugin-transform-react-jsx-self,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-traverse- #​16439 Make
NodePath<T | U>distributive (@​nicolo-ribaudo)
- #​16439 Make
babel-plugin-proposal-partial-application,babel-types- #​16421 Remove
JSXNamespacedNamefrom validCallExpressionargs (@​nicolo-ribaudo)
- #​16421 Remove
babel-plugin-transform-class-properties,babel-preset-env- #​16406 Do not load unnecessary Babel 7 syntax plugins in Babel 8 (@​nicolo-ribaudo)
:running_woman: Performance
babel-helpers,babel-preset-env,babel-runtime-corejs3- #​16357 Performance: improve
objectWithoutPropertiesLooseon V8 (@​romgrk)
- #​16357 Performance: improve
v7.24.4
:eyeglasses: Spec Compliance
babel-parser- #​16403 Forbid initializerless using (@​JLHwung)
babel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs3- #​16388 Ensure decorators are callable (@​JLHwung)
:bug: Bug Fix
babel-generator- #​16402 fix: Correctly prints
{ [key in Bar]? }(@​liuxingbaoyu) - #​16394 fix: Correctly generate
TSMappedType(@​liuxingbaoyu)
- #​16402 fix: Correctly prints
babel-compat-data,babel-plugin-bugfix-firefox-class-in-computed-class-key,babel-preset-env- #​16390 Create bugfix plugin for classes in computed keys in Firefox (@​nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #​16387 fix: support mutated outer decorated class binding (@​JLHwung)
- #​16385 fix: Decorators when
super()exists andprotoInitis not needed (@​liuxingbaoyu)
babel-plugin-transform-block-scoping- #​16384 fix: Transform scoping for
for Xin loop (@​liuxingbaoyu) - #​16368 fix: Capture
letwhen theforbody is not a block (@​liuxingbaoyu)
- #​16384 fix: Transform scoping for
babel-core,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scoping- #​16363 Fix incorrect function hoisting in some case statements (@​luiscubal)
v7.24.1
:bug: Bug Fix
babel-generator- #​16648 Fix parens detection for object&function in
as/satisfies(@​nicolo-ribaudo)
- #​16648 Fix parens detection for object&function in
v7.24.0
:rocket: New Feature
babel-standalone- #​11696 Export babel tooling packages in
@babel/standalone(@​ajihyf)
- #​11696 Export babel tooling packages in
babel-core,babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-transform-class-properties- #​16267 Implement
noUninitializedPrivateFieldAccessassumption (@​nicolo-ribaudo)
- #​16267 Implement
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-pipeline-operator,babel-plugin-syntax-decorators,babel-plugin-transform-class-properties,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​16242 Support decorator 2023-11 normative updates (@​JLHwung)
babel-preset-flow- #​16309 [babel 7] Allow setting
ignoreExtensionsin Flow preset (@​nicolo-ribaudo) - #​16284 Add
experimental_useHermesParseroption inpreset-flow(@​liuxingbaoyu)
- #​16309 [babel 7] Allow setting
babel-helper-import-to-platform-api,babel-plugin-proposal-import-wasm-source,babel-plugin-proposal-json-modules,babel-standalone- #​16172 Add transform support for JSON modules imports (@​nicolo-ribaudo)
babel-plugin-transform-runtime- #​16241 Add back
moduleNameoption to@babel/plugin-transform-runtime(@​nicolo-ribaudo)
- #​16241 Add back
babel-parser,babel-types- #​16277 Allow import attributes for
TSImportType(@​sosukesuzuki)
- #​16277 Allow import attributes for
:bug: Bug Fix
babel-plugin-proposal-do-expressions,babel-traverse- #​16305 fix: avoid
popContexton unvisited node paths (@​JLHwung)
- #​16305 fix: avoid
babel-helper-create-class-features-plugin,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object- #​16312 Fix class private properties when
privateFieldsAsSymbols(@​liuxingbaoyu)
- #​16312 Fix class private properties when
babel-helper-create-class-features-plugin,babel-plugin-transform-private-methods- #​16307 Fix the support of
argumentsin privateget/setmethod (@​liuxingbaoyu)
- #​16307 Fix the support of
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators- #​16287 Reduce decorator static property size (@​liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #​16281 Fix evaluation order of decorators with cached receiver (@​nicolo-ribaudo)
- #​16279 Fix decorator this memoization (@​JLHwung)
- #​16266 Preserve
staticon decorated privateaccessor(@​nicolo-ribaudo) - #​16258 fix: handle decorated async private method and generator (@​JLHwung)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-async-generator-functions,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-typescript,babel-preset-env- #​16275 Fix class private properties when
privateFieldsAsProperties(@​liuxingbaoyu)
- #​16275 Fix class private properties when
babel-helpers- #​16268 Do not consider
argumentsin a helper as a global reference (@​nicolo-ribaudo)
- #​16268 Do not consider
babel-helpers,babel-plugin-proposal-decorators- #​16270 Handle symbol key class elements decoration (@​JLHwung)
- #​16265 Do not define
access.getfor public setter decorators (@​nicolo-ribaudo)
:nail_care: Polish
babel-core,babel-helper-create-class-features-plugin,babel-preset-env- #​12428 Suggest using
BABEL_SHOW_CONFIG_FORfor config problems (@​nicolo-ribaudo)
- #​12428 Suggest using
:house: Internal
babel-helper-transform-fixture-test-runner- #​16278 Continue writing
output.jswhenexec.jsthrows (@​liuxingbaoyu)
- #​16278 Continue writing
:microscope: Output optimization
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #​16306 Avoid intermediate functions for private accessors with decs (@​nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties- #​16294 More aggressively inline decorators in the static block (@​nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-transform-private-methods- #​16283 Do not use
classPrivateMethodGet(@​liuxingbaoyu)
- #​16283 Do not use
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators- #​16287 Reduce decorator static property size (@​liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-class-properties- #​16280 Reduce element decorator temp variables (@​JLHwung)
babel-helper-create-class-features-plugin,babel-helper-fixtures,babel-helpers,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-optional-chaining-assign,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​16261 Do not use descriptors for private class elements (@​nicolo-ribaudo)
babel-helpers,babel-plugin-proposal-decorators- #​16263 Reduce helper size for decorator 2023-11 (@​liuxingbaoyu)
v7.23.9
:bug: Bug Fix
babel-helper-transform-fixture-test-runner,babel-plugin-transform-function-name,babel-plugin-transform-modules-systemjs,babel-preset-env- #​16225 fix:
systemjsre-traverses helpers (@​liuxingbaoyu)
- #​16225 fix:
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators- #​16226 Improve decorated private method check (@​JLHwung)
babel-plugin-proposal-decorators,babel-plugin-transform-async-generator-functions,babel-plugin-transform-runtime,babel-preset-env- #​16224 Properly sort
core-js@3imports (@​nicolo-ribaudo)
- #​16224 Properly sort
babel-traverse- #​15383 fix: Don't throw in
getTypeAnnotationwhen using TS+inference (@​liuxingbaoyu)
- #​15383 fix: Don't throw in
- Other
- #​16210 [eslint] Fix
no-use-before-definefor class ref in fields (@​nicolo-ribaudo)
- #​16210 [eslint] Fix
:house: Internal
babel-core,babel-parser,babel-template- #​16222 Migrate
eslint-parserto cts (@​liuxingbaoyu)
- #​16222 Migrate
babel-types- #​16213 Remove
@babel/typesprops that are not produced by the parser (@​liuxingbaoyu)
- #​16213 Remove
:running_woman: Performance
babel-parser- #​16072 perf: Improve parser performance for typescript (@​liuxingbaoyu)
:microscope: Output optimization
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-new-target,babel-plugin-transform-parameters,babel-plugin-transform-private-methods,babel-preset-env- #​16218 Improve temporary variables for decorators (@​liuxingbaoyu)
babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​15959 Improve output of
using(@​liuxingbaoyu)
- #​15959 Improve output of
v7.23.8
:bug: Bug Fix
babel-preset-env- #​16181 fix:
preset-envthrows exception forexport * as x(@​liuxingbaoyu)
- #​16181 fix:
babel-helpers,babel-plugin-proposal-decorators- #​16201 fix: decorator binds
getter/settertoctx.accessfor public fields (@​liuxingbaoyu) - #​16199 fix: Class decorator correctly passes return value (@​liuxingbaoyu)
- #​16201 fix: decorator binds
:leftwards_arrow_with_hook: Revert
- #​16202 Revert "chore: Update artifact tools (#​16184)" (@​JLHwung)
:microscope: Output optimization
babel-helpers,babel-plugin-proposal-decorators,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-function-name,babel-plugin-transform-parameters,babel-plugin-transform-react-jsx,babel-plugin-transform-runtime,babel-plugin-transform-spread,babel-plugin-transform-typescript,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #​16194 Improve output of
super()(@​liuxingbaoyu)
- #​16194 Improve output of
v7.23.7
:bug: Bug Fix
babel-traverse- #​16191 fix: Crash when removing without
Program(@​liuxingbaoyu)
- #​16191 fix: Crash when removing without
babel-helpers,babel-plugin-proposal-decorators- #​16180 fix: Class decorator
ctx.kindis wrong (@​liuxingbaoyu)
- #​16180 fix: Class decorator
babel-plugin-proposal-decorators- #​16170 Fix decorator initProto usage in derived classes (@​JLHwung)
babel-core- [#​16167](https://red
Configuration
đź“… Schedule: Branch creation - "" in timezone Europe/London, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.
https://github.com/react-native-community/template/blob/main/template/package.json#L21
All alerts resolved. Learn more about Socket for GitHub.
This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
| Diff | Package | Supply Chain Security |
Vulnerability | Quality | Maintenance | License |
|---|---|---|---|---|---|---|
| @​babel/​runtime@​7.21.5 ⏵ 7.26.10 |