@zenfs/core 0.15.0 → 0.15.2

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.
@@ -46,6 +46,9 @@ export class FetchFS extends IndexFS {
46
46
  return;
47
47
  }
48
48
  await super.ready();
49
+ if (this._disableSync) {
50
+ return;
51
+ }
49
52
  /**
50
53
  * Iterate over all of the files and cache their contents
51
54
  */
@@ -3,6 +3,7 @@ import type { File } from '../file.js';
3
3
  import type { FileSystemMetadata } from '../filesystem.js';
4
4
  import { FileSystem } from '../filesystem.js';
5
5
  import type { Stats } from '../stats.js';
6
+ import '../polyfills.js';
6
7
  export interface MutexLock extends PromiseWithResolvers<void> {
7
8
  [Symbol.dispose](): void;
8
9
  }
@@ -45,6 +45,7 @@ var __disposeResources = (this && this.__disposeResources) || (function (Suppres
45
45
  });
46
46
  import { Errno, ErrnoError } from '../error.js';
47
47
  import { FileSystem } from '../filesystem.js';
48
+ import '../polyfills.js';
48
49
  /**
49
50
  * This class serializes access to an underlying async filesystem.
50
51
  * For example, on an OverlayFS instance with an async lower
@@ -1,5 +1,5 @@
1
1
  import type { Ino } from '../../inode.js';
2
- import '../../symbol-dispose.js';
2
+ import '../../polyfills.js';
3
3
  /**
4
4
  * Represents a key-value store.
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { ErrnoError } from '../../error.js';
2
- import '../../symbol-dispose.js';
2
+ import '../../polyfills.js';
3
3
  /**
4
4
  * A transaction for a store.
5
5
  */