Skip to content

[Bug]: Please upgrade swc_core to 57.0.1 or greater for 1.7.x #13171

@OliverHuang-WTG

Description

@OliverHuang-WTG

System Info

System:
OS: Windows 11 10.0.22631
CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900H
Memory: 16.33 GB / 63.68 GB
Binaries:
Node: 24.13.0 - C:\Program Files\nodejs\node.EXE
npm: 11.6.2 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 145.0.7632.110
Edge: Chromium (140.0.3485.66)
Firefox: 147.0.4 - C:\Program Files\Mozilla Firefox\firefox.exe
Internet Explorer: 11.0.22621.3527
npmPackages:
@rspack/cli: ^1.7.4 => 1.7.5
@rspack/core: ^1.7.6 => 1.7.6

Details

When maintaining compatibility with older browsers, we need to support unicode property escape transpilation.

It has fixed in swc-project/swc#1649

However, version 1.7.6 is still using version 55 of swc_core. This makes it impossible for us to use this feature. Please upgrade swc_core to version 57.0.1.

Reproduce link

No response

Reproduce Steps

Use Reg like /[^\p{L}\p{Nl}\p{Nd}\p{Mn}\p{Mc}\p{Pc}\p{Cf}]/gu
This syntax cannot be converted to the version of browsers that support it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions