@ai-ecoverse/slicc-kernel 1.184.0 → 1.184.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.
@@ -7997,7 +7997,7 @@ var init_version = __esm({
7997
7997
  "src/version.ts"() {
7998
7998
  "use strict";
7999
7999
  init_captured_globals();
8000
- KERNEL_VERSION = true ? "1.184.0" : "0.0.0-dev";
8000
+ KERNEL_VERSION = true ? "1.184.1" : "0.0.0-dev";
8001
8001
  OS_RELEASE = "6.0.0-slicc";
8002
8002
  }
8003
8003
  });
@@ -14235,6 +14235,7 @@ var init_kernel_streams = __esm({
14235
14235
  }
14236
14236
  };
14237
14237
  const set = (path, change) => this.call(() => devMeta(path, change));
14238
+ const timeOf2 = (value2) => typeof value2 === "number" && capturedNumber.isFinite(value2) ? value2 : null;
14238
14239
  const { chmod, chown: chown2, utime } = fs;
14239
14240
  if (chmod)
14240
14241
  fs.chmod = (path, mode, dontFollow) => {
@@ -14253,8 +14254,8 @@ var init_kernel_streams = __esm({
14253
14254
  const device2 = deviceOf2(path, true);
14254
14255
  if (device2 === void 0) return utime.call(fs, path, atime, mtime);
14255
14256
  set(device2, {
14256
- atimeMs: capturedNumber(atime),
14257
- mtimeMs: capturedNumber(mtime),
14257
+ atimeMs: timeOf2(atime),
14258
+ mtimeMs: timeOf2(mtime),
14258
14259
  now: fs.sliccTouch === true
14259
14260
  });
14260
14261
  };