@swc/core 1.2.135 → 1.2.136
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 +116 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,116 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(css)** Allow empty `@media` at-rule (#3404) ([75a14f9](https://github.com/swc-project/swc/commit/75a14f98b7370226115ee24eec6eb8c802bd4837))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(css/parser)** Fix parser logic related to case insensivity (#3382) ([3ded88b](https://github.com/swc-project/swc/commit/3ded88bffca4abd0bb77a52b0dfb32d8c8520581))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(css/parser)** Fix bugs related to `url` (#3403) ([3c8d985](https://github.com/swc-project/swc/commit/3c8d985a07baf5a52f40221fcc73344b3ca48d15))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/codegen)** Fix bugs (#3436) ([ea8dfd8](https://github.com/swc-project/swc/commit/ea8dfd872ced8e264ad3d6da7f07c0043dacfb27))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/compat)** Add the missing span in `optional_chaining` (#3384) ([9eb7773](https://github.com/swc-project/swc/commit/9eb77738fd1049022693f52843483623553856dd))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Fix evaluator (#3391) ([38c2499](https://github.com/swc-project/swc/commit/38c2499358e2dc4df5b6acee25da54fe411f6e8a))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/modules)** Allow using dynamic import with a name from another import (#3390) ([1dcc188](https://github.com/swc-project/swc/commit/1dcc188dd8230954e2801f7c6e3034b0c0215bc4))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/modules)** Fix span of imports (#3418) ([2c99ca1](https://github.com/swc-project/swc/commit/2c99ca1bab353668f5c475ab6cb223186701927a))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(swc)** Run `resolver` before everything (#3400) ([cebc5dc](https://github.com/swc-project/swc/commit/cebc5dc148fa4c03a536a841a106955de18b010b))
|
|
33
|
+
|
|
34
|
+
### Features
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(css)** Improve codegen where `minify: true` (#3414) ([30c29a3](https://github.com/swc-project/swc/commit/30c29a30cfbcc9f41adb83a8fe7d277084dd8053))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(css/ast)** Add `/` to the delimiters (#3402) ([2dc31d9](https://github.com/swc-project/swc/commit/2dc31d9d142a4e76529507596bc476590b4a26e9))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(css/codegen)** Implement `minify: true` (#3369) ([0537ef1](https://github.com/swc-project/swc/commit/0537ef1a1170da5c693a36cd20fd2b089a8a3618))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(css/codegen)** Improve minification of numbers (#3423) ([340844a](https://github.com/swc-project/swc/commit/340844ae6eb2617d8bec07e7c27ade9f320184b8))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(css/parser)** Improve selector parser (#3386) ([c73835b](https://github.com/swc-project/swc/commit/c73835bfebe56518e107a3666fe95ca649d33a24))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(css/parser)** Improve parsing of math functions (#3415) ([1b1cae0](https://github.com/swc-project/swc/commit/1b1cae037279be2e1f66788f0cb1539b7b8d6721))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(es/codegen)** Improve compression of numbers (#3425) ([e8b64a9](https://github.com/swc-project/swc/commit/e8b64a9871ccfda5f5fb1f03662650f3500e6634))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/lints)** Implement `no-debugger` rule (#3398) ([9dec923](https://github.com/swc-project/swc/commit/9dec9236f7b3c95c803571404d7abae71e173936))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- **(es/lints)** Add `no-alert` and a feature gate (#3394) ([5cbe4fe](https://github.com/swc-project/swc/commit/5cbe4fe512c67dd6017e0142b12465e20a2153a5))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(es/minifier)** Implement `drop_console` (#3392) ([91d7800](https://github.com/swc-project/swc/commit/91d78000ea445575f9ac30d0f36299ab4f0cbf5c))
|
|
66
|
+
|
|
67
|
+
### Miscellaneous Tasks
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(repo)** Add `clippy` to git push hook (#3383) ([78e83a3](https://github.com/swc-project/swc/commit/78e83a386b62abaf9b38b58b5dd942de2333e3a6))
|
|
72
|
+
|
|
73
|
+
### Performance
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
- **(node-swc)** Speed up `parse` and `parseFile` (#3380) ([0359deb](https://github.com/swc-project/swc/commit/0359deb4841be743d73db4536d4a22ac797d7f65))
|
|
78
|
+
|
|
79
|
+
### Refactor
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
- **(css/ast)** Refactor delimited values (#3397) ([b31619d](https://github.com/swc-project/swc/commit/b31619d48e2caa29ae581331eaf2ed4c4bb93683))
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
- **(css/ast)** Use `Dimension` instead of `UnitValue` (#3401) ([1904944](https://github.com/swc-project/swc/commit/1904944bf7767183a667a533a9f2089447f06c48))
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
- **(css/ast)** Use `Color` instead of `HashValue` (#3411) ([6b921ca](https://github.com/swc-project/swc/commit/6b921cac02e801318529ad5511104ddb4ac6a6c6))
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
- **(css/ast)** Rename `property` to `name` (#3410) ([eeedd9a](https://github.com/swc-project/swc/commit/eeedd9adf573b75435ecf7c87a71f9d8c5b64b20))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
- **(es/minifier)** Remove unused crates (#3395) ([74b4330](https://github.com/swc-project/swc/commit/74b433080bf79026fbcb905d7f0fba435822df68))
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
- **(es/parser)** Flatten tests to make `git` faster (#3393) ([839d0ac](https://github.com/swc-project/swc/commit/839d0ac480f0a702ac40bf14ba84d192cde47ec6))
|
|
99
|
+
|
|
100
|
+
### Testing
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
- **(css/codegen)** Add more tests (#3405) ([64383e3](https://github.com/swc-project/swc/commit/64383e385cc6a5b735273218f31a4430a772c941))
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
- **(css/codegen)** Verify AST is not broken after minification (#3430) ([73efd72](https://github.com/swc-project/swc/commit/73efd72cbe03f3f386dadf3c969763f15bb9b41d))
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
- **(swc)** Add tests (#3435) ([9e4cea0](https://github.com/swc-project/swc/commit/9e4cea017c2230e3d8db8dc48c3196116e90198a))
|
|
111
|
+
|
|
112
|
+
## [1.2.135] - 2022-01-27
|
|
113
|
+
|
|
114
|
+
### Bug Fixes
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
8
118
|
- **(css)** Fix the type definition of `@support` at-rules (#3330) ([34943ff](https://github.com/swc-project/swc/commit/34943ffa15ddecb56ee0889a598dfd3d0aa4025c))
|
|
9
119
|
|
|
10
120
|
|
|
@@ -94,6 +204,9 @@
|
|
|
94
204
|
|
|
95
205
|
- **(ci)** Update `thread_local` (#3357) ([a635e9f](https://github.com/swc-project/swc/commit/a635e9f35bb2a718abad56286d7b6fcecdfe4e58))
|
|
96
206
|
|
|
207
|
+
|
|
208
|
+
- **(ci)** Fix FreeBSD build (#3379) ([464c15b](https://github.com/swc-project/swc/commit/464c15b7757aedd50c80d955d7f2c78133a7f994))
|
|
209
|
+
|
|
97
210
|
### Performance
|
|
98
211
|
|
|
99
212
|
|
|
@@ -113,6 +226,9 @@
|
|
|
113
226
|
- **(css/ast)** Rename `PercentValue` to `Percent` (#3363) ([6fc7562](https://github.com/swc-project/swc/commit/6fc7562686b0915c7a1280620ffe183de66e113f))
|
|
114
227
|
|
|
115
228
|
|
|
229
|
+
- **(es/minifier)** Merge execution tests into a file to make `git` faster (#3377) ([7ef3bfa](https://github.com/swc-project/swc/commit/7ef3bfa5b617bffeeb91240dbc2d842dcd48826c))
|
|
230
|
+
|
|
231
|
+
|
|
116
232
|
- **(plugin)** Remove multivalue polyfill (#3346) ([4386498](https://github.com/swc-project/swc/commit/438649818fb7e7b1ef6cddf5ba244f80cf7e69a9))
|
|
117
233
|
|
|
118
234
|
## [1.2.133] - 2022-01-20
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.136",
|
|
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.136",
|
|
53
|
+
"@swc/core-darwin-x64": "1.2.136",
|
|
54
|
+
"@swc/core-linux-x64-gnu": "1.2.136",
|
|
55
|
+
"@swc/core-linux-x64-musl": "1.2.136",
|
|
56
|
+
"@swc/core-freebsd-x64": "1.2.136",
|
|
57
|
+
"@swc/core-win32-ia32-msvc": "1.2.136",
|
|
58
|
+
"@swc/core-linux-arm64-gnu": "1.2.136",
|
|
59
|
+
"@swc/core-linux-arm-gnueabihf": "1.2.136",
|
|
60
|
+
"@swc/core-darwin-arm64": "1.2.136",
|
|
61
|
+
"@swc/core-android-arm64": "1.2.136",
|
|
62
|
+
"@swc/core-linux-arm64-musl": "1.2.136",
|
|
63
|
+
"@swc/core-win32-arm64-msvc": "1.2.136",
|
|
64
|
+
"@swc/core-android-arm-eabi": "1.2.136"
|
|
65
65
|
},
|
|
66
66
|
"types": "./index.d.ts",
|
|
67
67
|
"scripts": {
|