Mend ensures you have the greatest risk reduction ("Recommended Fix"-highlighted in green) by removing as many vulnerabilities as possible. Click to see how we calculate risk reduction.
Release Notes
babel/babel (@babel/core)
### [`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.fn = x` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
##### :house: Internal
- `babel-core`, `babel-helpers`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#16501](https://togithub.com/babel/babel/pull/16501) Generate helper metadata at build time ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helpers`
- [#16499](https://togithub.com/babel/babel/pull/16499) Add `tsconfig.json` for `@babel/helpers/src/helpers` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-cli`, `babel-helpers`, `babel-plugin-external-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`, `babel-plugin-transform-modules-commonjs`, `babel-plugin-transform-modules-systemjs`, `babel-plugin-transform-runtime`, `babel-preset-env`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#16495](https://togithub.com/babel/babel/pull/16495) Move all runtime helpers to individual files ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-parser`, `babel-traverse`
- [#16482](https://togithub.com/babel/babel/pull/16482) Statically generate boilerplate for bitfield accessors ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- Other
- [#16466](https://togithub.com/babel/babel/pull/16466) Migrate import assertions syntax ([@JLHwung](https://togithub.com/JLHwung))
### [`v7.24.5`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7245-2024-04-29)
[Compare Source](https://togithub.com/babel/babel/compare/v7.24.4...v7.24.5)
##### :bug: Bug Fix
- `babel-plugin-transform-classes`, `babel-traverse`
- [#16377](https://togithub.com/babel/babel/pull/16377) fix: TypeScript annotation affects output ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs3`
- [#16440](https://togithub.com/babel/babel/pull/16440) Fix suppressed error order ([@sossost](https://togithub.com/sossost))
- [#16408](https://togithub.com/babel/babel/pull/16408) Await nullish async disposable ([@JLHwung](https://togithub.com/JLHwung))
##### :nail_care: Polish
- `babel-parser`
- [#16407](https://togithub.com/babel/babel/pull/16407) Recover from exported `using` declaration ([@JLHwung](https://togithub.com/JLHwung))
##### :house: Internal
- Other
- [#16414](https://togithub.com/babel/babel/pull/16414) Relax ESLint peerDependency constraint to allow v9 ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-parser`
- [#16425](https://togithub.com/babel/babel/pull/16425) Improve `@babel/parser` AST types ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#16417](https://togithub.com/babel/babel/pull/16417) Always pass type argument to `.startNode` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `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`
- [#16439](https://togithub.com/babel/babel/pull/16439) Make `NodePath` distributive ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-proposal-partial-application`, `babel-types`
- [#16421](https://togithub.com/babel/babel/pull/16421) Remove `JSXNamespacedName` from valid `CallExpression` args ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-transform-class-properties`, `babel-preset-env`
- [#16406](https://togithub.com/babel/babel/pull/16406) Do not load unnecessary Babel 7 syntax plugins in Babel 8 ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :running_woman: Performance
- `babel-helpers`, `babel-preset-env`, `babel-runtime-corejs3`
- [#16357](https://togithub.com/babel/babel/pull/16357) Performance: improve `objectWithoutPropertiesLoose` on V8 ([@romgrk](https://togithub.com/romgrk))
### [`v7.24.4`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7244-2024-04-03)
[Compare Source](https://togithub.com/babel/babel/compare/v7.24.3...v7.24.4)
##### :eyeglasses: Spec Compliance
- `babel-parser`
- [#16403](https://togithub.com/babel/babel/pull/16403) Forbid initializerless using ([@JLHwung](https://togithub.com/JLHwung))
- `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-runtime-corejs3`
- [#16388](https://togithub.com/babel/babel/pull/16388) Ensure decorators are callable ([@JLHwung](https://togithub.com/JLHwung))
##### :bug: Bug Fix
- `babel-generator`
- [#16402](https://togithub.com/babel/babel/pull/16402) fix: Correctly prints `{ [key in Bar]? }` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- [#16394](https://togithub.com/babel/babel/pull/16394) fix: Correctly generate `TSMappedType` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-compat-data`, `babel-plugin-bugfix-firefox-class-in-computed-class-key`, `babel-preset-env`
- [#16390](https://togithub.com/babel/babel/pull/16390) Create bugfix plugin for classes in computed keys in Firefox ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`
- [#16387](https://togithub.com/babel/babel/pull/16387) fix: support mutated outer decorated class binding ([@JLHwung](https://togithub.com/JLHwung))
- [#16385](https://togithub.com/babel/babel/pull/16385) fix: Decorators when `super()` exists and `protoInit` is not needed ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-transform-block-scoping`
- [#16384](https://togithub.com/babel/babel/pull/16384) fix: Transform scoping for `for X` in loop ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- [#16368](https://togithub.com/babel/babel/pull/16368) fix: Capture `let` when the `for` body is not a block ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-core`, `babel-plugin-transform-block-scoped-functions`, `babel-plugin-transform-block-scoping`
- [#16363](https://togithub.com/babel/babel/pull/16363) Fix incorrect function hoisting in some case statements ([@luiscubal](https://togithub.com/luiscubal))
### [`v7.24.3`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7243-2024-03-20)
[Compare Source](https://togithub.com/babel/babel/compare/v7.24.1...v7.24.3)
##### :bug: Bug Fix
- `babel-helper-module-imports`
- [#16370](https://togithub.com/babel/babel/pull/16370) fix: do not inject the same imported identifier multiple times ([@ota-meshi](https://togithub.com/ota-meshi))
### [`v7.24.1`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v72410-2024-07-16)
[Compare Source](https://togithub.com/babel/babel/compare/v7.24.0...v7.24.1)
##### :bug: Bug Fix
- `babel-generator`
- [#16648](https://togithub.com/babel/babel/pull/16648) Fix parens detection for object\&function in `as`/`satisfies` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
### [`v7.24.0`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7240-2024-02-28)
[Compare Source](https://togithub.com/babel/babel/compare/v7.23.9...v7.24.0)
##### :rocket: New Feature
- `babel-standalone`
- [#11696](https://togithub.com/babel/babel/pull/11696) Export babel tooling packages in `@babel/standalone` ([@ajihyf](https://togithub.com/ajihyf))
- `babel-core`, `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-transform-class-properties`
- [#16267](https://togithub.com/babel/babel/pull/16267) Implement `noUninitializedPrivateFieldAccess` assumption ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `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-runtime`
- [#16242](https://togithub.com/babel/babel/pull/16242) Support decorator 2023-11 normative updates ([@JLHwung](https://togithub.com/JLHwung))
- `babel-preset-flow`
- [#16309](https://togithub.com/babel/babel/pull/16309) \[babel 7] Allow setting `ignoreExtensions` in Flow preset ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#16284](https://togithub.com/babel/babel/pull/16284) Add `experimental_useHermesParser` option in `preset-flow` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-import-to-platform-api`, `babel-plugin-proposal-import-wasm-source`, `babel-plugin-proposal-json-modules`, `babel-standalone`
- [#16172](https://togithub.com/babel/babel/pull/16172) Add transform support for JSON modules imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-plugin-transform-runtime`
- [#16241](https://togithub.com/babel/babel/pull/16241) Add back `moduleName` option to `@babel/plugin-transform-runtime` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-parser`, `babel-types`
- [#16277](https://togithub.com/babel/babel/pull/16277) Allow import attributes for `TSImportType` ([@sosukesuzuki](https://togithub.com/sosukesuzuki))
##### :bug: Bug Fix
- `babel-plugin-proposal-do-expressions`, `babel-traverse`
- [#16305](https://togithub.com/babel/babel/pull/16305) fix: avoid `popContext` on unvisited node paths ([@JLHwung](https://togithub.com/JLHwung))
- `babel-helper-create-class-features-plugin`, `babel-plugin-transform-private-methods`, `babel-plugin-transform-private-property-in-object`
- [#16312](https://togithub.com/babel/babel/pull/16312) Fix class private properties when `privateFieldsAsSymbols` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-plugin-transform-private-methods`
- [#16307](https://togithub.com/babel/babel/pull/16307) Fix the support of `arguments` in private `get/set` method ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-decorators`
- [#16287](https://togithub.com/babel/babel/pull/16287) Reduce decorator static property size ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`
- [#16281](https://togithub.com/babel/babel/pull/16281) Fix evaluation order of decorators with cached receiver ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#16279](https://togithub.com/babel/babel/pull/16279) Fix decorator this memoization ([@JLHwung](https://togithub.com/JLHwung))
- [#16266](https://togithub.com/babel/babel/pull/16266) Preserve `static` on decorated private `accessor` ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- [#16258](https://togithub.com/babel/babel/pull/16258) fix: handle decorated async private method and generator ([@JLHwung](https://togithub.com/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](https://togithub.com/babel/babel/pull/16275) Fix class private properties when `privateFieldsAsProperties` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`
- [#16268](https://togithub.com/babel/babel/pull/16268) Do not consider `arguments` in a helper as a global reference ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#16270](https://togithub.com/babel/babel/pull/16270) Handle symbol key class elements decoration ([@JLHwung](https://togithub.com/JLHwung))
- [#16265](https://togithub.com/babel/babel/pull/16265) Do not define `access.get` for public setter decorators ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :nail_care: Polish
- `babel-core`, `babel-helper-create-class-features-plugin`, `babel-preset-env`
- [#12428](https://togithub.com/babel/babel/pull/12428) Suggest using `BABEL_SHOW_CONFIG_FOR` for config problems ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :house: Internal
- `babel-helper-transform-fixture-test-runner`
- [#16278](https://togithub.com/babel/babel/pull/16278) Continue writing `output.js` when `exec.js` throws ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
##### :microscope: Output optimization
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`
- [#16306](https://togithub.com/babel/babel/pull/16306) Avoid intermediate functions for private accessors with decs ([@nicolo-ribaudo](https://togithub.com/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](https://togithub.com/babel/babel/pull/16294) More aggressively inline decorators in the static block ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-transform-private-methods`
- [#16283](https://togithub.com/babel/babel/pull/16283) Do not use `classPrivateMethodGet` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-helpers`, `babel-plugin-proposal-decorators`
- [#16287](https://togithub.com/babel/babel/pull/16287) Reduce decorator static property size ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-properties`
- [#16280](https://togithub.com/babel/babel/pull/16280) Reduce element decorator temp variables ([@JLHwung](https://togithub.com/JLHwung))
- `babel-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](https://togithub.com/babel/babel/pull/16261) Do not use descriptors for private class elements ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#16263](https://togithub.com/babel/babel/pull/16263) Reduce helper size for decorator 2023-11 ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
### [`v7.23.9`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7239-2024-01-25)
[Compare Source](https://togithub.com/babel/babel/compare/v7.23.7...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](https://togithub.com/babel/babel/pull/16225) fix: `systemjs` re-traverses helpers ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`
- [#16226](https://togithub.com/babel/babel/pull/16226) Improve decorated private method check ([@JLHwung](https://togithub.com/JLHwung))
- `babel-plugin-proposal-decorators`, `babel-plugin-transform-async-generator-functions`, `babel-plugin-transform-runtime`, `babel-preset-env`
- [#16224](https://togithub.com/babel/babel/pull/16224) Properly sort `core-js@3` imports ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
- `babel-traverse`
- [#15383](https://togithub.com/babel/babel/pull/15383) fix: Don't throw in `getTypeAnnotation` when using TS+inference ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- Other
- [#16210](https://togithub.com/babel/babel/pull/16210) \[eslint] Fix `no-use-before-define` for class ref in fields ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :house: Internal
- `babel-core`, `babel-parser`, `babel-template`
- [#16222](https://togithub.com/babel/babel/pull/16222) Migrate `eslint-parser` to cts ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-types`
- [#16213](https://togithub.com/babel/babel/pull/16213) Remove `@babel/types` props that are not produced by the parser ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
##### :running_woman: Performance
- `babel-parser`
- [#16072](https://togithub.com/babel/babel/pull/16072) perf: Improve parser performance for typescript ([@liuxingbaoyu](https://togithub.com/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](https://togithub.com/babel/babel/pull/16218) Improve temporary variables for decorators ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`, `babel-plugin-proposal-explicit-resource-management`, `babel-runtime-corejs2`, `babel-runtime-corejs3`, `babel-runtime`
- [#15959](https://togithub.com/babel/babel/pull/15959) Improve output of `using` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
### [`v7.23.7`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7237-2023-12-29)
[Compare Source](https://togithub.com/babel/babel/compare/v7.23.6...v7.23.7)
##### :bug: Bug Fix
- `babel-traverse`
- [#16191](https://togithub.com/babel/babel/pull/16191) fix: Crash when removing without `Program` ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helpers`, `babel-plugin-proposal-decorators`
- [#16180](https://togithub.com/babel/babel/pull/16180) fix: Class decorator `ctx.kind` is wrong ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-plugin-proposal-decorators`
- [#16170](https://togithub.com/babel/babel/pull/16170) Fix decorator initProto usage in derived classes ([@JLHwung](https://togithub.com/JLHwung))
- `babel-core`
- [#16167](https://togithub.com/babel/babel/pull/16167) Avoid unpreventable `unhandledRejection` events ([@nicolo-ribaudo](https://togithub.com/nicolo-ribaudo))
##### :house: Internal
- `babel-helper-create-class-features-plugin`
- [#16186](https://togithub.com/babel/babel/pull/16186) chore: Update deps ([@liuxingbaoyu](https://togithub.com/liuxingbaoyu))
- `babel-helper-create-class-features-plugin`, `babel-plugin-proposal-decorators`
- [#16177](https://togithub.com/babel/babel/pull/16177) Merge decorators into class features ([@JLHwung](https://togithub.com/JLHwung))
### [`v7.23.6`](https://togithub.com/babel/babel/blob/HEAD/CHANGELOG.md#v7236-2023-12-11)
[Compare Source](https://togithub.com/babel/babel/compare/v7.23.5...v7.23.6)
##### :eyeglasses: Spec Compliance
- `babel-generator`, `babel-parser`, `babel-types`
- [#16154](https://togithub.com/babel/babel/pull/16154) Remove `TSPropertySignature.initializer` ([@fisker](https://togithub.com/fisker))
- `babel-helpers`, `babel-plugin-proposal-decorators`, `babel-plugin-transform-class-
Configuration
📅 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 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 contains the following updates:
7.5.5
->7.24.9
7.5.5
->7.18.6
7.5.5
->7.20.7
7.5.5
->7.24.7
7.5.5
->7.24.8
7.0.0
->7.24.7
16.9.46
->16.14.60
1.10.6
->1.13.3
2.2.6
->2.5.1
2.0.4
->2.0.11
5.2.0
->5.2.1
2.18.2
->2.29.1
6.2.3
->6.9.0
2.1.5
->2.10.0
2.1.11
->2.11.0
3.1.5
->3.10.0
2.1.4
->2.10.0
3.1.3
->3.10.0
2.1.13
->2.10.0
2.1.18
->2.11.1
2.6.19
->2.16.1
2.1.1
->2.2.0
9.2.5
->9.5.0
1.4.4
->1.5.0
5.1.1
->5.2.1
4.12.0
->4.14.1
15.7.2
->15.8.1
16.9.0
->16.14.0
16.9.0
->16.14.0
1.0.2
->1.0.24
1.8.5
->1.8.10
1.3.4
->1.6.6
This PR resolves the vulnerabilities described in Issue #15
Version 2.1.13
| Risk Change | Critical | High | Medium | Low | | --- | --- | --- | --- | --- | | N/A | 2 | 4 | 3 | 0 |Version 2.10.0
| Risk Change | Critical | High | Medium | Low | | --- | --- | --- | --- | --- | | -100% | 0 (-2 ) | 0 (-4 ) | 0 (-3 ) | 0 (--) |Mend ensures you have the greatest risk reduction ("Recommended Fix"-highlighted in green) by removing as many vulnerabilities as possible. Click to see how we calculate risk reduction.
Release Notes
babel/babel (@babel/core)
### [`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 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.