@babel/parser
8.1.2 · 11 Nov 2026MIT394.1M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/parser From 7.29.15 to 8.1.2
9 releases in betweenevery note read
- 103
- changes to make
- 0
- advisories fixed
- 10
- new
- 44
- fixes
Before you upgrade
Tick each one off as you go- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
- Breaking8.0.0-alpha.0
Release by release
- 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
- New
babel-parser: perf: Improve
@babel/parser(@liuxingbaoyu) - Fixed
babel-parser: fix(parser): do not form html entity for invalid codepoint (@JLHwung)
- Fixed
babel-parser: fix(parser): remove non-decimal prefix from bigint (@JLHwung)
- Fixed
babel-parser: Disallow new import prop access (@JLHwung)
- Fixed
babel-traverse: fix(remove): unwrap single sequence expression (@JLHwung)
- Fixed
babel-traverse: Handle null in
getAll{Prev,Next}Siblings(@JLHwung)
- New
- Fixed
babel-parser, babel-plugin-transform-typescript: fix(parser): disallow
declare module M {}(@JLHwung) - Fixed
babel-generator, babel-parser, babel-plugin-transform-typescript: fix(parser): forbid let x! and let x! = (@JLHwung)
- Fixed
babel-traverse: fix:
replaceWithinVisitor#exitshould not stop traversal (@liuxingbaoyu)
- Fixed
9 other lines we could not sort, mostly version bumps
- 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) - 8.0.6
babel-helper-validator-identifier, babel-parser: Update identifier definition to Unicode 18 (@JLHwung)
- 8.0.6
babel-code-frame, babel-core, babel-generator, babel-helper-create-class-features-plugin, babel-helper-module-transforms, babel-parser, babel-plugin-bugfix-safari-rest-destructuring-rhs-array, babel-plugin-proposal-destructuring-private, babel-plugin-proposal-discard-binding, babel-plugin-transform-regenerator, babel-plugin-transform-typescript, babel-preset-env, babel-traverse, babel-types: Remove unused internal exports (@nicolo-ribaudo)
- 8.0.6
babel-parser: test: test with ts-eslint 8.70.0 (@JLHwung)
- 8.0.6
babel-build-external-helpers, babel-cli, babel-code-frame, babel-core, babel-generator, babel-helper-compilation-targets, babel-helper-create-class-features-plugin, babel-helper-globals, babel-helper-string-parser, babel-helper-transform-fixture-test-runner, babel-helper-validator-identifier, babel-node, babel-parser, babel-plugin-transform-async-generator-functions, babel-plugin-transform-runtime, babel-register, babel-runtime-corejs3, babel-traverse: Enforce usage of Yarn catalog for reused dependencies (@nicolo-ribaudo)
- 8.0.4
babel-helper-validator-identifier: refactor: Shrink validator identifier size (@JLHwung)
7 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.