Open renovate[bot] opened 5 months ago
Run & review this pull request in StackBlitz Codeflow.
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
Package | New capabilities | Transitives | Size | Publisher |
---|
🚮 Removed packages: npm/@babel/parser@7.24.1
This PR contains the following updates:
7.24.1
->7.25.6
7.24.0
->7.25.6
Release Notes
babel/babel (@babel/parser)
### [`v7.25.6`](https://togithub.com/babel/babel/compare/v7.25.4...v7.25.6) [Compare Source](https://togithub.com/babel/babel/compare/v7.25.4...v7.25.6) ### [`v7.25.4`](https://togithub.com/babel/babel/releases/tag/v7.25.4) [Compare Source](https://togithub.com/babel/babel/compare/v7.25.3...v7.25.4) #### v7.25.4 (2024-08-22) ##### :bug: Bug Fix - `babel-traverse` - [#16756](https://togithub.com/babel/babel/pull/16756) fix: Skip computed key when renaming ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16755](https://togithub.com/babel/babel/pull/16755) fix: Decorator 2018-09 may throw an exception ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-types` - [#16710](https://togithub.com/babel/babel/pull/16710) Visit AST fields nodes according to their syntactical order ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#16709](https://togithub.com/babel/babel/pull/16709) Print semicolon after TS `export namespace as A` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-typescript`, `babel-runtime-corejs2`, `babel-runtime`, `babel-traverse` - [#16722](https://togithub.com/babel/babel/pull/16722) Avoid unnecessary parens around sequence expressions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-transform-class-properties` - [#16714](https://togithub.com/babel/babel/pull/16714) Avoid unnecessary parens around exported arrow functions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-transform-object-rest-spread` - [#16712](https://togithub.com/babel/babel/pull/16712) Avoid printing unnecessary parens around object destructuring ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-generator` - [#16740](https://togithub.com/babel/babel/pull/16740) Avoid extra spaces between comments/regexps in compact mode ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 4 - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [@liuxingbaoyu](https://togithub.com/liuxingbaoyu) ### [`v7.25.3`](https://togithub.com/babel/babel/releases/tag/v7.25.3) [Compare Source](https://togithub.com/babel/babel/compare/v7.25.0...v7.25.3) #### v7.25.3 (2024-07-31) ##### :bug: Bug Fix - `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-traverse` - [#16699](https://togithub.com/babel/babel/pull/16699) Avoid validating visitors produced by `traverse.visitors.merge` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-parser` - [#16688](https://togithub.com/babel/babel/pull/16688) Add `@babel/types` as a dependency of `@babel/parser` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 2 - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.25.0`](https://togithub.com/babel/babel/releases/tag/v7.25.0) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.8...v7.25.0) #### v7.25.0 (2024-07-26) Thanks [@davidtaylorhq](https://togithub.com/davidtaylorhq) and [@slatereax](https://togithub.com/slatereax) for your first PR! You can find the release blog post with some highlights at https://babeljs.io/blog/2024/07/26/7.25.0. ##### :eyeglasses: Spec Compliance - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3` - [#16537](https://togithub.com/babel/babel/pull/16537) `await using` normative updates ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-typescript` - [#16602](https://togithub.com/babel/babel/pull/16602) Ensure enum members syntactically determinable to be strings do not get reverse mappings ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :rocket: New Feature - `babel-helper-create-class-features-plugin`, `babel-helper-function-name`, `babel-helper-plugin-utils`, `babel-helper-wrap-function`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse`, `babel-types` - [#16658](https://togithub.com/babel/babel/pull/16658) Move `ensureFunctionName` to `NodePath.prototype` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-hoist-variables`, `babel-helper-plugin-utils`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-transform-modules-systemjs`, `babel-traverse` - [#16644](https://togithub.com/babel/babel/pull/16644) Move `hoistVariables` to `Scope.prototype` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-split-export-declaration`, `babel-plugin-transform-classes`, `babel-traverse`, `babel-types` - [#16645](https://togithub.com/babel/babel/pull/16645) Move `splitExportDeclaration` to `NodePath.prototype` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-environment-visitor`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-classes`, `babel-traverse` - [#16649](https://togithub.com/babel/babel/pull/16649) Move `environment-visitor` helper into `@babel/traverse` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-parser` - [#16480](https://togithub.com/babel/babel/pull/16480) Expose wether a module has TLA or not as `.extra.async` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-preset-env` - [#16569](https://togithub.com/babel/babel/pull/16569) Introduce `bugfix-safari-class-field-initializer-scope` ([@davidtaylorhq](https://togithub.com/davidtaylorhq)) - `babel-plugin-transform-block-scoping`, `babel-traverse`, `babel-types` - [#16551](https://togithub.com/babel/babel/pull/16551) Add `NodePath#getAssignmentIdentifiers` ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-import-to-platform-api`, `babel-plugin-proposal-json-modules` - [#16579](https://togithub.com/babel/babel/pull/16579) Add `uncheckedRequire` option for JSON imports to CJS ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner`, `babel-node` - [#16642](https://togithub.com/babel/babel/pull/16642) Allow using custom config in `babel-node --eval` ([@slatereax](https://togithub.com/slatereax)) - `babel-compat-data`, `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-duplicate-named-capturing-groups-regex`, `babel-preset-env`, `babel-standalone` - [#16445](https://togithub.com/babel/babel/pull/16445) Add `duplicate-named-capturing-groups-regex` to `preset-env` ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-generator` - [#16678](https://togithub.com/babel/babel/pull/16678) Print parens around as expressions on the LHS ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-template`, `babel-types` - [#15286](https://togithub.com/babel/babel/pull/15286) fix: Props are lost when the template replaces the node ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - Other - [#16674](https://togithub.com/babel/babel/pull/16674) bump gulp to 5 ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator` - [#16651](https://togithub.com/babel/babel/pull/16651) Simplify the printing logic for `(` before ambiguous tokens ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-function-name`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse` - [#16652](https://togithub.com/babel/babel/pull/16652) Simplify `helper-function-name` logic ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-parser`, `babel-plugin-proposal-pipeline-operator` - [#16461](https://togithub.com/babel/babel/pull/16461) Some minor parser performance improvements for ts ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-plugin-transform-classes` - [#16670](https://togithub.com/babel/babel/pull/16670) Reduce redundant `assertThisInitialized` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-object-super`, `babel-plugin-transform-private-methods`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16374](https://togithub.com/babel/babel/pull/16374) Improve `super.x` output ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes` - [#16656](https://togithub.com/babel/babel/pull/16656) Simplify output for anonymous classes with no methods ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### Committers: 6 - Artem ([@slatereax](https://togithub.com/slatereax)) - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - David Taylor ([@davidtaylorhq](https://togithub.com/davidtaylorhq)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [@liuxingbaoyu](https://togithub.com/liuxingbaoyu) ### [`v7.24.8`](https://togithub.com/babel/babel/releases/tag/v7.24.8) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.7...v7.24.8) #### v7.24.8 (2024-07-11) Thanks [@H0onnn](https://togithub.com/H0onnn), [@jkup](https://togithub.com/jkup) and [@SreeXD](https://togithub.com/SreeXD) for your first pull requests! ##### :eyeglasses: Spec Compliance - `babel-parser` - [#16567](https://togithub.com/babel/babel/pull/16567) Do not use strict mode in TS `declare` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :bug: Bug Fix - `babel-generator` - [#16630](https://togithub.com/babel/babel/pull/16630) Correctly print parens around `in` in `for` heads ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16626](https://togithub.com/babel/babel/pull/16626) Fix printing of comments in `await using` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16591](https://togithub.com/babel/babel/pull/16591) fix typescript code generation for yield expression inside type expre… ([@SreeXD](https://togithub.com/SreeXD)) - `babel-parser` - [#16613](https://togithub.com/babel/babel/pull/16613) Disallow destructuring assignment in `using` declarations ([@H0onnn](https://togithub.com/H0onnn)) - [#16490](https://togithub.com/babel/babel/pull/16490) fix: do not add `.value: undefined` to regexp literals ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-types` - [#16615](https://togithub.com/babel/babel/pull/16615) Remove boolean props from `ObjectTypeInternalSlot` visitor keys ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript` - [#16566](https://togithub.com/babel/babel/pull/16566) fix: Correctly handle `export import x =` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-generator` - [#16625](https://togithub.com/babel/babel/pull/16625) Avoid unnecessary parens around `async` in `for await` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse` - [#16619](https://togithub.com/babel/babel/pull/16619) Avoid checking `Scope.globals` multiple times ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### Committers: 9 - Amjad Yahia Robeen Hassan ([@amjed-98](https://togithub.com/amjed-98)) - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Jon Kuperman ([@jkup](https://togithub.com/jkup)) - Nagendran N ([@SreeXD](https://togithub.com/SreeXD)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sukka ([@SukkaW](https://togithub.com/SukkaW)) - [@H0onnn](https://togithub.com/H0onnn) - [@liuxingbaoyu](https://togithub.com/liuxingbaoyu) ### [`v7.24.7`](https://togithub.com/babel/babel/releases/tag/v7.24.7) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.6...v7.24.7) #### v7.24.7 (2024-06-05) ##### :bug: Bug Fix - `babel-node` - [#16554](https://togithub.com/babel/babel/pull/16554) Allow extra flags in babel-node ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse` - [#16522](https://togithub.com/babel/babel/pull/16522) fix: incorrect `constantViolations` with destructuring ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-transform-fixture-test-runner`, `babel-plugin-proposal-explicit-resource-management` - [#16524](https://togithub.com/babel/babel/pull/16524) fix: Transform `using` in `switch` correctly ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - `babel-helpers`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16525](https://togithub.com/babel/babel/pull/16525) Delete unused array helpers ([@blakewilson](https://togithub.com/blakewilson)) ##### Committers: 7 - Amjad Yahia Robeen Hassan ([@amjed-98](https://togithub.com/amjed-98)) - Babel Bot ([@babel-bot](https://togithub.com/babel-bot)) - Blake Wilson ([@blakewilson](https://togithub.com/blakewilson)) - Huáng Jùnliàng ([@JLHwung](https://togithub.com/JLHwung)) - Nicolò Ribaudo ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - Sukka ([@SukkaW](https://togithub.com/SukkaW)) - [@liuxingbaoyu](https://togithub.com/liuxingbaoyu) ### [`v7.24.6`](https://togithub.com/babel/babel/releases/tag/v7.24.6) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.5...v7.24.6) #### v7.24.6 (2024-05-24) Thanks [@amjed-98](https://togithub.com/amjed-98), [@blakewilson](https://togithub.com/blakewilson), [@coelhucas](https://togithub.com/coelhucas), and [@SukkaW](https://togithub.com/SukkaW) for your first PRs! ##### :bug: Bug Fix - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties` - [#16514](https://togithub.com/babel/babel/pull/16514) Fix source maps for private member expressions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-generator`, `babel-plugin-transform-modules-commonjs` - [#16515](https://togithub.com/babel/babel/pull/16515) Fix source maps for template literals ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16485](https://togithub.com/babel/babel/pull/16485) Support undecorated static accessor in anonymous classes ([@JLHwung](https://togithub.com/JLHwung)) - [#16484](https://togithub.com/babel/babel/pull/16484) Fix decorator bare yield await ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-runtime-corejs3` - [#16483](https://togithub.com/babel/babel/pull/16483) Fix: throw TypeError if addInitializer is called after finished ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser`, `babel-plugin-transform-typescript` - [#16476](https://togithub.com/babel/babel/pull/16476) fix: Correctly parse `cls.fnbabel/babel (@babel/types)
### [`v7.25.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7256-2024-08-29) [Compare Source](https://togithub.com/babel/babel/compare/v7.25.4...v7.25.6) ##### :bug: Bug Fix - `babel-generator` - [#16783](https://togithub.com/babel/babel/pull/16783) Properly print inner comments in TS array types ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16775](https://togithub.com/babel/babel/pull/16775) fix: jsx whitespace is not properly preserved when retainLines ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-traverse` - [#16727](https://togithub.com/babel/babel/pull/16727) fix: `path.getAssignmentIdentifiers` may be `undefined` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-parser` - [#16761](https://togithub.com/babel/babel/pull/16761) fix: improve static canFollowModifier checks ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-transform-optional-chaining`, `babel-runtime-corejs3` - [#16769](https://togithub.com/babel/babel/pull/16769) Only wrap functions in `superPropertyGet` helper ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-generator`, `babel-plugin-transform-async-to-generator`, `babel-plugin-transform-block-scoping`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-named-capturing-groups-regex`, `babel-plugin-transform-react-jsx-development`, `babel-plugin-transform-react-jsx`, `babel-plugin-transform-react-pure-annotations`, `babel-plugin-transform-regenerator`, `babel-plugin-transform-runtime`, `babel-preset-env` - [#16780](https://togithub.com/babel/babel/pull/16780) Do not enforce printing space between `(` and comments ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-syntax-import-assertions`, `babel-plugin-syntax-import-attributes` - [#16781](https://togithub.com/babel/babel/pull/16781) Don't throw when enabling both syntax-import-{assertions,attributes} ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#16782](https://togithub.com/babel/babel/pull/16782) TS union/intersection nested in union does not need parens ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-generator` - [#16777](https://togithub.com/babel/babel/pull/16777) Remove unused `parent` params in the generator ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.25.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7254-2024-08-22) [Compare Source](https://togithub.com/babel/babel/compare/v7.25.2...v7.25.4) ##### :bug: Bug Fix - `babel-traverse` - [#16756](https://togithub.com/babel/babel/pull/16756) fix: Skip computed key when renaming ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16755](https://togithub.com/babel/babel/pull/16755) fix: Decorator 2018-09 may throw an exception ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-types` - [#16710](https://togithub.com/babel/babel/pull/16710) Visit AST fields nodes according to their syntactical order ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator` - [#16709](https://togithub.com/babel/babel/pull/16709) Print semicolon after TS `export namespace as A` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :nail_care: Polish - `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-proposal-pipeline-operator`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-destructuring`, `babel-plugin-transform-optional-chaining`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`, `babel-plugin-transform-typescript`, `babel-runtime-corejs2`, `babel-runtime`, `babel-traverse` - [#16722](https://togithub.com/babel/babel/pull/16722) Avoid unnecessary parens around sequence expressions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-transform-class-properties` - [#16714](https://togithub.com/babel/babel/pull/16714) Avoid unnecessary parens around exported arrow functions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-generator`, `babel-plugin-proposal-decorators`, `babel-plugin-proposal-destructuring-private`, `babel-plugin-transform-object-rest-spread` - [#16712](https://togithub.com/babel/babel/pull/16712) Avoid printing unnecessary parens around object destructuring ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :microscope: Output optimization - `babel-generator` - [#16740](https://togithub.com/babel/babel/pull/16740) Avoid extra spaces between comments/regexps in compact mode ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.25.2`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7252-2024-07-30) [Compare Source](https://togithub.com/babel/babel/compare/v7.25.0...v7.25.2) ##### :bug: Bug Fix - `babel-core`, `babel-traverse` - [#16695](https://togithub.com/babel/babel/pull/16695) Ensure that `requeueComputedKeyAndDecorators` is available ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.25.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7250-2024-07-26) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.9...v7.25.0) ##### :eyeglasses: Spec Compliance - `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3` - [#16537](https://togithub.com/babel/babel/pull/16537) `await using` normative updates ([@JLHwung](https://togithub.com/JLHwung)) - `babel-plugin-transform-typescript` - [#16602](https://togithub.com/babel/babel/pull/16602) Ensure enum members syntactically determinable to be strings do not get reverse mappings ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :rocket: New Feature - `babel-helper-create-class-features-plugin`, `babel-helper-function-name`, `babel-helper-plugin-utils`, `babel-helper-wrap-function`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-plugin-bugfix-safari-id-destructuring-collision-in-function-expression`, `babel-plugin-transform-classes`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse`, `babel-types` - [#16658](https://togithub.com/babel/babel/pull/16658) Move `ensureFunctionName` to `NodePath.prototype` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-hoist-variables`, `babel-helper-plugin-utils`, `babel-plugin-proposal-async-do-expressions`, `babel-plugin-transform-modules-systemjs`, `babel-traverse` - [#16644](https://togithub.com/babel/babel/pull/16644) Move `hoistVariables` to `Scope.prototype` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-split-export-declaration`, `babel-plugin-transform-classes`, `babel-traverse`, `babel-types` - [#16645](https://togithub.com/babel/babel/pull/16645) Move `splitExportDeclaration` to `NodePath.prototype` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-helper-environment-visitor`, `babel-helper-module-transforms`, `babel-helper-plugin-utils`, `babel-helper-remap-async-to-generator`, `babel-helper-replace-supers`, `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-plugin-bugfix-v8-static-class-fields-redefine-readonly`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-classes`, `babel-traverse` - [#16649](https://togithub.com/babel/babel/pull/16649) Move `environment-visitor` helper into `@babel/traverse` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-parser` - [#16480](https://togithub.com/babel/babel/pull/16480) Expose wether a module has TLA or not as `.extra.async` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-compat-data`, `babel-plugin-bugfix-safari-class-field-initializer-scope`, `babel-preset-env` - [#16569](https://togithub.com/babel/babel/pull/16569) Introduce `bugfix-safari-class-field-initializer-scope` ([@davidtaylorhq](https://togithub.com/davidtaylorhq)) - `babel-plugin-transform-block-scoping`, `babel-traverse`, `babel-types` - [#16551](https://togithub.com/babel/babel/pull/16551) Add `NodePath#getAssignmentIdentifiers` ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helper-import-to-platform-api`, `babel-plugin-proposal-json-modules` - [#16579](https://togithub.com/babel/babel/pull/16579) Add `uncheckedRequire` option for JSON imports to CJS ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-transform-fixture-test-runner`, `babel-node` - [#16642](https://togithub.com/babel/babel/pull/16642) Allow using custom config in `babel-node --eval` ([@slatereax](https://togithub.com/slatereax)) - `babel-compat-data`, `babel-helper-create-regexp-features-plugin`, `babel-plugin-proposal-duplicate-named-capturing-groups-regex`, `babel-plugin-transform-duplicate-named-capturing-groups-regex`, `babel-preset-env`, `babel-standalone` - [#16445](https://togithub.com/babel/babel/pull/16445) Add `duplicate-named-capturing-groups-regex` to `preset-env` ([@JLHwung](https://togithub.com/JLHwung)) ##### :bug: Bug Fix - `babel-generator` - [#16678](https://togithub.com/babel/babel/pull/16678) Print parens around as expressions on the LHS ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-template`, `babel-types` - [#15286](https://togithub.com/babel/babel/pull/15286) fix: Props are lost when the template replaces the node ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - Other - [#16674](https://togithub.com/babel/babel/pull/16674) bump gulp to 5 ([@JLHwung](https://togithub.com/JLHwung)) - `babel-generator` - [#16651](https://togithub.com/babel/babel/pull/16651) Simplify the printing logic for `(` before ambiguous tokens ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-function-name`, `babel-plugin-transform-arrow-functions`, `babel-plugin-transform-function-name`, `babel-preset-env`, `babel-traverse` - [#16652](https://togithub.com/babel/babel/pull/16652) Simplify `helper-function-name` logic ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :running_woman: Performance - `babel-parser`, `babel-plugin-proposal-pipeline-operator` - [#16461](https://togithub.com/babel/babel/pull/16461) Some minor parser performance improvements for ts ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :microscope: Output optimization - `babel-plugin-transform-classes` - [#16670](https://togithub.com/babel/babel/pull/16670) Reduce redundant `assertThisInitialized` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-create-class-features-plugin`, `babel-helper-replace-supers`, `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes`, `babel-plugin-transform-exponentiation-operator`, `babel-plugin-transform-object-super`, `babel-plugin-transform-private-methods`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16374](https://togithub.com/babel/babel/pull/16374) Improve `super.x` output ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-plugin-transform-class-properties`, `babel-plugin-transform-classes` - [#16656](https://togithub.com/babel/babel/pull/16656) Simplify output for anonymous classes with no methods ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ### [`v7.24.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7249-2024-07-15) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.8...v7.24.9) ##### :bug: Bug Fix - `babel-core`, `babel-standalone` - [#16639](https://togithub.com/babel/babel/pull/16639) Avoid `require()` call in `@babel/standalone` bundle ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-types` - [#16638](https://togithub.com/babel/babel/pull/16638) fix: provide legacy typings for TS < 4.1 ([@JLHwung](https://togithub.com/JLHwung)) ##### :nail_care: Polish - `babel-generator`, `babel-plugin-transform-optional-chaining` - [#16617](https://togithub.com/babel/babel/pull/16617) Avoid extra parens in TS `as`/`satisfies` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) ##### :house: Internal - `babel-helper-module-transforms` - [#16629](https://togithub.com/babel/babel/pull/16629) Lazy top-level initializations for module transforms ([@guybedford](https://togithub.com/guybedford)) ### [`v7.24.8`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7248-2024-07-11) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.7...v7.24.8) ##### :eyeglasses: Spec Compliance - `babel-parser` - [#16567](https://togithub.com/babel/babel/pull/16567) Do not use strict mode in TS `declare` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :bug: Bug Fix - `babel-generator` - [#16630](https://togithub.com/babel/babel/pull/16630) Correctly print parens around `in` in `for` heads ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16626](https://togithub.com/babel/babel/pull/16626) Fix printing of comments in `await using` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - [#16591](https://togithub.com/babel/babel/pull/16591) fix typescript code generation for yield expression inside type expre… ([@SreeXD](https://togithub.com/SreeXD)) - `babel-parser` - [#16613](https://togithub.com/babel/babel/pull/16613) Disallow destructuring assignment in `using` declarations ([@H0onnn](https://togithub.com/H0onnn)) - [#16490](https://togithub.com/babel/babel/pull/16490) fix: do not add `.value: undefined` to regexp literals ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-types` - [#16615](https://togithub.com/babel/babel/pull/16615) Remove boolean props from `ObjectTypeInternalSlot` visitor keys ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-plugin-transform-typescript` - [#16566](https://togithub.com/babel/babel/pull/16566) fix: Correctly handle `export import x =` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :nail_care: Polish - `babel-generator` - [#16625](https://togithub.com/babel/babel/pull/16625) Avoid unnecessary parens around `async` in `for await` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse` - [#16619](https://togithub.com/babel/babel/pull/16619) Avoid checking `Scope.globals` multiple times ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ### [`v7.24.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7247-2024-06-05) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.6...v7.24.7) ##### :bug: Bug Fix - `babel-node` - [#16554](https://togithub.com/babel/babel/pull/16554) Allow extra flags in babel-node ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-traverse` - [#16522](https://togithub.com/babel/babel/pull/16522) fix: incorrect `constantViolations` with destructuring ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) - `babel-helper-transform-fixture-test-runner`, `babel-plugin-proposal-explicit-resource-management` - [#16524](https://togithub.com/babel/babel/pull/16524) fix: Transform `using` in `switch` correctly ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu)) ##### :house: Internal - `babel-helpers`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime` - [#16525](https://togithub.com/babel/babel/pull/16525) Delete unused array helpers ([@blakewilson](https://togithub.com/blakewilson)) ### [`v7.24.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7246-2024-05-24) [Compare Source](https://togithub.com/babel/babel/compare/v7.24.5...v7.24.6) ##### :bug: Bug Fix - `babel-helper-create-class-features-plugin`, `babel-plugin-transform-class-properties` - [#16514](https://togithub.com/babel/babel/pull/16514) Fix source maps for private member expressions ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-core`, `babel-generator`, `babel-plugin-transform-modules-commonjs` - [#16515](https://togithub.com/babel/babel/pull/16515) Fix source maps for template literals ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo)) - `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators` - [#16485](https://togithub.com/babel/babel/pull/16485) Support undecorated static accessor in anonymous classes ([@JLHwung](https://togithub.com/JLHwung)) - [#16484](https://togithub.com/babel/babel/pull/16484) Fix decorator bare yield await ([@JLHwung](https://togithub.com/JLHwung)) - `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-runtime-corejs3` - [#16483](https://togithub.com/babel/babel/pull/16483) Fix: throw TypeError if addInitializer is called after finished ([@JLHwung](https://togithub.com/JLHwung)) - `babel-parser`, `babel-plugin-transform-typescript` - [#16476](https://togithub.com/babel/babel/pull/16476) fix: Correctly parse `cls.fnConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.