secure-exec 0.1.1-rc.2 → 0.1.1-rc.3
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.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/shared/bridge-contract.d.ts +1 -1
- package/package.json +7 -6
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export type { ResourceBudgets } from "./runtime-driver.js";
|
|
|
4
4
|
export type { CommandExecutor, NodeRuntimeDriver, NodeRuntimeDriverFactory, NetworkAdapter, Permissions, RuntimeDriver, RuntimeDriverFactory, SharedRuntimeDriver, SystemDriver, VirtualFileSystem, } from "./types.js";
|
|
5
5
|
export type { DirEntry, StatInfo } from "./fs-helpers.js";
|
|
6
6
|
export type { StdioChannel, StdioEvent, StdioHook, ExecOptions, ExecResult, OSConfig, ProcessConfig, RunResult, TimingMitigation, } from "./shared/api-types.js";
|
|
7
|
-
export { createDefaultNetworkAdapter, createNodeDriver, createNodeRuntimeDriverFactory, NodeExecutionDriver, NodeFileSystem, } from "@secure-exec/node";
|
|
8
|
-
export type { ModuleAccessOptions, NodeRuntimeDriverFactoryOptions, } from "@secure-exec/node";
|
|
7
|
+
export { createDefaultNetworkAdapter, createNodeDriver, createNodeRuntimeDriverFactory, createNodeV8Runtime, NodeExecutionDriver, NodeFileSystem, } from "@secure-exec/node";
|
|
8
|
+
export type { ModuleAccessOptions, NodeRuntimeDriverFactoryOptions, NodeV8RuntimeOptions, V8Runtime, } from "@secure-exec/node";
|
|
9
9
|
export { createInMemoryFileSystem } from "./shared/in-memory-fs.js";
|
|
10
10
|
export { allowAll, allowAllChildProcess, allowAllEnv, allowAllFs, allowAllNetwork, } from "./shared/permissions.js";
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Re-export core runtime surface.
|
|
2
2
|
export { NodeRuntime } from "./runtime.js";
|
|
3
|
-
// Re-export Node driver factories.
|
|
4
|
-
export { createDefaultNetworkAdapter, createNodeDriver, createNodeRuntimeDriverFactory, NodeExecutionDriver, NodeFileSystem, } from "@secure-exec/node";
|
|
3
|
+
// Re-export Node driver factories and V8 runtime.
|
|
4
|
+
export { createDefaultNetworkAdapter, createNodeDriver, createNodeRuntimeDriverFactory, createNodeV8Runtime, NodeExecutionDriver, NodeFileSystem, } from "@secure-exec/node";
|
|
5
5
|
// TODO: Re-enable once @secure-exec/python is a reliable optional dependency
|
|
6
6
|
// export {
|
|
7
7
|
// createPyodideRuntimeDriverFactory,
|
|
@@ -1,2 +1,2 @@
|
|
|
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";
|
|
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, UpgradeSocketWriteRawBridgeRef, UpgradeSocketEndRawBridgeRef, UpgradeSocketDestroyRawBridgeRef, 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.1-rc.
|
|
3
|
+
"version": "0.1.1-rc.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -32,12 +32,12 @@
|
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@secure-exec/core": "0.1.1-rc.
|
|
36
|
-
"@secure-exec/node": "0.1.1-rc.
|
|
35
|
+
"@secure-exec/core": "0.1.1-rc.3",
|
|
36
|
+
"@secure-exec/node": "0.1.1-rc.3"
|
|
37
37
|
},
|
|
38
38
|
"optionalDependencies": {
|
|
39
|
-
"@secure-exec/
|
|
40
|
-
"@secure-exec/
|
|
39
|
+
"@secure-exec/browser": "0.1.1-rc.3",
|
|
40
|
+
"@secure-exec/python": "0.1.1-rc.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@mariozechner/pi-coding-agent": "^0.60.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"tsx": "^4.19.2",
|
|
50
50
|
"typescript": "^5.7.2",
|
|
51
51
|
"vitest": "^2.1.8",
|
|
52
|
-
"@secure-exec/v8": "0.1.1-rc.
|
|
52
|
+
"@secure-exec/v8": "0.1.1-rc.3"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
55
55
|
"check-types": "tsc --noEmit",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"test:integration:node": "pnpm run test:test-suite && pnpm run test:runtime-driver",
|
|
61
61
|
"test:integration:browser": "vitest run --config vitest.browser.config.ts tests/test-suite/node.test.ts tests/runtime-driver/browser/runtime.test.ts",
|
|
62
62
|
"test:project-matrix": "vitest run tests/project-matrix.test.ts",
|
|
63
|
+
"test:e2e-docker": "vitest run tests/e2e-docker.test.ts",
|
|
63
64
|
"test": "vitest run",
|
|
64
65
|
"test:watch": "vitest"
|
|
65
66
|
}
|