@zenfs/core 1.0.0 → 1.0.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/dist/backends/store/simple.d.ts +0 -1
- package/dist/backends/store/simple.js +2 -2
- package/dist/browser.min.js +3 -3
- package/dist/browser.min.js.map +4 -4
- package/dist/emulation/async.d.ts +2 -0
- package/dist/emulation/promises.d.ts +1 -0
- package/dist/emulation/streams.d.ts +1 -0
- package/dist/emulation/sync.d.ts +1 -0
- package/dist/emulation/watchers.d.ts +1 -0
- package/package.json +5 -9
- package/src/backends/fetch.ts +1 -1
- package/src/backends/file_index.ts +1 -1
- package/src/backends/overlay.ts +1 -1
- package/src/backends/port/fs.ts +9 -1
- package/src/backends/store/fs.ts +1 -1
- package/src/backends/store/simple.ts +0 -4
- package/src/backends/store/store.ts +5 -1
- package/src/emulation/dir.ts +1 -1
- package/src/error.ts +1 -1
- package/src/file.ts +3 -3
- package/src/inode.ts +1 -1
- package/src/stats.ts +4 -1
|
@@ -43,7 +43,6 @@ export declare class SimpleTransaction extends SyncTransaction<SimpleSyncStore>
|
|
|
43
43
|
*/
|
|
44
44
|
protected modifiedKeys: Set<Ino>;
|
|
45
45
|
protected store: SimpleSyncStore;
|
|
46
|
-
constructor(store: SimpleSyncStore);
|
|
47
46
|
getSync(ino: Ino): Uint8Array;
|
|
48
47
|
setSync(ino: Ino, data: Uint8Array): void;
|
|
49
48
|
removeSync(ino: Ino): void;
|
|
@@ -43,8 +43,8 @@ export class SimpleAsyncStore {
|
|
|
43
43
|
* @see SimpleAsyncStore
|
|
44
44
|
*/
|
|
45
45
|
export class SimpleTransaction extends SyncTransaction {
|
|
46
|
-
constructor(
|
|
47
|
-
super(
|
|
46
|
+
constructor() {
|
|
47
|
+
super(...arguments);
|
|
48
48
|
/**
|
|
49
49
|
* Stores data in the keys we modify prior to modifying them.
|
|
50
50
|
* Allows us to roll back commits.
|