@ai-ecoverse/slicc-kernel 1.134.0 → 1.134.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/README.md +1 -1
- package/dist/kernel-worker.js +15 -9
- package/dist/kernel-worker.js.map +2 -2
- package/dist/node-process-worker.js +9 -4
- package/dist/node-process-worker.js.map +3 -3
- package/dist/node.js +15 -9
- package/dist/node.js.map +2 -2
- package/dist/process-worker.js +9 -4
- package/dist/process-worker.js.map +3 -3
- package/dist/types/process/js/js-context.d.ts +1 -0
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -5827,15 +5827,21 @@ var OpfsFs = class {
|
|
|
5827
5827
|
let writable2;
|
|
5828
5828
|
let handle;
|
|
5829
5829
|
try {
|
|
5830
|
-
const
|
|
5831
|
-
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
5835
|
-
await this.
|
|
5830
|
+
const kept = created4 ? this.files.get(destination) : void 0;
|
|
5831
|
+
if (kept) {
|
|
5832
|
+
if (options.owner?.fifo || options.owner?.socket) throw fsError("ENXIO", to);
|
|
5833
|
+
handle = kept;
|
|
5834
|
+
} else {
|
|
5835
|
+
const [made2, existed, at] = await this.fileFor(destination);
|
|
5836
|
+
handle = made2;
|
|
5837
|
+
target = at;
|
|
5838
|
+
if (!existed && !created4) {
|
|
5839
|
+
created4 = true;
|
|
5840
|
+
await this.stampNew(target, options.owner, false);
|
|
5841
|
+
}
|
|
5842
|
+
const [entry] = await this.meta.get([target]);
|
|
5843
|
+
if (entry?.fifo || entry?.socket) throw fsError("ENXIO", to);
|
|
5836
5844
|
}
|
|
5837
|
-
const [entry] = await this.meta.get([target]);
|
|
5838
|
-
if (entry?.fifo || entry?.socket) throw fsError("ENXIO", to);
|
|
5839
5845
|
this.wrote(handle);
|
|
5840
5846
|
writable2 = await handle.createWritable();
|
|
5841
5847
|
await writable2.write(file);
|
|
@@ -7464,7 +7470,7 @@ function satisfies(version, range2) {
|
|
|
7464
7470
|
}
|
|
7465
7471
|
|
|
7466
7472
|
// src/version.ts
|
|
7467
|
-
var KERNEL_VERSION = true ? "1.134.
|
|
7473
|
+
var KERNEL_VERSION = true ? "1.134.1" : "0.0.0-dev";
|
|
7468
7474
|
var OS_RELEASE = "6.0.0-slicc";
|
|
7469
7475
|
function procVersion() {
|
|
7470
7476
|
return `Linux version ${OS_RELEASE} (slicc-kernel ${KERNEL_VERSION}) #1 SMP PREEMPT_DYNAMIC
|