-
-
Notifications
You must be signed in to change notification settings - Fork 781
Description
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.