@swc/core 1.2.237 → 1.2.242
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 +183 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,189 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es)** Improve sourcemap (#5569) ([2f7e322](https://github.com/swc-project/swc/commit/2f7e3222140aba2a0e13e307f18b42f6b39f084d))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/codgen)** Fix sourcemap of`BlockStmt` (#5570) ([288ae51](https://github.com/swc-project/swc/commit/288ae51fb130d5ea302fa89618921ccc3c57d7bc))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/compat)** Use separate `SyntaxContext` for class names (#5566) ([b717a68](https://github.com/swc-project/swc/commit/b717a68199fc965632e9513d2c57a47af23231d8))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/compat)** Fix destructuring assignments and updates of super properties (#5576) ([bee26a9](https://github.com/swc-project/swc/commit/bee26a9abb0478147aec2bedd533150204807057))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/compat)** Fix destructuring assignments and updates of super properties in async method (#5580) ([8645251](https://github.com/swc-project/swc/commit/86452511e715a7ba8447add81a60ce49905bb45c))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/helpers)** Fix an import (#5587) ([610296c](https://github.com/swc-project/swc/commit/610296cfa444d1f004cc5967c7f94347a7ccb0e8))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/helpers)** Fix `_classStaticPrivateFieldSpecSet` (#5597) ([0533d56](https://github.com/swc-project/swc/commit/0533d56155316e6e9077c7a291ee945f61c0ab96))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/parser)** Allow expr to follow `ClassExpr` (#5572) ([78dd071](https://github.com/swc-project/swc/commit/78dd071dabf5f9b5ca9b213bb5f5f0e5d76b40ab))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/parser)** Fix false-positives of yield used as a parameter in generator (#5564) ([c3f6258](https://github.com/swc-project/swc/commit/c3f62586bfbad6220cdc8cd7a678d9bec2445088))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/quote)** Allow cloning (#5571) ([82cc3ca](https://github.com/swc-project/swc/commit/82cc3ca7a4f27f932ed4e8b4e620d1d8b5f41bdc))
|
|
36
|
+
|
|
37
|
+
### Features
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(bindings)** Update `swc_core` (#5594) ([e211ad6](https://github.com/swc-project/swc/commit/e211ad6d10f9e05e1ccade2c3cba60e3a53dbee7))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(css/ast)** Make `keyword` optional (#5543) ([a3c1ac6](https://github.com/swc-project/swc/commit/a3c1ac67d708b6c95ef9a9b0892df90bdb26ffe5))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es/plugin)** Provide `swc_core` diagnostic from plugin (#5591) ([a3e855f](https://github.com/swc-project/swc/commit/a3e855f720ade3b823c1f7e59f0e6dfac197895c))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(html/minifier)** Improve minification modes (#5568) ([3cb6fc2](https://github.com/swc-project/swc/commit/3cb6fc2a29b541c32ff95baf0a07021ffe0dd089))
|
|
51
|
+
|
|
52
|
+
### Miscellaneous Tasks
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(swc_core)** Update dependency version (#5595) ([1769191](https://github.com/swc-project/swc/commit/1769191f9ac7decfde86dcca1248ec15a0763a17))
|
|
57
|
+
|
|
58
|
+
### Testing
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- **(es/transforms)** Enable tests for fixed issues (#5583) ([0f6649c](https://github.com/swc-project/swc/commit/0f6649c44fbd35cbb7f0b64bf9b5a175f002fdd9))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(es/transforms)** Copy execution tests from babel (#5578) ([e2fedb9](https://github.com/swc-project/swc/commit/e2fedb93452e54f4146f725ae07c6c2f0a4067a5))
|
|
66
|
+
|
|
67
|
+
### Build
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(swc_core)** Fix dependency version (#5593) ([9bc40e3](https://github.com/swc-project/swc/commit/9bc40e3d087f502904821f9fdbcfff6f8c52116f))
|
|
72
|
+
|
|
73
|
+
## [1.2.241] - 2022-08-19
|
|
74
|
+
|
|
75
|
+
### Bug Fixes
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
- **(ast)** Add attributes for `rkyv` (#5489) ([3569b20](https://github.com/swc-project/swc/commit/3569b20645a57999fd09ee62e082e08d2caeebcc))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
- **(ci)** Adjust script path (#5546) ([c833d08](https://github.com/swc-project/swc/commit/c833d088d5fc35cccb46aee884348d594f0fd972))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- **(ci)** Wait exec asynchronously (#5547) ([719444c](https://github.com/swc-project/swc/commit/719444c42c6c29551de5a6a57a3dd3a1a09a7350))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
- **(css/codegen)** Improve codegen of `@media` (#5544) ([fa7abe2](https://github.com/swc-project/swc/commit/fa7abe26cf2a9eab1d8bcd481cf6fb2dd02188a3))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
- **(es/compat)** Handle `async` in class method parameters (#5560) ([f2c1164](https://github.com/swc-project/swc/commit/f2c116402621b64b49181407dba1bb7ae852cf13))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
- **(es/fixer)** Wrap `yield` expression in `extends` (#5555) ([b14d69e](https://github.com/swc-project/swc/commit/b14d69e9b0427751a86d2260f10d4af7495d7ae8))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
- **(es/helpers)** Add a missing helper (#5551) ([e930fea](https://github.com/swc-project/swc/commit/e930fea4cafce6452ace889a7a17c5abe071c492))
|
|
98
|
+
|
|
99
|
+
### Features
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
- **(css/minifier)** Remove duplications (#5542) ([780a4c2](https://github.com/swc-project/swc/commit/780a4c2b5dbc1c396d2212451b21e30a134ac3c4))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
- **(es/minifier)** Optimize more string property names (#5545) ([7487e33](https://github.com/swc-project/swc/commit/7487e3341dfff7532e4b3ff7c4868fc1fe5e04e0))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
- **(es/minifier)** Optimize numeric property names (#5548) ([38b8ca0](https://github.com/swc-project/swc/commit/38b8ca05adf22d7096e4cc6856cd5fb1734656cd))
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
- **(es/minifier)** Remove more functions and classes (#5552) ([69f8945](https://github.com/swc-project/swc/commit/69f8945911e50d96978b0f49642cb79473178173))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
- **(swc_core)** Implement engine diagnostics (#5515) ([f1a4263](https://github.com/swc-project/swc/commit/f1a42639541ef5a356079b7fb177a621ddd5a2c0))
|
|
116
|
+
|
|
117
|
+
### Miscellaneous Tasks
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
- **(ci)** Fix publish action ([91d494d](https://github.com/swc-project/swc/commit/91d494dfd4cb49db8dac900bf8f52d5ae31b01a3))
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
- **(ci)** Fix publish action ([bc9aef8](https://github.com/swc-project/swc/commit/bc9aef891e1dd4665c30854b67f6173767d96a22))
|
|
125
|
+
|
|
126
|
+
### Testing
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
- **(es/minifier)** Add tests for size (#5561) ([7f5095d](https://github.com/swc-project/swc/commit/7f5095dd5e569eab0e4415453144485aeef4d043))
|
|
131
|
+
|
|
132
|
+
## [1.2.239] - 2022-08-18
|
|
133
|
+
|
|
134
|
+
### Bug Fixes
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
- **(css/codegen)** Improve output of `@supports` (#5529) ([0f45822](https://github.com/swc-project/swc/commit/0f45822410809b1d05658057a1ce8d8b446ee28c))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
- **(css/prefixer)** Handle supports (#5503) ([dc98234](https://github.com/swc-project/swc/commit/dc98234fab255a411d56a363b7a9e1d0c7ff131d))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
- **(css/prefixer)** Reduce duplicates (#5537) ([0985c15](https://github.com/swc-project/swc/commit/0985c1546b38a4072099e45af354c4534e0e23cb))
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
- **(es/fixer)** Wrap first `function` or `class` of a sequence expression (#5508) ([f27ed73](https://github.com/swc-project/swc/commit/f27ed73594110b27b3937a7f5211503f0f72f3f9))
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
- **(es/fixer)** Fix handling of `yield` and `await` (#5533) ([7394dee](https://github.com/swc-project/swc/commit/7394deef428e15bb9b03e0113e72b8b6b2ae07bc))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
- **(es/minifier)** Remove recklessly inline (#5528) ([5aa96e0](https://github.com/swc-project/swc/commit/5aa96e00d852a7a05a97be0ef625c5d798ef36da))
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
- **(html/minifier)** Apply `fixer` (#5514) ([1a4d755](https://github.com/swc-project/swc/commit/1a4d7553b8688e567d1a5a3b0f51a1f50eb3810a))
|
|
157
|
+
|
|
158
|
+
### Features
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
- **(api/rust)** Implement more traits for public types (#5488) ([75c8e09](https://github.com/swc-project/swc/commit/75c8e09d6d412e1012a921d9f3932d6f253781e6))
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
- **(css/prefixer)** Support more env properties and values (#5512) ([674c788](https://github.com/swc-project/swc/commit/674c788654714512000c64abf1a088e0f9f2820b))
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
- **(dbg-swc)** Improve minifier comparator (#5541) ([935a2fb](https://github.com/swc-project/swc/commit/935a2fbd002398a9593135fb765127d24f4e4dbb))
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
- **(es/minifier)** Ignore recursive usage for function calls and pure calls (#5526) ([d2f3e29](https://github.com/swc-project/swc/commit/d2f3e29bb054ffcb557fb54d535dc98640a77dc4))
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
- **(es/plugin/runner)** Add more traces for the plugin host (#5538) ([d46418b](https://github.com/swc-project/swc/commit/d46418bb470761db48cd1a3e50578d4e1e82e577))
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
- **(es/react)** Add `VisitMut` bound to the return type of react preset (#5499) ([14606d9](https://github.com/swc-project/swc/commit/14606d92225c67145d484f30902d798297a4ffe2))
|
|
178
|
+
|
|
179
|
+
### Testing
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
- **(es/minifier)** Remove useless, slow tests (#5502) ([69ce1b2](https://github.com/swc-project/swc/commit/69ce1b24d5ed1e6699678363195e1c2f8d2c7eee))
|
|
184
|
+
|
|
185
|
+
## [1.2.237] - 2022-08-17
|
|
186
|
+
|
|
187
|
+
### Bug Fixes
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
8
191
|
- **(es/plugin/runner)** Provide guest memory allocator for the sourcemap (#5517) ([3bdb39c](https://github.com/swc-project/swc/commit/3bdb39c0eea3c8c5473ff6034be7f7f44d9ba9e7))
|
|
9
192
|
|
|
10
193
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.242",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -138,19 +138,19 @@
|
|
|
138
138
|
"url": "https://opencollective.com/swc"
|
|
139
139
|
},
|
|
140
140
|
"optionalDependencies": {
|
|
141
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
142
|
-
"@swc/core-darwin-x64": "1.2.
|
|
143
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
144
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
145
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
146
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
147
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
148
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
149
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
150
|
-
"@swc/core-android-arm64": "1.2.
|
|
151
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
152
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
153
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
141
|
+
"@swc/core-win32-x64-msvc": "1.2.242",
|
|
142
|
+
"@swc/core-darwin-x64": "1.2.242",
|
|
143
|
+
"@swc/core-linux-x64-gnu": "1.2.242",
|
|
144
|
+
"@swc/core-linux-x64-musl": "1.2.242",
|
|
145
|
+
"@swc/core-freebsd-x64": "1.2.242",
|
|
146
|
+
"@swc/core-win32-ia32-msvc": "1.2.242",
|
|
147
|
+
"@swc/core-linux-arm64-gnu": "1.2.242",
|
|
148
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.242",
|
|
149
|
+
"@swc/core-darwin-arm64": "1.2.242",
|
|
150
|
+
"@swc/core-android-arm64": "1.2.242",
|
|
151
|
+
"@swc/core-linux-arm64-musl": "1.2.242",
|
|
152
|
+
"@swc/core-win32-arm64-msvc": "1.2.242",
|
|
153
|
+
"@swc/core-android-arm-eabi": "1.2.242"
|
|
154
154
|
},
|
|
155
155
|
"files": [
|
|
156
156
|
"CHANGELOG.md",
|