@ai-ecoverse/slicc-kernel 1.122.2 → 1.122.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.
package/dist/node.js CHANGED
@@ -5171,6 +5171,7 @@ var OpfsFs = class {
5171
5171
  if (await this.handleExists(dir, name2)) throw fsError("EEXIST", path);
5172
5172
  const freshMeta = this.meta.fresh ? await this.meta.fresh([path]) : await this.meta.get([path]);
5173
5173
  if (freshMeta[0]?.link !== void 0) throw fsError("EEXIST", path);
5174
+ if (freshMeta[0] !== void 0) await this.meta.remove([path]);
5174
5175
  this.forget(physical);
5175
5176
  this.refuse(physical);
5176
5177
  await dir.getDirectoryHandle(name2, { create: true });
@@ -5190,7 +5191,8 @@ var OpfsFs = class {
5190
5191
  await this.locked(physical, async () => {
5191
5192
  if (await this.handleExists(dir, name2)) throw fsError("EEXIST", path);
5192
5193
  const freshMeta = this.meta.fresh ? await this.meta.fresh([path]) : await this.meta.get([path]);
5193
- if (freshMeta[0] !== void 0) throw fsError("EEXIST", path);
5194
+ if (freshMeta[0]?.link !== void 0) throw fsError("EEXIST", path);
5195
+ if (freshMeta[0] !== void 0) await this.meta.remove([path]);
5194
5196
  this.forget(physical);
5195
5197
  this.refuse(physical);
5196
5198
  await dir.getFileHandle(name2, { create: true });
@@ -6777,7 +6779,7 @@ function satisfies(version, range2) {
6777
6779
  }
6778
6780
 
6779
6781
  // src/version.ts
6780
- var KERNEL_VERSION = true ? "1.122.2" : "0.0.0-dev";
6782
+ var KERNEL_VERSION = true ? "1.122.3" : "0.0.0-dev";
6781
6783
  var OS_RELEASE = "6.0.0-slicc";
6782
6784
  function procVersion() {
6783
6785
  return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC