@babel/traverse
8.1.2 · 11 Nov 2026MIT315.7M / weekRepositoryHomepagenpmAtom feed
7.29.15 is the newest release of 7.x.
In short
1 new15 fixed5 changed4 internal
Security
1 advisory affects 7.12.5; 7.23.2 fixes them
- CriticalBabel vulnerable to arbitrary code execution when compiling specifically crafted malicious codeGHSA-67hx-6x53-jw92 · 16 Oct 2023Fixed in 7.23.2
Release note
Thanks @joelvh, @liuliangsir and @mondeja for your first PRs!
:eyeglasses: Spec Compliance
babel-helpers, babel-plugin-transform-block-scoping: Throw a
TypeErrorwhen reassigning aconst(@nicolo-ribaudo)
:bug: Bug Fix
babel-parser: fix: support string assertion key in assert entries (@JLHwung)
babel-parser: fix: disallow import assertions in export without from (@JLHwung)
babel-parser: Handle exprAllowed before ObjectLike is parsed (@JLHwung)
babel-parser: Refactor yield await classification (@JLHwung)
babel-parser: Allows the interface to be used as an Identifier for flow plugin (@sosukesuzuki)
babel-parser: [ts] Error on invalid type casts in JSX (@existentialism)
babel-parser: [ts] Allow optional binding pattern parameters within types/interfaces (@existentialism)
babel-parser: Fix parsing of imports with module string name in flow plugin (@sosukesuzuki)
babel-parser, babel-types: Make assertions optional and update AST spec (@sosukesuzuki)
babel-template, babel-types: fix: babel-types: ImportDeclaration: add assertions (@coderaiser)
babel-generator: Do not use currentColumn to indent comments when retainLines=true (@ian-craig)
babel-generator, babel-parser: Support Import Assertions for re-export statement (@sosukesuzuki)
babel-plugin-proposal-numeric-separator: fix: support bigInt in numeric-separator transform (@JLHwung)
babel-helper-replace-supers, babel-plugin-transform-classes: fix: support optionalCall in replace super handler (@JLHwung)
babel-standalone: packages/babel-standalone: make data-type="module" option avilable without data-presets option (@hirochachacha)
:nail_care: Polish
babel-compat-data: chore: bump compat-table and electron-to-chromium (@JLHwung)
babel-parser, babel-preset-env: Polish parser errors (@JLHwung)
:house: Internal
Other
babel-generator, babel-helper-module-imports, babel-helper-replace-supers, babel-parser, babel-traverse: add declare to class properties type annotations (@JLHwung)
babel-traverse, babel-types: Mark
ThisExpressionandSuperasPurish(@nicolo-ribaudo)babel-helper-compilation-targets, babel-preset-env: Update to Browserslist 4.14.5 (@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.