@swc/core 1.2.235 → 1.2.241
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 +136 -4
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,19 +1,145 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
## [unreleased]
|
|
3
3
|
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
- **(es/compat)** Handle `async` in class method parameters (#5560) ([f2c1164](https://github.com/swc-project/swc/commit/f2c116402621b64b49181407dba1bb7ae852cf13))
|
|
9
|
+
|
|
4
10
|
### Features
|
|
5
11
|
|
|
6
12
|
|
|
7
13
|
|
|
8
|
-
- **(es/
|
|
14
|
+
- **(es/minifier)** Remove more functions and classes (#5552) ([69f8945](https://github.com/swc-project/swc/commit/69f8945911e50d96978b0f49642cb79473178173))
|
|
9
15
|
|
|
10
|
-
###
|
|
16
|
+
### Testing
|
|
11
17
|
|
|
12
18
|
|
|
13
19
|
|
|
14
|
-
- **(
|
|
20
|
+
- **(es/minifier)** Add tests for size (#5561) ([7f5095d](https://github.com/swc-project/swc/commit/7f5095dd5e569eab0e4415453144485aeef4d043))
|
|
21
|
+
|
|
22
|
+
## [1.2.240] - 2022-08-19
|
|
23
|
+
|
|
24
|
+
### Bug Fixes
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
- **(ast)** Add attributes for `rkyv` (#5489) ([3569b20](https://github.com/swc-project/swc/commit/3569b20645a57999fd09ee62e082e08d2caeebcc))
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
- **(ci)** Adjust script path (#5546) ([c833d08](https://github.com/swc-project/swc/commit/c833d088d5fc35cccb46aee884348d594f0fd972))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
- **(ci)** Wait exec asynchronously (#5547) ([719444c](https://github.com/swc-project/swc/commit/719444c42c6c29551de5a6a57a3dd3a1a09a7350))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
- **(css/codegen)** Improve codegen of `@media` (#5544) ([fa7abe2](https://github.com/swc-project/swc/commit/fa7abe26cf2a9eab1d8bcd481cf6fb2dd02188a3))
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
- **(es/fixer)** Wrap `yield` expression in `extends` (#5555) ([b14d69e](https://github.com/swc-project/swc/commit/b14d69e9b0427751a86d2260f10d4af7495d7ae8))
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
- **(es/helpers)** Add a missing helper (#5551) ([e930fea](https://github.com/swc-project/swc/commit/e930fea4cafce6452ace889a7a17c5abe071c492))
|
|
44
|
+
|
|
45
|
+
### Features
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
- **(css/minifier)** Remove duplications (#5542) ([780a4c2](https://github.com/swc-project/swc/commit/780a4c2b5dbc1c396d2212451b21e30a134ac3c4))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
- **(es/minifier)** Optimize more string property names (#5545) ([7487e33](https://github.com/swc-project/swc/commit/7487e3341dfff7532e4b3ff7c4868fc1fe5e04e0))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- **(es/minifier)** Optimize numeric property names (#5548) ([38b8ca0](https://github.com/swc-project/swc/commit/38b8ca05adf22d7096e4cc6856cd5fb1734656cd))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
- **(swc_core)** Implement engine diagnostics (#5515) ([f1a4263](https://github.com/swc-project/swc/commit/f1a42639541ef5a356079b7fb177a621ddd5a2c0))
|
|
59
|
+
|
|
60
|
+
### Miscellaneous Tasks
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- **(ci)** Fix publish action ([91d494d](https://github.com/swc-project/swc/commit/91d494dfd4cb49db8dac900bf8f52d5ae31b01a3))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- **(ci)** Fix publish action ([bc9aef8](https://github.com/swc-project/swc/commit/bc9aef891e1dd4665c30854b67f6173767d96a22))
|
|
68
|
+
|
|
69
|
+
## [1.2.239] - 2022-08-18
|
|
70
|
+
|
|
71
|
+
### Bug Fixes
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
- **(css/codegen)** Improve output of `@supports` (#5529) ([0f45822](https://github.com/swc-project/swc/commit/0f45822410809b1d05658057a1ce8d8b446ee28c))
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
- **(css/prefixer)** Handle supports (#5503) ([dc98234](https://github.com/swc-project/swc/commit/dc98234fab255a411d56a363b7a9e1d0c7ff131d))
|
|
15
79
|
|
|
16
|
-
|
|
80
|
+
|
|
81
|
+
- **(css/prefixer)** Reduce duplicates (#5537) ([0985c15](https://github.com/swc-project/swc/commit/0985c1546b38a4072099e45af354c4534e0e23cb))
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
- **(es/fixer)** Wrap first `function` or `class` of a sequence expression (#5508) ([f27ed73](https://github.com/swc-project/swc/commit/f27ed73594110b27b3937a7f5211503f0f72f3f9))
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
- **(es/fixer)** Fix handling of `yield` and `await` (#5533) ([7394dee](https://github.com/swc-project/swc/commit/7394deef428e15bb9b03e0113e72b8b6b2ae07bc))
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
- **(es/minifier)** Remove recklessly inline (#5528) ([5aa96e0](https://github.com/swc-project/swc/commit/5aa96e00d852a7a05a97be0ef625c5d798ef36da))
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
- **(html/minifier)** Apply `fixer` (#5514) ([1a4d755](https://github.com/swc-project/swc/commit/1a4d7553b8688e567d1a5a3b0f51a1f50eb3810a))
|
|
94
|
+
|
|
95
|
+
### Features
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
- **(api/rust)** Implement more traits for public types (#5488) ([75c8e09](https://github.com/swc-project/swc/commit/75c8e09d6d412e1012a921d9f3932d6f253781e6))
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
- **(css/prefixer)** Support more env properties and values (#5512) ([674c788](https://github.com/swc-project/swc/commit/674c788654714512000c64abf1a088e0f9f2820b))
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
- **(dbg-swc)** Improve minifier comparator (#5541) ([935a2fb](https://github.com/swc-project/swc/commit/935a2fbd002398a9593135fb765127d24f4e4dbb))
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
- **(es/minifier)** Ignore recursive usage for function calls and pure calls (#5526) ([d2f3e29](https://github.com/swc-project/swc/commit/d2f3e29bb054ffcb557fb54d535dc98640a77dc4))
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
- **(es/plugin/runner)** Add more traces for the plugin host (#5538) ([d46418b](https://github.com/swc-project/swc/commit/d46418bb470761db48cd1a3e50578d4e1e82e577))
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
- **(es/react)** Add `VisitMut` bound to the return type of react preset (#5499) ([14606d9](https://github.com/swc-project/swc/commit/14606d92225c67145d484f30902d798297a4ffe2))
|
|
115
|
+
|
|
116
|
+
### Testing
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
- **(es/minifier)** Remove useless, slow tests (#5502) ([69ce1b2](https://github.com/swc-project/swc/commit/69ce1b24d5ed1e6699678363195e1c2f8d2c7eee))
|
|
121
|
+
|
|
122
|
+
## [1.2.237] - 2022-08-17
|
|
123
|
+
|
|
124
|
+
### Bug Fixes
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
- **(es/plugin/runner)** Provide guest memory allocator for the sourcemap (#5517) ([3bdb39c](https://github.com/swc-project/swc/commit/3bdb39c0eea3c8c5473ff6034be7f7f44d9ba9e7))
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
- **(es/plugin/runner)** Revert wasmer@3 (#5521) ([4a9b1dd](https://github.com/swc-project/swc/commit/4a9b1dde1aaf84e233a9d1a59a1de539706e652b))
|
|
132
|
+
|
|
133
|
+
### Features
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
- **(bindings)** Update `swc_core` (#5518) ([b37b640](https://github.com/swc-project/swc/commit/b37b64013354d621b47bddca6e3bf6294f29b11d))
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
- **(bindings)** Bump `swc_core` (#5525) ([ac60c0a](https://github.com/swc-project/swc/commit/ac60c0a2a01009a29ab71e7805eb8ee2aad40b34))
|
|
141
|
+
|
|
142
|
+
## [1.2.235] - 2022-08-16
|
|
17
143
|
|
|
18
144
|
### Bug Fixes
|
|
19
145
|
|
|
@@ -31,6 +157,9 @@
|
|
|
31
157
|
- **(bindings)** Update `swc_core` (#5510) ([b9f88ff](https://github.com/swc-project/swc/commit/b9f88ff7203e0143de78f43ec0a4770907fa42da))
|
|
32
158
|
|
|
33
159
|
|
|
160
|
+
- **(es/compat)** Fix syntax context of transpiled class methods (#5498) ([b9933b1](https://github.com/swc-project/swc/commit/b9933b159a208a0bccbb9bf7cd9383b6a9be0e51))
|
|
161
|
+
|
|
162
|
+
|
|
34
163
|
- **(es/plugin)** Update `wasmer` to 3 (#5456) ([92f006c](https://github.com/swc-project/swc/commit/92f006c9a033bf4a49b48e842fd0668a96a13c61))
|
|
35
164
|
|
|
36
165
|
|
|
@@ -42,6 +171,9 @@
|
|
|
42
171
|
|
|
43
172
|
- **(bindings)** Use separate workspace for bindings (#5506) ([496346a](https://github.com/swc-project/swc/commit/496346ac04483581c29444e205392c479e1f8c4b))
|
|
44
173
|
|
|
174
|
+
|
|
175
|
+
- **(bindings)** Merge cargo workspace (#5511) ([bbf9e2f](https://github.com/swc-project/swc/commit/bbf9e2f24363094819c7d0aa390122db85645f39))
|
|
176
|
+
|
|
45
177
|
### Build
|
|
46
178
|
|
|
47
179
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.241",
|
|
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.241",
|
|
142
|
+
"@swc/core-darwin-x64": "1.2.241",
|
|
143
|
+
"@swc/core-linux-x64-gnu": "1.2.241",
|
|
144
|
+
"@swc/core-linux-x64-musl": "1.2.241",
|
|
145
|
+
"@swc/core-freebsd-x64": "1.2.241",
|
|
146
|
+
"@swc/core-win32-ia32-msvc": "1.2.241",
|
|
147
|
+
"@swc/core-linux-arm64-gnu": "1.2.241",
|
|
148
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.241",
|
|
149
|
+
"@swc/core-darwin-arm64": "1.2.241",
|
|
150
|
+
"@swc/core-android-arm64": "1.2.241",
|
|
151
|
+
"@swc/core-linux-arm64-musl": "1.2.241",
|
|
152
|
+
"@swc/core-win32-arm64-msvc": "1.2.241",
|
|
153
|
+
"@swc/core-android-arm-eabi": "1.2.241"
|
|
154
154
|
},
|
|
155
155
|
"files": [
|
|
156
156
|
"CHANGELOG.md",
|