@swc/core 1.3.7 → 1.3.9
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 +130 -0
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,136 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(css/parser)** Improve handling of math functions in at-rules (#6140) ([26aeb18](https://github.com/swc-project/swc/commit/26aeb18c0cbb3299951be7b7a9398705d33374cd))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/codegen)** Emit `readonly` for `TsIndexSignature` (#6172) ([083924c](https://github.com/swc-project/swc/commit/083924c0e1bf738ae8e6b945dac00dda18dfeb26))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Fix ordering issue of analyzer (#6150) ([6d0ca05](https://github.com/swc-project/swc/commit/6d0ca05cb50c0b33fa0786824e07950d4db91819))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/minifier)** Consider function body cost while inlining function (#5342) ([b40d486](https://github.com/swc-project/swc/commit/b40d4862534d53b763bff24a55e7d9bf41007d82))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/minifier)** Preserve `this` of tagged template literals (#6165) ([aec5cda](https://github.com/swc-project/swc/commit/aec5cdacc64296269d4c75f834d2a3021ca2db4b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Don't create a numeric literal with `NaN` value (#6166) ([2e153e5](https://github.com/swc-project/swc/commit/2e153e5555a8d03bc04da0cbcc849aa1f05a16e3))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/modules)** Resolve `jsc.paths` for export alls (#6170) ([82cca67](https://github.com/swc-project/swc/commit/82cca674e34022212b507f7cbbe3e903b7591f95))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/parser)** Fix parsing of arrow in cond (#6067) ([0ca5ded](https://github.com/swc-project/swc/commit/0ca5ded61833906181348ce215dfba3ed4f1bde6))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/plugin)** Disable SIMD (#6163) ([899021e](https://github.com/swc-project/swc/commit/899021e440c40b954825d1c0996fd1c14b1af457))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/plugin)** Fix plugin on non `x86_64` (#6178) ([cb8f350](https://github.com/swc-project/swc/commit/cb8f3500b2eac333eb126ab3844271d344e58a35))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/quote)** Fix handling of template literals (#6157) ([6502979](https://github.com/swc-project/swc/commit/65029793a6915c11156dcc5c0265d3e2df41e2b4))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/typescript)** Don't generate class field for abstract properties (#6174) ([9d93b6c](https://github.com/swc-project/swc/commit/9d93b6cd856f27192b88b09bbc6e1032cea74afe))
|
|
42
|
+
|
|
43
|
+
### Documentation
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(repo)** Document maintenance (#6145) ([f1bb365](https://github.com/swc-project/swc/commit/f1bb365e8e31ee6f0d9aead16a3bca7fec9c0401))
|
|
48
|
+
|
|
49
|
+
### Features
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(css/minifier)** Handle zero in at-rules (#6155) ([0f38e38](https://github.com/swc-project/swc/commit/0f38e38984fe5508a1dd51275e81c21a0345f063))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(css/modules)** Add a lifetime to config parameter (#6144) ([1196d60](https://github.com/swc-project/swc/commit/1196d60182e6fcc7b9ba35150f9f5ea4f4ea0881))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/minifier)** Ignore return value if a param of IIFE is not used (#6115) ([d334c6e](https://github.com/swc-project/swc/commit/d334c6e78393ee9cc853c46d9144f22033ce62d0))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- **(es/utils)** Add indexed API to the parallel helper (#6149) ([6a42e51](https://github.com/swc-project/swc/commit/6a42e511e8ba8d8d5f7de83df64883edd00a7ab3))
|
|
63
|
+
|
|
64
|
+
### Miscellaneous Tasks
|
|
65
|
+
- **general**: Add lock action ([55a836a](https://github.com/swc-project/swc/commit/55a836ac823c62d83ecd7eb63dea4cb9e51604d4))
|
|
66
|
+
|
|
67
|
+
### Build
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(es/plugin)** Fix Wasm build (#6179) ([7c40e44](https://github.com/swc-project/swc/commit/7c40e44d3f434035651941753a1a5aac19737446))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- **(es/plugin)** Fix Wasm build, really (#6180) ([ea4ae3d](https://github.com/swc-project/swc/commit/ea4ae3dfbcd3546ed5d734c1c7c3c8cd091cce6a))
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
- **(es/plugin)** Fix Wasm build (#6181) ([d13a397](https://github.com/swc-project/swc/commit/d13a3973603e8d7666be9ced5f616bfecfc29efa))
|
|
78
|
+
|
|
79
|
+
## [1.3.8] - 2022-10-14
|
|
80
|
+
|
|
81
|
+
### Bug Fixes
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
- **(css/ast)** Fix AST types for simple block (#6131) ([e63fa28](https://github.com/swc-project/swc/commit/e63fa28008fc643c4ddc973d2b39d2da093b44c5))
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
- **(css/modules)** Fix parsing and refactor code (#6132) ([39cfade](https://github.com/swc-project/swc/commit/39cfade7f8b199b9db3240ffd561524f2f209798))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
- **(es/minifier)** Preserve return values of recursive IIFE (#6142) ([3d271e8](https://github.com/swc-project/swc/commit/3d271e82a2ec3ac69ee36e5b1f090bf323f56046))
|
|
92
|
+
|
|
93
|
+
### Features
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
- **(css/minifier)** Compute `calc` expressions (#5966) ([205a317](https://github.com/swc-project/swc/commit/205a317c4d44edb46f96d8b052c5e88990682638))
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
- **(es/minifier)** Enable `reduce_vars` by default (#6096) ([fc5d8a5](https://github.com/swc-project/swc/commit/fc5d8a5d41103adeb0293ed649789a2256b31f97))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
- **(es/minifier)** Merge assignments using sequential inliner (#6103) ([5875298](https://github.com/swc-project/swc/commit/58752983775337067127f219569bd0c7fbc55564))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
- **(es/minifier)** Swap more binary expressions (#6134) ([c37839f](https://github.com/swc-project/swc/commit/c37839fc628d62ec8ddb9372b45db72c6aa9e18d))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
- **(es/minifier)** Change default pass limit to 3 (#6138) ([3a29bfe](https://github.com/swc-project/swc/commit/3a29bfee9b3be0e85fe9e45272b7151c449779db))
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
- **(es/minifier)** Improve trivial rules (#6136) ([ec0d6d5](https://github.com/swc-project/swc/commit/ec0d6d5a0d52d86824493556ac9b75237197711e))
|
|
113
|
+
|
|
114
|
+
### Miscellaneous Tasks
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
- **(ci)** Deny clippy warnings (#6126) ([d6fd476](https://github.com/swc-project/swc/commit/d6fd47672150aa3a020c55b1c61c4ac593d0c9fe))
|
|
119
|
+
|
|
120
|
+
### Performance
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
- **(atoms)** Use thin pointer for `Atom` (#6135) ([9c8ec0e](https://github.com/swc-project/swc/commit/9c8ec0ea560ba97abcb864d482202bd8173a4e80))
|
|
125
|
+
|
|
126
|
+
### Refactor
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
- **(css/ast)** Refactor AST types (#6124) ([85b2188](https://github.com/swc-project/swc/commit/85b218820492d4567e17998513067fa6b3490346))
|
|
131
|
+
|
|
132
|
+
## [1.3.7] - 2022-10-12
|
|
133
|
+
|
|
134
|
+
### Bug Fixes
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
|
|
8
138
|
- **(css/ast)** Fix AST types for namespace (#6112) ([c765f0f](https://github.com/swc-project/swc/commit/c765f0ff73a6cdeeb86521427355a584a424fcc3))
|
|
9
139
|
|
|
10
140
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.9",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -144,19 +144,19 @@
|
|
|
144
144
|
"url": "https://opencollective.com/swc"
|
|
145
145
|
},
|
|
146
146
|
"optionalDependencies": {
|
|
147
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
148
|
-
"@swc/core-darwin-x64": "1.3.
|
|
149
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
150
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
151
|
-
"@swc/core-freebsd-x64": "1.3.
|
|
152
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
153
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
154
|
-
"@swc/core-linux-arm-gnueabihf": "1.3.
|
|
155
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
156
|
-
"@swc/core-android-arm64": "1.3.
|
|
157
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
158
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
159
|
-
"@swc/core-android-arm-eabi": "1.3.
|
|
147
|
+
"@swc/core-win32-x64-msvc": "1.3.9",
|
|
148
|
+
"@swc/core-darwin-x64": "1.3.9",
|
|
149
|
+
"@swc/core-linux-x64-gnu": "1.3.9",
|
|
150
|
+
"@swc/core-linux-x64-musl": "1.3.9",
|
|
151
|
+
"@swc/core-freebsd-x64": "1.3.9",
|
|
152
|
+
"@swc/core-win32-ia32-msvc": "1.3.9",
|
|
153
|
+
"@swc/core-linux-arm64-gnu": "1.3.9",
|
|
154
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.9",
|
|
155
|
+
"@swc/core-darwin-arm64": "1.3.9",
|
|
156
|
+
"@swc/core-android-arm64": "1.3.9",
|
|
157
|
+
"@swc/core-linux-arm64-musl": "1.3.9",
|
|
158
|
+
"@swc/core-win32-arm64-msvc": "1.3.9",
|
|
159
|
+
"@swc/core-android-arm-eabi": "1.3.9"
|
|
160
160
|
},
|
|
161
161
|
"files": [
|
|
162
162
|
"CHANGELOG.md",
|