From 143d7b8efe2c1bb3b51fc523118673da6f95773f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Musil?= Date: Fri, 24 Feb 2023 08:19:30 +0100 Subject: [PATCH] feat: export NodeSandbox from node module --- src/node/client/client.ts | 2 +- src/node/index.ts | 1 + src/node/sandbox/index.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 src/node/sandbox/index.ts diff --git a/src/node/client/client.ts b/src/node/client/client.ts index 9c9156be..2b1a5778 100644 --- a/src/node/client/client.ts +++ b/src/node/client/client.ts @@ -43,7 +43,7 @@ import { NodeEnvironment } from '../environment'; import { NodeFetch } from '../fetch'; import { NodeFileSystem } from '../filesystem'; import { NodeLogger } from '../logger'; -import { NodeSandbox } from '../sandbox/sandbox.node'; +import { NodeSandbox } from '../sandbox'; import { NodeTimers } from '../timers'; const resolveSuperJson = ( diff --git a/src/node/index.ts b/src/node/index.ts index e1a07267..caae36cb 100644 --- a/src/node/index.ts +++ b/src/node/index.ts @@ -4,4 +4,5 @@ export * from './environment'; export * from './fetch'; export * from './filesystem'; export * from './logger'; +export * from './sandbox'; export * from './timers'; diff --git a/src/node/sandbox/index.ts b/src/node/sandbox/index.ts new file mode 100644 index 00000000..6c78cd00 --- /dev/null +++ b/src/node/sandbox/index.ts @@ -0,0 +1 @@ +export * from './sandbox.node';