@ai-ecoverse/slicc-kernel 1.62.1 → 1.62.3

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.
@@ -4740,15 +4740,12 @@ function cachingBridge(bridge, now = () => performance.now(), shared) {
4740
4740
  bridge.identify();
4741
4741
  };
4742
4742
  const identified = (p, op, also) => {
4743
- const before = cache.generation();
4744
4743
  try {
4745
4744
  return op();
4746
4745
  } finally {
4747
4746
  const st = bridge.identified?.() ?? null;
4748
- if (!st) cache.mutated([]);
4749
- else if (cache.mutated([p, ...also], st.ino) === before + 1 + also.length && !st.isSymbolicLink) {
4750
- cache.put(stats, p, st);
4751
- }
4747
+ if (st) cache.mutated([p, ...also], st.ino);
4748
+ else cache.mutated([]);
4752
4749
  }
4753
4750
  };
4754
4751
  const rewriting = (p, op, ...also) => {
@@ -5061,15 +5058,11 @@ var init_wasi_files = __esm({
5061
5058
  }
5062
5059
  mutated(paths, ino = 0) {
5063
5060
  this.clear();
5064
- if (!this.shared) return 0;
5061
+ if (!this.shared) return;
5065
5062
  const key = ino % 4294967296 | 0;
5066
5063
  for (const [i, hash] of (paths.length > 0 ? paths.map(pathHash) : [0]).entries()) {
5067
5064
  this.seen = this.publish(this.shared, hash, i === 0 ? key : 0);
5068
5065
  }
5069
- return this.seen;
5070
- }
5071
- generation() {
5072
- return this.shared ? Atomics.load(this.shared, FS_GEN) : 0;
5073
5066
  }
5074
5067
  inoOf(path, look) {
5075
5068
  if (!this.shared) return 0;