@swc/core 1.2.186 → 1.2.187
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 +68 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,74 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(common)** Don't use reserved byte position (#4690) ([606f7c9](https://github.com/swc-project/swc/commit/606f7c967e908b4d70d37edbb76c11a7ea985336))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/ast)** Fix `EqIgnoreSpan` of `Ident` (#4689) ([07356a5](https://github.com/swc-project/swc/commit/07356a5bba29572c99b53a1db79314a252faf663))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/codegen)** Don't add a newline after an arrow body (#4711) ([72fbf69](https://github.com/swc-project/swc/commit/72fbf692a49f1612e2c04548c8c82279eeb3ad35))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/compat)** Fix `break` in for await loop (#4705) ([100c0b5](https://github.com/swc-project/swc/commit/100c0b58c9e5074a32e9dbc4f5dd7a88388bd8be))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/config)** Auto-detect `tsx` (#4696) ([ad309f4](https://github.com/swc-project/swc/commit/ad309f4050dfb3483ed56108cc11f4865dca3f89))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/config)** Add `jsc.output.charset` (#4708) ([bf5ba28](https://github.com/swc-project/swc/commit/bf5ba284715bc86904c47c2dc2e3575ff5fe09be))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/minifier)** Don't hoist functions with `dead_code` (#4695) ([183e884](https://github.com/swc-project/swc/commit/183e884cbfa775868f91fbea8604b63352b583a6))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/minifier)** Don't create keys with negative number (#4698) ([809a626](https://github.com/swc-project/swc/commit/809a626a990eb4edb1cf71b87c3de31a60fa1a86))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/minifier)** Fix analysis of assignment patterns (#4712) ([73dfa95](https://github.com/swc-project/swc/commit/73dfa95e5a0c24f61ed9b912a08c4ccde120890f))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/modules)** Fix reassignment of exported vars (#4688) ([7ce572b](https://github.com/swc-project/swc/commit/7ce572b497d6b19231af8414616d412ac6c42264))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/react)** Fix span of error messages (#4704) ([5f45a3d](https://github.com/swc-project/swc/commit/5f45a3d49649516d7c918b7039ebf04995db300a))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(html/parser)** Fix span of attributes (#4681) ([637ef7f](https://github.com/swc-project/swc/commit/637ef7f49f0b3b7bbb06860371e6f8b2518759c2))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(html/parser)** Fix bugs (#4707) ([0b39e1b](https://github.com/swc-project/swc/commit/0b39e1b3fcf08e36b1d758a5842c625cd54b331d))
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(es/minifier)** Improve `if_return` (#4694) ([274648e](https://github.com/swc-project/swc/commit/274648ec2664297043f5acb5cba659ace724fc59))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(html/minifier)** Compress characters in `head` (#4682) ([cac8cee](https://github.com/swc-project/swc/commit/cac8cee62abab7dba28d2014d50e9bfdd71e03cc))
|
|
54
|
+
|
|
55
|
+
### Performance
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/minifier)** Make minifier more parallel (#4699) ([9a27b5f](https://github.com/swc-project/swc/commit/9a27b5f275e2116ceacfd10e15ab4a92f6bb25fc))
|
|
60
|
+
|
|
61
|
+
### Testing
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(es)** Add a test for a fixed issue (#4693) ([b93af7b](https://github.com/swc-project/swc/commit/b93af7ba61509f79b32008c3d8df3e5b82f4c40e))
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- **(es/minifier)** Categorize more tests (#4709) ([6f565fb](https://github.com/swc-project/swc/commit/6f565fbb3aeb9df3b364a50c57a7a44a08a76305))
|
|
69
|
+
|
|
70
|
+
## [1.2.186] - 2022-05-17
|
|
71
|
+
|
|
72
|
+
### Bug Fixes
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
8
76
|
- **(es/minifier)** Consider fallthrough while merging swtich cases (#4672) ([3bb4b74](https://github.com/swc-project/swc/commit/3bb4b74d945b7b9bd107114c2df5eeef13874aba))
|
|
9
77
|
|
|
10
78
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.187",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -135,18 +135,18 @@
|
|
|
135
135
|
"url": "https://opencollective.com/swc"
|
|
136
136
|
},
|
|
137
137
|
"optionalDependencies": {
|
|
138
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
139
|
-
"@swc/core-darwin-x64": "1.2.
|
|
140
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
141
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
142
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
143
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
144
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
145
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
146
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
147
|
-
"@swc/core-android-arm64": "1.2.
|
|
148
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
149
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
150
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
138
|
+
"@swc/core-win32-x64-msvc": "1.2.187",
|
|
139
|
+
"@swc/core-darwin-x64": "1.2.187",
|
|
140
|
+
"@swc/core-linux-x64-gnu": "1.2.187",
|
|
141
|
+
"@swc/core-linux-x64-musl": "1.2.187",
|
|
142
|
+
"@swc/core-freebsd-x64": "1.2.187",
|
|
143
|
+
"@swc/core-win32-ia32-msvc": "1.2.187",
|
|
144
|
+
"@swc/core-linux-arm64-gnu": "1.2.187",
|
|
145
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.187",
|
|
146
|
+
"@swc/core-darwin-arm64": "1.2.187",
|
|
147
|
+
"@swc/core-android-arm64": "1.2.187",
|
|
148
|
+
"@swc/core-linux-arm64-musl": "1.2.187",
|
|
149
|
+
"@swc/core-win32-arm64-msvc": "1.2.187",
|
|
150
|
+
"@swc/core-android-arm-eabi": "1.2.187"
|
|
151
151
|
}
|
|
152
152
|
}
|