@babel/plugin-transform-destructuring
8.0.5 · 10 Sep 2026MIT77M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/plugin-transform-destructuring From 7.12.13 to 8.0.5
42 releases in betweenevery note read
Reading releases, release notes and advisories…
- 5
- changes to make
- 0
- advisories fixed
- 17
- new
- 49
- fixes
Start here
Before you upgrade
Tick each one off as you go- Breaking8.0.1
- Breaking8.0.1
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
Release by release
- Fixed
babel-parser: fix(parser): remove non-decimal prefix from bigint (@JLHwung)
- Fixed
babel-parser: Disallow new import prop access (@JLHwung)
- Fixed
babel-plugin-transform-destructuring: fix: only collapse the empty-object check when it targets the declared binding (@Kjubikstronk)
- Fixed
babel-traverse: fix(remove): unwrap single sequence expression (@JLHwung)
- Fixed
babel-traverse: Handle null in
getAll{Prev,Next}Siblings(@JLHwung)
- Fixed
- Breaking
This release includes a breaking change that was in the Babel 8 migration guide's Getting ready section and in the release post, but the actual removal of the feature from the codebase was accidentally not complete.
- Breaking
babel-core, babel-plugin-transform-object-rest-spread, babel-plugin-transform-runtime, babel-preset-env, babel-standalone: Actually remove
preset-env'suseBuiltIns(@nicolo-ribaudo)
- Breaking
- Breaking
You can find a summary of all the breaking changes shipped in the Babel 8 release line in the migration guide for users and migration guide for plugin developers.
- Breaking
babel-plugin-transform-runtime, babel-runtime-corejs3, babel-runtime: Remove corejs exports for
@babe/runtime-corejs3(@liuxingbaoyu) - Breaking
babel-parser: Remove
locations: "packed"(@liuxingbaoyu) - New
Add EOL date for Babel 7 (end of June 2027) to SECURITY.md (@nicolo-ribaudo)
- Breaking
- Fixed
babel-parser: fix(parser): allow TS imports to define exports declared before them (@babel-bot)
- Fixed
babel-parser: fix(parser): allow lone
yieldbeforeinin an Annex B for-in init (@babel-bot) - Fixed
babel-parser: fix(parser): respect unicode escape in
isUnparsedContextual(@babel-bot) - Fixed
babel-parser: fix(parser): remove non-decimal prefix from bigint (@babel-bot)
- Fixed
7.29.7nothing new or fixed in the note
- Fixed
babel-plugin-proposal-discard-binding, babel-plugin-transform-destructuring: fix:
restcorrectly returns plain array (@liuxingbaoyu)
- Fixed
- New
babel-generator, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-discard-binding, babel-plugin-transform-destructuring, babel-plugin-transform-explicit-resource-management, babel-plugin-transform-react-display-name, babel-types: Transform discard binding (@JLHwung)
- New
7.27.7nothing new or fixed in the note
38 other lines we could not sort, mostly version bumps
- 7.27.7
babel-plugin-transform-destructuring, babel-plugin-transform-object-rest-spread: Use
NodePath#splitExportDeclarationin destructuring transforms (@JLHwung) - 7.27.1
babel-plugin-bugfix-v8-spread-parameters-in-optional-chaining, babel-plugin-proposal-decorators, babel-plugin-transform-arrow-functions, babel-plugin-transform-class-properties, babel-plugin-transform-destructuring, babel-plugin-transform-object-rest-spread, babel-plugin-transform-optional-chaining, babel-plugin-transform-parameters, babel-traverse: Reduce generated names size for the 10th-11th (@nicolo-ribaudo)
- 7.27.1
babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Remove unused
regenerator-runtimedep in@babel/runtime(@nicolo-ribaudo) - 7.25.9
Analyze
ClassAccessorPropertyto prevent theno-undefrule (@victorenator) - 7.25.9
babel-helper-transform-fixture-test-runner: remove test options flaky (@JLHwung)
- 7.24.7
babel-helpers, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Delete unused array helpers (@blakewilson)
- 7.24.5
Relax ESLint peerDependency constraint to allow v9 (@liuxingbaoyu)
- 7.24.5
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: Make
NodePath<T | U>distributive (@nicolo-ribaudo) - 7.24.5
babel-plugin-proposal-partial-application, babel-types: Remove
JSXNamespacedNamefrom validCallExpressionargs (@nicolo-ribaudo) - 7.24.1
Test Babel 7 plugins compatibility with Babel 8 core (@nicolo-ribaudo)
20 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.