secure-exec 0.1.0 → 0.1.1-rc.2
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/dist/index.js +2 -4
- package/dist/shared/bridge-contract.d.ts +1 -1
- package/package.json +16 -9
package/dist/index.js
CHANGED
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
export { NodeRuntime } from "./runtime.js";
|
|
3
3
|
// Re-export Node driver factories.
|
|
4
4
|
export { createDefaultNetworkAdapter, createNodeDriver, createNodeRuntimeDriverFactory, NodeExecutionDriver, NodeFileSystem, } from "@secure-exec/node";
|
|
5
|
-
// TODO: Re-enable once
|
|
6
|
-
// Eagerly importing @secure-exec/python and @secure-exec/browser pulls in node-stdlib-browser,
|
|
7
|
-
// which crashes on Node.js. Use "secure-exec/python" or "secure-exec/browser" subpath imports instead.
|
|
5
|
+
// TODO: Re-enable once @secure-exec/python is a reliable optional dependency
|
|
8
6
|
// export {
|
|
9
7
|
// createPyodideRuntimeDriverFactory,
|
|
10
8
|
// PyodideRuntimeDriver,
|
|
11
9
|
// } from "@secure-exec/python";
|
|
12
|
-
//
|
|
10
|
+
// TODO: Re-enable once @secure-exec/browser is a reliable optional dependency
|
|
13
11
|
// export {
|
|
14
12
|
// createBrowserDriver,
|
|
15
13
|
// createBrowserNetworkAdapter,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type {
|
|
1
|
+
export type { BridgeGlobalKey, ChildProcessKillBridgeRef, ChildProcessSpawnStartBridgeRef, ChildProcessSpawnSyncBridgeRef, ChildProcessStdinCloseBridgeRef, ChildProcessStdinWriteBridgeRef, CryptoRandomFillBridgeRef, CryptoRandomUuidBridgeRef, DynamicImportBridgeRef, FsChmodBridgeRef, FsChownBridgeRef, FsExistsBridgeRef, FsFacadeBridge, FsLinkBridgeRef, FsLstatBridgeRef, FsMkdirBridgeRef, FsReadDirBridgeRef, FsReadFileBinaryBridgeRef, FsReadFileBridgeRef, FsReadlinkBridgeRef, FsRenameBridgeRef, FsRmdirBridgeRef, FsStatBridgeRef, FsSymlinkBridgeRef, FsTruncateBridgeRef, FsUnlinkBridgeRef, FsUtimesBridgeRef, FsWriteFileBinaryBridgeRef, FsWriteFileBridgeRef, HostBridgeGlobalKey, LoadFileBridgeRef, LoadPolyfillBridgeRef, ModuleCacheBridgeRecord, NetworkDnsLookupRawBridgeRef, NetworkFetchRawBridgeRef, NetworkHttpRequestRawBridgeRef, NetworkHttpServerCloseRawBridgeRef, NetworkHttpServerListenRawBridgeRef, ProcessErrorBridgeRef, ProcessLogBridgeRef, RegisterHandleBridgeFn, RequireFromBridgeFn, ResolveModuleBridgeRef, RuntimeBridgeGlobalKey, ScheduleTimerBridgeRef, UnregisterHandleBridgeFn, ValueOf, } from "@secure-exec/core";
|
|
2
2
|
export { BRIDGE_GLOBAL_KEY_LIST, HOST_BRIDGE_GLOBAL_KEY_LIST, HOST_BRIDGE_GLOBAL_KEYS, RUNTIME_BRIDGE_GLOBAL_KEY_LIST, RUNTIME_BRIDGE_GLOBAL_KEYS, } from "@secure-exec/core";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "secure-exec",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1-rc.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,33 +16,40 @@
|
|
|
16
16
|
},
|
|
17
17
|
"exports": {
|
|
18
18
|
".": {
|
|
19
|
+
"types": "./dist/index.d.ts",
|
|
19
20
|
"import": "./dist/index.js",
|
|
20
|
-
"
|
|
21
|
+
"default": "./dist/index.js"
|
|
21
22
|
},
|
|
22
23
|
"./browser": {
|
|
24
|
+
"types": "./dist/browser-runtime.d.ts",
|
|
23
25
|
"import": "./dist/browser-runtime.js",
|
|
24
|
-
"
|
|
26
|
+
"default": "./dist/browser-runtime.js"
|
|
25
27
|
},
|
|
26
28
|
"./python": {
|
|
29
|
+
"types": "./dist/python-runtime.d.ts",
|
|
27
30
|
"import": "./dist/python-runtime.js",
|
|
28
|
-
"
|
|
31
|
+
"default": "./dist/python-runtime.js"
|
|
29
32
|
}
|
|
30
33
|
},
|
|
31
34
|
"dependencies": {
|
|
32
|
-
"@secure-exec/
|
|
33
|
-
"@secure-exec/
|
|
35
|
+
"@secure-exec/core": "0.1.1-rc.2",
|
|
36
|
+
"@secure-exec/node": "0.1.1-rc.2"
|
|
34
37
|
},
|
|
35
38
|
"optionalDependencies": {
|
|
36
|
-
"@secure-exec/
|
|
37
|
-
"@secure-exec/
|
|
39
|
+
"@secure-exec/python": "0.1.1-rc.2",
|
|
40
|
+
"@secure-exec/browser": "0.1.1-rc.2"
|
|
38
41
|
},
|
|
39
42
|
"devDependencies": {
|
|
43
|
+
"@mariozechner/pi-coding-agent": "^0.60.0",
|
|
44
|
+
"@opencode-ai/sdk": "^1.2.27",
|
|
40
45
|
"@types/node": "^22.10.2",
|
|
41
46
|
"@vitest/browser": "^2.1.8",
|
|
47
|
+
"@xterm/headless": "^6.0.0",
|
|
42
48
|
"playwright": "^1.52.0",
|
|
43
49
|
"tsx": "^4.19.2",
|
|
44
50
|
"typescript": "^5.7.2",
|
|
45
|
-
"vitest": "^2.1.8"
|
|
51
|
+
"vitest": "^2.1.8",
|
|
52
|
+
"@secure-exec/v8": "0.1.1-rc.2"
|
|
46
53
|
},
|
|
47
54
|
"scripts": {
|
|
48
55
|
"check-types": "tsc --noEmit",
|