diff --git a/frontends/nextjs/src/lib/lua/functions/sandbox/execution/execute-with-sandbox.ts b/frontends/nextjs/src/lib/lua/functions/sandbox/execution/execute-with-sandbox.ts index 35b88c97a..eaf4d03c6 100644 --- a/frontends/nextjs/src/lib/lua/functions/sandbox/execution/execute-with-sandbox.ts +++ b/frontends/nextjs/src/lib/lua/functions/sandbox/execution/execute-with-sandbox.ts @@ -1,8 +1,8 @@ import type { LuaExecutionContext } from '../types' import type { LuaExecutionResult } from '../types' -import type { SecurityScanResult } from '../../../security-scanner' -import { securityScanner } from '../../../security-scanner' -import { LuaEngine } from '../../LuaEngine' +import type { SecurityScanResult } from '../../../../security/scanner/security-scanner' +import { securityScanner } from '../../../../security/scanner/security-scanner' +import { LuaEngine } from '../../../../engine/core/LuaEngine' import type { SandboxedLuaEngineState } from './types' export interface SandboxedLuaResult { diff --git a/frontends/nextjs/src/lib/lua/functions/sandbox/execution/setup/setup-sandboxed-environment.ts b/frontends/nextjs/src/lib/lua/functions/sandbox/execution/setup/setup-sandboxed-environment.ts index 2f12b2814..240f71a71 100644 --- a/frontends/nextjs/src/lib/lua/functions/sandbox/execution/setup/setup-sandboxed-environment.ts +++ b/frontends/nextjs/src/lib/lua/functions/sandbox/execution/setup/setup-sandboxed-environment.ts @@ -1,6 +1,6 @@ import * as fengari from 'fengari-web' import type { SandboxedLuaEngineState } from './types' -import { normalizeAllowedGlobals } from './normalize-allowed-globals' +import { normalizeAllowedGlobals } from '../../globals/normalize-allowed-globals' const lua = fengari.lua