@swc/core 1.3.40 → 1.3.41
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 +41 -0
- package/package.json +11 -11
- package/types.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,47 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(bindings/cli)** Change order of checking inputs to workaround a Windows issue (#7077) ([7bbec92](https://github.com/swc-project/swc/commit/7bbec92d234ddb47b51a014937d1ec7c1cb571c7))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(css/codegen)** Respect `raw` of `Str` (#7078) ([7849a2d](https://github.com/swc-project/swc/commit/7849a2d75d57bf3b6242f5f472a06a30c9fb948d))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(css/parser)** Fix parsing of `:global(> *)` (#7082) ([60f74ea](https://github.com/swc-project/swc/commit/60f74ea0769c2be764af8eb5320343f77ea78c1a))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
- **(es/codegen)** Emit `type_params` for `TsConstructSignatureDecl` (#7080) ([8353acc](https://github.com/swc-project/swc/commit/8353accb1315a8847e4dabcd36274cde5856e763))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(es/minifier)** Preserve `delete` of unresolved variables (#7072) ([86295ba](https://github.com/swc-project/swc/commit/86295ba8f26fbe3829c2c08fd8034975f05f60b5))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es/minifier)** Accept `keep_fnames` and `keep_classnames` (#7090) ([0086914](https://github.com/swc-project/swc/commit/00869147d3ac62db323cdf2a06cc8cc17dcdd1f3))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/minifier)** Remove wrong optimization of `new RegExp(…)` (#7091) ([493a4f7](https://github.com/swc-project/swc/commit/493a4f7042bad7f883981b10cdc02fe0d36a5fb0))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/react)** Align to `babel@8` behavior (#7081) ([7b491a6](https://github.com/swc-project/swc/commit/7b491a69a5ea80cd8aace9e7da3e73079c6a259f))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(testing)** Ignore `non_snake_case` for generated test names (#7087) ([1c254b1](https://github.com/swc-project/swc/commit/1c254b1c44f72f5e66698f78d76796d5a7f66146))
|
|
33
|
+
|
|
34
|
+
### Performance
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(es/lexer)** Use jump table for `skip_space` (#7073) ([f854d51](https://github.com/swc-project/swc/commit/f854d51343dcbdf43acd87f51e2288a052e39a0b))
|
|
39
|
+
|
|
40
|
+
### Refactor
|
|
41
|
+
- **general**: Fix lints using clippy from `nightly-2023-03-13` (#6920) ([963c460](https://github.com/swc-project/swc/commit/963c46061321fff3a2893da4953c1fd5ec649311))
|
|
42
|
+
|
|
43
|
+
## [1.3.40] - 2023-03-13
|
|
44
|
+
|
|
45
|
+
### Bug Fixes
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
8
49
|
- **(bindings/cli)** Update `swc_ecma_ast` (#7060) ([1b40689](https://github.com/swc-project/swc/commit/1b40689c3a754ce4a038ea98d7e9f41b1e9cf7a7))
|
|
9
50
|
|
|
10
51
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.41",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -138,16 +138,16 @@
|
|
|
138
138
|
"url": "https://opencollective.com/swc"
|
|
139
139
|
},
|
|
140
140
|
"optionalDependencies": {
|
|
141
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
142
|
-
"@swc/core-darwin-x64": "1.3.
|
|
143
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
144
|
-
"@swc/core-linux-x64-musl": "1.3.
|
|
145
|
-
"@swc/core-win32-ia32-msvc": "1.3.
|
|
146
|
-
"@swc/core-linux-arm64-gnu": "1.3.
|
|
147
|
-
"@swc/core-linux-arm-gnueabihf": "1.3.
|
|
148
|
-
"@swc/core-darwin-arm64": "1.3.
|
|
149
|
-
"@swc/core-linux-arm64-musl": "1.3.
|
|
150
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
141
|
+
"@swc/core-win32-x64-msvc": "1.3.41",
|
|
142
|
+
"@swc/core-darwin-x64": "1.3.41",
|
|
143
|
+
"@swc/core-linux-x64-gnu": "1.3.41",
|
|
144
|
+
"@swc/core-linux-x64-musl": "1.3.41",
|
|
145
|
+
"@swc/core-win32-ia32-msvc": "1.3.41",
|
|
146
|
+
"@swc/core-linux-arm64-gnu": "1.3.41",
|
|
147
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.41",
|
|
148
|
+
"@swc/core-darwin-arm64": "1.3.41",
|
|
149
|
+
"@swc/core-linux-arm64-musl": "1.3.41",
|
|
150
|
+
"@swc/core-win32-arm64-msvc": "1.3.41"
|
|
151
151
|
},
|
|
152
152
|
"files": [
|
|
153
153
|
"CHANGELOG.md",
|