Packages

@babel/preset-env

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

Your version

7.22.0

26 May 2023Where it was published

7.29.14 is the newest release of 7.x.

In short

9 new3 changed

Release note

:rocket: New Feature

  • babel-parser, babel-plugin-transform-typescript: [ts] Support import ... = and export = in scripts (@nicolo-ribaudo)

  • babel-compat-data, babel-core, babel-plugin-proposal-unicode-sets-regex, babel-plugin-transform-unicode-sets-regex, babel-preset-env, babel-standalone: Add unicode-sets-regex transform to preset-env (@JLHwung)

  • babel-helpers, babel-plugin-proposal-explicit-resource-management, babel-plugin-transform-runtime, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime, babel-standalone: Implement transform support for using declarations (@nicolo-ribaudo)

  • babel-plugin-proposal-import-attributes-to-assertions: Create @babel/plugin-proposal-import-attributes-to-assertions (@nicolo-ribaudo)

  • babel-core, babel-generator, babel-parser, babel-plugin-syntax-import-attributes, babel-preset-env, babel-standalone, babel-types: Add support for the updated import attributes proposal (@nicolo-ribaudo)

  • babel-generator, babel-parser, babel-traverse, babel-types: Parse await using declarations (@JLHwung)

  • babel-core, babel-helper-create-regexp-features-plugin, babel-parser: Enable regexp unicode sets parsing by default (@JLHwung)

  • babel-helpers, babel-plugin-proposal-decorators, babel-plugin-syntax-decorators, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Add decorators version 2023-05 (@nicolo-ribaudo)

:nail_care: Polish

  • babel-plugin-transform-react-constant-elements, babel-plugin-transform-react-jsx, babel-traverse, babel-types: Improve type definitions for validators (@liuxingbaoyu)

:house: Internal

  • babel-parser: Unify parsing of import/export modifiers (type/typeof/module) (@nicolo-ribaudo)

  • babel-compat-data, babel-helper-transform-fixture-test-runner, babel-node, babel-plugin-proposal-decorators, babel-plugin-proposal-duplicate-named-capturing-groups-regex, babel-plugin-transform-async-generator-functions, babel-plugin-transform-named-capturing-groups-regex, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs3: Allow polyfill providers to specify custom @babel/runtime pkg (@nicolo-ribaudo)

  • babel-core, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-class-static-block, babel-plugin-proposal-decorators, babel-plugin-proposal-dynamic-import, babel-plugin-proposal-export-namespace-from, babel-plugin-proposal-function-sent, babel-plugin-proposal-json-strings, babel-plugin-proposal-logical-assignment-operators, babel-plugin-proposal-nullish-coalescing-operator, babel-plugin-proposal-numeric-separator, babel-plugin-proposal-object-rest-spread, babel-plugin-proposal-optional-catch-binding, babel-plugin-proposal-optional-chaining, babel-plugin-proposal-pipeline-operator, babel-plugin-proposal-private-methods, babel-plugin-proposal-private-property-in-object, babel-plugin-proposal-unicode-property-regex, babel-preset-env, babel-standalone: Rename -proposal-s that became standard to -transform- (@nicolo-ribaudo)

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.