@swc/core 1.2.133 → 1.2.138
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/.kodiak.toml +14 -0
- package/CHANGELOG.md +371 -0
- package/package.json +15 -14
package/.kodiak.toml
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# .kodiak.toml
|
|
2
|
+
version = 1
|
|
3
|
+
|
|
4
|
+
# We can't use automerge because of version bumping.
|
|
5
|
+
# But to make merging faster, we auto-update PRs.
|
|
6
|
+
[merge]
|
|
7
|
+
do_not_merge = true
|
|
8
|
+
|
|
9
|
+
[update]
|
|
10
|
+
autoupdate_label = "S-approved"
|
|
11
|
+
|
|
12
|
+
# I want to use auto-merge feature of github
|
|
13
|
+
[approve]
|
|
14
|
+
auto_approve_usernames = ["kdy1"]
|
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,374 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/minifier)** Make `sequences` less aggressive (#3480) ([292add7](https://github.com/swc-project/swc/commit/292add7d26a079a1da09ff94444124faea8e39fc))
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(css)** Add support for `@property` at-rule (#3470) ([fd5668c](https://github.com/swc-project/swc/commit/fd5668c32fa002698e387df6bc6a927c0d562e06))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(css/ast)** Add types for `@counter-style` at-rule (#3469) ([e6f4fbf](https://github.com/swc-project/swc/commit/e6f4fbf056767344776afbb6bd3b2f5dfe83dcf3))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(css/ast)** Add types for all dimensions (#3477) ([dc939c6](https://github.com/swc-project/swc/commit/dc939c65afa3b3b09101128f5801f532170bdea2))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/parser)** Disallow assignment to optional chaining expressions (#3483) ([26565b1](https://github.com/swc-project/swc/commit/26565b1ae9c0ab93b425c97fc40aaf49576e4b90))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(plugin)** Support global `HANDLER` in the plugin context (#3478) ([d473a65](https://github.com/swc-project/swc/commit/d473a6597653e59fc485ffb9cb116d23b4b55e70))
|
|
27
|
+
|
|
28
|
+
### Miscellaneous Tasks
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es)** Fix clippy warnings (#3482) ([8bf5cf4](https://github.com/swc-project/swc/commit/8bf5cf4d030ec5ab615924b938c8c027c600e3e1))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(repo)** Configure kodiak (#3485) ([cf8aa05](https://github.com/swc-project/swc/commit/cf8aa05d9ce5b60936c53c42d70ca934a09c373e))
|
|
36
|
+
|
|
37
|
+
## [1.2.137] - 2022-02-07
|
|
38
|
+
|
|
39
|
+
### Bug Fixes
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
- **(css)** Fix parsing of `@page` at-rule (#3356) ([4853821](https://github.com/swc-project/swc/commit/4853821d004f366c89c1b9122786e26ff923df05))
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
- **(css/ast)** Fix type definitions for `@document` at-rule (#3468) ([df08e4c](https://github.com/swc-project/swc/commit/df08e4cfd7ed76fcfd00cc8245b13cc328513938))
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
- **(css/parser)** Report errors of at-rules (#3461) ([e732250](https://github.com/swc-project/swc/commit/e732250cdf74c47faf5321b650a9cea6bd1ab4d4))
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
- **(es/compat)** Handle private fields in nested classes (#3431) ([01500a5](https://github.com/swc-project/swc/commit/01500a54e04b88d08edff09f218166c862763657))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
- **(es/compat)** Handle initializer hole in array patterns (#3442) ([3bb2a6c](https://github.com/swc-project/swc/commit/3bb2a6ccca4e78412f80aea4fe6c22d04d345a00))
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
- **(es/compat)** Fix legacy decorator pass (#3459) ([4f5e87b](https://github.com/swc-project/swc/commit/4f5e87b66b42a5672e00edcfa22234f1cde79580))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
- **(es/fixer)** Handle more expressions in the super class position (#3452) ([032f397](https://github.com/swc-project/swc/commit/032f397b52415378ede985be35713a3482093958))
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
- **(es/minifier)** Fix `codemirror` (#3462) ([5812c3c](https://github.com/swc-project/swc/commit/5812c3c10fc224fbb33a17302491c5f7c2bd0a0b))
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
- **(es/minifier)** Fix `mapbox` (#3463) ([0371c41](https://github.com/swc-project/swc/commit/0371c41b7cb9d505705a956b84b8e4dbe626a17c))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
- **(es/modules)** Allow using a dynamic import with an expression from another import (#3450) ([745604b](https://github.com/swc-project/swc/commit/745604b26d9151732d2572307dbeb22b2d10ca66))
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
- **(es/parser)** Fix parsing of decorators (#3449) ([5a806c5](https://github.com/swc-project/swc/commit/5a806c5b817c63b7c4f7730b538831b1cea62711))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
- **(es/resolver)** Fix handling of for statements (#3446) ([2af5096](https://github.com/swc-project/swc/commit/2af5096e83229df1e5ccfe62659360c0392ef0ba))
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
- **(css/ast)** Improve types related to `url` tokens (#3444) ([49564d9](https://github.com/swc-project/swc/commit/49564d9b5d627b38b2faa63b55076cb55ba8d1a7))
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- **(css/codegen)** Implement minification of hex colors (#3453) ([eeedd71](https://github.com/swc-project/swc/commit/eeedd71705dc9b94363ec4e002ec647a3addba2d))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
- **(css/codegen)** Implement minification of identifiers (#3466) ([81850c2](https://github.com/swc-project/swc/commit/81850c2b30693061428569c9a6ebd4a3f07d7683))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
- **(css/codegen)** Improve minification for page rules (#3467) ([0ca036a](https://github.com/swc-project/swc/commit/0ca036a962042727e362b91748aa10547c87fc63))
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
- **(css/lexer)** Implement error recovery for functions (#3445) ([f1410fc](https://github.com/swc-project/swc/commit/f1410fc09b4838fa8113c9b2041f58d7d752c519))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
- **(es/lints)** Implement `prefer-regex-literals` (#3399) ([8166275](https://github.com/swc-project/swc/commit/81662751666b5d49458ab8dad15f3c73e89ef2f6))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
- **(es/lints)** Implement linter for quotes of string literals (#3443) ([5d6143a](https://github.com/swc-project/swc/commit/5d6143a53c03d0caefc76ea54d6975126984d84d))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
- **(es/parser)** Add an option to allow `super` outside of class methods (#3427) ([cc185f0](https://github.com/swc-project/swc/commit/cc185f01cb249634d144830db702a281674f48da))
|
|
104
|
+
|
|
105
|
+
### Miscellaneous Tasks
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
- **(es/lints)** Fix CI ([b06a5ab](https://github.com/swc-project/swc/commit/b06a5abe5868c3652fe89927acd3a56ea437b113))
|
|
110
|
+
|
|
111
|
+
### Refactor
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
- **(css/ast)** Refactor types related to `@keyframes` at-rule (#3441) ([5c1b021](https://github.com/swc-project/swc/commit/5c1b02182df9ee2f59b8b83f58b5d0b1ae04af35))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
- **(css/ast)** Change AST for `!important` (#3440) ([38879de](https://github.com/swc-project/swc/commit/38879de8deec6a45882252104fdcbb33cc3116a9))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
- **(css/ast)** Refactor types related to selectors (#3460) ([cd87d96](https://github.com/swc-project/swc/commit/cd87d965f35155748ec0e3b22deae3d8a5ebdb5b))
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
- **(css/ast)** Remove unused types (#3465) ([69660fd](https://github.com/swc-project/swc/commit/69660fd161e0cce5eca7b7f5d436d4bb67dea64f))
|
|
125
|
+
|
|
126
|
+
### Testing
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
- **(css/parser)** Add more tests for the selector parser (#3455) ([479b509](https://github.com/swc-project/swc/commit/479b50984513296439af2814f990eb88486b82d5))
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
- **(es)** Update tsc test suite (#3448) ([8b7c38c](https://github.com/swc-project/swc/commit/8b7c38c80ceeb8fc41ad4c60eb427dab9c06ba6e))
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
- **(es/parser)** Fix crlf (#3451) ([397a96a](https://github.com/swc-project/swc/commit/397a96a1cf4a0d540db6e766890ed874f7818a65))
|
|
137
|
+
|
|
138
|
+
## [1.2.136] - 2022-02-03
|
|
139
|
+
|
|
140
|
+
### Bug Fixes
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
- **(css)** Allow empty `@media` at-rule (#3404) ([75a14f9](https://github.com/swc-project/swc/commit/75a14f98b7370226115ee24eec6eb8c802bd4837))
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
- **(css/parser)** Fix parser logic related to case insensivity (#3382) ([3ded88b](https://github.com/swc-project/swc/commit/3ded88bffca4abd0bb77a52b0dfb32d8c8520581))
|
|
148
|
+
|
|
149
|
+
|
|
150
|
+
- **(css/parser)** Fix bugs related to `url` (#3403) ([3c8d985](https://github.com/swc-project/swc/commit/3c8d985a07baf5a52f40221fcc73344b3ca48d15))
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
- **(es/codegen)** Fix bugs (#3436) ([ea8dfd8](https://github.com/swc-project/swc/commit/ea8dfd872ced8e264ad3d6da7f07c0043dacfb27))
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
- **(es/compat)** Add the missing span in `optional_chaining` (#3384) ([9eb7773](https://github.com/swc-project/swc/commit/9eb77738fd1049022693f52843483623553856dd))
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
- **(es/minifier)** Fix evaluator (#3391) ([38c2499](https://github.com/swc-project/swc/commit/38c2499358e2dc4df5b6acee25da54fe411f6e8a))
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
- **(es/modules)** Allow using dynamic import with a name from another import (#3390) ([1dcc188](https://github.com/swc-project/swc/commit/1dcc188dd8230954e2801f7c6e3034b0c0215bc4))
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
- **(es/modules)** Fix span of imports (#3418) ([2c99ca1](https://github.com/swc-project/swc/commit/2c99ca1bab353668f5c475ab6cb223186701927a))
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
- **(swc)** Run `resolver` before everything (#3400) ([cebc5dc](https://github.com/swc-project/swc/commit/cebc5dc148fa4c03a536a841a106955de18b010b))
|
|
169
|
+
|
|
170
|
+
### Features
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
- **(css)** Improve codegen where `minify: true` (#3414) ([30c29a3](https://github.com/swc-project/swc/commit/30c29a30cfbcc9f41adb83a8fe7d277084dd8053))
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
- **(css/ast)** Add `/` to the delimiters (#3402) ([2dc31d9](https://github.com/swc-project/swc/commit/2dc31d9d142a4e76529507596bc476590b4a26e9))
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
- **(css/codegen)** Implement `minify: true` (#3369) ([0537ef1](https://github.com/swc-project/swc/commit/0537ef1a1170da5c693a36cd20fd2b089a8a3618))
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
- **(css/codegen)** Improve minification of numbers (#3423) ([340844a](https://github.com/swc-project/swc/commit/340844ae6eb2617d8bec07e7c27ade9f320184b8))
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
- **(css/parser)** Improve selector parser (#3386) ([c73835b](https://github.com/swc-project/swc/commit/c73835bfebe56518e107a3666fe95ca649d33a24))
|
|
187
|
+
|
|
188
|
+
|
|
189
|
+
- **(css/parser)** Improve parsing of math functions (#3415) ([1b1cae0](https://github.com/swc-project/swc/commit/1b1cae037279be2e1f66788f0cb1539b7b8d6721))
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
- **(es/codegen)** Improve compression of numbers (#3425) ([e8b64a9](https://github.com/swc-project/swc/commit/e8b64a9871ccfda5f5fb1f03662650f3500e6634))
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
- **(es/lints)** Implement `no-debugger` rule (#3398) ([9dec923](https://github.com/swc-project/swc/commit/9dec9236f7b3c95c803571404d7abae71e173936))
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
- **(es/lints)** Add `no-alert` and a feature gate (#3394) ([5cbe4fe](https://github.com/swc-project/swc/commit/5cbe4fe512c67dd6017e0142b12465e20a2153a5))
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
- **(es/minifier)** Implement `drop_console` (#3392) ([91d7800](https://github.com/swc-project/swc/commit/91d78000ea445575f9ac30d0f36299ab4f0cbf5c))
|
|
202
|
+
|
|
203
|
+
### Miscellaneous Tasks
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
- **(repo)** Add `clippy` to git push hook (#3383) ([78e83a3](https://github.com/swc-project/swc/commit/78e83a386b62abaf9b38b58b5dd942de2333e3a6))
|
|
208
|
+
|
|
209
|
+
### Performance
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
- **(node-swc)** Speed up `parse` and `parseFile` (#3380) ([0359deb](https://github.com/swc-project/swc/commit/0359deb4841be743d73db4536d4a22ac797d7f65))
|
|
214
|
+
|
|
215
|
+
### Refactor
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
|
|
219
|
+
- **(css/ast)** Refactor delimited values (#3397) ([b31619d](https://github.com/swc-project/swc/commit/b31619d48e2caa29ae581331eaf2ed4c4bb93683))
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
- **(css/ast)** Use `Dimension` instead of `UnitValue` (#3401) ([1904944](https://github.com/swc-project/swc/commit/1904944bf7767183a667a533a9f2089447f06c48))
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
- **(css/ast)** Use `Color` instead of `HashValue` (#3411) ([6b921ca](https://github.com/swc-project/swc/commit/6b921cac02e801318529ad5511104ddb4ac6a6c6))
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
- **(css/ast)** Rename `property` to `name` (#3410) ([eeedd9a](https://github.com/swc-project/swc/commit/eeedd9adf573b75435ecf7c87a71f9d8c5b64b20))
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
- **(es/minifier)** Remove unused crates (#3395) ([74b4330](https://github.com/swc-project/swc/commit/74b433080bf79026fbcb905d7f0fba435822df68))
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
- **(es/parser)** Flatten tests to make `git` faster (#3393) ([839d0ac](https://github.com/swc-project/swc/commit/839d0ac480f0a702ac40bf14ba84d192cde47ec6))
|
|
235
|
+
|
|
236
|
+
### Testing
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
- **(css/codegen)** Add more tests (#3405) ([64383e3](https://github.com/swc-project/swc/commit/64383e385cc6a5b735273218f31a4430a772c941))
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
- **(css/codegen)** Verify AST is not broken after minification (#3430) ([73efd72](https://github.com/swc-project/swc/commit/73efd72cbe03f3f386dadf3c969763f15bb9b41d))
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
- **(swc)** Add tests (#3435) ([9e4cea0](https://github.com/swc-project/swc/commit/9e4cea017c2230e3d8db8dc48c3196116e90198a))
|
|
247
|
+
|
|
248
|
+
## [1.2.135] - 2022-01-27
|
|
249
|
+
|
|
250
|
+
### Bug Fixes
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
- **(css)** Fix the type definition of `@support` at-rules (#3330) ([34943ff](https://github.com/swc-project/swc/commit/34943ffa15ddecb56ee0889a598dfd3d0aa4025c))
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
- **(css)** Fix `@keyframes` at-rule (#3331) ([f89ffa6](https://github.com/swc-project/swc/commit/f89ffa67aea6c99ec61a961754001e7fa85b86b5))
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
- **(css)** Fix `@supports` at-rule (#3329) ([9f38060](https://github.com/swc-project/swc/commit/9f3806029c4aa47944f38e1b1c4c8feac4ace4c1))
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
- **(css/parser)** Fix parsing of at rules (#3328) ([506a310](https://github.com/swc-project/swc/commit/506a31078aaebf50129658f096bbd5929995205f))
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
- **(es/block-scoping)** Pop scope correctly on early returns (#3360) ([b1a8db6](https://github.com/swc-project/swc/commit/b1a8db61943d022bcbed583eb3562510d1ed727c))
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
- **(es/compat)** Fix regression of `destructuring` (#3326) ([6d1ad36](https://github.com/swc-project/swc/commit/6d1ad368aca53ee64a63ae565cd015909f2f4458))
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
- **(es/compat)** Handle nested functions in `private_field` (#3355) ([29aaac1](https://github.com/swc-project/swc/commit/29aaac1f15f747ea3f938bcab1d536168e9d36a6))
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
- **(es/loader)** Add an option to resolve symlinks with `true` as a default (#3340) ([afdb168](https://github.com/swc-project/swc/commit/afdb168aad9096e4653580a52cc7736915cd2b69))
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
- **(es/minifier)** Consider capturing while inlining (#3322) ([4f23d65](https://github.com/swc-project/swc/commit/4f23d651d1a8855f9383c5306d5e417c273c5c22))
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
- **(es/minifier)** Don't inline a var if the initializer is reassigned (#3333) ([d52a1f3](https://github.com/swc-project/swc/commit/d52a1f3899d7d782917ea1c8701e951fcd6c214f))
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
- **(es/minifier)** Respect block scoping while negating if statements (#3344) ([6921ffb](https://github.com/swc-project/swc/commit/6921ffbbda110384524114dc2d3230b8432e34cc))
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
- **(es/minifier)** Prepend/append correctly (#3367) ([703972d](https://github.com/swc-project/swc/commit/703972dc296fbdfc319d48d43ef3841ebfa56eb3))
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
- **(es/minifier)** Improve minifier (#3350) ([68e9017](https://github.com/swc-project/swc/commit/68e90173762feb2aa6744ca46f5d1185a89da271))
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
- **(es/module)** Remove `.jsx` file extension (#3334) ([b2bf38d](https://github.com/swc-project/swc/commit/b2bf38d025064a42c398ab321fc2e69401a3f74b))
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
- **(es/typescript)** Handle typescript enums with string values (#3339) ([da709fe](https://github.com/swc-project/swc/commit/da709fe3d351f76b51b526cfd0718d8e6cb8f2a0))
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
- **(swc)** Respect `jsc.experimental.keepImportAssertions` (#3352) ([d9dc2b9](https://github.com/swc-project/swc/commit/d9dc2b99dde69792db4f5a31ffc983f8b04c0bef))
|
|
300
|
+
|
|
301
|
+
### Documentation
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
- **(contributing)** Fix formatting (#3376) ([90cf073](https://github.com/swc-project/swc/commit/90cf073ab91d44718235d8e0bc38953f7a4c1970))
|
|
306
|
+
|
|
307
|
+
### Features
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
- **(css/ast)** Add `Ratio`, which is defined by spec (#3335) ([c7e5fae](https://github.com/swc-project/swc/commit/c7e5faea5c49333a3141111f92e3b36e29f6202c))
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
- **(css/ast)** Add types for dashed identifiers and `@color-profile` at-rules (#3364) ([dfa0286](https://github.com/swc-project/swc/commit/dfa0286aca8aeca49820ebb6a3b0e4461d30fe29))
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
- **(css/parser)** Improve parsing of urls (#3362) ([50521d8](https://github.com/swc-project/swc/commit/50521d8ffa3425ad26eb4630698f06b69c41ef2b))
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
- **(es/bugfix)** Add `bugfix-safari-id-destructuring-collision-in-function-expression` (#3109) ([d1c90a4](https://github.com/swc-project/swc/commit/d1c90a4e5f2ddfc71c6143ef07e16af352da25fa))
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
- **(es/codegen)** Emit comments of `Module` and `Script` (#3358) ([fcb7288](https://github.com/swc-project/swc/commit/fcb7288eb66e027fa7278b8f028e4486059241cd))
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
- **(es/lints)** Implement "no-console" rule (#3269) ([9872137](https://github.com/swc-project/swc/commit/987213797f71f9b5e0a0ac19edfbd18fe96a7ce5))
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
- **(es/minifier)** Handle array literals in `sequences` (#3348) ([8007b2d](https://github.com/swc-project/swc/commit/8007b2dc9338e34a1e9780606fd35181890af990))
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
- **(es/preset-env)** Upgrade `browserslist-rs` (#3375) ([d3d754b](https://github.com/swc-project/swc/commit/d3d754bd174bfbd0f6fc25276c40e46e3a3da01f))
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
- **(plugin)** Pass host context to plugins for diagnostics emission (#3359) ([a8debc1](https://github.com/swc-project/swc/commit/a8debc17f6082c033d3734a8e2c0cccc598c1d08))
|
|
336
|
+
|
|
337
|
+
### Miscellaneous Tasks
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
- **(ci)** Update `thread_local` (#3357) ([a635e9f](https://github.com/swc-project/swc/commit/a635e9f35bb2a718abad56286d7b6fcecdfe4e58))
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
- **(ci)** Fix FreeBSD build (#3379) ([464c15b](https://github.com/swc-project/swc/commit/464c15b7757aedd50c80d955d7f2c78133a7f994))
|
|
345
|
+
|
|
346
|
+
### Performance
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
- **(node)** Avoid cloning options (#3325) ([8a76935](https://github.com/swc-project/swc/commit/8a76935ca261579f23519d1e2c3b7849ba75a6e0))
|
|
351
|
+
|
|
352
|
+
### Refactor
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
- **(css/ast)** Merge several kinds of blocks into a single type (#3336) ([c664eaf](https://github.com/swc-project/swc/commit/c664eafdefe2b8a65d3d745e4538063a33f93346))
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
- **(css/ast)** Fix type definitions related to `@import` at-rule (#3351) ([7787f90](https://github.com/swc-project/swc/commit/7787f90da02d198b26bc2236229446a19628c794))
|
|
360
|
+
|
|
361
|
+
|
|
362
|
+
- **(css/ast)** Rename `PercentValue` to `Percent` (#3363) ([6fc7562](https://github.com/swc-project/swc/commit/6fc7562686b0915c7a1280620ffe183de66e113f))
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
- **(es/minifier)** Merge execution tests into a file to make `git` faster (#3377) ([7ef3bfa](https://github.com/swc-project/swc/commit/7ef3bfa5b617bffeeb91240dbc2d842dcd48826c))
|
|
366
|
+
|
|
367
|
+
|
|
368
|
+
- **(plugin)** Remove multivalue polyfill (#3346) ([4386498](https://github.com/swc-project/swc/commit/438649818fb7e7b1ef6cddf5ba244f80cf7e69a9))
|
|
369
|
+
|
|
370
|
+
## [1.2.133] - 2022-01-20
|
|
371
|
+
|
|
372
|
+
### Bug Fixes
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
8
376
|
- **(css)** Fix parsing of media queries (#3318) ([0723ee2](https://github.com/swc-project/swc/commit/0723ee282861a1e648490989c122d5f4e683dc35))
|
|
9
377
|
|
|
10
378
|
|
|
@@ -28,6 +396,9 @@
|
|
|
28
396
|
|
|
29
397
|
- **(node-swc)** Fix GLIBC < 2.18 compatible issues and android arm binary loading issue (#3314) ([9608605](https://github.com/swc-project/swc/commit/9608605772351a2406870e19ed8738adf2147374))
|
|
30
398
|
|
|
399
|
+
|
|
400
|
+
- **(node-swc)** Fix Windows arm64 build OOM (#3324) ([c069c78](https://github.com/swc-project/swc/commit/c069c78b21b9b4bf150d22e8ff333053f2039e3b))
|
|
401
|
+
|
|
31
402
|
## [1.2.131] - 2022-01-19
|
|
32
403
|
|
|
33
404
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.138",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -49,19 +49,19 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {},
|
|
51
51
|
"optionalDependencies": {
|
|
52
|
-
"@swc/core-win32-x64-msvc": "1.2.
|
|
53
|
-
"@swc/core-darwin-x64": "1.2.
|
|
54
|
-
"@swc/core-linux-x64-gnu": "1.2.
|
|
55
|
-
"@swc/core-linux-x64-musl": "1.2.
|
|
56
|
-
"@swc/core-freebsd-x64": "1.2.
|
|
57
|
-
"@swc/core-win32-ia32-msvc": "1.2.
|
|
58
|
-
"@swc/core-linux-arm64-gnu": "1.2.
|
|
59
|
-
"@swc/core-linux-arm-gnueabihf": "1.2.
|
|
60
|
-
"@swc/core-darwin-arm64": "1.2.
|
|
61
|
-
"@swc/core-android-arm64": "1.2.
|
|
62
|
-
"@swc/core-linux-arm64-musl": "1.2.
|
|
63
|
-
"@swc/core-win32-arm64-msvc": "1.2.
|
|
64
|
-
"@swc/core-android-arm-eabi": "1.2.
|
|
52
|
+
"@swc/core-win32-x64-msvc": "1.2.138",
|
|
53
|
+
"@swc/core-darwin-x64": "1.2.138",
|
|
54
|
+
"@swc/core-linux-x64-gnu": "1.2.138",
|
|
55
|
+
"@swc/core-linux-x64-musl": "1.2.138",
|
|
56
|
+
"@swc/core-freebsd-x64": "1.2.138",
|
|
57
|
+
"@swc/core-win32-ia32-msvc": "1.2.138",
|
|
58
|
+
"@swc/core-linux-arm64-gnu": "1.2.138",
|
|
59
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.138",
|
|
60
|
+
"@swc/core-darwin-arm64": "1.2.138",
|
|
61
|
+
"@swc/core-android-arm64": "1.2.138",
|
|
62
|
+
"@swc/core-linux-arm64-musl": "1.2.138",
|
|
63
|
+
"@swc/core-win32-arm64-msvc": "1.2.138",
|
|
64
|
+
"@swc/core-android-arm-eabi": "1.2.138"
|
|
65
65
|
},
|
|
66
66
|
"types": "./index.d.ts",
|
|
67
67
|
"scripts": {
|
|
@@ -112,6 +112,7 @@
|
|
|
112
112
|
"source-map-support": "^0.5.19",
|
|
113
113
|
"sourcemap-validator": "^2.1.0",
|
|
114
114
|
"terser": "^5.7.1",
|
|
115
|
+
"ts-node": "^10.5.0",
|
|
115
116
|
"typescript": "^4.5.2"
|
|
116
117
|
},
|
|
117
118
|
"funding": {
|