@swc/core 1.2.245 → 1.2.248
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 +165 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,171 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/parser)** Fix detection of wrong delete targets (#5754) ([9fc6eda](https://github.com/swc-project/swc/commit/9fc6eda89a3f9e613468276eea50f90917fa0f91))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(swc_core)** Update deps (#5746) ([83dbe6c](https://github.com/swc-project/swc/commit/83dbe6cdc3252af50954938582379268a375e6b6))
|
|
12
|
+
|
|
13
|
+
### Miscellaneous Tasks
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/minifier)** Fix example (#5739) ([4e98980](https://github.com/swc-project/swc/commit/4e989807d71aa9a6c019c6a5a01acbbee9ec6020))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(swc_core)** Update deps (#5748) ([1202762](https://github.com/swc-project/swc/commit/1202762f30db43c972c1367f85e30e69baaf0c59))
|
|
21
|
+
|
|
22
|
+
### Performance
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(bindings)** Enable LTO (#5740) ([49e0c71](https://github.com/swc-project/swc/commit/49e0c71cba9291ea313deffc891d9db8c9216627))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/minifier)** Make passes more parallel (#5741) ([2baa640](https://github.com/swc-project/swc/commit/2baa640e98bd8bac2995157c42ff6489b73d85cf))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/minifier)** Pre-allocate in analyzer (#5743) ([96b2e17](https://github.com/swc-project/swc/commit/96b2e17a8fdb5e500eb1e6a10ffa16d4d0c98957))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/minifier)** Use efficient logic for entry tracking in DCE (#5749) ([08b2aea](https://github.com/swc-project/swc/commit/08b2aea2b0d1d0bec707394d9f5cf6d2713431a9))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/minifier)** Cache the list of bindings for DCE (#5750) ([8789184](https://github.com/swc-project/swc/commit/8789184d447eb09e1b0dddc6156ac150d4cbf0d7))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/minifier)** Improve codegen of name mangler (#5751) ([6e2002a](https://github.com/swc-project/swc/commit/6e2002a148f6d0660b17c4e617049972ee0fb3bf))
|
|
42
|
+
|
|
43
|
+
### Refactor
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es/utils)** Move utilities for parallel processing (#5742) ([64f42be](https://github.com/swc-project/swc/commit/64f42bec27c4c7cf60cb6d6043fec93e479fb9b8))
|
|
48
|
+
|
|
49
|
+
## [1.2.247] - 2022-09-04
|
|
50
|
+
|
|
51
|
+
### Bug Fixes
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- **(bundler)** Handle star export with top-level `await` (#5707) ([2b7cba8](https://github.com/swc-project/swc/commit/2b7cba8a97b971a00f4e851365462ba6d87e5ee0))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
- **(es/lexer)** Drop `ClassExpr` context in object properties (#5729) ([a3a7277](https://github.com/swc-project/swc/commit/a3a72779096b4f0afbbe94320e53feb48e7fe45d))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- **(es/parser)** Improve error message (#5719) ([383aa85](https://github.com/swc-project/swc/commit/383aa8510c629d909f9ef50f190915660b273706))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- **(swc_core)** Fix reexport of ES transforms (#5716) ([9bef836](https://github.com/swc-project/swc/commit/9bef83681ff790b81effae61c45399608b1507cf))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- **(swc_core)** Bump `swc_ecma_quote_macros` (#5723) ([9c43713](https://github.com/swc-project/swc/commit/9c43713109a070e23bb8ed655f149b49de6cf321))
|
|
68
|
+
|
|
69
|
+
### Features
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- **(atoms)** Introduce bytecheck-ed rkyv version (#5686) ([d6e67b5](https://github.com/swc-project/swc/commit/d6e67b5944131e429d341f565c52fc3237a81bb7))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
- **(es/minifier)** Relax function inline requirement (#5607) ([4ef99f3](https://github.com/swc-project/swc/commit/4ef99f346b9e7e4dfd1f42e7308c6b6e1142e311))
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
- **(es/minifier)** Make DCE single-pass (#5699) ([8827c38](https://github.com/swc-project/swc/commit/8827c38faf527e3f0485d2537dc1515df12f889c))
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
- **(es/minifier)** Support cycles in DCE (#5715) ([5e151c8](https://github.com/swc-project/swc/commit/5e151c8a8e48eae6cd93d5166fcaa87b84f4a341))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- **(es/minifier)** Relax requirement for IIFE invokation (#5721) ([5b2d024](https://github.com/swc-project/swc/commit/5b2d024788008436c7500ef243641db87e2c11f8))
|
|
86
|
+
|
|
87
|
+
### Performance
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
- **(es/minifier)** Use faster hash algorithm for DCE (#5725) ([25c96b4](https://github.com/swc-project/swc/commit/25c96b4b7aa9a75892b1ae49a65e836229465195))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
- **(es/minifier)** Optimize precompress optimizer (#5727) ([31c516a](https://github.com/swc-project/swc/commit/31c516a9228ebe304cd461f7e139f13a8519b43c))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
- **(es/minifier)** Skip useless analysis if not required (#5733) ([8963db0](https://github.com/swc-project/swc/commit/8963db0a1d46184a7e0f8ea0663cbe8a2972418a))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
- **(es/minifier)** Make rename operator parallel (#5732) ([5936bd2](https://github.com/swc-project/swc/commit/5936bd2b5e6034de09ebcf13543861f8cd53a581))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
- **(es/minifier)** Make dead branch remover parallel (#5734) ([6ba6da6](https://github.com/swc-project/swc/commit/6ba6da62d72edf69d699e2c031aa38c630e00e39))
|
|
104
|
+
|
|
105
|
+
### Refactor
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
- **(swc_core)** Use namespace `ecma` (#5713) ([975cbfe](https://github.com/swc-project/swc/commit/975cbfe0d9d1399c543df5041a6775514a3c43ee))
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
- **(swc_core)** Directly export `swc_ecma_transforms_base` (#5731) ([aad50dc](https://github.com/swc-project/swc/commit/aad50dcc6e890fdd26a7b3208ebc81e4d4fe2975))
|
|
113
|
+
|
|
114
|
+
## [1.2.246] - 2022-09-01
|
|
115
|
+
|
|
116
|
+
### Bug Fixes
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
- **(es/compat)** Handle `yield` in block scoping pass (#5668) ([4820f0c](https://github.com/swc-project/swc/commit/4820f0cbcc2a732a94e87cbfecfb74524ae13ee4))
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
- **(es/compat)** Don't move variables from object-rest pass (#5673) ([edef5f8](https://github.com/swc-project/swc/commit/edef5f868be972341c011b7ec4479ee2e0726a20))
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
- **(es/minifier)** Don't inline variables declared multiple times (#5667) ([fd39bb6](https://github.com/swc-project/swc/commit/fd39bb6bff45d3200ad1934d4b2b470a7c8ec21c))
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
- **(es/typescript)** Mark a namespace as concrete only if it is (#5670) ([4babf4a](https://github.com/swc-project/swc/commit/4babf4a2c0467926410bdcb45860a53f3ec59128))
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
- **(swc_core)** Bump versions (#5706) ([7686fae](https://github.com/swc-project/swc/commit/7686faece583b06750453b5ed5027344ee9f48d0))
|
|
133
|
+
|
|
134
|
+
### Features
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
- **(bindings)** Reduce size (#5708) ([b7da692](https://github.com/swc-project/swc/commit/b7da69258016bb2ecbeec0db7a94b1a84d0cb2f0))
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
- **(dbg-swc)** Improve minifier comparator (#5681) ([6febfe9](https://github.com/swc-project/swc/commit/6febfe900c53010f6f0fcac87385d8e6786b369e))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
- **(es/decorators)** Support `bigint` (#5671) ([b1f1a86](https://github.com/swc-project/swc/commit/b1f1a86a9df32e4bc0d9210d0a90ada8a0121cca))
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
- **(es/minifier)** Exclude `JSON` from alias list (#5698) ([fc28242](https://github.com/swc-project/swc/commit/fc28242b99b350daf9ef12281b7fef3836e5a6e0))
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
- **(es/minifier)** Ignore closure in initializer from sequential inliner (#5702) ([217f519](https://github.com/swc-project/swc/commit/217f5199404ee36d5d8f1496445e2842bb717f50))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
- **(es/minifier)** Remove useless ES version check (#5703) ([5e2b6d5](https://github.com/swc-project/swc/commit/5e2b6d5551944c70566392fa777551b81f1a8b83))
|
|
154
|
+
|
|
155
|
+
### Performance
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
- **(es/minifier)** Enable parallel processing (#5705) ([1085667](https://github.com/swc-project/swc/commit/1085667049b49b05f0c16eb93dfdf980afb75b86))
|
|
160
|
+
|
|
161
|
+
### Testing
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
- **(es/compat)** Add a test for a fixed issue (#5672) ([1ae539a](https://github.com/swc-project/swc/commit/1ae539aac52cd25dec8be35799e9a56bb513a660))
|
|
166
|
+
|
|
167
|
+
## [1.2.245] - 2022-08-30
|
|
168
|
+
|
|
169
|
+
### Bug Fixes
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
|
|
8
173
|
- **(css/minifier)** Don't compress `none` for keyframes (#5663) ([4a5e347](https://github.com/swc-project/swc/commit/4a5e347a8a7949aa35cf73a0a94cbb7350380fa1))
|
|
9
174
|
|
|
10
175
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.248",
|
|
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.248",
|
|
142
|
+
"@swc/core-darwin-x64": "1.2.248",
|
|
143
|
+
"@swc/core-linux-x64-gnu": "1.2.248",
|
|
144
|
+
"@swc/core-linux-x64-musl": "1.2.248",
|
|
145
|
+
"@swc/core-freebsd-x64": "1.2.248",
|
|
146
|
+
"@swc/core-win32-ia32-msvc": "1.2.248",
|
|
147
|
+
"@swc/core-linux-arm64-gnu": "1.2.248",
|
|
148
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.248",
|
|
149
|
+
"@swc/core-darwin-arm64": "1.2.248",
|
|
150
|
+
"@swc/core-android-arm64": "1.2.248",
|
|
151
|
+
"@swc/core-linux-arm64-musl": "1.2.248",
|
|
152
|
+
"@swc/core-win32-arm64-msvc": "1.2.248",
|
|
153
|
+
"@swc/core-android-arm-eabi": "1.2.248"
|
|
154
154
|
},
|
|
155
155
|
"files": [
|
|
156
156
|
"CHANGELOG.md",
|