@swc/core 1.3.2 → 1.3.3
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 +95 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,101 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(cli)** Add missing comma (#5902) ([ccca6d0](https://github.com/swc-project/swc/commit/ccca6d0a8866b9e34e1778e176ed47d19e30be78))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(css/parser)** Fix infinite loop about `@import` and `layer` (#5919) ([10cdbed](https://github.com/swc-project/swc/commit/10cdbed05e3d0f2430a21a7f3c6a185f56ea0861))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(css/parser)** Report an error for invalid `layer` in `@import` (#5928) ([64694dc](https://github.com/swc-project/swc/commit/64694dc7d5d92880f17c0669c118df666620a50a))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/minifier)** Remove more pure calls (#5900) ([83c7887](https://github.com/swc-project/swc/commit/83c7887600bcb391203911f3c82b62e16a217120))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/minifier)** Fix analysis of assignments (#5924) ([e303f7e](https://github.com/swc-project/swc/commit/e303f7e8530a2c16f908d4132b077540eb1ecc58))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Prepend vars when dropping vars in a for loop initializer (#5930) ([f222413](https://github.com/swc-project/swc/commit/f2224132c1f000c560b97675b54cb7914bd444fa))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/minifier)** Track aliasing via assignments (#5940) ([9764786](https://github.com/swc-project/swc/commit/97647861bfcbf111f07b2748ba755b19a7e16844))
|
|
27
|
+
|
|
28
|
+
### Features
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(css/minifier)** Minify the name of `@keyframes` (#5894) ([1dc5307](https://github.com/swc-project/swc/commit/1dc530706915aab6c00564e8c10cc01e1f203204))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(css/parser)** Parse more math functions in `@media` (#5904) ([2bf2419](https://github.com/swc-project/swc/commit/2bf24195f2e9803f24f335b637ff9e7ea394402b))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/minifier)** Drop function identifier in a single pass (#5901) ([aacf7aa](https://github.com/swc-project/swc/commit/aacf7aaf80034509cf20e4b54d87c2e95ae9b3df))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/minifier)** Collapse `let` without init (#5909) ([19ce273](https://github.com/swc-project/swc/commit/19ce2737b16f2f6daf5f2eb53dc7a70ceefb107d))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/minifier)** Evaluate more expressions (#5926) ([565bf31](https://github.com/swc-project/swc/commit/565bf317f6a16025f9b026209daafa5983ed7608))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es/minifier)** Inline rest parameters of IIFE (#5929) ([ac7b066](https://github.com/swc-project/swc/commit/ac7b066d9aec13c99a2df87fc47021973c1fed5d))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(es/minifier)** Improve analysis of reassignments (#5931) ([e9c7041](https://github.com/swc-project/swc/commit/e9c704182b2f6fb4d9771b358d2919c447723059))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(es/minifier)** Use char frequency data for property manglers (#5932) ([5314ac5](https://github.com/swc-project/swc/commit/5314ac5d025737471a9595fa72d4189992b8454e))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(es/minifier)** Drop cycles in nested functions (#5933) ([e16827c](https://github.com/swc-project/swc/commit/e16827cc9d4ff7dcbc53fb38f56ba9b15dc9c3c8))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/minifier)** Mangle labels (#5934) ([7bcaaef](https://github.com/swc-project/swc/commit/7bcaaef4f7219d52e7dd2199d4696d628e4d6de9))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- **(es/typescript)** Support TS 4.9 (#5938) ([5cddb4c](https://github.com/swc-project/swc/commit/5cddb4c7345eba7c3ac87288b5130ecd1a94bbf5))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(swc_core)** Expose tty feature of `swc_common` as `common_tty` (#5920) ([72429d8](https://github.com/swc-project/swc/commit/72429d88018bd325af2e552c5d2bc7b255ea600d))
|
|
66
|
+
|
|
67
|
+
### Performance
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(es)** Optimize memory layout of AST (#5829) ([1a182ef](https://github.com/swc-project/swc/commit/1a182ef8d90c2294ac67e8cdee63bfab2c295bae))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- **(es/minifier)** Make more passes parallel (#5906) ([6bbd3f4](https://github.com/swc-project/swc/commit/6bbd3f4c14eb243b697dc12593ada1b196a0cad8))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
- **(es/minifier)** Invoke DCE only before the first compression (#5907) ([1df7243](https://github.com/swc-project/swc/commit/1df72430a56cc85ac41c6f9753d7c7e6d5ea279a))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
- **(es/minifier)** Optimize analyzer (#5908) ([a9873e5](https://github.com/swc-project/swc/commit/a9873e505d33b4537e341a618f524931870a0db4))
|
|
81
|
+
|
|
82
|
+
### Testing
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
- **(es)** Accept arguments (#5916) ([fe40d83](https://github.com/swc-project/swc/commit/fe40d8312b7153de1e334d552e9f6bcafc9cc161))
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
- **(es/minifier)** Add a test for a wrong issue (#5923) ([0b34bcb](https://github.com/swc-project/swc/commit/0b34bcb40e844f8a78e8c239ed8b0eeed2ef6992))
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
- **(es/minifier)** Add an execution test for a fixed issue (#5925) ([31711e7](https://github.com/swc-project/swc/commit/31711e76af84aa52766a511af7b772390144f1ee))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
- **(es/minifier)** Remove analysis snapshot (#5939) ([93964a8](https://github.com/swc-project/swc/commit/93964a82eacb1bfe41de270900895b92f61e3670))
|
|
96
|
+
|
|
97
|
+
## [1.3.2] - 2022-09-19
|
|
98
|
+
|
|
99
|
+
### Bug Fixes
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
8
103
|
- **(es/codegen)** Drop the last comma in an array literal (#5877) ([7d6d04b](https://github.com/swc-project/swc/commit/7d6d04b4215c5c1ec368a8ccdabdda187cfa647e))
|
|
9
104
|
|
|
10
105
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.3",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -143,19 +143,19 @@
|
|
|
143
143
|
"url": "https://opencollective.com/swc"
|
|
144
144
|
},
|
|
145
145
|
"optionalDependencies": {
|
|
146
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
147
|
-
"@swc/core-darwin-x64": "1.3.
|
|
148
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
149
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
150
|
-
"@swc/core-freebsd-x64": "1.3.
|
|
151
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
152
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
153
|
-
"@swc/core-linux-arm-gnueabihf": "1.3.
|
|
154
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
155
|
-
"@swc/core-android-arm64": "1.3.
|
|
156
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
157
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
158
|
-
"@swc/core-android-arm-eabi": "1.3.
|
|
146
|
+
"@swc/core-win32-x64-msvc": "1.3.3",
|
|
147
|
+
"@swc/core-darwin-x64": "1.3.3",
|
|
148
|
+
"@swc/core-linux-x64-gnu": "1.3.3",
|
|
149
|
+
"@swc/core-linux-x64-musl": "1.3.3",
|
|
150
|
+
"@swc/core-freebsd-x64": "1.3.3",
|
|
151
|
+
"@swc/core-win32-ia32-msvc": "1.3.3",
|
|
152
|
+
"@swc/core-linux-arm64-gnu": "1.3.3",
|
|
153
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.3",
|
|
154
|
+
"@swc/core-darwin-arm64": "1.3.3",
|
|
155
|
+
"@swc/core-android-arm64": "1.3.3",
|
|
156
|
+
"@swc/core-linux-arm64-musl": "1.3.3",
|
|
157
|
+
"@swc/core-win32-arm64-msvc": "1.3.3",
|
|
158
|
+
"@swc/core-android-arm-eabi": "1.3.3"
|
|
159
159
|
},
|
|
160
160
|
"files": [
|
|
161
161
|
"CHANGELOG.md",
|