@swc/core 1.3.54 → 1.3.55
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 +14 -0
- package/package.json +11 -11
- package/types.d.ts +8 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
+
- **(es/helpers)** Add `src/*.mjs` entry back (#7328) ([84af855](https://github.com/swc-project/swc/commit/84af85563f91a9593e0eb319f46c49c1d4cf7895))
|
|
9
|
+
|
|
10
|
+
### Features
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
- **(es/module)** Add `export_interop_annotation` flag (#7330) ([caee073](https://github.com/swc-project/swc/commit/caee073935a9abb08f0b5e2e0e9160d80064995b))
|
|
15
|
+
|
|
16
|
+
## [1.3.54] - 2023-04-25
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
8
22
|
- **(bindings/node)** Support `TsSatisfiesExpression` (#7317) ([761ef83](https://github.com/swc-project/swc/commit/761ef8389dd000e465bd385ec925654a8cb2ae09))
|
|
9
23
|
|
|
10
24
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@swc/core",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.55",
|
|
4
4
|
"description": "Super-fast alternative for babel",
|
|
5
5
|
"homepage": "https://swc.rs",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -145,16 +145,16 @@
|
|
|
145
145
|
"url": "https://opencollective.com/swc"
|
|
146
146
|
},
|
|
147
147
|
"optionalDependencies": {
|
|
148
|
-
"@swc/core-win32-x64-msvc": "1.3.
|
|
149
|
-
"@swc/core-darwin-x64": "1.3.
|
|
150
|
-
"@swc/core-linux-x64-gnu": "1.3.
|
|
151
|
-
"@swc/core-linux-x64-musl": "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-linux-arm64-musl": "1.3.
|
|
157
|
-
"@swc/core-win32-arm64-msvc": "1.3.
|
|
148
|
+
"@swc/core-win32-x64-msvc": "1.3.55",
|
|
149
|
+
"@swc/core-darwin-x64": "1.3.55",
|
|
150
|
+
"@swc/core-linux-x64-gnu": "1.3.55",
|
|
151
|
+
"@swc/core-linux-x64-musl": "1.3.55",
|
|
152
|
+
"@swc/core-win32-ia32-msvc": "1.3.55",
|
|
153
|
+
"@swc/core-linux-arm64-gnu": "1.3.55",
|
|
154
|
+
"@swc/core-linux-arm-gnueabihf": "1.3.55",
|
|
155
|
+
"@swc/core-darwin-arm64": "1.3.55",
|
|
156
|
+
"@swc/core-linux-arm64-musl": "1.3.55",
|
|
157
|
+
"@swc/core-win32-arm64-msvc": "1.3.55"
|
|
158
158
|
},
|
|
159
159
|
"files": [
|
|
160
160
|
"CHANGELOG.md",
|
package/types.d.ts
CHANGED
|
@@ -827,6 +827,14 @@ export interface BaseModuleConfig {
|
|
|
827
827
|
* ```
|
|
828
828
|
*/
|
|
829
829
|
importInterop?: "swc" | "babel" | "node" | "none";
|
|
830
|
+
/**
|
|
831
|
+
* Emits `cjs-module-lexer` annotation
|
|
832
|
+
* `cjs-module-lexer` is used in Node.js core for detecting the named exports available when importing a CJS module into ESM.
|
|
833
|
+
* swc will emit `cjs-module-lexer` detectable annotation with this option enabled.
|
|
834
|
+
*
|
|
835
|
+
* Defaults to `true` if import_interop is Node, else `false`
|
|
836
|
+
*/
|
|
837
|
+
exportInteropAnnotation?: boolean;
|
|
830
838
|
/**
|
|
831
839
|
* If set to true, dynamic imports will be preserved.
|
|
832
840
|
*/
|