Packages

@babel/runtime-corejs2

7.29.7 · 25 May 2026MIT974.5k / weekRepositoryHomepagenpmAtom feed

Your version

7.24.0

28 Feb 2024Where it was published

7.29.10 is the newest release of 7.x.

In short

9 new8 fixed2 changed16 internal

Security

1 advisory affects 7.24.0; 7.26.10 fixes them

Release note

Thanks @ajihyf for your first PR!

Release post with summary and highlights: babeljs.io/7.24.0

:rocket: New Feature

  • babel-standalone

  • babel-core, babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-transform-class-properties

  • 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

    • Support decorator 2023-11 normative updates (@JLHwung)

  • babel-preset-flow

    • [babel 7] Allow setting ignoreExtensions in Flow preset (@nicolo-ribaudo)

    • Add experimental_useHermesParser option in preset-flow (@liuxingbaoyu)

  • babel-helper-import-to-platform-api, babel-plugin-proposal-import-wasm-source, babel-plugin-proposal-json-modules, babel-standalone

  • babel-plugin-transform-runtime

  • babel-parser, babel-types

:bug: Bug Fix

  • babel-plugin-proposal-do-expressions, babel-traverse

    • fix: avoid popContext on unvisited node paths (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-plugin-transform-private-methods, babel-plugin-transform-private-property-in-object

    • Fix class private properties when privateFieldsAsSymbols (@liuxingbaoyu)

  • babel-helper-create-class-features-plugin, babel-plugin-transform-private-methods

    • Fix the support of arguments in private get/set method (@liuxingbaoyu)

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators

    • Fix evaluation order of decorators with cached receiver (@nicolo-ribaudo)

    • Fix decorator this memoization (@JLHwung)

    • Preserve static on decorated private accessor (@nicolo-ribaudo)

    • fix: handle decorated async private method and generator (@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

    • Fix class private properties when privateFieldsAsProperties (@liuxingbaoyu)

  • babel-helpers

    • Do not consider arguments in a helper as a global reference (@nicolo-ribaudo)

  • babel-helpers, babel-plugin-proposal-decorators

    • Handle symbol key class elements decoration (@JLHwung)

    • Do not define access.get for public setter decorators (@nicolo-ribaudo)

:nail_care: Polish

  • babel-core, babel-helper-create-class-features-plugin, babel-preset-env

:house: Internal

  • babel-helper-transform-fixture-test-runner

:microscope: Output optimization

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators

    • Avoid intermediate functions for private accessors with decs (@nicolo-ribaudo)

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators, babel-plugin-proposal-pipeline-operator, babel-plugin-transform-class-properties

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-transform-private-methods

  • babel-helper-create-class-features-plugin, babel-helpers, babel-plugin-proposal-decorators

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators, babel-plugin-transform-class-properties

    • Reduce element decorator temp variables (@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

  • babel-helpers, babel-plugin-proposal-decorators