zen-fs-config 0.3.11 → 0.3.12
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/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -353,6 +353,7 @@ async function wrapZenFSFileSystem(config) {
|
|
|
353
353
|
await isolatedFS.createFile(path, { uid: 0, gid: 0, mode: 420 });
|
|
354
354
|
}
|
|
355
355
|
await isolatedFS.write(path, bytes, 0);
|
|
356
|
+
await isolatedFS.touch(path, { size: bytes.byteLength, mtimeMs: Date.now() });
|
|
356
357
|
},
|
|
357
358
|
async readdir(path) {
|
|
358
359
|
return isolatedFS.readdir(path);
|
package/dist/index.mjs
CHANGED
|
@@ -306,6 +306,7 @@ async function wrapZenFSFileSystem(config) {
|
|
|
306
306
|
await isolatedFS.createFile(path, { uid: 0, gid: 0, mode: 420 });
|
|
307
307
|
}
|
|
308
308
|
await isolatedFS.write(path, bytes, 0);
|
|
309
|
+
await isolatedFS.touch(path, { size: bytes.byteLength, mtimeMs: Date.now() });
|
|
309
310
|
},
|
|
310
311
|
async readdir(path) {
|
|
311
312
|
return isolatedFS.readdir(path);
|