Update babel monorepo
This MR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| @babel/core (source) | devDependencies | minor | 7.17.8 -> 7.18.6 |
| @babel/plugin-transform-runtime (source) | devDependencies | minor | 7.17.0 -> 7.18.6 |
| @babel/preset-env (source) | devDependencies | minor | 7.16.11 -> 7.18.6 |
| @babel/register (source) | devDependencies | minor | 7.17.7 -> 7.18.6 |
| @babel/runtime (source) | dependencies | minor | 7.17.8 -> 7.18.6 |
| babel-loader | devDependencies | patch | 8.2.4 -> 8.2.5 |
Release Notes
babel/babel
v7.18.6
👓 Spec Compliance
-
babel-parser- #14650 [ts] Disallow property access after instantiation expression (@nicolo-ribaudo)
-
#14636 [ts] Allow
...<...>followed by newline or binary operator (@nicolo-ribaudo)
-
babel-generator,babel-parser,babel-preset-env,babel-template
🐛 Bug Fix
-
babel-helper-remap-async-to-generator,babel-plugin-proposal-async-generator-functions-
#14391 Transform
awaitin computed class keys (@Yokubjon-J)
-
#14391 Transform
-
babel-plugin-transform-parameters- #14694 fix: preserve function params type if possible (@magic-akari)
-
babel-core-
#14583 fix: Memory leak when deep cloning in
babel-core(@liuxingbaoyu)
-
#14583 fix: Memory leak when deep cloning in
-
babel-core,babel-helper-check-duplicate-nodes,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-optional-chaining,babel-plugin-transform-runtime-
#14663 Fix
import { types } from "@​babel/core"with native ESM (@nicolo-ribaudo)
-
#14663 Fix
🏠 Internal
-
babel-standalone-
#14697 Add
proposal-unicode-sets-regexto@babel/standalone(@nicolo-ribaudo)
-
#14697 Add
- Other
- #14687 chore: Update bench baselines (@liuxingbaoyu)
-
babel-generator,babel-types -
babel-code-frame,babel-core,babel-generator,babel-helper-annotate-as-pure,babel-helper-builder-binary-assignment-operator-visitor,babel-helper-builder-react-jsx,babel-helper-check-duplicate-nodes,babel-helper-compilation-targets,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-define-map,babel-helper-explode-assignable-expression,babel-helper-fixtures,babel-helper-function-name,babel-helper-hoist-variables,babel-helper-member-expression-to-functions,babel-helper-module-imports,babel-helper-module-transforms,babel-helper-optimise-call-expression,babel-helper-plugin-test-runner,babel-helper-plugin-utils,babel-helper-remap-async-to-generator,babel-helper-replace-supers,babel-helper-simple-access,babel-helper-split-export-declaration,babel-helper-transform-fixture-test-runner,babel-helper-validator-option,babel-helper-wrap-function,babel-helpers,babel-highlight,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-external-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-function-bind,babel-plugin-proposal-function-sent,babel-plugin-proposal-json-strings,babel-plugin-proposal-object-rest-spread,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-partial-application,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-record-and-tuple,babel-plugin-syntax-typescript,babel-plugin-transform-block-scoped-functions,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-computed-properties,babel-plugin-transform-destructuring,babel-plugin-transform-duplicate-keys,babel-plugin-transform-exponentiation-operator,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-for-of,babel-plugin-transform-function-name,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-modules-umd,babel-plugin-transform-object-super,babel-plugin-transform-parameters,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-source,babel-plugin-transform-react-jsx,babel-plugin-transform-runtime,babel-plugin-transform-typescript,babel-plugin-transform-unicode-escapes,babel-preset-env,babel-preset-typescript,babel-standalone,babel-template,babel-traverse,babel-types -
babel-core,babel-helper-transform-fixture-test-runner,babel-plugin-transform-destructuring- #14659 Run Babel asynchronously in fixtures (@nicolo-ribaudo)
v7.18.5
🐛 Bug Fix
-
babel-plugin-transform-new-target-
#14611 fix:
new.targetwith shadowed class name (@liuxingbaoyu)
-
#14611 fix:
-
babel-plugin-transform-modules-systemjs- #14655 Fix named destructuring exports (@underfin)
📝 Documentation
- #14332 docs: eslint-parser requireConfigFile behaviour (@JLHwung)
- #14619 Move v7 prereleases changelog to a separate file (@nicolo-ribaudo)
🏠 Internal
-
babel-traverse-
#14649 Rely on the call stack to clean up cache in
_guessExecutionStatusRelativeTo(@nicolo-ribaudo)
-
#14649 Rely on the call stack to clean up cache in
-
babel-core- #14641 Change limit of source map 3MB (@vasicvuk)
- Other
- #14627 Speedup e2e test on github (@liuxingbaoyu)
- #14248 chore: automate compat-data update (@tony-go)
-
babel-parser- #14592 feat: Automatically generate test results that do not exist (@liuxingbaoyu)
:running_woman: Performance
-
babel-traverse-
#14617 Fix
_guessExecutionStatusRelativeToDifferentFunctionsperf (@liuxingbaoyu)
-
#14617 Fix
v7.18.2
🐛 Bug Fix
-
babel-plugin-transform-template-literals -
babel-helpers-
#14537 Support frozen built-ins in
@babel/runtime(@Jack-Works)
-
#14537 Support frozen built-ins in
-
babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime-
#14581 Define the global
regeneratorRuntimein@babel/runtime/regenerator(@nicolo-ribaudo)
-
#14581 Define the global
-
babel-helper-environment-visitor,babel-helper-replace-supers,babel-plugin-proposal-class-properties,babel-plugin-proposal-decorators,babel-traverse,babel-types
📝 Documentation
🏠 Internal
- #14541 Fix synchronization between main thread and worker (@liuxingbaoyu)
v7.18.0
🚀 New Feature
-
babel-preset-env -
babel-helper-create-class-features-plugin,babel-helper-define-map,babel-plugin-proposal-class-static-block,babel-plugin-proposal-destructuring-private,babel-plugin-proposal-object-rest-spread,babel-plugin-syntax-destructuring-private,babel-plugin-transform-destructuring,babel-plugin-transform-proto-to-assign,babel-plugin-transform-typescript,babel-standalone,babel-traverse,babel-types -
babel-generator,babel-parser,babel-types- #14359 [ts 4.7] Support optional variance annotations (@magic-akari)
-
babel-generator,babel-parser-
#14476 [ts 4.7] Support
extendsconstraints forinfer(@sosukesuzuki)
-
#14476 [ts 4.7] Support
-
babel-generator,babel-parser,babel-plugin-transform-typescript,babel-traverse,babel-types- #14457 [ts] Add support for instantiation expressions (@nicolo-ribaudo)
-
babel-helper-module-transforms,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-umd-
#14456 Pass filename to
importInteropmethod (@NickHeiner)
-
#14456 Pass filename to
🐛 Bug Fix
-
babel-types- #14551 Do not create multiple copies of comments when cloning nodes (@liuxingbaoyu)
-
babel-parser -
babel-plugin-transform-react-pure-annotations
💅 Polish
-
babel-core,babel-helper-transform-fixture-test-runner,babel-helpers,babel-plugin-proposal-async-generator-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-regenerator,babel-plugin-transform-runtime,babel-preset-env,babel-runtime-corejs2,babel-runtime-corejs3,babel-runtime,babel-standalone-
#14538 Inline
regeneratorRuntimeas a normal helper (@nicolo-ribaudo)
-
#14538 Inline
🏠 Internal
-
babel-core,babel-helper-create-class-features-plugin,babel-plugin-proposal-decorators,babel-plugin-transform-modules-systemjs
v7.17.12
🐛 Bug Fix
-
babel-plugin-transform-react-constant-elements- #14536 Never hoist JSX elts referencing vars from the current scope (@nicolo-ribaudo)
-
babel-generator- #14524 fix: perserve parentheses of lhs id with rhs unamed fn (@JLHwung)
- #14532 Print necessary parentheses for functions in postfix expressions (@xiawenqi)
-
babel-plugin-transform-destructuring -
babel-parser -
babel-parser,babel-plugin-transform-destructuring,babel-types- #14500 Fix parsing ts type casts and nested patterns in destructuring (@nicolo-ribaudo)
🏠 Internal
-
babel-plugin-proposal-decorators,babel-types- #14519 @babel/types builder improvements (@JLHwung)
-
babel-core -
babel-core,babel-generator,babel-helper-create-class-features-plugin,babel-helper-create-regexp-features-plugin,babel-helper-module-transforms,babel-helper-plugin-utils,babel-parser,babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression,babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining,babel-plugin-external-helpers,babel-plugin-proposal-async-do-expressions,babel-plugin-proposal-async-generator-functions,babel-plugin-proposal-class-properties,babel-plugin-proposal-class-static-block,babel-plugin-proposal-decorators,babel-plugin-proposal-export-default-from,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-object-rest-spread,babel-plugin-proposal-optional-chaining,babel-plugin-proposal-partial-application,babel-plugin-proposal-pipeline-operator,babel-plugin-proposal-private-methods,babel-plugin-proposal-private-property-in-object,babel-plugin-proposal-record-and-tuple,babel-plugin-proposal-unicode-property-regex,babel-plugin-syntax-decorators,babel-plugin-syntax-destructuring-private,babel-plugin-syntax-flow,babel-plugin-syntax-import-assertions,babel-plugin-syntax-pipeline-operator,babel-plugin-syntax-record-and-tuple,babel-plugin-syntax-typescript,babel-plugin-transform-arrow-functions,babel-plugin-transform-async-to-generator,babel-plugin-transform-block-scoping,babel-plugin-transform-classes,babel-plugin-transform-computed-properties,babel-plugin-transform-destructuring,babel-plugin-transform-duplicate-keys,babel-plugin-transform-flow-comments,babel-plugin-transform-flow-strip-types,babel-plugin-transform-for-of,babel-plugin-transform-instanceof,babel-plugin-transform-jscript,babel-plugin-transform-literals,babel-plugin-transform-modules-amd,babel-plugin-transform-modules-commonjs,babel-plugin-transform-modules-systemjs,babel-plugin-transform-modules-umd,babel-plugin-transform-named-capturing-groups-regex,babel-plugin-transform-new-target,babel-plugin-transform-parameters,babel-plugin-transform-property-mutators,babel-plugin-transform-proto-to-assign,babel-plugin-transform-react-constant-elements,babel-plugin-transform-react-jsx,babel-plugin-transform-reserved-words,babel-plugin-transform-runtime,babel-plugin-transform-spread,babel-plugin-transform-template-literals,babel-plugin-transform-typeof-symbol,babel-plugin-transform-typescript,babel-preset-env,babel-preset-flow,babel-preset-react,babel-preset-typescript,babel-traverse,babel-types
v7.17.10
🐛 Bug Fix
-
babel-cli,babel-core,babel-generator,babel-helper-transform-fixture-test-runner-
#14479 [cli] Avoid
SourceMapGeneratorfor simple map concatenation (@jridgewell)
-
#14479 [cli] Avoid
💅 Polish
-
babel-cli,babel-core,babel-generator,babel-helper-fixtures,babel-helper-transform-fixture-test-runner- #14506 Do not add sourcemap markings for indentation (@jridgewell)
-
babel-plugin-proposal-pipeline-operator,babel-traverse
🏠 Internal
-
babel-core- #14493 Remove git.io shortlinks from repo (@Andoryuuta)
- Other
- #14462 fix: build standalone on windows (@liuxingbaoyu)
:running_woman: Performance
-
babel-cli,babel-core,babel-generator-
#14497 Switch to
@jridgewell/gen-mappingfor sourcemap generation (@jridgewell)
-
#14497 Switch to
v7.17.9
🐛 Bug Fix
-
babel-parser,babel-standalone-
#14427 Restore numeric seaprators support in
@babel/standalone(@nicolo-ribaudo)
-
#14427 Restore numeric seaprators support in
-
babel-traverse -
babel-plugin-proposal-decorators- #14396 [2021-12] Support class decorators in export declarations (@nicolo-ribaudo)
- #14387 fix: forward accessor proxy getter results (@JLHwung)
-
babel-parser -
babel-generator,babel-parser -
babel-plugin-transform-classes,babel-plugin-transform-modules-commonjs,babel-preset-env-
#14366 Align named imports behavior in
.mjsand.jsfiles (@nicolo-ribaudo)
-
#14366 Align named imports behavior in
-
babel-helper-create-class-features-plugin,babel-plugin-proposal-class-properties-
#14351 [setPublicClassFields] Use define for static
name/length(@nicolo-ribaudo)
-
#14351 [setPublicClassFields] Use define for static
💅 Polish
-
babel-plugin-proposal-decorators- #14398 Add missing semicolons in 2021-12 decorators output (@nicolo-ribaudo)
📝 Documentation
- #14397 Mention how to report vulns in Babel dependencies (@nicolo-ribaudo)
🏠 Internal
- Other
-
#14419 Use
jest-light-runnerfrom npm (@nicolo-ribaudo)
-
#14419 Use
-
babel-cli- #14385 Fix flaky @babel/cli test (@JLHwung)
-
babel-helper-function-name,babel-helper-get-function-arity-
#14389 Inline
@babel/helper-get-function-aritypackage (@nicolo-ribaudo)
-
#14389 Inline
-
babel-helpers-
#14343 Remove unused
@babel/helperscode (@nicolo-ribaudo)
-
#14343 Remove unused
-
babel-core,babel-highlight,babel-parser- #14377 refactor: replace deprecated String.prototype.substr() (@CommanderRoot)
babel/babel-loader
v8.2.5
What's Changed
- fix: respect
inputSourceMaploader option by @alan-agius4 in https://github.com/babel/babel-loader/pull/896
New Contributors
- @alan-agius4 made their first contribution in https://github.com/babel/babel-loader/pull/896
Full Changelog: https://github.com/babel/babel-loader/compare/v8.2.4...v8.2.5
Configuration
-
If you want to rebase/retry this MR, click this checkbox.
This MR has been generated by Renovate Bot.