Packages

@babel/traverse

8.1.2 · 11 Nov 2026MIT315.7M / weekRepositoryHomepagenpmAtom feed

Your version

7.13.0

22 Feb 2021Where it was published

7.29.15 is the newest release of 7.x.

In short

14 new1 faster6 fixed3 changed

Security

1 advisory affects 7.13.0; 7.23.2 fixes them

Release note

You can read the release post at babeljs.io/blog/2021/02/22/7.13.0!

Thanks @dsainati1, @immitsu, and @perrin4869 for your first PRs!

:rocket: New Feature

  • babel-parser: Implement class features in estree (@JLHwung)

  • babel-generator, babel-parser, babel-plugin-syntax-module-blocks, babel-standalone, babel-traverse, babel-types: Parse JS Module Blocks proposal (@sosukesuzuki)

  • babel-generator, babel-parser, babel-types: Support TypeScript 4.2 abstract constructor signatures (@sosukesuzuki)

  • babel-generator, babel-parser, babel-types: Flow Enums with unknown members support (@gkz)

  • babel-core, babel-register: Add cjs as a default extension (@perrin4869)

  • babel-traverse: feat(referencesImport): support named exports accessed via namespace imports (@jeysal)

  • babel-plugin-transform-typescript, babel-preset-typescript: Enable allowNamespaces in transform-typescript by default (@JLHwung)

  • babel-generator, babel-parser, babel-plugin-transform-flow-strip-types, babel-plugin-transform-parameters, babel-types: Support Flow this parameter annotations (@dsainati1)

  • babel-plugin-proposal-record-and-tuple: Implement "Records and Tuples" transform (@rickbutton)

  • babel-plugin-transform-runtime, babel-plugin-transform-typeof-symbol, babel-runtime-corejs2, babel-runtime-corejs3, babel-runtime: Use conditional exports in @babel/runtime for CJS/ESM (@nicolo-ribaudo)

  • babel-core, babel-helper-plugin-utils, babel-preset-env: Add @babel/core support for the new assumptions option (@nicolo-ribaudo)

  • babel-core, babel-helper-compilation-targets, babel-helper-plugin-utils, babel-preset-env: Add targets and browserslist* options to @babel/core (@nicolo-ribaudo)

  • babel-core: Support .mjs plugins/presets and async factories (@nicolo-ribaudo)

:bug: Bug Fix

  • babel-helpers, babel-plugin-proposal-class-properties, babel-plugin-proposal-decorators, babel-plugin-transform-classes, babel-plugin-transform-function-name, babel-plugin-transform-parameters, babel-plugin-transform-react-jsx, babel-plugin-transform-runtime, babel-plugin-transform-typescript, babel-preset-env: Fix _isNativeReflectConstruct helper (@nicolo-ribaudo)

  • babel-cli: [babel-cli] Don't fail when chmod throws an error (@immitsu)

  • babel-node: fix: create IPC channel for spawned babel-node process (@JLHwung)

  • babel-standalone: fix: add regenerate-unicode-properties to dynamicRequireTargets (@JLHwung)

  • babel-plugin-proposal-optional-chaining, babel-traverse: Fix scope of computed method keys (@overlookmotel)

:house: Internal

  • babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-plugin-transform-runtime, babel-preset-env, babel-runtime-corejs2: Use the babel-plugin-polyfill-* packages in transform-runtime (@nicolo-ribaudo)

  • babel-plugin-transform-runtime: Don't use useESModules in @babel/runtime build script (@nicolo-ribaudo)

  • babel-standalone: Make sure that Rollup's dynamicRequireTargets are included (@nicolo-ribaudo)

  • babel-helper-transform-fixture-test-runner, babel-plugin-proposal-async-generator-functions, babel-plugin-proposal-decorators, babel-preset-env: Use the babel-plugin-polyfill-* packages in preset-env (@nicolo-ribaudo)

:running_woman: Performance

  • babel-register: babel-register: Don’t rewrite the cache if it’s not dirty (@andersk)

:microscope: Output optimization

  • babel-helper-create-class-features-plugin, babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties: Support noDocumentAll for obj?.#p (@JLHwung)

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.