Packages

@babel/preset-env

8.0.7 · 7 Oct 2026MIT56.8M / weekRepositoryHomepagenpmAtom feed

Your version

7.24.4

3 Apr 2024Where it was published

7.29.14 is the newest release of 7.x.

In short

9 fixed1 changed

Release note

Thanks @Dunqing, @luiscubal, and @samualtnorman for your first PRs!

:eyeglasses: Spec Compliance

  • babel-parser: Forbid initializerless using (@JLHwung)

  • babel-helpers, babel-plugin-proposal-decorators, babel-runtime-corejs3: Ensure decorators are callable (@JLHwung)

:bug: Bug Fix

  • babel-generator: fix: Correctly prints { [key in Bar]? } (@liuxingbaoyu)

  • babel-generator: fix: Correctly generate TSMappedType (@liuxingbaoyu)

  • babel-compat-data, babel-plugin-bugfix-firefox-class-in-computed-class-key, babel-preset-env: Create bugfix plugin for classes in computed keys in Firefox (@nicolo-ribaudo)

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: fix: support mutated outer decorated class binding (@JLHwung)

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-decorators: fix: Decorators when super() exists and protoInit is not needed (@liuxingbaoyu)

  • babel-plugin-transform-block-scoping: fix: Transform scoping for for X in loop (@liuxingbaoyu)

  • babel-plugin-transform-block-scoping: fix: Capture let when the for body is not a block (@liuxingbaoyu)

  • babel-core, babel-plugin-transform-block-scoped-functions, babel-plugin-transform-block-scoping: Fix incorrect function hoisting in some case statements (@luiscubal)

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.