@babel/code-frame
8.0.6 · 18 Sep 2026MIT328M / weekRepositoryHomepagenpmAtom feed
Upgrading @babel/code-frame from 7.22.10 to 8.0.6
17 releases in betweenevery note read
- 2
- changes to make
- 0
- advisories fixed
- 22
- new
- 36
- fixes
Start here
Before you upgrade
Tick each one off as you go- breaking8.0.0
- breaking8.0.0
Release by release
- fixed
Fix parsing of arrow function params inside ternaries with Flow (@robhogan)
- fixed
Polish error message for invalid binary 0b19 (@JLHwung)
- fixed
Replace
lru-cachewithflru(@nicolo-ribaudo)
- fixed
- new
Only extract source map comments at the end of the file (@liuxingbaoyu)
- new
Add EOL date for Babel 7 (end of June 2027) to SECURITY.md (@nicolo-ribaudo)
- fixed
generator: Improve new callee parens check (@JLHwung)
- fixed
systemjs: Support proto as an export name (@JLHwung)
- new
7.29.7nothing new or fixed in the note
- new
standalone: Export async transform (@JLHwung)
- new
Read standalone targets from data-targets (@JLHwung)
- fixed
parser: Correctly parse type assertions in
extendsclause (@nicolo-ribaudo) - fixed
parser: Improve super type argument parsing (@JLHwung)
- fixed
traverse: Provide a hub when traversing a File or Program and no parentPath is given (@simbahax)
- fixed
Rename switch discriminant references when body creates shadowing variable (@magic-akari)
- new
- new
Use lighter traversal for jsx
__source,__self(@liuxingbaoyu) - fixed
transform-regeneratorcorrectly handles scope (@liuxingbaoyu) - fixed
Keep jsx comments (@liuxingbaoyu)
- fixed
Allow Babel 8 in compatible Babel 7 plugins (@nicolo-ribaudo)
- new
- new
Allow
using ofas lexical declaration within for (@JLHwung) - fixed
Do expressions should allow early exit (@kermanx)
- fixed
Propagate argument evaluation errors through async promise chain (@magic-akari)
- fixed
Fix apply()/call() annotated as pure (@Lacsw)
- fixed
Objects and arrays with multiple references should not be evaluated (@liuxingbaoyu)
- fixed
Support const type parameter in generator (@JLHwung)
- fixed
Reduce generated names size for the 10th-11th (@nicolo-ribaudo)
- new
- fixed
Parse placeholder for TS namespace (@liuxingbaoyu)
- fixed
Account for offsets when creating new Position instances (@DylanPiercey)
- fixed
- new
Support async plugin's pre/post (@timofei-iatsenko)
- new
Add
transform-regexp-modifierstopreset-env(@JLHwung) - new
Add
startIndexparser option (@DylanPiercey) - new
Support
import()inrewriteImportExtensions(@liuxingbaoyu)
- new
25 other lines we could not sort, mostly version bumps
- 8.0.6
Update identifier definition to Unicode 18 (@JLHwung)
- 8.0.0
Fallback to assuming ESM support with
modules: auto(@nicolo-ribaudo) - 8.0.0
Remove
locations: "packed"(@liuxingbaoyu) - 7.28.6
Polish(standalone): improve message on invalid preset/plugin (@JLHwung)
- 7.27.1
Disallow get/set in TSPropertySignature (@JLHwung)
- 7.27.1
Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 2) (@JLHwung)
- 7.27.1
Fill optional AST properties when both estree and typescript parser plugin are enabled (Part 1) (@JLHwung)
- 7.27.1
Remove unused
regenerator-runtimedep in@babel/runtime(@nicolo-ribaudo) - 7.27.1
Migrate
@babel/registerto cts (@liuxingbaoyu) - 7.27.1
Reduce
interopRequireWildcardsize (@liuxingbaoyu)
132 internal lines (docs, tests, tooling) left out.