@swc/core 1.3.10 → 1.3.11
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 +68 -0
- package/index.d.ts +1 -1
- package/package.json +14 -14
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,74 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(css/parser)** Add more error recovery (#6240) ([6341554](https://github.com/swc-project/swc/commit/634155462828b36f71cebfdb0937f2cd5f7e62e0))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
- **(es/minifier)** Preserve `this` in more cases (#6226) ([e9d421b](https://github.com/swc-project/swc/commit/e9d421bd959c93fa0ef1261865e50937321d5717))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/minifier)** Fix `collapse_vars` (#6235) ([48bb0cc](https://github.com/swc-project/swc/commit/48bb0cc51d34cc568a1dd3e083e5a8a79e4f6252))
|
|
15
|
+
|
|
16
|
+
### Features
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
- **(css/minifier)** Merge rules (#6220) ([8b6b9c0](https://github.com/swc-project/swc/commit/8b6b9c0961b76a8b9a3eff208af73a48005b6aeb))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
- **(es)** Expose `unresolved_mark` (#6236) ([0b267ed](https://github.com/swc-project/swc/commit/0b267edea2fb7b64a40b6a220e3bb391173e0516))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
- **(es/minifier)** Respect options (#6245) ([ec9a80a](https://github.com/swc-project/swc/commit/ec9a80aae0277f1346955d10fe348111050193bd))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
- **(es/minifier)** Support more statements in seqential inliner (#6248) ([86e265a](https://github.com/swc-project/swc/commit/86e265a024d4c6215e2fe7f3442a9cc2be8be1cf))
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
- **(es/minifier)** Inline a lazily initialized var if it's used once (#6237) ([1cd7f61](https://github.com/swc-project/swc/commit/1cd7f617f935c603a6707c3ce5c72b2be914f87d))
|
|
33
|
+
|
|
34
|
+
### Miscellaneous Tasks
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
- **(bindings)** Fix type (#6184) ([2bafd53](https://github.com/swc-project/swc/commit/2bafd53e96b7101b9e7ceb6b34a88c8c826ef9d5))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
- **(es/minifier)** Configure fuzzer (#6246) ([d454488](https://github.com/swc-project/swc/commit/d4544884ee8896248f7f1099e204ce906da4ede2))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
- **(es/parser)** Typo (#6228) ([61e63df](https://github.com/swc-project/swc/commit/61e63df0a06a349664f6569f2de8d183c6a43fd9))
|
|
45
|
+
|
|
46
|
+
### Refactor
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
- **(css/parser)** Use new approach for parsing invalid tokens (#6224) ([ac619e8](https://github.com/swc-project/swc/commit/ac619e88bf68018ef9b4faef52ed3849549e6fd5))
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
- **(css/parser)** Fix parsing of declarations (#6234) ([e4fe840](https://github.com/swc-project/swc/commit/e4fe8403d790911c617754358630ad56afd14a89))
|
|
54
|
+
|
|
55
|
+
### Testing
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
- **(es/minifier)** Organize terser tests (#6247) ([01edb4f](https://github.com/swc-project/swc/commit/01edb4fff44a9fd6424a9a5f75afb0165b0bad85))
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
- **(es/preset-env)** Ensure custom transforms are working (#6227) ([de03675](https://github.com/swc-project/swc/commit/de036754c4e76ec9ea0deda30a87cd8949e03df5))
|
|
63
|
+
|
|
64
|
+
### Build
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
- **(bindings)** Revert jemallloc bump (#6241) ([c28533f](https://github.com/swc-project/swc/commit/c28533f725377c2c9746ae752749e17dd37b6bed))
|
|
69
|
+
|
|
70
|
+
## [1.3.10] - 2022-10-21
|
|
71
|
+
|
|
72
|
+
### Bug Fixes
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
8
76
|
- **(css/codegen)** Fix codegen of pseudo class selectors (#6186) ([4fba0db](https://github.com/swc-project/swc/commit/4fba0db3d9a4ffc6c13e134b3c75441737ff83d5))
|
|
9
77
|
|
|
10
78
|
|
package/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { BundleInput } from "./spack";
|
|
|
4
4
|
/**
|
|
5
5
|
* Version of the swc binding.
|
|
6
6
|
*/
|
|
7
|
-
export declare const version:
|
|
7
|
+
export declare const version: string;
|
|
8
8
|
export declare function plugins(ps: Plugin[]): Plugin;
|
|
9
9
|
export declare class Compiler {
|
|
10
10
|
private fallbackBindingsPluginWarningDisplayed;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.11",
|
|
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.11",
|
|
148
|
+
"@swc/core-darwin-x64": "1.3.11",
|
|
149
|
+
"@swc/core-linux-x64-gnu": "1.3.11",
|
|
150
|
+
"@swc/core-linux-x64-musl": "1.3.11",
|
|
151
|
+
"@swc/core-freebsd-x64": "1.3.11",
|
|
152
|
+
"@swc/core-win32-ia32-msvc": "1.3.11",
|
|
153
|
+
"@swc/core-linux-arm64-gnu": "1.3.11",
|
|
154
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.11",
|
|
155
|
+
"@swc/core-darwin-arm64": "1.3.11",
|
|
156
|
+
"@swc/core-android-arm64": "1.3.11",
|
|
157
|
+
"@swc/core-linux-arm64-musl": "1.3.11",
|
|
158
|
+
"@swc/core-win32-arm64-msvc": "1.3.11",
|
|
159
|
+
"@swc/core-android-arm-eabi": "1.3.11"
|
|
160
160
|
},
|
|
161
161
|
"files": [
|
|
162
162
|
"CHANGELOG.md",
|