Packages

@babel/preset-env

8.0.7 · 7 Oct 2026MIT57.2M / weekRepositoryHomepagenpmAtom feed

Your version

7.5.0

4 Jul 2019Where it was published

7.29.14 is the newest release of 7.x.

In short

9 new15 fixed4 changed

Release note

:eyeglasses: Spec Compliance

  • babel-parser: Disallow "let" as name at lexical bindings (@g-plane)

:rocket: New Feature

  • babel-parser: BigInt type for Flow (@tanhauhau)

  • babel-parser: Implement f# pipeline in parser (@mAAdhaTTah)

  • babel-parser: [legacy decorators] Allow decorating generator methods (@nicolo-ribaudo)

  • babel-parser: [@babel/parser] Add "allowUndeclaredExports" option (@nicolo-ribaudo)

  • babel-plugin-proposal-dynamic-import, babel-preset-env-standalone, babel-preset-env: Add @babel/plugin-proposal-dynamic-import to @babel/preset-env (@nicolo-ribaudo)

  • babel-plugin-proposal-dynamic-import, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs: Create @babel/plugin-proposal-dynamic-import (@nicolo-ribaudo)

  • babel-plugin-proposal-pipeline-operator, babel-plugin-syntax-pipeline-operator: Transform for F# Pipeline (@thiagoarrais)

  • babel-plugin-transform-typescript, babel-types: Implement TypeScript namespace support (@Wolvereness)

:bug: Bug Fix

  • babel-plugin-proposal-do-expressions, babel-traverse: fix await and yield for do expression (@tanhauhau)

  • babel-helpers, babel-plugin-transform-react-constant-elements: Added es3 backward compatibility for react helper code (@sormy)

  • babel-preset-env: Bump compat-table and updating preset-env mappings (@existentialism)

  • babel-preset-env: Allow defaults query in preset-env (@existentialism)

  • babel-parser: fix import typeof in declare module (@tanhauhau)

  • babel-parser: flow - allow type parameter defaults in function declarations (@tanhauhau)

  • babel-types: fix exportKind declaration in babel-types (@zxbodya)

  • babel-node: Prevents exception on PnP (@arcanis)

  • babel-generator: Fix printer for explicitly inexact Flow types (@mrtnzlml)

  • babel-plugin-transform-typescript: Use scope for typescript export removals (@Wolvereness)

  • babel-plugin-transform-typescript: fix(typescript): erase default export if exporting a TS type (@airato)

  • babel-helper-create-class-features-plugin, babel-plugin-proposal-class-properties, babel-traverse: Fixed computed keys for class expression (@tanhauhau)

  • babel-helpers, babel-plugin-proposal-object-rest-spread, babel-preset-env: Retry to fix object spread helper compatibility (@saschanaz)

  • babel-plugin-transform-destructuring: fix destructuring rest with template literal (@tanhauhau)

  • babel-helper-create-class-features-plugin, babel-plugin-transform-typescript: Use injectInitialization to generate ts parameter properties (@nicolo-ribaudo)

:nail_care: Polish

  • babel-core: Fix incorrect usage of $o instead of %o in debug (@ChlorideCull)

  • babel-helpers: Simplify the helpers for classPrivateField{Get,Set} (@arv)

  • babel-plugin-transform-typescript: Refactor isImportTypeOnly helper function (@Andarist)

:memo: Documentation

  • babel-plugin-proposal-partial-application, babel-plugin-syntax-partial-application: docs: update readmes (@xtuc)

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.