215afa9f57
Fallback to assuming ESM support with modules: auto ( #18069 )
...
Co-authored-by: Babel Bot <[email protected] >
2026-06-16 10:03:37 +02:00
Huáng Jùnliàng and GitHub
b7c98eb305
ci: enforce yarn integrity ( #18018 )
...
* ci: enforce yarn integrity
* ci: enforce integrity when yarn binary is changed
* fix invalid git usage
* add a new yarn integrity workflow
The checkout is always shallow so it is impossible to compare with base ref.
* ci: run integrity check when package.json changes
* chore: rename workflow
* Address review comments
2026-06-15 15:51:53 -04:00
Nicolò Ribaudo and GitHub
c7e1298db3
Add EOL date for Babel 7 (end of June 2027) to SECURITY.md ( #18070 )
...
Add EOL date for Babel 7 (end of June 2027)
2026-06-15 10:09:09 +02:00
liuxingbaoyu and GitHub
711562808d
Remove corejs exports for @babe/runtime-corejs3 ( #18036 )
2026-06-14 10:23:29 +02:00
Nicolò Ribaudo and GitHub
87eca69685
Setup AgentScan ( #18060 )
2026-06-13 22:08:24 -04:00
Huáng Jùnliàng and GitHub
25616d4c68
chore: cleanup helper-validator-identifier ( #18054 )
2026-06-12 10:58:43 +02:00
Huáng Jùnliàng and GitHub
4abea18125
Convert babel helpers scripts to TS ( #18053 )
2026-06-12 10:53:30 +02:00
Babel Bot and GitHub
a02b466be9
Update test262 ( #18055 )
...
chore: update test262 to de8e621cdba4f40cff3cf244e6cfb8cb48746b4a
2026-06-12 09:57:15 +02:00
Huáng Jùnliàng and GitHub
1711e5338f
Migrate regenerator tests ( #18020 )
...
* test: migrate regenerator test runner to jest
* perf: parallelize the test tasks
* fix: specify test runner and environment
* Revert "perf: parallelize the test tasks"
This reverts commit 2de536c1e5a1a190ffefd22e4153fdce5c2f9534.
* chore: add comment why these tests can not be parallelized
* remove yargs resolution
* override c8/yargs resolution
* refactor: programmatically run Jest tests
* update jest versions
2026-06-08 09:37:30 -04:00
Babel Bot and GitHub
5dbb99f5c7
Update test262 ( #18048 )
...
chore: update test262 to 05bb032907160d66c212589d345fa0e335e2738c
2026-06-08 09:27:54 -04:00
Huáng Jùnliàng and GitHub
c9208ae633
fix(generator): improve new callee parens check ( #18046 )
2026-06-04 13:03:50 -04:00
Huáng Jùnliàng and GitHub
51a3b938b8
fix(systemjs): support __proto__ as an export name ( #18032 )
2026-06-01 13:45:26 -04:00
liuxingbaoyu and GitHub
9806855f73
Remove locations: "packed" ( #18034 )
2026-05-31 23:36:45 +02:00
liuxingbaoyu and GitHub
b3f4463df2
perf: Improve the performance of make prepublish-build ( #18040 )
2026-05-31 23:34:34 +02:00
e108968042
chore: bump lru-cache to v11 and drop @types/lru-cache ( #18038 )
...
Upgrade lru-cache from ^7.14.1 to ^11.0.0 in @babel/helper-compilation-targets
and @babel/helper-transform-fixture-test-runner, switching the default import to
the named { LRUCache } export (the class is exported as LRUCache since v8).
@babel/helper-compilation-targets also drops the @types/lru-cache devDependency
(v11 is self-typed; @types/lru-cache@5 described the removed v5 API) and a
now-redundant cast on the cache .get() call.
The Node engine range (^22.18.0 || >=24.11.0) already satisfies lru-cache v11's
requirement (20 || >=22).
Co-authored-by: Hanzo Dev <[email protected] >
2026-05-31 16:54:01 -04:00
liuxingbaoyu and GitHub
76fd920af6
chore: Remove unused file ( #18033 )
...
remove
2026-05-30 12:25:31 +02:00
James Garbutt and GitHub
7c9ac21d3f
chore: consolidate upwards traversal to empathic ( #18030 )
2026-05-29 20:13:16 +02:00
liuxingbaoyu and GitHub
f84faf8336
Change jest snapshotFormat ( #18029 )
2026-05-29 16:41:53 +02:00
Huáng Jùnliàng and GitHub
7af7dade76
Update deps ( #18023 )
...
* chore: revert minimatch hack
The hack was introduced when @babel/cli depends on @types/glob, this is no longer the case.
* chore: update dev deps
* enable skippped test
* yarn dedupe
2026-05-29 10:05:08 -04:00
Huáng Jùnliàng and GitHub
e24c7b7950
fix: disable npmMinimalAgeGate for angular-e2e test ( #18025 )
2026-05-29 09:40:19 -04:00
Babel Bot and GitHub
689216b1af
Update test262 ( #18027 )
...
chore: update test262 to 4249661388e5d3f92a85186213da140a6481490f
2026-05-29 10:35:32 +08:00
Huáng Jùnliàng and GitHub
62cb34913e
chore: bump babel deps ( #18022 )
...
chore: bump babel/* to rc6
2026-05-27 21:24:46 -04:00
Huáng Jùnliàng and GitHub
b6f671af09
ci: disable package manager cache in release build ( #18017 )
2026-05-25 17:20:54 +02:00
Babel Bot
9e816b1447
Add v8.0.0-rc.6 to CHANGELOG.md [skip ci]
2026-05-25 10:24:28 +00:00
Babel Bot
f140c93bd4
v8.0.0-rc.6
v8.0.0-rc.6
2026-05-25 10:05:26 +00:00
liuxingbaoyu and GitHub
0c52852cb5
Enable npm provenance ( #18013 )
2026-05-25 11:50:01 +02:00
Nicolò Ribaudo and GitHub
2dfc78fd82
Always use native Node.js TS support for config files ( #17970 )
2026-05-25 11:40:10 +02:00
Nicolò Ribaudo and GitHub
67aa50a434
Catchup source map position in preserveFormat ( #18011 )
2026-05-25 11:20:09 +02:00
Nicolò Ribaudo and GitHub
ebeef56878
Show source maps mappings as point-to-point ( #18008 )
2026-05-23 00:03:00 +02:00
liuxingbaoyu and GitHub
0c9ee03261
Enable strictFunctionTypes ( #17946 )
2026-05-22 16:12:22 +02:00
Babel Bot and GitHub
59cacf6ac4
Update test262 ( #18010 )
2026-05-22 11:22:20 +02:00
2efdb6a9a5
Do not emit source map names for identical names ( #18005 )
...
Co-authored-by: Babel Bot <[email protected] >
2026-05-21 14:10:43 +02:00
Huáng Jùnliàng and GitHub
2093765b12
chore: use bundled dts for register and eslint-* ( #17993 )
...
* chore(dts): bundle babel-register and eslint-*
* chore: cleanup yarn constraints config
* chore: improve eslint-* typings
2026-05-20 21:39:20 -04:00
0d4e8503bd
fix: improve inputSourceMap URL handling ( #17999 )
...
* fix: improve inputSourceMap URL handling
* refactor: extract transformation/read-input-source-map-file
* chore: keep sub in git
* Improve relative upward check
* address review comments
---------
Co-authored-by: Hanzo Dev <[email protected] >
2026-05-20 14:02:38 -04:00
Nicolò Ribaudo and GitHub
b86c8d5c43
Use Yarn catalog for source map dependencies ( #18004 )
2026-05-18 21:06:24 +02:00
9eeb089fa2
Test Node.js 26 on CI ( #17989 )
...
* Test Node.js 26 on CI
* Update node flags list
* workaround
---------
Co-authored-by: Babel Bot <[email protected] >
2026-05-16 10:56:56 -04:00
Huáng Jùnliàng and GitHub
16f37b5473
Add file URL support for test runners ( #18002 )
...
* test: accept URL in fixture test runner
* test: use URL for fixture calls
* test: extract systemjs-exec test into single file
2026-05-15 21:24:49 -04:00
Huáng Jùnliàng and GitHub
7661ea9937
test: update flow parser test ( #17996 )
...
* test: correctly handle types option
* refactor: map flow parser test options
* chore: update flow parset test commit
* fix: incorrect return type
2026-05-15 15:28:05 -04:00
Babel Bot and GitHub
81a96ce427
Update test262 ( #18000 )
...
chore: update test262 to 6e6bab5a7e80728d47316b0d966cede96b33e0f2
2026-05-15 10:21:54 -04:00
3e07eecffd
test: reset node environments after ts-node test ( #17991 )
...
* test: reset node environments after ts-node test
* Update packages/babel-core/test/config-ts-integration-ts-node.js
Co-authored-by: Nicolò Ribaudo <[email protected] >
---------
Co-authored-by: Nicolò Ribaudo <[email protected] >
2026-05-14 08:24:22 -04:00
Huáng Jùnliàng and GitHub
9e25b12634
chore: bump @babel/* to rc.5 ( #17997 )
...
* chore: bump @babel/* to rc.5
* yarn dedupe
2026-05-13 18:15:53 -04:00
Mateusz Burzyński and GitHub
bb690a1946
Preserve original identifier names from input sourcemaps ( #17992 )
...
* Add failing test case
* Preserve original identifier names from input sourcemaps
* fix stuff
2026-05-13 23:00:20 +02:00
Babel Bot
201bc6af13
Add v8.0.0-rc.5 to CHANGELOG.md [skip ci]
2026-05-12 14:52:50 +00:00
Babel Bot
aa927dfacc
v8.0.0-rc.5
v8.0.0-rc.5
2026-05-12 14:11:55 +00:00
Nicolò Ribaudo and GitHub
ab69dc41e5
Fix type error ( #17995 )
2026-05-12 15:34:58 +02:00
568c91b1aa
Deprecate spec and loose plugin options ( #17972 )
...
* deprecate
* review
* review
* review
* review
* Wording fixes
* Apply suggestions from code review
Co-authored-by: Huáng Jùnliàng <[email protected] >
* Update packages/babel-plugin-transform-arrow-functions/src/index.ts
Co-authored-by: Huáng Jùnliàng <[email protected] >
---------
Co-authored-by: Nicolò Ribaudo <[email protected] >
Co-authored-by: Huáng Jùnliàng <[email protected] >
2026-05-12 11:38:59 +02:00
414259f229
Add testing for plugin options ( #17957 )
...
tst
Co-authored-by: Hanzo Dev <[email protected] >
2026-05-12 11:38:40 +02:00
Huáng Jùnliàng and GitHub
1454e23291
docs: clarify PatternLike covered nodes ( #17994 )
2026-05-11 23:36:40 -04:00
Huáng Jùnliàng and GitHub
8a9df06e70
Bump typescript-eslint to 8.59.2 ( #17984 )
...
* chore: bump typescript-eslint
* chore(eslint) ignore args starting from _
Ref: https://typescript-eslint.io/rules/no-unused-vars#what-benefits-does-this-rule-have-over-typescript
* fix eslint errors
* reduce chunksize to 16
2026-05-11 09:41:49 -04:00
Nehemiya Wickramasinghe and GitHub
936a3bc8b6
breaking(code-frame): use 0-based columns to match Babel AST locations (#1… ( #17849 )
...
fix(code-frame): use 0-based columns to match Babel AST locations (#17316 )
`codeFrameColumns` treated the `column` property as 1-based, but Babel
AST locations use 0-based columns. This caused the caret/underline to
be off by one character when passing AST `.loc` objects directly.
- Removed the `- 1` offset in marker spacing calculation
- Removed the `+ 1` in multiline start marker count
- Changed default column sentinel from `0` to `null` so that
`column: 0` is treated as a valid position
- Updated falsiness checks (`!startColumn`) to null checks
- Removed `+ 1` workarounds in babel-core and babel-traverse callers
This is a breaking change for external consumers of `@babel/code-frame`
who passed 1-based columns manually.
2026-05-11 09:38:53 -04:00