@ai-ecoverse/slicc-kernel 1.95.0 → 1.95.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 +3 -1
- package/dist/kernel-worker.js +12 -7
- package/dist/kernel-worker.js.map +3 -3
- package/dist/node-process-worker.js +3 -3
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +12 -7
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +3 -3
- package/dist/process-worker.js.map +2 -2
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -7449,7 +7449,7 @@ var FreshModules = class {
|
|
|
7449
7449
|
},
|
|
7450
7450
|
link: async (from, to, follow2) => {
|
|
7451
7451
|
await fs.link(from, to, follow2);
|
|
7452
|
-
const source = follow2 && fs.realpath ? await fs.realpath(from, true) : from;
|
|
7452
|
+
const source = follow2 && fs.realpath ? await fs.realpath(from, true).catch(() => from) : from;
|
|
7453
7453
|
const fresh2 = this.fresh.get(normalizePath(source));
|
|
7454
7454
|
if (fresh2) this.fresh.set(normalizePath(to), fresh2);
|
|
7455
7455
|
}
|
|
@@ -9346,11 +9346,16 @@ var MountFs = class _MountFs {
|
|
|
9346
9346
|
}
|
|
9347
9347
|
async realpath(path, follow2) {
|
|
9348
9348
|
const { realpath: realpath2 } = this.base;
|
|
9349
|
-
if (this.at(path)
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
|
|
9349
|
+
if (!this.at(path) && realpath2) {
|
|
9350
|
+
const real2 = await realpath2.call(this.base, path, follow2).catch((err) => {
|
|
9351
|
+
if (redirectOf(err)) return void 0;
|
|
9352
|
+
throw err;
|
|
9353
|
+
});
|
|
9354
|
+
if (real2 !== void 0 && !this.at(real2)) return real2;
|
|
9355
|
+
}
|
|
9356
|
+
const real = follow2 ? await realTarget(this, normalizePath(path)) : await this.named(path);
|
|
9357
|
+
if (this.rejectLinks && real !== normalizePath(path)) throw errnoError("ELOOP", path);
|
|
9358
|
+
await this.lstat(real);
|
|
9354
9359
|
return real;
|
|
9355
9360
|
}
|
|
9356
9361
|
async hasOwner(path) {
|
|
@@ -10654,7 +10659,7 @@ function mountTable(mounts = []) {
|
|
|
10654
10659
|
}
|
|
10655
10660
|
|
|
10656
10661
|
// src/version.ts
|
|
10657
|
-
var KERNEL_VERSION = true ? "1.95.
|
|
10662
|
+
var KERNEL_VERSION = true ? "1.95.2" : "0.0.0-dev";
|
|
10658
10663
|
var OS_RELEASE = "6.0.0-slicc";
|
|
10659
10664
|
function procVersion() {
|
|
10660
10665
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|