Packages

@babel/parser

8.1.2 · 11 Nov 2026MIT392.8M / weekRepositoryHomepagenpmAtom feed

Your version

7.17.7

14 Mar 2022Where it was published

7.29.15 is the newest release of 7.x.

In short

11 fixed4 changed1 internal

Release note

Thanks @cha0s, @dev-itsheng, @green1052, @jlennox and @Yokubjon-J for your first PRs!

:eyeglasses: Spec Compliance

  • babel-generator, babel-parser: [tsx] raise error on single arrow type argument without comma (@ozanhonamlioglu)

:bug: Bug Fix

  • babel-helper-compilation-targets: Avoid resolveTargets call if browsers is an empty array (@dev-itsheng)

  • babel-helper-module-transforms, babel-helper-simple-access, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-umd: Fix update expression for exported bigints (@magic-akari)

  • babel-parser: Allow variable and function with the same name in static blocks (@Yokubjon-J)

  • babel-parser: Remove length restriction from JSX entities, and ignore Object.prototype (@nicolo-ribaudo)

  • babel-parser: fix(ts): skip func-type param start on parsing (@JLHwung)

  • babel-helpers, babel-plugin-proposal-decorators: Fix static/proto initializers when there aren't class fields (@JLHwung)

  • babel-helpers, babel-plugin-proposal-decorators: fix: push newClass only when class is decorated (@JLHwung)

  • babel-generator: Fix import type/typeof printing with no specifiers (@The-x-Theorist)

  • babel-helper-module-transforms, babel-plugin-transform-modules-commonjs: Fix duplicate exports initialization with many exports (@JasinYip)

  • babel-helper-member-expression-to-functions, babel-plugin-proposal-class-properties, babel-plugin-proposal-private-methods, babel-plugin-transform-classes, babel-plugin-transform-object-super: fix: support bigints in update expressions for private fields (@magic-akari)

  • babel-register: Fix babel register cache invalidation (@cha0s)

:nail_care: Polish

  • babel-parser: Report single error for invalid num seps in unicode escapes (@nicolo-ribaudo)

:house: Internal

  • babel-generator, babel-parser: Type-safe ParseErrors (@tolmasky)

  • babel-plugin-transform-destructuring: Improve transform-destructuring typings (@JLHwung)

  • Other

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.