Update babel monorepo
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @babel/core (source) | 7.23.3 -> 7.24.4 |
||||
| @babel/eslint-parser (source) | 7.23.3 -> 7.24.1 |
||||
| @babel/plugin-proposal-decorators (source) | 7.23.3 -> 7.24.1 |
||||
| @babel/preset-env (source) | 7.23.3 -> 7.24.4 |
Release Notes
babel/babel (@babel/core)
v7.24.4
:eyeglasses: Spec Compliance
babel-parserbabel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs3
: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.3
:bug: Bug Fix
babel-helper-module-imports- #16370 fix: do not inject the same imported identifier multiple times (@ota-meshi)
v7.24.1
:bug: Bug Fix
babel-helper-create-class-features-plugin,babel-plugin-proposal-decoratorsbabel-plugin-proposal-decorators,babel-plugin-proposal-json-modules,babel-plugin-transform-async-generator-functions,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env- #16329 Respect
moduleNamefor@babel/runtime/regeneratorimports (@nicolo-ribaudo)
- #16329 Respect
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-class-propertiesbabel-helper-create-class-features-plugin,babel-helper-replace-supers,babel-plugin-proposal-decorators,babel-plugin-transform-class-properties
:memo: Documentation
- #16319 Update SECURITY.md (@nicolo-ribaudo)
:house: Internal
babel-code-frame,babel-highlight- #16359 Replace
chalkwithpicocolors(@nicolo-ribaudo)
- #16359 Replace
babel-helper-fixtures,babel-helpers,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-proposal-pipeline-operator,babel-plugin-transform-unicode-sets-regex,babel-preset-env,babel-preset-flowbabel-helpers,babel-plugin-transform-async-generator-functions,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs3,babel-runtime,babel-standalone- #16323 Allow separate helpers to be excluded in Babel 8 (@liuxingbaoyu)
babel-helper-module-imports,babel-plugin-proposal-import-wasm-source,babel-plugin-proposal-json-modules,babel-plugin-proposal-record-and-tuple,babel-plugin-transform-react-jsx-development,babel-plugin-transform-react-jsx- #16349 Support merging imports in import injector (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-bugfix-v8-static-class-fields-redefine-readonly,babel-plugin-external-helpers,babel-plugin-proposal-async-do-expressions,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-do-expressions,babel-plugin-proposal-duplicate-named-capturing-groups-regex,babel-plugin-proposal-explicit-resource-management,babel-plugin-proposal-export-default-from,babel-plugin-proposal-function-bind,babel-plugin-proposal-function-sent,babel-plugin-proposal-import-attributes-to-assertions,babel-plugin-proposal-import-defer,babel-plugin-proposal-import-wasm-source,babel-plugin-proposal-json-modules,babel-plugin-proposal-optional-chaining-assign,babel-plugin-proposal-partial-application,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-record-and-tuple,babel-plugin-proposal-regexp-modifiers,babel-plugin-proposal-throw-expressions,babel-plugin-syntax-async-do-expressions,babel-plugin-syntax-decimal,babel-plugin-syntax-decorators,babel-plugin-syntax-destructuring-private,babel-plugin-syntax-do-expressions,babel-plugin-syntax-explicit-resource-management,babel-plugin-syntax-export-default-from,babel-plugin-syntax-flow,babel-plugin-syntax-function-bind,babel-plugin-syntax-function-sent,babel-plugin-syntax-import-assertions,babel-plugin-syntax-import-attributes,babel-plugin-syntax-import-defer,babel-plugin-syntax-import-reflection,babel-plugin-syntax-import-source,babel-plugin-syntax-jsx,babel-plugin-syntax-module-blocks,babel-plugin-syntax-optional-chaining-assign,babel-plugin-syntax-partial-application,babel-plugin-syntax-pipeline-operator,babel-plugin-syntax-record-and-tuple,babel-plugin-syntax-throw-expressions,babel-plugin-syntax-typescript,babel-plugin-transform-arrow-functions,babel-plugin-transform-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scoping,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-classes,babel-plugin-transform-computed-properties,babel-plugin-transform-destructuring,babel-plugin-transform-dotall-regex,babel-plugin-transform-duplicate-keys,babel-plugin-transform-dynamic-import,babel-plugin-transform-exponentiation-operator,babel-plugin-transform-export-namespace-from,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-for-of,babel-plugin-transform-function-name,babel-plugin-transform-instanceof,babel-plugin-transform-jscript,babel-plugin-transform-json-strings,babel-plugin-transform-literals,babel-plugin-transform-logical-assignment-operators,babel-plugin-transform-member-expression-literals,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-modules-umd,babel-plugin-transform-new-target,babel-plugin-transform-nullish-coalescing-operator,babel-plugin-transform-numeric-separator,babel-plugin-transform-object-assign,babel-plugin-transform-object-rest-spread,babel-plugin-transform-object-set-prototype-of-to-assign,babel-plugin-transform-object-super,babel-plugin-transform-optional-catch-binding,babel-plugin-transform-optional-chaining,babel-plugin-transform-parameters,babel-plugin-transform-private-methods,babel-plugin-transform-private-property-in-object,babel-plugin-transform-property-literals,babel-plugin-transform-property-mutators,babel-plugin-transform-proto-to-assign,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-display-name,babel-plugin-transform-react-inline-elements,babel-plugin-transform-react-jsx-compat,babel-plugin-transform-react-jsx-self,babel-plugin-transform-react-jsx-source,babel-plugin-transform-react-pure-annotations,babel-plugin-transform-regenerator,babel-plugin-transform-reserved-words,babel-plugin-transform-runtime,babel-plugin-transform-shorthand-properties,babel-plugin-transform-spread,babel-plugin-transform-sticky-regex,babel-plugin-transform-strict-mode,babel-plugin-transform-template-literals,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-plugin-transform-unicode-escapes,babel-plugin-transform-unicode-property-regex,babel-plugin-transform-unicode-regex,babel-plugin-transform-unicode-sets-regex,babel-preset-env,babel-preset-flow,babel-preset-react,babel-preset-typescript- #16332 Test Babel 7 plugins compatibility with Babel 8 core (@nicolo-ribaudo)
babel-compat-data,babel-plugin-transform-object-rest-spread,babel-preset-env- #16318 [babel 8] Fix
@babel/compat-datapackage.json (@nicolo-ribaudo)
- #16318 [babel 8] Fix
:microscope: Output optimization
babel-helper-replace-supers,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-parameters,babel-plugin-transform-runtime- #16345 Optimize the use of
assertThisInitializedaftersuper()(@liuxingbaoyu)
- #16345 Optimize the use of
babel-plugin-transform-class-properties,babel-plugin-transform-classes- #16343 Use simpler
assertThisInitializedmore often (@liuxingbaoyu)
- #16343 Use simpler
babel-plugin-proposal-decorators,babel-plugin-transform-class-properties,babel-plugin-transform-object-rest-spread,babel-traverse- #16342 Consider well-known and registered symbols as literals (@nicolo-ribaudo)
babel-core,babel-plugin-external-helpers,babel-plugin-proposal-decorators,babel-plugin-proposal-function-bind,babel-plugin-transform-class-properties,babel-plugin-transform-classes,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-function-name,babel-plugin-transform-modules-systemjs,babel-plugin-transform-parameters,babel-plugin-transform-private-property-in-object,babel-plugin-transform-react-jsx,babel-plugin-transform-runtime,babel-plugin-transform-spread,babel-plugin-transform-typescript,babel-preset-env- #16326 Reduce the use of class names (@liuxingbaoyu)
v7.24.0
:rocket: New Feature
babel-standalonebabel-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-runtimebabel-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-traversebabel-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-propertiesbabel-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-decoratorsbabel-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.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-decoratorsbabel-core- #16167 Avoid unpreventable
unhandledRejectionevents (@nicolo-ribaudo)
- #16167 Avoid unpreventable
:house: Internal
babel-helper-create-class-features-plugin- #16186 chore: Update deps (@liuxingbaoyu)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators
v7.23.6
:eyeglasses: Spec Compliance
babel-generator,babel-parser,babel-typesbabel-helpers,babel-plugin-proposal-decorators,babel-plugin-transform-class-properties,babel-plugin-transform-class-static-block,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-types
:bug: Bug Fix
babel-generator- #16166 fix: Correctly indenting when
retainLinesis enabled (@liuxingbaoyu)
- #16166 fix: Correctly indenting when
babel-helpers,babel-plugin-proposal-explicit-resource-managementbabel-plugin-proposal-decorators,babel-plugin-transform-class-propertiesbabel-plugin-transform-for-of,babel-preset-env- #16011 fix:
for ofwithiterableIsArrayand shadowing variable (@liuxingbaoyu)
- #16011 fix:
babel-helpers,babel-plugin-proposal-decorators,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtimebabel-plugin-transform-typescript- #16137 Fix references to enum values with merging (@nicolo-ribaudo)
:microscope: Output optimization
babel-helper-create-class-features-plugin,babel-plugin-transform-class-propertiesbabel-helpers,babel-plugin-proposal-decorators- #16160 Optimize decorator helper size (@liuxingbaoyu)
v7.23.5
:eyeglasses: Spec Compliance
babel-plugin-proposal-decorators- #16138 Class binding is in TDZ during decorators initialization (@nicolo-ribaudo)
babel-helpers,babel-plugin-proposal-decorators
:rocket: New Feature
- #16023 Add
@babel/eslint-plugin/no-undeffor accessor props (@nicolo-ribaudo)
:bug: Bug Fix
babel-traverse,babel-types- #16131 Do not remove bindings when removing assignment expression path (@nicolo-ribaudo)
babel-plugin-transform-classes- #16135 Require class properties transform when compiling class with private fields (@nicolo-ribaudo)
babel-generator- #16122 fix: Missing parentheses after line break (@liuxingbaoyu)
babel-helpers- #16130 Fix helpers internal fns names conflict resolution (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-transform-class-properties,babel-plugin-transform-typescript- #16123 Simplify class fields injetion after
super()(@nicolo-ribaudo)
- #16123 Simplify class fields injetion after
babel-generator,babel-plugin-transform-modules-commonjs,babel-plugin-transform-parameters,babel-plugin-transform-typescript,babel-traverse- #16110 fix: Unexpected duplication of comments (@liuxingbaoyu)
:microscope: Output optimization
babel-helpers- #16129 Optimize
decoratorhelper size (@liuxingbaoyu)
- #16129 Optimize
babel/babel (@babel/eslint-parser)
v7.24.1
v7.23.10
:bug: Bug Fix
- Other
- #16240 [eslint] Include field decorators in scope analysis (@nicolo-ribaudo)
babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators
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-decoratorsbabel-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
Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 69.30%. Comparing base (
2d19d55) to head (f91e53b).
:exclamation: Current head f91e53b differs from pull request most recent head 72e8d4a. Consider uploading reports for the commit 72e8d4a to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## master #1046 +/- ##
=======================================
Coverage 69.30% 69.30%
=======================================
Files 59 59
Lines 5082 5082
Branches 1069 1069
=======================================
Hits 3522 3522
Misses 1533 1533
Partials 27 27
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.