@ai-ecoverse/slicc-kernel 1.77.1 → 1.77.2
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/README.md +1 -1
- package/dist/kernel-worker.js +1 -0
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +18 -2
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +1 -0
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +18 -2
- package/dist/process-worker.js.map +2 -2
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -3605,6 +3605,7 @@ var OpfsFs = class {
|
|
|
3605
3605
|
}
|
|
3606
3606
|
}
|
|
3607
3607
|
async current(path, dir) {
|
|
3608
|
+
if (dir === this.root) return path === "/";
|
|
3608
3609
|
if (performance.now() - (this.checked.get(dir) ?? -CHECK_MS) < CHECK_MS) return true;
|
|
3609
3610
|
const where = await this.root.resolve(dir).catch(() => null);
|
|
3610
3611
|
if (where === null || `/${where.join("/")}` !== path) return false;
|