@zenfs/core 1.6.5 → 1.6.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/devices.d.ts +1 -1
- package/dist/emulation/promises.d.ts +0 -1
- package/dist/inode.d.ts +1 -1
- package/dist/inode.js +2 -2
- package/package.json +1 -1
package/dist/devices.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ import type { StatsLike } from './stats.js';
|
|
|
6
6
|
import { Stats } from './stats.js';
|
|
7
7
|
/**
|
|
8
8
|
* A device
|
|
9
|
-
* @todo Maybe add
|
|
9
|
+
* @todo Maybe add some other device information, like a UUID?
|
|
10
10
|
* @privateRemarks
|
|
11
11
|
* UUIDs were considered, however they don't make sense without an easy mechanism for persistence
|
|
12
12
|
*/
|
|
@@ -354,7 +354,6 @@ export declare function statfs(this: V_Context, path: fs.PathLike, opts: fs.Stat
|
|
|
354
354
|
export declare function statfs(this: V_Context, path: fs.PathLike, opts?: fs.StatFsOptions): Promise<fs.StatsFs | fs.BigIntStatsFs>;
|
|
355
355
|
/**
|
|
356
356
|
* Retrieves the files matching the specified pattern.
|
|
357
|
-
* @todo Implement
|
|
358
357
|
*/
|
|
359
358
|
export declare function glob(this: V_Context, pattern: string | string[]): NodeJS.AsyncIterator<string>;
|
|
360
359
|
export declare function glob(this: V_Context, pattern: string | string[], opt: fs.GlobOptionsWithFileTypes): NodeJS.AsyncIterator<Dirent>;
|
package/dist/inode.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const rootIno = 0n;
|
|
|
7
7
|
/**
|
|
8
8
|
* Generic inode definition that can easily be serialized.
|
|
9
9
|
* @internal
|
|
10
|
-
* @todo [BREAKING]
|
|
10
|
+
* @todo [BREAKING] Remove 58 byte Inode upgrade path
|
|
11
11
|
*/
|
|
12
12
|
export declare class Inode implements StatsLike {
|
|
13
13
|
constructor(buffer?: ArrayBufferLike | ArrayBufferView);
|
package/dist/inode.js
CHANGED
|
@@ -47,7 +47,7 @@ export const rootIno = 0n;
|
|
|
47
47
|
/**
|
|
48
48
|
* Generic inode definition that can easily be serialized.
|
|
49
49
|
* @internal
|
|
50
|
-
* @todo [BREAKING]
|
|
50
|
+
* @todo [BREAKING] Remove 58 byte Inode upgrade path
|
|
51
51
|
*/
|
|
52
52
|
let Inode = (() => {
|
|
53
53
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l;
|
|
@@ -118,7 +118,7 @@ let Inode = (() => {
|
|
|
118
118
|
This will be different from the actual one,
|
|
119
119
|
but `ino` isn't used anywhere so it should be fine.
|
|
120
120
|
*/
|
|
121
|
-
new DataView(newBuffer.buffer).setBigUint64(sz_inode -
|
|
121
|
+
new DataView(newBuffer.buffer).setBigUint64(sz_inode - 1, randomBigInt());
|
|
122
122
|
buffer = newBuffer;
|
|
123
123
|
}
|
|
124
124
|
deserialize(this, buffer);
|