@swc/core 1.2.239 → 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 +63 -4
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,18 +5,68 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
- **(
|
|
8
|
+
- **(es/compat)** Handle `async` in class method parameters (#5560) ([f2c1164](https://github.com/swc-project/swc/commit/f2c116402621b64b49181407dba1bb7ae852cf13))
|
|
9
9
|
|
|
10
10
|
### Features
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
- **(
|
|
14
|
+
- **(es/minifier)** Remove more functions and classes (#5552) ([69f8945](https://github.com/swc-project/swc/commit/69f8945911e50d96978b0f49642cb79473178173))
|
|
15
15
|
|
|
16
|
+
### Testing
|
|
16
17
|
|
|
17
|
-
- **(es/minifier)** Ignore recursive usage for function calls and pure calls (#5526) ([d2f3e29](https://github.com/swc-project/swc/commit/d2f3e29bb054ffcb557fb54d535dc98640a77dc4))
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
|
|
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
|
|
20
70
|
|
|
21
71
|
### Bug Fixes
|
|
22
72
|
|
|
@@ -28,6 +78,9 @@
|
|
|
28
78
|
- **(css/prefixer)** Handle supports (#5503) ([dc98234](https://github.com/swc-project/swc/commit/dc98234fab255a411d56a363b7a9e1d0c7ff131d))
|
|
29
79
|
|
|
30
80
|
|
|
81
|
+
- **(css/prefixer)** Reduce duplicates (#5537) ([0985c15](https://github.com/swc-project/swc/commit/0985c1546b38a4072099e45af354c4534e0e23cb))
|
|
82
|
+
|
|
83
|
+
|
|
31
84
|
- **(es/fixer)** Wrap first `function` or `class` of a sequence expression (#5508) ([f27ed73](https://github.com/swc-project/swc/commit/f27ed73594110b27b3937a7f5211503f0f72f3f9))
|
|
32
85
|
|
|
33
86
|
|
|
@@ -49,6 +102,12 @@
|
|
|
49
102
|
- **(css/prefixer)** Support more env properties and values (#5512) ([674c788](https://github.com/swc-project/swc/commit/674c788654714512000c64abf1a088e0f9f2820b))
|
|
50
103
|
|
|
51
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
|
+
|
|
52
111
|
- **(es/plugin/runner)** Add more traces for the plugin host (#5538) ([d46418b](https://github.com/swc-project/swc/commit/d46418bb470761db48cd1a3e50578d4e1e82e577))
|
|
53
112
|
|
|
54
113
|
|
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",
|