Packages

@babel/parser

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

Your version

7.21.3

14 Mar 2023Where it was published

7.29.15 is the newest release of 7.x.

In short

1 faster3 fixed3 changed1 internal

Release note

Thanks @amoeller, @Harpica, and @nzakas for your first PRs!

:eyeglasses: Spec Compliance

  • babel-parser: disallow mixins/implements in flow interface (@JLHwung)

:bug: Bug Fix

  • babel-parser: [ts] Allow keywords in tuple labels (@Harpica)

  • babel-plugin-transform-typescript: Register var decls generated by import ... = TS transform (@amoeller)

  • babel-plugin-transform-typescript: fix: Consider export { type foo } as type-only usage (@magic-akari)

:nail_care: Polish

  • babel-traverse, babel-types: Skip node deprecation warnings when used by an old @babel package (@nicolo-ribaudo)

  • babel-generator: chore: Improve jsonCompatibleStrings deprecation (@liuxingbaoyu)

:microscope: Output optimization

  • babel-plugin-transform-typescript, babel-preset-typescript: Optimize TS enums output (@liuxingbaoyu)

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.