diff --git a/package-lock.json b/package-lock.json index 66c1e34..5303e3e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@xterm/addon-fit": "^0.10.0", "@xterm/addon-web-links": "^0.11.0", "@xterm/xterm": "^5.5.0", - "@zenfs/core": "^1.3.0", + "@zenfs/core": "^1.3.2", "@zenfs/dom": "^1.0.4", "@zenfs/iso": "^0.3.3", "@zenfs/zip": "^0.5.2", @@ -1018,9 +1018,9 @@ "license": "MIT" }, "node_modules/@zenfs/core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/@zenfs/core/-/core-1.3.0.tgz", - "integrity": "sha512-5vmzqrbxwEl0so14/RAEqxm3HrJ28YkYqksqeFNUGo0I551N946YaD/JSGoQPCO2PeIk26k/LYlF7RqtjX39Ew==", + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@zenfs/core/-/core-1.3.2.tgz", + "integrity": "sha512-qpf98EXrD0KF2pl+EarwSjB3RqR+RXAy7RO/ouU6UKVfr4a3QHtLQVbR5/vhBb3er6z3Lqx9ggK4zKIAKorHww==", "license": "MIT", "dependencies": { "@types/node": "^20.16.10", diff --git a/package.json b/package.json index 2498e14..cdb3666 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@xterm/addon-fit": "^0.10.0", "@xterm/addon-web-links": "^0.11.0", "@xterm/xterm": "^5.5.0", - "@zenfs/core": "^1.3.0", + "@zenfs/core": "^1.3.2", "@zenfs/dom": "^1.0.4", "@zenfs/iso": "^0.3.3", "@zenfs/zip": "^0.5.2", diff --git a/src/common.ts b/src/common.ts index dc13409..7709d5e 100644 --- a/src/common.ts +++ b/src/common.ts @@ -85,4 +85,4 @@ export function alert(text: string): Promise { return promise; } -Object.assign(globalThis, { openPath, switchTab, confirm }); +Object.assign(globalThis, { openPath, switchTab, confirm, cd, cwd });