@execbox/quickjs 0.2.0 → 0.2.1

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.
Files changed (34) hide show
  1. package/README.md +4 -2
  2. package/dist/index.cjs +68 -5
  3. package/dist/index.cjs.map +1 -1
  4. package/dist/index.d.cts +5 -1
  5. package/dist/index.d.cts.map +1 -1
  6. package/dist/index.d.ts +5 -1
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +65 -2
  9. package/dist/index.js.map +1 -1
  10. package/dist/runner/index.cjs +1 -1
  11. package/dist/runner/index.d.cts +8 -77
  12. package/dist/runner/index.d.cts.map +1 -1
  13. package/dist/runner/index.d.ts +8 -77
  14. package/dist/runner/index.d.ts.map +1 -1
  15. package/dist/runner/index.js +1 -1
  16. package/dist/runner/protocolEndpoint.cjs +5 -1
  17. package/dist/runner/protocolEndpoint.cjs.map +1 -1
  18. package/dist/runner/protocolEndpoint.d.cts +4 -0
  19. package/dist/runner/protocolEndpoint.d.cts.map +1 -1
  20. package/dist/runner/protocolEndpoint.d.ts +4 -0
  21. package/dist/runner/protocolEndpoint.d.ts.map +1 -1
  22. package/dist/runner/protocolEndpoint.js +5 -1
  23. package/dist/runner/protocolEndpoint.js.map +1 -1
  24. package/dist/{runner-DhOZH9xz.cjs → runner-BqkDnP0t.cjs} +108 -1
  25. package/dist/{runner-DhOZH9xz.cjs.map → runner-BqkDnP0t.cjs.map} +1 -1
  26. package/dist/{runner-B4UG88h1.js → runner-CVaY4RVQ.js} +67 -2
  27. package/dist/{runner-B4UG88h1.js.map → runner-CVaY4RVQ.js.map} +1 -1
  28. package/dist/{types-BB8mb_-T.d.cts → types-BXi8Lqtk.d.ts} +6 -2
  29. package/dist/types-BXi8Lqtk.d.ts.map +1 -0
  30. package/dist/{types-D7uau0GM.d.ts → types-CVE2n2LY.d.cts} +6 -2
  31. package/dist/types-CVE2n2LY.d.cts.map +1 -0
  32. package/package.json +15 -6
  33. package/dist/types-BB8mb_-T.d.cts.map +0 -1
  34. package/dist/types-D7uau0GM.d.ts.map +0 -1
@@ -1,9 +1,13 @@
1
+ /**
2
+ * @packageDocumentation
3
+ * Public TypeScript declarations for this package entrypoint.
4
+ */
1
5
  import { ExecutorRuntimeOptions } from "@execbox/core";
2
6
 
3
7
  //#region src/types.d.ts
4
8
 
5
9
  /**
6
- * Options for constructing a {@link QuickJsExecutor}.
10
+ * Options for constructing a QuickJS executor.
7
11
  */
8
12
  interface QuickJsExecutorOptions extends ExecutorRuntimeOptions {
9
13
  /** Optional QuickJS module loader override for tests or custom builds. */
@@ -11,4 +15,4 @@ interface QuickJsExecutorOptions extends ExecutorRuntimeOptions {
11
15
  }
12
16
  //#endregion
13
17
  export { QuickJsExecutorOptions as t };
14
- //# sourceMappingURL=types-BB8mb_-T.d.cts.map
18
+ //# sourceMappingURL=types-BXi8Lqtk.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-BXi8Lqtk.d.ts","names":[],"sources":["../src/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAKA,CAAA,CAAA;UAAiB,sBAAA,CAAA,OAAA,CAA+B;;qBAE3B"}
@@ -1,9 +1,13 @@
1
+ /**
2
+ * @packageDocumentation
3
+ * Public TypeScript declarations for this package entrypoint.
4
+ */
1
5
  import { ExecutorRuntimeOptions } from "@execbox/core";
2
6
 
3
7
  //#region src/types.d.ts
4
8
 
5
9
  /**
6
- * Options for constructing a {@link QuickJsExecutor}.
10
+ * Options for constructing a QuickJS executor.
7
11
  */
8
12
  interface QuickJsExecutorOptions extends ExecutorRuntimeOptions {
9
13
  /** Optional QuickJS module loader override for tests or custom builds. */
@@ -11,4 +15,4 @@ interface QuickJsExecutorOptions extends ExecutorRuntimeOptions {
11
15
  }
12
16
  //#endregion
13
17
  export { QuickJsExecutorOptions as t };
14
- //# sourceMappingURL=types-D7uau0GM.d.ts.map
18
+ //# sourceMappingURL=types-CVE2n2LY.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types-CVE2n2LY.d.cts","names":[],"sources":["../src/types.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;AAKA,CAAA,CAAA;UAAiB,sBAAA,CAAA,OAAA,CAA+B;;qBAE3B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@execbox/quickjs",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "QuickJS executor for the execbox core package.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -13,19 +13,28 @@
13
13
  "exports": {
14
14
  ".": {
15
15
  "source": "./src/index.ts",
16
- "types": "./dist/index.d.ts",
16
+ "types": {
17
+ "import": "./dist/index.d.ts",
18
+ "require": "./dist/index.d.cts"
19
+ },
17
20
  "import": "./dist/index.js",
18
21
  "require": "./dist/index.cjs"
19
22
  },
20
23
  "./runner": {
21
24
  "source": "./src/runner/index.ts",
22
- "types": "./dist/runner/index.d.ts",
25
+ "types": {
26
+ "import": "./dist/runner/index.d.ts",
27
+ "require": "./dist/runner/index.d.cts"
28
+ },
23
29
  "import": "./dist/runner/index.js",
24
30
  "require": "./dist/runner/index.cjs"
25
31
  },
26
32
  "./runner/protocol-endpoint": {
27
33
  "source": "./src/runner/protocolEndpoint.ts",
28
- "types": "./dist/runner/protocolEndpoint.d.ts",
34
+ "types": {
35
+ "import": "./dist/runner/protocolEndpoint.d.ts",
36
+ "require": "./dist/runner/protocolEndpoint.d.cts"
37
+ },
29
38
  "import": "./dist/runner/protocolEndpoint.js",
30
39
  "require": "./dist/runner/protocolEndpoint.cjs"
31
40
  }
@@ -54,8 +63,8 @@
54
63
  "homepage": "https://github.com/aallam/execbox/tree/main/packages/quickjs#readme",
55
64
  "bugs": "https://github.com/aallam/execbox/issues",
56
65
  "dependencies": {
57
- "@execbox/core": "^0.3.0",
58
- "@execbox/protocol": "^0.2.0",
66
+ "@execbox/core": "^0.3.1",
67
+ "@execbox/protocol": "^0.2.1",
59
68
  "quickjs-emscripten": "^0.31.0"
60
69
  }
61
70
  }
@@ -1 +0,0 @@
1
- {"version":3,"file":"types-BB8mb_-T.d.cts","names":[],"sources":["../src/types.ts"],"sourcesContent":[],"mappings":";;;;;;AAKA;UAAiB,sBAAA,SAA+B;;qBAE3B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"types-D7uau0GM.d.ts","names":[],"sources":["../src/types.ts"],"sourcesContent":[],"mappings":";;;;;;AAKA;UAAiB,sBAAA,SAA+B;;qBAE3B"}