@ai-ecoverse/slicc-kernel 1.128.1 → 1.128.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.
@@ -6434,7 +6434,7 @@ var KERNEL_VERSION, OS_RELEASE;
6434
6434
  var init_version = __esm({
6435
6435
  "src/version.ts"() {
6436
6436
  "use strict";
6437
- KERNEL_VERSION = true ? "1.128.1" : "0.0.0-dev";
6437
+ KERNEL_VERSION = true ? "1.128.2" : "0.0.0-dev";
6438
6438
  OS_RELEASE = "6.0.0-slicc";
6439
6439
  }
6440
6440
  });
package/dist/node.js CHANGED
@@ -7392,7 +7392,7 @@ function satisfies(version, range2) {
7392
7392
  }
7393
7393
 
7394
7394
  // src/version.ts
7395
- var KERNEL_VERSION = true ? "1.128.1" : "0.0.0-dev";
7395
+ var KERNEL_VERSION = true ? "1.128.2" : "0.0.0-dev";
7396
7396
  var OS_RELEASE = "6.0.0-slicc";
7397
7397
  function procVersion() {
7398
7398
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
@@ -9785,8 +9785,9 @@ var FreshModules = class {
9785
9785
  if (ranged2) {
9786
9786
  overrides.pwrite = async (path, at, bytes, transfer) => {
9787
9787
  const touches2 = at < MAGIC.length && this.fresh.has(normalizePath(path));
9788
+ const first = at === 0 && bytes.length >= MAGIC.length ? bytes.slice(0, MAGIC.length) : void 0;
9788
9789
  await ranged2.pwrite(path, at, bytes, transfer);
9789
- if (touches2) await decide(path);
9790
+ if (touches2) await decide(path, first);
9790
9791
  };
9791
9792
  overrides.truncate = async (path, size) => {
9792
9793
  await ranged2.truncate(path, size);