@babel/parser
8.1.2 · 11 Nov 2026MIT394.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/parser From 8.0.6 to 8.1.3
6 releases in betweenevery note read
Release by release
- Fixed
babel-parser: fix(parser): check async arrow conditions for Flow generic async arrows (@JLHwung)
- Fixed
babel-parser: fix: report a redeclared label once in error recovery mode (@JLHwung)
- Fixed
babel-parser: fix: do not keep elided call arguments in error recovery (@JLHwung)
- Fixed
babel-parser: fix: start recovered AssignmentPattern at the property key (@JLHwung)
- Fixed
- New
babel-parser: perf: Avoid allocating useless TS nodes (@liuxingbaoyu)
- New
babel-parser: perf(parser): general improvement (@JLHwung)
- Fixed
babel-parser: fix(parser): require
(afterimport.{source,defer,sync}(@JLHwung) - Fixed
babel-parser: fix(parser): allow ASI between modifier-like field and @ dec (@JLHwung)
- New
- New
babel-generator, babel-helper-import-to-platform-api, babel-helper-module-transforms, babel-parser, babel-plugin-transform-export-namespace-from, babel-plugin-transform-json-modules, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-traverse, babel-types: Add parsing&printing support for filtered namespaces (@nicolo-ribaudo)
- New
Add
babel/no-emptyeslint rule (@JLHwung) - New
babel-generator, babel-parser, babel-traverse, babel-types: Add parse support for the "structs" proposal (only non-shared) (@JLHwung)
- New
babel-generator, babel-parser, babel-types: Parse Import Sync proposal (@JLHwung)
- New
babel-generator, babel-helper-module-transforms, babel-parser, babel-plugin-transform-export-namespace-from, babel-plugin-transform-modules-amd, babel-plugin-transform-modules-commonjs, babel-plugin-transform-modules-systemjs, babel-plugin-transform-modules-umd, babel-types: Add parsing&printing support for
export defer(@nicolo-ribaudo) - Fixed
babel-parser: fix(parser): allow lone
yieldbeforeinin an Annex B for-in init (@JLHwung) - Fixed
babel-parser: fix(parser): respect unicode escape in
isUnparsedContextual(@JLHwung)
- New
- Fixed
babel-parser: fix(parser): improve radix literal rounding (@JLHwung)
- Fixed
babel-parser: fix(parser): allow parenthesized assignment target in arrow initializer (@JLHwung)
- Fixed
babel-parser: fix(parser): do not record strict mode errors during lookahead (@JLHwung)
- Fixed
babel-parser: fix(parser): invalid expectOnePlugin usage (@JLHwung)
- Fixed
babel-parser: fix(parser): handle ASI after let followed by a reserved word on the next line (@JLHwung)
- Fixed
babel-parser: fix(parser): parser should not crash for
import defer {}(@JLHwung) - Fixed
babel-parser: fix(parser): record start location in
startNodeAt(@JLHwung)
- Fixed
- Fixed
babel-parser: fix(parser): disallow named specifiers after * as ns (@JLHwung)
- Fixed
babel-parser: fix(parser): disallow const x followed by linebreak and of (@JLHwung)
- Fixed
babel-parser: fix(parser): reject delete (x) when createParenthesizedExpressions: true (@JLHwung)
- Fixed
babel-parser: fix: report expression errors in object literals used as member base (@JLHwung)
- Fixed
7 other lines we could not sort, mostly version bumps
- 8.1.3
babel-parser, babel-traverse, babel-types: improve type checking speed (@JLHwung)
- 8.1.3
babel-types: refactor: reduce babel types typing declarations size (@JLHwung)
- 8.1.3
babel-types: Remove
index-legacy.d.ts(@JLHwung) - 8.0.8
babel-parser: Disallow arrow functions as
newcallee andawaitoperand (@JLHwung) - 8.0.8
babel-parser: Disallow call expressions as arrow function parameters in sloppy mode (@JLHwung)
- 8.0.8
babel-parser: Disallow
evalandargumentsas class names (@JLHwung) - 8.0.8
babel-plugin-transform-classes: Remove internal usage of
loosein class transform (@nicolo-ribaudo)
4 internal lines (docs, tests, tooling) left out.
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.