@ai-ecoverse/slicc-kernel 1.140.0 → 1.140.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
@@ -3740,8 +3740,9 @@ var MemoryMeta = class {
3740
3740
  this.entries.set(to, moved(root(carried.find((entry) => entry.path === from)), to));
3741
3741
  if (left) this.entries.set(from, left);
3742
3742
  }
3743
- async remove(paths) {
3743
+ async remove(paths, left) {
3744
3744
  for (const path of paths) this.entries.deleteTree(path);
3745
+ if (left) this.entries.set(left.path, left);
3745
3746
  }
3746
3747
  absent(path) {
3747
3748
  return !this.entries.has(path);
@@ -5590,10 +5591,10 @@ var OpfsFs = class {
5590
5591
  return;
5591
5592
  }
5592
5593
  }
5593
- await this.meta.remove([found.path]);
5594
- if (found.handle?.kind === "directory") {
5595
- await this.meta.update(found.path, (entry) => entry ?? vacatedAt(found.path));
5596
- }
5594
+ await this.meta.remove(
5595
+ [found.path],
5596
+ found.handle?.kind === "directory" ? vacatedAt(found.path) : void 0
5597
+ );
5597
5598
  this.touch(Date.now(), parentOf4(found.path));
5598
5599
  }
5599
5600
  links() {
@@ -7513,7 +7514,7 @@ function satisfies(version, range2) {
7513
7514
  }
7514
7515
 
7515
7516
  // src/version.ts
7516
- var KERNEL_VERSION = true ? "1.140.0" : "0.0.0-dev";
7517
+ var KERNEL_VERSION = true ? "1.140.1" : "0.0.0-dev";
7517
7518
  var OS_RELEASE = "6.0.0-slicc";
7518
7519
  function procVersion() {
7519
7520
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC