@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 CHANGED
@@ -76,6 +76,7 @@
76
76
  "LPCSTR",
77
77
  "LPSECURITY",
78
78
  "mbcs",
79
+ "memchr",
79
80
  "mimalloc",
80
81
  "minifier",
81
82
  "miri",
@@ -92,6 +93,7 @@
92
93
  "prec",
93
94
  "PREC",
94
95
  "proto",
96
+ "proxied",
95
97
  "punct",
96
98
  "putc",
97
99
  "qself",
package/deny.toml CHANGED
@@ -78,6 +78,8 @@ allow = [
78
78
  "BSD-3-Clause",
79
79
  "CC0-1.0",
80
80
  "ISC",
81
+ "Zlib",
82
+ "MPL-2.0",
81
83
  ]
82
84
  # List of explictly disallowed licenses
83
85
  # See https://spdx.org/licenses/ for list of possible licenses
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc/core",
3
- "version": "1.2.106",
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.106",
54
- "@swc/core-darwin-x64": "^1.2.106",
55
- "@swc/core-linux-x64-gnu": "^1.2.106",
56
- "@swc/core-linux-x64-musl": "^1.2.106",
57
- "@swc/core-freebsd-x64": "^1.2.106",
58
- "@swc/core-win32-ia32-msvc": "^1.2.106",
59
- "@swc/core-linux-arm64-gnu": "^1.2.106",
60
- "@swc/core-linux-arm-gnueabihf": "^1.2.106",
61
- "@swc/core-darwin-arm64": "^1.2.106",
62
- "@swc/core-android-arm64": "^1.2.106",
63
- "@swc/core-linux-arm64-musl": "^1.2.106",
64
- "@swc/core-win32-arm64-msvc": "^1.2.106"
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
  }