Skip to content

Commit f7cf423

Browse files
committed
chore: bump version to 0.0.4 and fix Deno package path
Bump version in deno.json to 0.0.4. Correct resolver path from "deno-bin/package.json" to "deno/package.json" in sandbox.ts. Also remove a stray blank line in mod.ts.
1 parent 74f18ac commit f7cf423

3 files changed

Lines changed: 2 additions & 3 deletions

File tree

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mcpc/handle-sandbox",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"license": "MIT",
55
"nodeModulesDir": "auto",
66
"repository": {

mod.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@
33
*
44
* Export the main Sandbox class and types
55
*/
6-
76
export { Sandbox } from "./src/sandbox.ts";
87
export type { ExecutionResult, SandboxConfig } from "./src/types.ts";

src/sandbox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class Sandbox {
4848
).resolve;
4949
if (!resolver) throw new Error("Cannot resolve deno package");
5050

51-
const pkgUrl = resolver("deno-bin/package.json");
51+
const pkgUrl = resolver("deno/package.json");
5252
const denoDir = path.dirname(fileURLToPath(pkgUrl));
5353
return path.join(denoDir, "bin.cjs");
5454
}

0 commit comments

Comments
 (0)