Update dependency @babel/core to v7.23.6
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @babel/core (source) | devDependencies | minor | 7.22.10 -> 7.23.6 |
Release Notes
babel/babel
v7.23.6
👓 Spec Compliance
-
babel-generator,babel-parser,babel-types -
babel-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 Fix
-
babel-generator-
#16166 fix: Correctly indenting when
retainLinesis enabled (@liuxingbaoyu)
-
#16166 fix: Correctly indenting when
-
babel-helpers,babel-plugin-proposal-explicit-resource-management -
babel-plugin-proposal-decorators,babel-plugin-transform-class-properties -
babel-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-runtime -
babel-plugin-transform-typescript- #16137 Fix references to enum values with merging (@nicolo-ribaudo)
🔬 Output optimization
-
babel-helper-create-class-features-plugin,babel-plugin-transform-class-properties -
babel-helpers,babel-plugin-proposal-decorators- #16160 Optimize decorator helper size (@liuxingbaoyu)
v7.23.5
👓 Spec Compliance
-
babel-plugin-proposal-decorators- #16138 Class binding is in TDZ during decorators initialization (@nicolo-ribaudo)
-
babel-helpers,babel-plugin-proposal-decorators
🐛 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)
-
babel-eslint-plugin-
#16023 Add
@babel/eslint-plugin/no-undefto fixno-undefwith accessor props (@nicolo-ribaudo)
-
#16023 Add
🔬 Output optimization
-
babel-helpers-
#16129 Optimize
decoratorhelper size (@liuxingbaoyu)
-
#16129 Optimize
v7.23.3
🐛 Bug Fix
-
babel-plugin-transform-typescript- #16071 Strip type-only TS namespaces (@colinaaa)
-
babel-generator-
#16078 Fix indentation when generating comments with
concise: true(@liuxingbaoyu)
-
#16078 Fix indentation when generating comments with
-
babel-compat-data,babel-plugin-bugfix-v8-static-class-fields-redefine-readonly,babel-preset-env- #14295 Add a bugfix plugin for https://crbug.com/v8/12421 (@nicolo-ribaudo)
-
babel-plugin-transform-object-super-
#15948 fix:
super.xin a loop (@liuxingbaoyu)
-
#15948 fix:
-
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd-
#16015 fix: handle
__proto__exports name in CJS/AMD/UMD (@magic-akari)
-
#16015 fix: handle
📝 Documentation
- #16044 docs: Update links in @babel/eslint-parser README (@aryehb)
🏠 Internal
-
babel-core,babel-preset-env-
#15988 Refactor handling of modules plugins in
preset-env(@nicolo-ribaudo)
-
#15988 Refactor handling of modules plugins in
:running_woman: Performance
-
babel-generator-
#16061 perf: Improve
@babel/generatorperformance (@liuxingbaoyu)
-
#16061 perf: Improve
-
babel-traverse- #16060 Avoid dynamic dispatch when calling wrapCheck (@yepitschunked)
🔬 Output optimization
-
babel-plugin-transform-computed-properties- #6652 Optimize computed properties output (byte-wise) (@Andarist)
v7.23.2
🐛 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
🚀 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 Fix
-
babel-plugin-transform-block-scoping-
#15962 fix:
transform-block-scopingcaptures the variables of the method in the loop (@liuxingbaoyu)
-
#15962 fix:
💅 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
🔬 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
🏠 Internal
-
babel-helper-validator-identifier- #15973 Remove special-casing of U+200C and U+200D (@nicolo-ribaudo)
-
babel-plugin-transform-dotall-regex
↩ 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 Fix
-
babel-helper-validator-identifier -
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd
↩ Revert
- #15965 Revert Node.js 20.6.0 bug workaround (@nicolo-ribaudo)
v7.22.17
🐛 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
🔬 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 Fix
-
babel-core- #15923 Only perform config loading re-entrancy check for cjs (@nicolo-ribaudo)
🏠 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 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)
🏠 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
🔬 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
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.
Edited by renovate