@swc/core 1.2.106 → 1.2.107
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/cspell.json +2 -0
- package/deny.toml +2 -0
- package/package.json +13 -13
- package/types.d.ts +4 -1
package/cspell.json
CHANGED
package/deny.toml
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.107",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -50,18 +50,18 @@
|
|
|
50
50
|
"@node-rs/helper": "^1.0.0"
|
|
51
51
|
},
|
|
52
52
|
"optionalDependencies": {
|
|
53
|
-
"@swc/core-win32-x64-msvc": "^1.2.
|
|
54
|
-
"@swc/core-darwin-x64": "^1.2.
|
|
55
|
-
"@swc/core-linux-x64-gnu": "^1.2.
|
|
56
|
-
"@swc/core-linux-x64-musl": "^1.2.
|
|
57
|
-
"@swc/core-freebsd-x64": "^1.2.
|
|
58
|
-
"@swc/core-win32-ia32-msvc": "^1.2.
|
|
59
|
-
"@swc/core-linux-arm64-gnu": "^1.2.
|
|
60
|
-
"@swc/core-linux-arm-gnueabihf": "^1.2.
|
|
61
|
-
"@swc/core-darwin-arm64": "^1.2.
|
|
62
|
-
"@swc/core-android-arm64": "^1.2.
|
|
63
|
-
"@swc/core-linux-arm64-musl": "^1.2.
|
|
64
|
-
"@swc/core-win32-arm64-msvc": "^1.2.
|
|
53
|
+
"@swc/core-win32-x64-msvc": "^1.2.107",
|
|
54
|
+
"@swc/core-darwin-x64": "^1.2.107",
|
|
55
|
+
"@swc/core-linux-x64-gnu": "^1.2.107",
|
|
56
|
+
"@swc/core-linux-x64-musl": "^1.2.107",
|
|
57
|
+
"@swc/core-freebsd-x64": "^1.2.107",
|
|
58
|
+
"@swc/core-win32-ia32-msvc": "^1.2.107",
|
|
59
|
+
"@swc/core-linux-arm64-gnu": "^1.2.107",
|
|
60
|
+
"@swc/core-linux-arm-gnueabihf": "^1.2.107",
|
|
61
|
+
"@swc/core-darwin-arm64": "^1.2.107",
|
|
62
|
+
"@swc/core-android-arm64": "^1.2.107",
|
|
63
|
+
"@swc/core-linux-arm64-musl": "^1.2.107",
|
|
64
|
+
"@swc/core-win32-arm64-msvc": "^1.2.107"
|
|
65
65
|
},
|
|
66
66
|
"types": "./index.d.ts",
|
|
67
67
|
"scripts": {
|
package/types.d.ts
CHANGED
|
@@ -524,7 +524,7 @@ export interface GlobalPassOption {
|
|
|
524
524
|
*/
|
|
525
525
|
envs?: string[];
|
|
526
526
|
}
|
|
527
|
-
export declare type ModuleConfig = CommonJsConfig | UmdConfig | AmdConfig;
|
|
527
|
+
export declare type ModuleConfig = Es6Config | CommonJsConfig | UmdConfig | AmdConfig;
|
|
528
528
|
export interface BaseModuleConfig {
|
|
529
529
|
/**
|
|
530
530
|
* By default, when using exports with babel a non-enumerable `__esModule`
|
|
@@ -590,6 +590,9 @@ export interface BaseModuleConfig {
|
|
|
590
590
|
*/
|
|
591
591
|
noInterop?: boolean;
|
|
592
592
|
}
|
|
593
|
+
export interface Es6Config extends BaseModuleConfig {
|
|
594
|
+
type: "es6";
|
|
595
|
+
}
|
|
593
596
|
export interface CommonJsConfig extends BaseModuleConfig {
|
|
594
597
|
type: "commonjs";
|
|
595
598
|
}
|