@swc-next/core-binding-wasm 0.2.4 → 0.3.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swc-next/core-binding-wasm",
3
- "version": "0.2.4",
3
+ "version": "0.3.0",
4
4
  "description": "The extensible Node.js API for SWC Next",
5
5
  "type": "module",
6
6
  "main": "./swc-next-core.node.mjs",
@@ -1,26 +1,8 @@
1
1
  // Generated by bridge_cli. Do not edit.
2
2
  import { decodeString, getFunction, takeBytes, takeFallibleResult, withEncodedBytes, withEncodedString } from "./swc-next-core.runtime.mjs";
3
3
 
4
- export const CommentMode = Object.defineProperties({}, {
5
- None: { value: "none" },
6
- Flat: { value: "flat" },
7
- });
8
-
9
- export const Lang = Object.defineProperties({}, {
10
- Js: { value: "js" },
11
- Ts: { value: "ts" },
12
- Jsx: { value: "jsx" },
13
- Tsx: { value: "tsx" },
14
- Dts: { value: "dts" },
15
- });
16
4
  const langValues = ["js", "ts", "jsx", "tsx", "dts"];
17
5
 
18
- export const SourceType = Object.defineProperties({}, {
19
- Module: { value: "module" },
20
- Script: { value: "script" },
21
- CommonJs: { value: "commonjs" },
22
- Unambiguous: { value: "unambiguous" },
23
- });
24
6
  const sourceTypeValues = ["module", "script", "commonjs", "unambiguous"];
25
7
 
26
8
  export function langFromPath(path) {
@@ -3,7 +3,7 @@ import { initializeAsync } from "./swc-next-core.runtime.mjs";
3
3
 
4
4
  export * from "./swc-next-core.bridge.mjs";
5
5
 
6
- export const version = "0.2.4";
6
+ export const version = "0.3.0";
7
7
 
8
8
  export default function init() {
9
9
  return initializeAsync(() =>
@@ -7,7 +7,7 @@ initializeSync(wasm);
7
7
 
8
8
  export * from "./swc-next-core.bridge.mjs";
9
9
 
10
- export const version = "0.2.4";
10
+ export const version = "0.3.0";
11
11
 
12
12
  export default function init() {
13
13
  return Promise.resolve();
@@ -7,7 +7,7 @@ initializeSync(readFileSync(new URL("./swc-next-core.wasm", import.meta.url)));
7
7
 
8
8
  export * from "./swc-next-core.bridge.mjs";
9
9
 
10
- export const version = "0.2.4";
10
+ export const version = "0.3.0";
11
11
 
12
12
  export default function init() {
13
13
  return Promise.resolve();
Binary file