Packages

@babel/parser

8.1.2 · 11 Nov 2026MIT394.1M / weekRepositoryHomepagenpmAtom feed

Your version

8.0.8

23 Oct 2026Where it was published

8.1.3 is the newest release of 8.x.

In short

14 fixed

Release note

The section about @babel/parser of a note shared by several packages.

Thanks @bhushan4work and @webdevelopersrinu for your first PRs!

:eyeglasses: Spec Compliance

  • babel-parser: fix(parser): disallow named specifiers after * as ns (@JLHwung)

  • babel-parser: fix(parser): disallow const x followed by linebreak and of (@JLHwung)

  • babel-parser: fix(parser): reject delete (x) when createParenthesizedExpressions: true (@JLHwung)

  • babel-parser: fix: report expression errors in object literals used as member base (@JLHwung)

  • babel-parser: Disallow arrow functions as new callee and await operand (@JLHwung)

  • babel-parser: Disallow call expressions as arrow function parameters in sloppy mode (@JLHwung)

  • babel-parser: Disallow eval and arguments as class names (@JLHwung)

:bug: Bug Fix

  • babel-parser: fix(parser): set phase: null for non-deferred imports with deferredImportEvaluation (#18313) (@bhushan4work)

  • babel-parser: fix(parser): ASI between arrow body and /= regex (@JLHwung)

  • babel-parser: fix(parser): allow arguments as a label in class (@JLHwung)

  • babel-parser: fix(parser): allow ASI between property init and escaped in (@JLHwung)

  • babel-parser: fix(parser): register function id in labeled function declaration (@JLHwung)

  • babel-parser: Skip HTML-like comments in the parser's character lookahead (@JLHwung)

  • babel-parser: Allow ASI after export default from without exportDefaultFrom (@JLHwung)

:house: Internal

  • babel-plugin-transform-classes: Remove internal usage of loose in class 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.