@swc/core 1.3.20 → 1.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +80 -0
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,86 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(ci)** Fix publish action for binaries (#6517) ([2ac3201](https://github.com/swc-project/swc/commit/2ac32017bad112956a781b0d003782988655409c))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/minifier)** Don't drop used variables from sequential inliner (#6520) ([b394f9f](https://github.com/swc-project/swc/commit/b394f9f1d3efd24fd55b4ac5efdbaee91b9d8021))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Make sequential inliner respect resolution order (#6509) ([27ae59e](https://github.com/swc-project/swc/commit/27ae59e77bb8cb1f1d1dbbba3f8dec58359bc2ba))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/minifier)** Use unsafe option for arrow => method (#6521) ([9752b43](https://github.com/swc-project/swc/commit/9752b43f94313fe2902ad04e5b01b865e0180155))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/minifier)** Don't convert a signed integer literal key to a numeric literal (#6529) ([81224b5](https://github.com/swc-project/swc/commit/81224b5d67a92c7154a870f07f28d9802be2106e))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(html/parser)** Fix parsing of cdata (#6534) ([e3cbe7e](https://github.com/swc-project/swc/commit/e3cbe7e9a98149bfc05421a264d4e421fb543f7e))
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(common)** Add contexts to the error messages (#6526) ([b8fe04f](https://github.com/swc-project/swc/commit/b8fe04f720d81f2d4ef0778cbb345f64b9ec1956))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/parser)** Make error message helpful (#6535) ([cb15721](https://github.com/swc-project/swc/commit/cb157215d26e5acfe74f7592da011ab9d5206207))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/preset-env)** Update data (#6538) ([ae63220](https://github.com/swc-project/swc/commit/ae6322064d67bc24d65f560f699a2a554bbfdb37))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(xml/parser)** Parse cdata section (#6531) ([7f8c4e0](https://github.com/swc-project/swc/commit/7f8c4e04b246bef493a044f794ea1608f4550457))
|
|
39
|
+
|
|
40
|
+
### Miscellaneous Tasks
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(bindings)** Fix jemalloc on aarch64 (#6541) ([d56b5a8](https://github.com/swc-project/swc/commit/d56b5a890a69a9a9177eed2a955f2c959fd1eaa1))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(swc_core)** Reexport more modules (#6548) ([9b58cce](https://github.com/swc-project/swc/commit/9b58cce10bf5d313b6397c0366222c51db19eaca))
|
|
48
|
+
|
|
49
|
+
### Performance
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(common)** Fix perf bug of sourcemap for inputs with multi-byte chars (#6523) ([47908a4](https://github.com/swc-project/swc/commit/47908a49d3d773b7ffacf6ffa6e38c7e091101cb))
|
|
54
|
+
|
|
55
|
+
### Refactor
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(css/parser)** Canonicalize only if required (#6532) ([251e98c](https://github.com/swc-project/swc/commit/251e98c05576d0495647e93ae0fe179da7435db9))
|
|
60
|
+
|
|
61
|
+
### Testing
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(es/minifier)** Add tests for preserving top-level directives (#6545) ([8d8f150](https://github.com/swc-project/swc/commit/8d8f15079224de52482397c1a36b9b9575ba1464))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- **(es/transforms)** Add tests about preserving top-level directives (#6518) ([5ff87af](https://github.com/swc-project/swc/commit/5ff87afa78e5bb56f2b03678577279256c18e4da))
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(es/typescript)** Migrate inline tests to fixture tests (#6546) ([cddbc41](https://github.com/swc-project/swc/commit/cddbc41430c524b126368a6989de3b2c88e5e713))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- **(ts/compat)** Migrate inline tests to fixture testing (#6475) ([cc4646a](https://github.com/swc-project/swc/commit/cc4646a4cc455c08680f7dedb344337f90f0c668))- **general**: Use correct extensions for fixture tests (#6539) ([7ee86d1](https://github.com/swc-project/swc/commit/7ee86d1d2579d861501a525cbc6ddd3669d4c25c))
|
|
75
|
+
|
|
76
|
+
### Build
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
- **(cargo)** Update `browerslist-rs` (#6547) ([d730186](https://github.com/swc-project/swc/commit/d730186e9f49b9481b89b35121d7095e05781565))
|
|
81
|
+
|
|
82
|
+
## [1.3.20] - 2022-11-26
|
|
83
|
+
|
|
84
|
+
### Bug Fixes
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
8
88
|
- **(es/codegen)** Preserve parens for `new` in optional chaining (#6484) ([1ca281a](https://github.com/swc-project/swc/commit/1ca281a6cfdbdcb4b52e7617c5e843b8458a2299))
|
|
9
89
|
|
|
10
90
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.21",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -141,16 +141,16 @@
|
|
|
141
141
|
"url": "https://opencollective.com/swc"
|
|
142
142
|
},
|
|
143
143
|
"optionalDependencies": {
|
|
144
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
145
|
-
"@swc/core-darwin-x64": "1.3.
|
|
146
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
147
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
148
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
149
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
150
|
-
"@swc/core-linux-arm-gnueabihf": "1.3.
|
|
151
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
152
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
153
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
144
|
+
"@swc/core-win32-x64-msvc": "1.3.21",
|
|
145
|
+
"@swc/core-darwin-x64": "1.3.21",
|
|
146
|
+
"@swc/core-linux-x64-gnu": "1.3.21",
|
|
147
|
+
"@swc/core-linux-x64-musl": "1.3.21",
|
|
148
|
+
"@swc/core-win32-ia32-msvc": "1.3.21",
|
|
149
|
+
"@swc/core-linux-arm64-gnu": "1.3.21",
|
|
150
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.21",
|
|
151
|
+
"@swc/core-darwin-arm64": "1.3.21",
|
|
152
|
+
"@swc/core-linux-arm64-musl": "1.3.21",
|
|
153
|
+
"@swc/core-win32-arm64-msvc": "1.3.21"
|
|
154
154
|
},
|
|
155
155
|
"files": [
|
|
156
156
|
"CHANGELOG.md",
|
|
@@ -173,5 +173,5 @@
|
|
|
173
173
|
"postinstall.js",
|
|
174
174
|
"bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
|
|
175
175
|
],
|
|
176
|
-
"packageManager": "yarn@3.
|
|
176
|
+
"packageManager": "yarn@3.3.0"
|
|
177
177
|
}
|