zen-fs-config 0.4.5 → 0.4.6

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 CHANGED
@@ -337,7 +337,10 @@ async function wrapZenFSFileSystem(config) {
337
337
  await isolatedFS.createFile(path, { uid: 0, gid: 0, mode: 420 });
338
338
  }
339
339
  await isolatedFS.write(path, bytes, 0);
340
- await isolatedFS.touch(path, { size: bytes.byteLength, mtimeMs: Date.now() });
340
+ try {
341
+ await isolatedFS.touch(path, { size: bytes.byteLength, mtimeMs: Date.now() });
342
+ } catch {
343
+ }
341
344
  },
342
345
  async readdir(path) {
343
346
  return isolatedFS.readdir(path);
package/dist/index.mjs CHANGED
@@ -285,7 +285,10 @@ async function wrapZenFSFileSystem(config) {
285
285
  await isolatedFS.createFile(path, { uid: 0, gid: 0, mode: 420 });
286
286
  }
287
287
  await isolatedFS.write(path, bytes, 0);
288
- await isolatedFS.touch(path, { size: bytes.byteLength, mtimeMs: Date.now() });
288
+ try {
289
+ await isolatedFS.touch(path, { size: bytes.byteLength, mtimeMs: Date.now() });
290
+ } catch {
291
+ }
289
292
  },
290
293
  async readdir(path) {
291
294
  return isolatedFS.readdir(path);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zen-fs-config",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Distributed config management library built on ZenFS, zen-fs-cache, and zen-fs-sync",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",