@swc/core 1.3.5 → 1.3.7
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 +137 -1
- package/package.json +16 -15
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,139 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(css/ast)** Fix AST types for namespace (#6112) ([c765f0f](https://github.com/swc-project/swc/commit/c765f0ff73a6cdeeb86521427355a584a424fcc3))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/preset-env)** Update data (#6106) ([8d4d326](https://github.com/swc-project/swc/commit/8d4d32664d7f4feeba5faa3dec95691d5560ca6c))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(swc_core)** Reexport `swc_css_compat` correctly (#6114) ([5fd0e97](https://github.com/swc-project/swc/commit/5fd0e97c15c2f2c4feaacaf74984cca7571e4340))
|
|
15
|
+
|
|
16
|
+
### Documentation
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/parser)** Change file extension in TypeScript example (#6094) ([ca67d52](https://github.com/swc-project/swc/commit/ca67d5244dc30c47bf70266f75af2fd3231fd83d))
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(bindings)** Apply `resolver` to the output of `parse` apis (#6118) ([0cd8aee](https://github.com/swc-project/swc/commit/0cd8aeeb5c07e1fba76a43b78ed2e3cfabf88256))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(css/ast)** Support `::highlight()` (#6109) ([1938ed2](https://github.com/swc-project/swc/commit/1938ed26a158510ee15f57ca9f2599b26d0f43ac))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(css/ast)** Add AST types for gradients (#6111) ([6b3f4bb](https://github.com/swc-project/swc/commit/6b3f4bb1c6933990e2468c1430760bbf57180162))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(css/codegen)** Support lowercase case insensitivity (#6113) ([a920997](https://github.com/swc-project/swc/commit/a920997f4b1e4a194e2b74bc8a27184d0e438d31))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(dbg-swc)** Remove comments from the output of `terser` (#6119) ([8549c47](https://github.com/swc-project/swc/commit/8549c4780775ef329b7ea35e56a91de6c1fc9577))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/minifier)** Mark ref to fn as non-call in alias analyzer (#6088) ([b0c5745](https://github.com/swc-project/swc/commit/b0c57458c838097835fd9e1f1af1888867cc1b71))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/minifier)** Inline more lazily initialized vars (#6089) ([657e5b3](https://github.com/swc-project/swc/commit/657e5b31116974cd0c90cdb0871178e36fa41daf))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(es/minifier)** Enable `reduce_funcs` by default (#6097) ([3c6cdbc](https://github.com/swc-project/swc/commit/3c6cdbc61cba7dcca38251413cc9033487677dd4))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(es/minifier)** Detect type of `.length` (#6120) ([ad960c7](https://github.com/swc-project/swc/commit/ad960c76c059fbd33de1cdb0525aef509124e205))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(es/minifier)** Inline and remove vars in one pass (#6093) ([5a23949](https://github.com/swc-project/swc/commit/5a23949f1284f71447b9292a374a0cf88759a318))
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
- **(es/minifier)** Inline pure array literal partially (#6099) ([66196a6](https://github.com/swc-project/swc/commit/66196a65be7164bf519dbc749c687ac815f22ee7))
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(swc_core)** Reexport `swc_css_compat` (#6102) ([16dc746](https://github.com/swc-project/swc/commit/16dc746cd3a1b6e03903d23a9ba78d0c65128710))
|
|
60
|
+
|
|
61
|
+
### Performance
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
- **(atoms)** Add more atoms (#6122) ([7343cf3](https://github.com/swc-project/swc/commit/7343cf33891a96c1ac0216e14ef40b8d7b95da9c))
|
|
66
|
+
|
|
67
|
+
### Testing
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
- **(css/prefixer)** Verify old gradient syntax (#6121) ([7e4d207](https://github.com/swc-project/swc/commit/7e4d20791bbd518a48570dba3386d6bf9d94e0f7))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
- **(es/minifier)** Organize terser tests (#6116) ([6365acc](https://github.com/swc-project/swc/commit/6365acc9f5cb9a44671316aa03edd0e057a7d7f5))
|
|
75
|
+
|
|
76
|
+
### Build
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
- **(cargo)** Remove unused deps (#6117) ([27bda13](https://github.com/swc-project/swc/commit/27bda13591a57995708f60bdcb3cbe50b9bb42ec))
|
|
81
|
+
|
|
82
|
+
## [1.3.6] - 2022-10-08
|
|
83
|
+
|
|
84
|
+
### Bug Fixes
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
- **(es/minifier)** Improve infection analysis (#6044) ([c9427f1](https://github.com/swc-project/swc/commit/c9427f1ec4ae3bb369fa301341b856c7c298d3cd))
|
|
89
|
+
|
|
90
|
+
### Documentation
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
- **(es/minifier)** Document assumptions (#6085) ([d0418eb](https://github.com/swc-project/swc/commit/d0418ebe5bc61ae64dc617a308c07b2e4eee4a31))
|
|
95
|
+
|
|
96
|
+
### Features
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
- **(css/ast)** Support `@container` at-rule (#6076) ([0a61374](https://github.com/swc-project/swc/commit/0a61374d028cc5fa3a35747cab892f3a11617dd4))
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
- **(css/ast)** Support `<general-enclosed>` for `@media` at-rules (#6082) ([b71dd3e](https://github.com/swc-project/swc/commit/b71dd3ec0515f6d0b4f598f4f195ec6817113af8))
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
- **(css/compat)** Implement transform for nested css (#6077) ([347d4b7](https://github.com/swc-project/swc/commit/347d4b7602d434608efb8d6fdb6874cd25aaa437))
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
- **(es/codegen)** Remove the trailing comma of binding patterns (#6078) ([8003dc8](https://github.com/swc-project/swc/commit/8003dc856369a71f73a5c15ae204bbdf27fdbf9c))
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
- **(es/minifier)** Use `usage_count` in sequential inliner (#6071) ([ac150c7](https://github.com/swc-project/swc/commit/ac150c7ced9d9d9112d377437bdca7616de43a00))
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
- **(es/minifier)** Distinguish calls in alias analyzer (#6080) ([9ce3df0](https://github.com/swc-project/swc/commit/9ce3df091f2e5ce3d59274cfaa2aa4be99ab5b33))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
- **(es/testing)** Add an option to test sourcemap (#6079) ([e6b1dd4](https://github.com/swc-project/swc/commit/e6b1dd47315775f68694305905a958c9b66b5a8d))
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
- **(swc_core)** Expose `swc_ecma_preset_env` (#6083) ([4cde4f9](https://github.com/swc-project/swc/commit/4cde4f9acef8658b7c24be354fe66cb2c86bc556))
|
|
122
|
+
|
|
123
|
+
### Miscellaneous Tasks
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
- **(common)** Make `Mark::root` const fn (#6072) ([047da86](https://github.com/swc-project/swc/commit/047da86baa76198fe8e1b750ffd623348d4f8773))
|
|
128
|
+
|
|
129
|
+
### Performance
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
- **(es/minifier)** Remove double-visit of DCE (#6069) ([e88c1c0](https://github.com/swc-project/swc/commit/e88c1c04e1e399c31c7f375ac183fcf4fa11a4f9))
|
|
134
|
+
|
|
135
|
+
## [1.3.5] - 2022-10-06
|
|
136
|
+
|
|
137
|
+
### Bug Fixes
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
|
|
8
141
|
- **(bindings)** Fix type definitions (#6018) ([8fea8ca](https://github.com/swc-project/swc/commit/8fea8ca3fa5d9d441b67bffe5f64efbcc9ea4d2c))
|
|
9
142
|
|
|
10
143
|
|
|
@@ -86,7 +219,10 @@
|
|
|
86
219
|
- **(ci)** Merge CI scripts (#5999) ([10fb645](https://github.com/swc-project/swc/commit/10fb645552131d48c99789b346e6c31ed3a969cb))
|
|
87
220
|
|
|
88
221
|
|
|
89
|
-
- **(ci)** Extract bot action to a separate repository (#6064) ([39481c6](https://github.com/swc-project/swc/commit/39481c622c288139ccd74fd2b3ba1bd65f4d9708))
|
|
222
|
+
- **(ci)** Extract bot action to a separate repository (#6064) ([39481c6](https://github.com/swc-project/swc/commit/39481c622c288139ccd74fd2b3ba1bd65f4d9708))
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
- **(ci)** Fix publish action by reverting #5969 ([fee747d](https://github.com/swc-project/swc/commit/fee747de594de0de19496068d85e982888491a6c))- **general**: Update `README.md` (#6007) ([185d6fe](https://github.com/swc-project/swc/commit/185d6fe98276d413a10159cac96adce1e2e4d549))
|
|
90
226
|
|
|
91
227
|
### Performance
|
|
92
228
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.7",
|
|
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.7",
|
|
148
|
+
"@swc/core-darwin-x64": "1.3.7",
|
|
149
|
+
"@swc/core-linux-x64-gnu": "1.3.7",
|
|
150
|
+
"@swc/core-linux-x64-musl": "1.3.7",
|
|
151
|
+
"@swc/core-freebsd-x64": "1.3.7",
|
|
152
|
+
"@swc/core-win32-ia32-msvc": "1.3.7",
|
|
153
|
+
"@swc/core-linux-arm64-gnu": "1.3.7",
|
|
154
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.7",
|
|
155
|
+
"@swc/core-darwin-arm64": "1.3.7",
|
|
156
|
+
"@swc/core-android-arm64": "1.3.7",
|
|
157
|
+
"@swc/core-linux-arm64-musl": "1.3.7",
|
|
158
|
+
"@swc/core-win32-arm64-msvc": "1.3.7",
|
|
159
|
+
"@swc/core-android-arm-eabi": "1.3.7"
|
|
160
160
|
},
|
|
161
161
|
"files": [
|
|
162
162
|
"CHANGELOG.md",
|
|
@@ -178,5 +178,6 @@
|
|
|
178
178
|
"types.js",
|
|
179
179
|
"postinstall.js",
|
|
180
180
|
"bindings/binding_core_wasm/pkg/binding_core_wasm.d.ts"
|
|
181
|
-
]
|
|
181
|
+
],
|
|
182
|
+
"packageManager": "yarn@3.2.4"
|
|
182
183
|
}
|