@ai-ecoverse/slicc-kernel 1.95.0 → 1.95.1

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/dist/node.js CHANGED
@@ -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) || !realpath2) throw errnoError("ENOSYS", path);
9350
- const real = await realpath2.call(this.base, path, follow2).catch((err) => {
9351
- throw redirectOf(err) ? errnoError("ENOSYS", path) : err;
9352
- });
9353
- if (this.at(real)) throw errnoError("ENOSYS", path);
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.0" : "0.0.0-dev";
10662
+ var KERNEL_VERSION = true ? "1.95.1" : "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