@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.
- package/README.md +4 -2
- package/dist/index.cjs +68 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +65 -2
- package/dist/index.js.map +1 -1
- package/dist/runner/index.cjs +1 -1
- package/dist/runner/index.d.cts +8 -77
- package/dist/runner/index.d.cts.map +1 -1
- package/dist/runner/index.d.ts +8 -77
- package/dist/runner/index.d.ts.map +1 -1
- package/dist/runner/index.js +1 -1
- package/dist/runner/protocolEndpoint.cjs +5 -1
- package/dist/runner/protocolEndpoint.cjs.map +1 -1
- package/dist/runner/protocolEndpoint.d.cts +4 -0
- package/dist/runner/protocolEndpoint.d.cts.map +1 -1
- package/dist/runner/protocolEndpoint.d.ts +4 -0
- package/dist/runner/protocolEndpoint.d.ts.map +1 -1
- package/dist/runner/protocolEndpoint.js +5 -1
- package/dist/runner/protocolEndpoint.js.map +1 -1
- package/dist/{runner-DhOZH9xz.cjs → runner-BqkDnP0t.cjs} +108 -1
- package/dist/{runner-DhOZH9xz.cjs.map → runner-BqkDnP0t.cjs.map} +1 -1
- package/dist/{runner-B4UG88h1.js → runner-CVaY4RVQ.js} +67 -2
- package/dist/{runner-B4UG88h1.js.map → runner-CVaY4RVQ.js.map} +1 -1
- package/dist/{types-BB8mb_-T.d.cts → types-BXi8Lqtk.d.ts} +6 -2
- package/dist/types-BXi8Lqtk.d.ts.map +1 -0
- package/dist/{types-D7uau0GM.d.ts → types-CVE2n2LY.d.cts} +6 -2
- package/dist/types-CVE2n2LY.d.cts.map +1 -0
- package/package.json +15 -6
- package/dist/types-BB8mb_-T.d.cts.map +0 -1
- 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
|
|
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-
|
|
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
|
|
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-
|
|
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.
|
|
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":
|
|
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":
|
|
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":
|
|
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.
|
|
58
|
-
"@execbox/protocol": "^0.2.
|
|
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"}
|