chore(deps): update dependency @babel/traverse to v7.23.2 [security]
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @babel/traverse (source) | 7.8.4 -> 7.23.2 |
GitHub Vulnerability Alerts
CVE-2023-45133
Impact
Using Babel to compile code that was specifically crafted by an attacker can lead to arbitrary code execution during compilation, when using plugins that rely on the path.evaluate()or path.evaluateTruthy() internal Babel methods.
Known affected plugins are:
-
@babel/plugin-transform-runtime -
@babel/preset-envwhen using itsuseBuiltInsoption - Any "polyfill provider" plugin that depends on
@babel/helper-define-polyfill-provider, such asbabel-plugin-polyfill-corejs3,babel-plugin-polyfill-corejs2,babel-plugin-polyfill-es-shims,babel-plugin-polyfill-regenerator
No other plugins under the @babel/ namespace are impacted, but third-party plugins might be.
Users that only compile trusted code are not impacted.
Patches
The vulnerability has been fixed in @babel/[email protected].
Babel 6 does not receive security fixes anymore (see Babel's security policy), hence there is no patch planned for babel-traverse@6.
Workarounds
- Upgrade
@babel/traverseto v7.23.2 or higher. You can do this by deleting it from your package manager's lockfile and re-installing the dependencies.@babel/core>=7.23.2 will automatically pull in a non-vulnerable version. - If you cannot upgrade
@babel/traverseand are using one of the affected packages mentioned above, upgrade them to their latest version to avoid triggering the vulnerable code path in affected@babel/traverseversions:-
@babel/plugin-transform-runtimev7.23.2 -
@babel/preset-envv7.23.2 -
@babel/helper-define-polyfill-providerv0.4.3 -
babel-plugin-polyfill-corejs2v0.4.6 -
babel-plugin-polyfill-corejs3v0.8.5 -
babel-plugin-polyfill-es-shimsv0.10.0 -
babel-plugin-polyfill-regeneratorv0.5.3
-
Release Notes
babel/babel (@babel/traverse)
v7.23.2
:bug: Bug Fix
-
babel-traverse- #16033 Only evaluate own String/Number/Math methods (@nicolo-ribaudo)
-
babel-preset-typescript-
#16022 Rewrite
.tsxextension when usingrewriteImportExtensions(@jimmydief)
-
#16022 Rewrite
-
babel-helpers -
babel-helpers,babel-plugin-transform-modules-commonjs,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #16025 Avoid override mistake in namespace imports (@nicolo-ribaudo)
v7.23.0
:rocket: New Feature
-
babel-plugin-proposal-import-wasm-source,babel-plugin-syntax-import-source,babel-plugin-transform-dynamic-import-
#15870 Support transforming
import sourcefor wasm (@nicolo-ribaudo)
-
#15870 Support transforming
-
babel-helper-module-transforms,babel-helpers,babel-plugin-proposal-import-defer,babel-plugin-syntax-import-defer,babel-plugin-transform-modules-commonjs,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone-
#15878 Implement
import deferproposal transform support (@nicolo-ribaudo)
-
#15878 Implement
-
babel-generator,babel-parser,babel-types-
#15845 Implement
import deferparsing support (@nicolo-ribaudo) - #15829 Add parsing support for the "source phase imports" proposal (@nicolo-ribaudo)
-
#15845 Implement
-
babel-generator,babel-helper-module-transforms,babel-parser,babel-plugin-transform-dynamic-import,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-traverse,babel-types -
babel-standalone -
babel-helper-function-name,babel-helper-member-expression-to-functions,babel-helpers,babel-parser,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-optional-chaining-assign,babel-plugin-syntax-optional-chaining-assign,babel-plugin-transform-destructuring,babel-plugin-transform-optional-chaining,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone,babel-types- #15751 Add support for optional chain in assignments (@nicolo-ribaudo)
-
babel-helpers,babel-plugin-proposal-decorators- #15895 Implement the "decorator metadata" proposal (@nicolo-ribaudo)
-
babel-traverse,babel-types-
#15893 Add
t.buildUndefinedNode(@liuxingbaoyu)
-
#15893 Add
-
babel-preset-typescript-
#15913 Add
rewriteImportExtensionsoption to TS preset (@nicolo-ribaudo)
-
#15913 Add
-
babel-parser- #15896 Allow TS tuples to have both labeled and unlabeled elements (@yukukotani)
:bug: Bug Fix
-
babel-plugin-transform-block-scoping-
#15962 fix:
transform-block-scopingcaptures the variables of the method in the loop (@liuxingbaoyu)
-
#15962 fix:
:nail_care: Polish
-
babel-traverse-
#15797 Expand evaluation of global built-ins in
@babel/traverse(@lorenzoferre)
-
#15797 Expand evaluation of global built-ins in
-
babel-plugin-proposal-explicit-resource-management-
#15985 Improve source maps for blocks with
usingdeclarations (@nicolo-ribaudo)
-
#15985 Improve source maps for blocks with
:microscope: Output optimization
-
babel-core,babel-helper-module-transforms,babel-plugin-transform-async-to-generator,babel-plugin-transform-classes,babel-plugin-transform-dynamic-import,babel-plugin-transform-function-name,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd,babel-plugin-transform-parameters,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-inline-elements,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-preset-env-
#15984 Inline
exports.XXX =update in simple variable declarations (@nicolo-ribaudo)
-
#15984 Inline
v7.22.20
:house: Internal
-
babel-helper-validator-identifier- #15973 Remove special-casing of U+200C and U+200D (@nicolo-ribaudo)
-
babel-plugin-transform-dotall-regex
:leftwards_arrow_with_hook: Revert
-
babel-helper-remap-async-to-generator,babel-helper-wrap-function,babel-plugin-proposal-explicit-resource-management,babel-plugin-proposal-function-sent,babel-plugin-transform-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-parameters,babel-plugin-transform-runtime,babel-preset-env- #15979 Revert "Improve output when wrapping functions" (@jjonescz)
v7.22.19
v7.22.19 (2023-09-14)
Re-published 7.22.18, due to a releasing error.
v7.22.18
:bug: Bug Fix
-
babel-helper-validator-identifier -
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd
:leftwards_arrow_with_hook: Revert
- #15965 Revert Node.js 20.6.0 bug workaround (@nicolo-ribaudo)
v7.22.17
:bug: Bug Fix
-
babel-core- #15947 Fix compatibility with Node.js 20.6 (@nicolo-ribaudo)
-
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #15941 Fix compiling duplicate ns imports to lazy CommonJS (@nicolo-ribaudo)
-
babel-types-
#15920 Make
ClassDeclaration["id"]optional in babel-types (@jordanbtucker)
-
#15920 Make
:microscope: Output optimization
-
babel-helper-remap-async-to-generator,babel-helper-wrap-function,babel-plugin-proposal-explicit-resource-management,babel-plugin-proposal-function-sent,babel-plugin-transform-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-parameters,babel-plugin-transform-runtime,babel-preset-env-
#15922 Improve output when wrapping functions (e.g.
asyncfunctions) (@liuxingbaoyu)
-
#15922 Improve output when wrapping functions (e.g.
v7.22.15
:bug: Bug Fix
-
babel-core- #15923 Only perform config loading re-entrancy check for cjs (@nicolo-ribaudo)
:house: Internal
-
babel-cli,babel-core,babel-generator,babel-helper-builder-binary-assignment-operator-visitor,babel-helper-compilation-targets,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-member-expression-to-functions,babel-helper-module-imports,babel-helper-module-transforms,babel-helper-transform-fixture-test-runner,babel-helper-validator-identifier,babel-helper-validator-option,babel-helpers,babel-node,babel-parser,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-async-generator-functions,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-destructuring,babel-plugin-transform-for-of,babel-plugin-transform-modules-commonjs,babel-plugin-transform-object-rest-spread,babel-plugin-transform-optional-chaining,babel-plugin-transform-parameters,babel-plugin-transform-property-mutators,babel-plugin-transform-react-jsx,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-preset-env,babel-preset-flow,babel-preset-react,babel-preset-typescript,babel-register,babel-standalone,babel-template,babel-traverse,babel-types-
#15892 Add explicit
.ts/.jsextension to all imports insrc(@nicolo-ribaudo)
-
#15892 Add explicit
v7.22.11
:bug: Bug Fix
-
babel-plugin-transform-typescript- #15882 Fix: fully remove TS nested type-only exported namespaces (@yangguansen)
-
babel-types -
babel-plugin-transform-async-generator-functions,babel-plugin-transform-class-static-block,babel-plugin-transform-dynamic-import,babel-plugin-transform-export-namespace-from,babel-plugin-transform-json-strings,babel-plugin-transform-logical-assignment-operators,babel-plugin-transform-nullish-coalescing-operator,babel-plugin-transform-numeric-separator,babel-plugin-transform-object-rest-spread,babel-plugin-transform-optional-catch-binding,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-property-in-object -
babel-core- #15850 Support configuring cache in ESM configs (@nicolo-ribaudo)
:house: Internal
-
babel-parser -
babel-core,babel-helper-compilation-targets,babel-parser,babel-plugin-proposal-destructuring-private,babel-plugin-syntax-decorators,babel-preset-env,babel-preset-react,babel-register,babel-traverse,babel-types -
babel-core,babel-helpers,babel-plugin-transform-async-generator-functions,babel-plugin-transform-modules-commonjs,babel-plugin-transform-regenerator,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime - Other
:microscope: Output optimization
-
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-optional-chaining,babel-preset-env-
#15871 Simplify
?.output when chain result is ignored (@nicolo-ribaudo)
-
#15871 Simplify
v7.22.10
:bug: Bug Fix
-
babel-plugin-transform-typescript- #15799 [ts] Strip type-only namespaces (@nicolo-ribaudo)
- #15798 [ts] Fix compiling extended exported nested namespace (@nicolo-ribaudo)
-
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-new-target,babel-plugin-transform-private-methods,babel-preset-env
:nail_care: Polish
-
babel-cli -
babel-traverse,babel-types-
#15661 Improve the type definition of
path.isX(@liuxingbaoyu)
-
#15661 Improve the type definition of
-
babel-generator,babel-types
:house: Internal
- Other
-
babel-cli,babel-core,babel-generator,babel-helper-builder-react-jsx,babel-preset-env,babel-standalone -
babel-helper-compilation-targets-
#15811 Remove
@babel/corepeerDep fromhelper-compilation-targets(@nicolo-ribaudo)
-
#15811 Remove
-
babel-parser -
babel-plugin-transform-runtime,babel-traverse,babel-types-
#15716 chore: Use
typescript-eslint@v6with reworked configs (@JoshuaKGoldberg)
-
#15716 chore: Use
:microscope: Output optimization
-
babel-plugin-transform-block-scoping,babel-plugin-transform-parameters,babel-plugin-transform-regenerator-
#15746 Reduce
transform-block-scopingloops output size (@liuxingbaoyu)
-
#15746 Reduce
v7.22.8
:leftwards_arrow_with_hook: Revert
-
babel-core,babel-traverse-
#15754 Revert "Use
NodePath#hubas part of the paths cache key" (@nicolo-ribaudo)
-
#15754 Revert "Use
v7.22.7
:bug: Bug Fix
-
babel-generator- #15719 fix: Avoid internally generating negative source maps columns (@liuxingbaoyu)
-
babel-core,babel-traverse-
#15725 Use
NodePath#hubas part of the paths cache key (@nicolo-ribaudo)
-
#15725 Use
- Other
:house: Internal
-
babel-core,babel-traverse- #15702 Refactor visitors merging (@nullableVoidPtr)
v7.22.6
:bug: Bug Fix
-
babel-compat-data,babel-helper-compilation-targets,babel-preset-env -
babel-plugin-transform-optional-chaining-
#15739 Fix transform of
delete a?.bin function params (@nicolo-ribaudo)
-
#15739 Fix transform of
-
babel-helper-split-export-declaration,babel-plugin-transform-modules-commonjs- #15736 fix: Default export for duplicate names (@liuxingbaoyu)
-
babel-compat-data,babel-preset-env -
babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-runtime-corejs3,babel-runtime-
#15705 Fix handling of sync error in
@@​asyncDispose(@nicolo-ribaudo)
-
#15705 Fix handling of sync error in
-
babel-standalone-
#15707 fix: Support transforming Explicit Resource Management in
stage-2(@liuxingbaoyu)
-
#15707 fix: Support transforming Explicit Resource Management in
-
babel-core-
#15626 fix: Works correctly with
--frozen-intrinsics(@liuxingbaoyu)
-
#15626 fix: Works correctly with
:house: Internal
-
babel-helper-create-class-features-plugin,babel-plugin-transform-classes
:microscope: Output optimization
-
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-transform-class-properties,babel-plugin-transform-optional-chaining,babel-plugin-transform-typescript-
#15740 Compress output for optional chain with multiple
?.(@nicolo-ribaudo)
-
#15740 Compress output for optional chain with multiple
-
babel-plugin-proposal-destructuring-private,babel-plugin-proposal-do-expressions,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-properties,babel-plugin-transform-nullish-coalescing-operator,babel-plugin-transform-optional-chaining,babel-plugin-transform-private-property-in-object,babel-traverse- #15741 Inject tmp vars in the params list of IIFEs when possible (@nicolo-ribaudo)
v7.22.5
:bug: Bug Fix
-
babel-preset-env,babel-standalone-
#15675 Fix using
syntax-unicode-sets-regexin standalone (@nicolo-ribaudo)
-
#15675 Fix using
:nail_care: Polish
-
babel-core-
#15683 Suggest
-transform-when resolving missing plugins (@nicolo-ribaudo)
-
#15683 Suggest
v7.22.4
:bug: Bug Fix
-
babel-traverse-
#15649 Set
shorthand: falsewhen renaming an identifier inside an object property (@coderaiser)
-
#15649 Set
:house: Internal
-
babel-types-
#15666 Add missing
attributes/assertionstoVISITOR_KEYS(@nicolo-ribaudo)
-
#15666 Add missing
-
babel-parser-
#15667 Mark
assertattributes withextra.deprecatedAssertSyntax(@nicolo-ribaudo)
-
#15667 Mark
v7.22.1
:bug: Bug Fix
-
babel-helper-validator-identifier -
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd
:leftwards_arrow_with_hook: Revert
- #15965 Revert Node.js 20.6.0 bug workaround (@nicolo-ribaudo)
v7.22.0
:rocket: New Feature
-
babel-parser,babel-plugin-transform-typescript-
#15497 [ts] Support
import ... =andexport =in scripts (@nicolo-ribaudo)
-
#15497 [ts] Support
-
babel-compat-data,babel-core,babel-plugin-proposal-unicode-sets-regex,babel-plugin-transform-unicode-sets-regex,babel-preset-env,babel-standalone -
babel-helpers,babel-plugin-proposal-explicit-resource-management,babel-plugin-transform-runtime,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone-
#15633 Implement transform support for
usingdeclarations (@nicolo-ribaudo)
-
#15633 Implement transform support for
-
babel-plugin-proposal-import-attributes-to-assertions-
#15620 Create
@babel/plugin-proposal-import-attributes-to-assertions(@nicolo-ribaudo)
-
#15620 Create
-
babel-core,babel-generator,babel-parser,babel-plugin-syntax-import-attributes,babel-preset-env,babel-standalone,babel-types- #15536 Add support for the updated import attributes proposal (@nicolo-ribaudo)
-
babel-generator,babel-parser,babel-traverse,babel-types -
babel-core,babel-helper-create-regexp-features-plugin,babel-parser -
babel-helpers,babel-plugin-proposal-decorators,babel-plugin-syntax-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime-
#15570 Add decorators version
2023-05(@nicolo-ribaudo)
-
#15570 Add decorators version
:nail_care: Polish
-
babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-jsx,babel-traverse,babel-types- #15549 Improve type definitions for validators (@liuxingbaoyu)
:house: Internal
-
babel-parser- #15630 Unify parsing of import/export modifiers (type/typeof/module) (@nicolo-ribaudo)
-
babel-compat-data,babel-helper-transform-fixture-test-runner,babel-node,babel-plugin-proposal-decorators,babel-plugin-proposal-duplicate-named-capturing-groups-regex,babel-plugin-transform-async-generator-functions,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs3-
#15531 Allow polyfill providers to specify custom
@babel/runtimepkg (@nicolo-ribaudo)
-
#15531 Allow polyfill providers to specify custom
-
babel-core,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-dynamic-import,babel-plugin-proposal-export-namespace-from,babel-plugin-proposal-function-sent,babel-plugin-proposal-json-strings,babel-plugin-proposal-logical-assignment-operators,babel-plugin-proposal-nullish-coalescing-operator,babel-plugin-proposal-numeric-separator,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-catch-binding,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-unicode-property-regex,babel-preset-env,babel-standalone-
#15614 Rename
-proposal-s that became standard to-transform-(@nicolo-ribaudo)
-
#15614 Rename
v7.21.5
:eyeglasses: Spec Compliance
-
babel-generator,babel-parser,babel-types-
#15539 fix: Remove
mixinsandimplementsforDeclareInterfaceandInterfaceDeclaration(@liuxingbaoyu)
-
#15539 fix: Remove
:bug: Bug Fix
-
babel-core,babel-generator,babel-plugin-transform-modules-commonjs,babel-plugin-transform-react-jsx-
#15515 fix:
)position withcreateParenthesizedExpressions(@liuxingbaoyu)
-
#15515 fix:
-
babel-preset-env
:nail_care: Polish
-
babel-types- #15546 Improve the layout of generated validators (@liuxingbaoyu)
-
babel-core-
#15535 Use
ltinstead oflteto check TS version for .cts config (@nicolo-ribaudo)
-
#15535 Use
:house: Internal
-
babel-core-
#15575 Use synchronous
import.meta.resolve(@nicolo-ribaudo)
-
#15575 Use synchronous
-
babel-helper-fixtures,babel-preset-typescript -
babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin-
#15548 Use
semverpackage to compare versions (@nicolo-ribaudo)
-
#15548 Use
v7.21.4
:bug: Bug Fix
-
babel-core,babel-helper-module-imports,babel-preset-typescript-
#15478 Fix support for
import/exportin.ctsfiles (@liuxingbaoyu)
-
#15478 Fix support for
-
babel-generator
:nail_care: Polish
-
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-plugin-transform-typescript,babel-traverse- #15427 Fix moving comments of removed nodes (@nicolo-ribaudo)
:house: Internal
- Other
-
babel-parser -
babel-code-frame,babel-highlight
v7.21.3
:eyeglasses: Spec Compliance
:bug: Bug Fix
-
babel-parser -
babel-plugin-transform-typescript-
#15489 Register
vardecls generated byimport ... =TS transform (@amoeller) -
#15494 fix: Consider
export { type foo }as type-only usage (@magic-akari)
-
#15489 Register
:nail_care: Polish
-
babel-traverse,babel-types-
#15484 Skip node deprecation warnings when used by an old
@babelpackage (@nicolo-ribaudo)
-
#15484 Skip node deprecation warnings when used by an old
-
babel-generator-
#15480 chore: Improve
jsonCompatibleStringsdeprecation (@liuxingbaoyu)
-
#15480 chore: Improve
:house: Internal
:microscope: Output optimization
-
babel-plugin-transform-typescript,babel-preset-typescript- #15467 Optimize TS enums output (@liuxingbaoyu)
v7.21.2
:eyeglasses: Spec Compliance
-
babel-parser-
#15439 fix: Throws on
new foo?.bar!()(@liuxingbaoyu)
-
#15439 fix: Throws on
:nail_care: Polish
-
babel-traverse,babel-types- #15448 Reduce warnings for deprecated node aliases (@nicolo-ribaudo)
:house: Internal
:microscope: Output optimization
-
babel-helper-module-transforms,babel-plugin-transform-modules-commonjs- #15449 Avoid unnecessary code for unused lazy imports (@nicolo-ribaudo)
v7.21.0
:rocket: New Feature
-
babel-core,babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object-
#15435 feat: Implement
privateFieldsAsSymbolsassumption for classes (@fwienber)
-
#15435 feat: Implement
-
babel-helper-create-regexp-features-plugin,babel-plugin-proposal-regexp-modifiers,babel-standalone- #15226 feat: Support regexp modifiers proposal (@liuxingbaoyu)
-
babel-cli,babel-core,babel-generator,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-plugin-transform-react-jsx,babel-traverse- #15022 feat: Generate sourcemaps of friendly call frames (@liuxingbaoyu)
-
babel-parser,babel-types-
#15384 [ts] Support
constmodifier in type parameters (@nicolo-ribaudo)
-
#15384 [ts] Support
-
babel-generator,babel-helpers,babel-parser,babel-plugin-proposal-decorators,babel-plugin-syntax-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime-
#15405 Implement decorators as presented at
2023-01TC39 meeting (@nicolo-ribaudo)
-
#15405 Implement decorators as presented at
-
babel-parser-
#15114 Parser option to allow
new.targetoutside functions (@overlookmotel) -
#15320 Add
annexb: falseparser option to disable Annex B (@nicolo-ribaudo)
-
#15114 Parser option to allow
-
babel-core-
#15283 feat: Support
.ctsas configuration file (@liuxingbaoyu)
-
#15283 feat: Support
-
babel-generator,babel-parser,babel-plugin-transform-typescript-
#15381 [ts] Support
export type * from(@nicolo-ribaudo)
-
#15381 [ts] Support
:bug: Bug Fix
-
babel-plugin-transform-typescript- #15379 [ts5.0] Better inlining of constants in enums (@liuxingbaoyu)
-
babel-core- #15366 handling circular/shared structures in deep-clone (@azizghuloum)
-
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-private-methods,babel-plugin-transform-classes,babel-plugin-transform-new-target -
babel-parser,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-types- #15414 [ts] Fix restrictions for optional parameters (@nicolo-ribaudo)
:nail_care: Polish
:house: Internal
-
babel-core-
#15137 Improve CJS compat with ESM-based
@babel/core(@nicolo-ribaudo)
-
#15137 Improve CJS compat with ESM-based
:microscope: Output optimization
-
babel-plugin-transform-typescript- #15418 [ts] Handle exponentiation operator in constant folding (@ehoogeveen-medweb)
v7.20.13
:bug: Bug Fix
-
babel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime -
babel-plugin-transform-typescript-
#15349 fix: Preserve
import {type T} from 'x'whenonlyRemoveTypeImports:true(@liuxingbaoyu) -
#15344 fix: Properties that are
abstractshould not be initialized. (@liuxingbaoyu)
-
#15349 fix: Preserve
-
babel-parser
:leftwards_arrow_with_hook: Revert
-
babel-plugin-transform-react-inline-elements,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx
v7.20.12
:bug: Bug Fix
-
babel-traverse -
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties-
#15312 fix:
delete thisin static class properties initialization (@SuperSodaSea)
-
#15312 fix:
:nail_care: Polish
v7.20.10
:bug: Bug Fix
-
babel-traverse-
#15305 fix:
guessExecutionStatusRelativeToexception (@liuxingbaoyu)
-
#15305 fix:
v7.20.8
:bug: Bug Fix
-
babel-plugin-transform-block-scoping-
#15301 fix:
transform-block-scopingaccesses properties ofnull(@liuxingbaoyu)
-
#15301 fix:
-
babel-plugin-proposal-class-properties,babel-traverse
v7.20.7
:eyeglasses: Spec Compliance
-
babel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes- #15223 fix: Deleting super property should throw (@SuperSodaSea)
-
babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes,babel-plugin-transform-object-super- #15241 fix: Throw correct error types from sed ant class TDZ helpers (@SuperSodaSea)
:bug: Bug Fix
-
babel-parser,babel-plugin-transform-typescript- #15209 fix: Support auto accessors with TypeScript annotations (@liuxingbaoyu)
-
babel-traverse-
#15287 Fix
.parentPathafter rename inSwitchCase(@nicolo-ribaudo)
-
#15287 Fix
-
babel-plugin-transform-typescript,babel-traverse- #15284 fix: Ts import type and func with duplicate name (@liuxingbaoyu)
-
babel-plugin-transform-block-scoping- #15278 Fix tdz analysis for reassigned captured for bindings (@nicolo-ribaudo)
-
babel-plugin-proposal-async-generator-functions,babel-preset-env-
#15235 fix: Transform
for awaitwith shadowed variables (@liuxingbaoyu)
-
#15235 fix: Transform
-
babel-generator,babel-plugin-proposal-optional-chaining-
#15258 fix: Correctly generate
(a ?? b) as T(@liuxingbaoyu)
-
#15258 fix: Correctly generate
-
babel-plugin-transform-react-jsx,babel-types-
#15233 fix: Emit correct sourcemap ranges for
JSXText(@liuxingbaoyu)
-
#15233 fix: Emit correct sourcemap ranges for
-
babel-core,babel-helpers,babel-plugin-transform-computed-properties,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime- #15232 fix: Computed properties should keep original definition order (@SuperSodaSea)
-
babel-helper-member-expression-to-functions,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-transform-classes- #15223 fix: Deleting super property should throw (@SuperSodaSea)
-
babel-generator-
#15216 fix: Print newlines for leading Comments of
TSEnumMember(@liuxingbaoyu)
-
#15216 fix: Print newlines for leading Comments of
:nail_care: Polish
-
babel-plugin-transform-block-scoping,babel-traverse- #15275 Improve relative execution tracking in fn exprs (@nicolo-ribaudo)
:house: Internal
-
babel-helper-define-map,babel-plugin-transform-property-mutators-
#15274 Inline & simplify
@babel/helper-define-map(@nicolo-ribaudo)
-
#15274 Inline & simplify
-
babel-core,babel-plugin-proposal-class-properties,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-destructuring,babel-plugin-transform-parameters,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-traverse-
#15200 Rewrite
transform-block-scopingplugin (@nicolo-ribaudo)
-
#15200 Rewrite
:running_woman: Performance
-
babel-helper-compilation-targets-
#15228 perf: Speed up
getTargets(@liuxingbaoyu)
-
#15228 perf: Speed up
v7.20.5
:eyeglasses: Spec Compliance
-
babel-helpers,babel-plugin-transform-destructuring,babel-plugin-transform-modules-commonjs,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-traverse- #15183 Improve array destructuring spec compliance (@SuperSodaSea)
-
babel-cli,babel-helpers,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-transform-classes,babel-plugin-transform-runtime,babel-preset-env -
babel-helper-create-class-features-plugin,babel-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-private-property-in-object,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime
:bug: Bug Fix
-
babel-parser -
babel-helper-wrap-function,babel-preset-env,babel-traverse-
#15181 fix: Edge cases for async functions and
noNewArrowassumption (@liuxingbaoyu)
-
#15181 fix: Edge cases for async functions and
-
babel-plugin-transform-arrow-functions,babel-plugin-transform-parameters,babel-traverse-
#15163 fix: Throw error when compiling
super()in arrow functions with default / rest parameters (@SuperSodaSea)
-
#15163 fix: Throw error when compiling
-
babel-helpers,babel-node,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-regenerator,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime-
#15194 fix: Bump
regeneratorand add tests (@SuperSodaSea)
-
#15194 fix: Bump
-
babel-helper-create-regexp-features-plugin-
#15192 fix: Update
regjsparserfor@babel/standalone(@liuxingbaoyu)
-
#15192 fix: Update
-
babel-parser,babel-types- #15109 fix: Babel 8 types (@liuxingbaoyu)
-
babel-generator-
#15143 Don't print inner comments as leading when wrapping in
(``)(@nicolo-ribaudo)
-
#15143 Don't print inner comments as leading when wrapping in
-
babel-plugin-transform-block-scoping,babel-traverse-
#15167 Register
switch'sdiscriminantin the outer scope (@nicolo-ribaudo)
-
#15167 Register
:nail_care: Polish
-
babel-generator-
#15173 Improve generator behavior when
comments:false(@liuxingbaoyu)
-
#15173 Improve generator behavior when
-
babel-plugin-transform-block-scoping- #15164 Only extract IDs for TDZ checks in assign when necessary (@nicolo-ribaudo)
:house: Internal
v7.20.1
:eyeglasses: Spec Compliance
-
babel-parser -
babel-generator,babel-parser,babel-plugin-proposal-export-namespace-from
:bug: Bug Fix
-
babel-plugin-transform-block-scoping- #15398 fix: Loop was converted wrong (@liuxingbaoyu)
-
babel-parser-
#15377 fix:
new (foo?.bar)()incorrectly throws exceptionOptionalChainingNoNew(@liuxingbaoyu)
-
#15377 fix:
v7.20.0
:rocket: New Feature
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.