@swc/core 1.2.181 → 1.2.182
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 +53 -2
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,9 +5,57 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
- **(es/
|
|
8
|
+
- **(es/config)** Merge `jsc.transform` correctly (#4615) ([3b2b8c4](https://github.com/swc-project/swc/commit/3b2b8c4512709b9908a113af83f30e4fa97b9c49))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/fixer)** Handle `new yield` (#4598) ([d611d54](https://github.com/swc-project/swc/commit/d611d543eaff2a017c9742137a4594835aeb67f4))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Fix switches (#4595) ([2ab7594](https://github.com/swc-project/swc/commit/2ab7594b4abf72c6e5d6da49b2c08e9faac44ffb))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/minifier)** Fix `with` and `NaN` (#4596) ([097ff1d](https://github.com/swc-project/swc/commit/097ff1ddc1675e1168b319da009221e345e2f4ea))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/minifier)** Fix switch with a unknown case (#4597) ([8944a3b](https://github.com/swc-project/swc/commit/8944a3bdf54497a6ab03194b3d96ccfe902c016b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Preserve more `this` (#4599) ([859dc44](https://github.com/swc-project/swc/commit/859dc440b43c0dbd17ef8cee2998de3ce8c009a0))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/utils)** Fix wrong apis (#4604) ([6a97c7b](https://github.com/swc-project/swc/commit/6a97c7bef8a1f846bfe34678fd0714b8fdcb56a5))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(html/parser)** Fix bugs (#4592) ([7166dbf](https://github.com/swc-project/swc/commit/7166dbf5a626170f36e9282dfc625d1ace781511))
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(css/parser)** Add a method to get error message (#4588) ([04dd3dd](https://github.com/swc-project/swc/commit/04dd3ddc5d2953ae9ba4b944853db57bf1ed217d))
|
|
9
36
|
|
|
10
|
-
|
|
37
|
+
|
|
38
|
+
- **(es/ast)** Improve `Id` APIs (#4614) ([2c861bd](https://github.com/swc-project/swc/commit/2c861bd9e515ed0c9bfa653ed79d9e6941b05078))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/hygiene)** Drop syntax context (#4594) ([6ac4a23](https://github.com/swc-project/swc/commit/6ac4a23aa2fdf3854f23760cec70b36249df4cdc))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/lints)** Implement `prefer-const` rule without options (#4584) ([e65bf3d](https://github.com/swc-project/swc/commit/e65bf3d02559e2e2ca31a1e190244b1ee9e19843))
|
|
45
|
+
|
|
46
|
+
### Refactor
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(html)** Refactor parser and codegen (#4611) ([7c6627f](https://github.com/swc-project/swc/commit/7c6627fc2106a6553ebce353d53f61917205fee2))
|
|
51
|
+
|
|
52
|
+
### Testing
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(es/minifier)** Postpone tests which can be verified by execution tests (#4600) ([6918e3a](https://github.com/swc-project/swc/commit/6918e3a4fb7ad375dfaad3da6d9e21931bde987b))
|
|
57
|
+
|
|
58
|
+
## [1.2.181] - 2022-05-09
|
|
11
59
|
|
|
12
60
|
### Bug Fixes
|
|
13
61
|
|
|
@@ -31,6 +79,9 @@
|
|
|
31
79
|
- **(es/minifier)** Consider more aliases in sequences pass (#4583) ([3521ce0](https://github.com/swc-project/swc/commit/3521ce09e7a2c3168f17491196f6fbc835637380))
|
|
32
80
|
|
|
33
81
|
|
|
82
|
+
- **(es/minifier)** Fix handling of `NaN` (#4593) ([dd09cdf](https://github.com/swc-project/swc/commit/dd09cdf8b12d53aa6060e14857fa3efeddf41334))
|
|
83
|
+
|
|
84
|
+
|
|
34
85
|
- **(es/resolver)** Fix handling of a complex try catch (#4574) ([9e79f9c](https://github.com/swc-project/swc/commit/9e79f9ced697df4aba51219ce4759238a53c11e3))
|
|
35
86
|
|
|
36
87
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.182",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -134,18 +134,18 @@
|
|
|
134
134
|
"url": "https://opencollective.com/swc"
|
|
135
135
|
},
|
|
136
136
|
"optionalDependencies": {
|
|
137
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
138
|
-
"@swc/core-darwin-x64": "1.2.
|
|
139
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
140
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
141
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
142
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
143
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
144
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
145
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
146
|
-
"@swc/core-android-arm64": "1.2.
|
|
147
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
148
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
149
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
137
|
+
"@swc/core-win32-x64-msvc": "1.2.182",
|
|
138
|
+
"@swc/core-darwin-x64": "1.2.182",
|
|
139
|
+
"@swc/core-linux-x64-gnu": "1.2.182",
|
|
140
|
+
"@swc/core-linux-x64-musl": "1.2.182",
|
|
141
|
+
"@swc/core-freebsd-x64": "1.2.182",
|
|
142
|
+
"@swc/core-win32-ia32-msvc": "1.2.182",
|
|
143
|
+
"@swc/core-linux-arm64-gnu": "1.2.182",
|
|
144
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.182",
|
|
145
|
+
"@swc/core-darwin-arm64": "1.2.182",
|
|
146
|
+
"@swc/core-android-arm64": "1.2.182",
|
|
147
|
+
"@swc/core-linux-arm64-musl": "1.2.182",
|
|
148
|
+
"@swc/core-win32-arm64-msvc": "1.2.182",
|
|
149
|
+
"@swc/core-android-arm-eabi": "1.2.182"
|
|
150
150
|
}
|
|
151
151
|
}
|