@swc/core 1.3.5 → 1.3.6
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 +57 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,59 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/minifier)** Improve infection analysis (#6044) ([c9427f1](https://github.com/swc-project/swc/commit/c9427f1ec4ae3bb369fa301341b856c7c298d3cd))
|
|
9
|
+
|
|
10
|
+
### Documentation
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Document assumptions (#6085) ([d0418eb](https://github.com/swc-project/swc/commit/d0418ebe5bc61ae64dc617a308c07b2e4eee4a31))
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(css/ast)** Support `@container` at-rule (#6076) ([0a61374](https://github.com/swc-project/swc/commit/0a61374d028cc5fa3a35747cab892f3a11617dd4))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(css/ast)** Support `<general-enclosed>` for `@media` at-rules (#6082) ([b71dd3e](https://github.com/swc-project/swc/commit/b71dd3ec0515f6d0b4f598f4f195ec6817113af8))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(css/compat)** Implement transform for nested css (#6077) ([347d4b7](https://github.com/swc-project/swc/commit/347d4b7602d434608efb8d6fdb6874cd25aaa437))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/codegen)** Remove the trailing comma of binding patterns (#6078) ([8003dc8](https://github.com/swc-project/swc/commit/8003dc856369a71f73a5c15ae204bbdf27fdbf9c))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/minifier)** Use `usage_count` in sequential inliner (#6071) ([ac150c7](https://github.com/swc-project/swc/commit/ac150c7ced9d9d9112d377437bdca7616de43a00))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
- **(es/minifier)** Distinguish calls in alias analyzer (#6080) ([9ce3df0](https://github.com/swc-project/swc/commit/9ce3df091f2e5ce3d59274cfaa2aa4be99ab5b33))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/testing)** Add an option to test sourcemap (#6079) ([e6b1dd4](https://github.com/swc-project/swc/commit/e6b1dd47315775f68694305905a958c9b66b5a8d))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(swc_core)** Expose `swc_ecma_preset_env` (#6083) ([4cde4f9](https://github.com/swc-project/swc/commit/4cde4f9acef8658b7c24be354fe66cb2c86bc556))
|
|
42
|
+
|
|
43
|
+
### Miscellaneous Tasks
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
- **(common)** Make `Mark::root` const fn (#6072) ([047da86](https://github.com/swc-project/swc/commit/047da86baa76198fe8e1b750ffd623348d4f8773))
|
|
48
|
+
|
|
49
|
+
### Performance
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(es/minifier)** Remove double-visit of DCE (#6069) ([e88c1c0](https://github.com/swc-project/swc/commit/e88c1c04e1e399c31c7f375ac183fcf4fa11a4f9))
|
|
54
|
+
|
|
55
|
+
## [1.3.5] - 2022-10-06
|
|
56
|
+
|
|
57
|
+
### Bug Fixes
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
8
61
|
- **(bindings)** Fix type definitions (#6018) ([8fea8ca](https://github.com/swc-project/swc/commit/8fea8ca3fa5d9d441b67bffe5f64efbcc9ea4d2c))
|
|
9
62
|
|
|
10
63
|
|
|
@@ -86,7 +139,10 @@
|
|
|
86
139
|
- **(ci)** Merge CI scripts (#5999) ([10fb645](https://github.com/swc-project/swc/commit/10fb645552131d48c99789b346e6c31ed3a969cb))
|
|
87
140
|
|
|
88
141
|
|
|
89
|
-
- **(ci)** Extract bot action to a separate repository (#6064) ([39481c6](https://github.com/swc-project/swc/commit/39481c622c288139ccd74fd2b3ba1bd65f4d9708))
|
|
142
|
+
- **(ci)** Extract bot action to a separate repository (#6064) ([39481c6](https://github.com/swc-project/swc/commit/39481c622c288139ccd74fd2b3ba1bd65f4d9708))
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
- **(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
146
|
|
|
91
147
|
### Performance
|
|
92
148
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.6",
|
|
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.6",
|
|
148
|
+
"@swc/core-darwin-x64": "1.3.6",
|
|
149
|
+
"@swc/core-linux-x64-gnu": "1.3.6",
|
|
150
|
+
"@swc/core-linux-x64-musl": "1.3.6",
|
|
151
|
+
"@swc/core-freebsd-x64": "1.3.6",
|
|
152
|
+
"@swc/core-win32-ia32-msvc": "1.3.6",
|
|
153
|
+
"@swc/core-linux-arm64-gnu": "1.3.6",
|
|
154
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.6",
|
|
155
|
+
"@swc/core-darwin-arm64": "1.3.6",
|
|
156
|
+
"@swc/core-android-arm64": "1.3.6",
|
|
157
|
+
"@swc/core-linux-arm64-musl": "1.3.6",
|
|
158
|
+
"@swc/core-win32-arm64-msvc": "1.3.6",
|
|
159
|
+
"@swc/core-android-arm-eabi": "1.3.6"
|
|
160
160
|
},
|
|
161
161
|
"files": [
|
|
162
162
|
"CHANGELOG.md",
|