@d0paminedriven/fs 7.4.0 → 7.5.0
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/{chunk-C2ANVZLG.js → chunk-3MPIZJSN.js} +310 -69
- package/dist/{chunk-R63XI7FS.js → chunk-4DZLRFGH.js} +1 -1
- package/dist/{chunk-XCA34DKZ.js → chunk-6UANVLO3.js} +2 -2
- package/dist/{chunk-FPB77OGJ.js → chunk-CJBGTYSB.js} +3 -3
- package/dist/{chunk-7FHBNIB7.js → chunk-DSH3OL5Q.js} +2 -2
- package/dist/{chunk-Q2VF3BVH.js → chunk-F57L5MBU.js} +2 -2
- package/dist/{chunk-KDWGS5GC.js → chunk-HQ2FHXLJ.js} +2 -2
- package/dist/{chunk-IU4MDHYM.js → chunk-LYQ3KQSL.js} +15 -13
- package/dist/{chunk-TDMPLELZ.js → chunk-N33N54TN.js} +2 -2
- package/dist/fs/index.d.ts +80 -1
- package/dist/fs/index.js +9 -9
- package/dist/fs-atomic/index.js +3 -3
- package/dist/fs-base/index.js +2 -2
- package/dist/fs-core/index.js +6 -6
- package/dist/fs-fetch/index.d.ts +2 -2
- package/dist/fs-fetch/index.js +8 -8
- package/dist/fs-size/index.js +5 -5
- package/dist/fs-tmp/index.js +7 -7
- package/dist/image/index.d.ts +187 -11
- package/dist/image/index.js +1 -1
- package/dist/index.js +9 -9
- package/dist/mime/index.d.ts +2 -2
- package/dist/types/index.d.ts +3 -2
- package/dist/types/index.js +1 -1
- package/package.json +4 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsBase
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DSH3OL5Q.js";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-7QVYU63E.js";
|
|
@@ -104,4 +104,4 @@ var FsAtomic = class extends FsBase {
|
|
|
104
104
|
export {
|
|
105
105
|
FsAtomic
|
|
106
106
|
};
|
|
107
|
-
//# sourceMappingURL=chunk-
|
|
107
|
+
//# sourceMappingURL=chunk-6UANVLO3.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
unitsObj
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4DZLRFGH.js";
|
|
4
4
|
import {
|
|
5
5
|
FsAtomic
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6UANVLO3.js";
|
|
7
7
|
import {
|
|
8
8
|
__name
|
|
9
9
|
} from "./chunk-7QVYU63E.js";
|
|
@@ -72,4 +72,4 @@ var FsSize = class extends FsAtomic {
|
|
|
72
72
|
export {
|
|
73
73
|
FsSize
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=chunk-
|
|
75
|
+
//# sourceMappingURL=chunk-CJBGTYSB.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ImageService
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3MPIZJSN.js";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-7QVYU63E.js";
|
|
@@ -237,4 +237,4 @@ var FsBase = class extends ImageService {
|
|
|
237
237
|
export {
|
|
238
238
|
FsBase
|
|
239
239
|
};
|
|
240
|
-
//# sourceMappingURL=chunk-
|
|
240
|
+
//# sourceMappingURL=chunk-DSH3OL5Q.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsTmp
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N33N54TN.js";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-7QVYU63E.js";
|
|
@@ -162,4 +162,4 @@ var FsFetch = class extends FsTmp {
|
|
|
162
162
|
export {
|
|
163
163
|
FsFetch
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-F57L5MBU.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsSize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CJBGTYSB.js";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-7QVYU63E.js";
|
|
@@ -66,4 +66,4 @@ var FsCore = class extends FsSize {
|
|
|
66
66
|
export {
|
|
67
67
|
FsCore
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=chunk-
|
|
69
|
+
//# sourceMappingURL=chunk-HQ2FHXLJ.js.map
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsFetch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F57L5MBU.js";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-7QVYU63E.js";
|
|
7
7
|
|
|
8
8
|
// src/fs/index.ts
|
|
9
|
-
import {
|
|
10
|
-
import { relative, resolve } from "path";
|
|
9
|
+
import { resolve } from "path";
|
|
11
10
|
import sharp from "sharp";
|
|
12
11
|
var Fs = class extends FsFetch {
|
|
13
12
|
constructor(cwd) {
|
|
@@ -19,17 +18,20 @@ var Fs = class extends FsFetch {
|
|
|
19
18
|
__name(this, "Fs");
|
|
20
19
|
}
|
|
21
20
|
async getImageSpecs(filePath, size = 4096 * 6) {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
return this.
|
|
21
|
+
if (filePath.startsWith("https")) {
|
|
22
|
+
return await this.extractRemote(filePath, size);
|
|
23
|
+
}
|
|
24
|
+
return await this.extractViaPath(filePath, size);
|
|
25
|
+
}
|
|
26
|
+
async getImageSpecsFlexi(target, size = 4096 * 6) {
|
|
27
|
+
if (Buffer.isBuffer(target)) {
|
|
28
|
+
return this.getImageSpecsWorkup(target, size);
|
|
29
|
+
} else {
|
|
30
|
+
return await this.getImageSpecs(target, size);
|
|
31
|
+
}
|
|
26
32
|
}
|
|
27
33
|
async getImageSpecsTmp(filepath, size = 4096 * 6) {
|
|
28
|
-
|
|
29
|
-
relative(this.cwd, resolve(this.tmpDir, filepath)),
|
|
30
|
-
{ highWaterMark: size }
|
|
31
|
-
);
|
|
32
|
-
return this.extractFromStream(stream);
|
|
34
|
+
return this.extractViaPath(resolve(this.tmpDir, filepath), size);
|
|
33
35
|
}
|
|
34
36
|
/**
|
|
35
37
|
* Extract image metadata using streaming (only reads ~4KB)
|
|
@@ -72,4 +74,4 @@ var Fs = class extends FsFetch {
|
|
|
72
74
|
export {
|
|
73
75
|
Fs
|
|
74
76
|
};
|
|
75
|
-
//# sourceMappingURL=chunk-
|
|
77
|
+
//# sourceMappingURL=chunk-LYQ3KQSL.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsCore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HQ2FHXLJ.js";
|
|
4
4
|
import {
|
|
5
5
|
__name
|
|
6
6
|
} from "./chunk-7QVYU63E.js";
|
|
@@ -364,4 +364,4 @@ var FsTmp = class extends FsCore {
|
|
|
364
364
|
export {
|
|
365
365
|
FsTmp
|
|
366
366
|
};
|
|
367
|
-
//# sourceMappingURL=chunk-
|
|
367
|
+
//# sourceMappingURL=chunk-N33N54TN.js.map
|
package/dist/fs/index.d.ts
CHANGED
|
@@ -22,7 +22,86 @@ declare class Fs extends FsFetch {
|
|
|
22
22
|
cwd: string;
|
|
23
23
|
constructor(cwd: string);
|
|
24
24
|
getImageSpecs(filePath: string, size?: number): Promise<ImageSpecs>;
|
|
25
|
-
|
|
25
|
+
getImageSpecsFlexi(target: Buffer | string, size?: number): Promise<ImageSpecs>;
|
|
26
|
+
getImageSpecsTmp(filepath: string, size?: number): Promise<{
|
|
27
|
+
width: number;
|
|
28
|
+
height: number;
|
|
29
|
+
format: "apng" | "png";
|
|
30
|
+
frames: number;
|
|
31
|
+
animated: boolean;
|
|
32
|
+
hasAlpha: boolean;
|
|
33
|
+
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed";
|
|
34
|
+
orientation: null;
|
|
35
|
+
aspectRatio: number;
|
|
36
|
+
colorSpace: "unknown" | "cmyk" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "lab" | "xyz" | "gray";
|
|
37
|
+
iccProfile: string | null;
|
|
38
|
+
exifDateTimeOriginal: string | null;
|
|
39
|
+
} | {
|
|
40
|
+
width: number;
|
|
41
|
+
height: number;
|
|
42
|
+
format: "jpeg";
|
|
43
|
+
frames: number;
|
|
44
|
+
animated: false;
|
|
45
|
+
hasAlpha: false;
|
|
46
|
+
orientation: number | null;
|
|
47
|
+
aspectRatio: number;
|
|
48
|
+
colorSpace: "unknown" | "cmyk" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "lab" | "xyz" | "gray";
|
|
49
|
+
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck";
|
|
50
|
+
iccProfile: string | null;
|
|
51
|
+
exifDateTimeOriginal: string | null;
|
|
52
|
+
} | {
|
|
53
|
+
width: number;
|
|
54
|
+
height: number;
|
|
55
|
+
format: "gif";
|
|
56
|
+
frames: number;
|
|
57
|
+
animated: boolean;
|
|
58
|
+
hasAlpha: null;
|
|
59
|
+
orientation: null;
|
|
60
|
+
aspectRatio: number;
|
|
61
|
+
colorModel: "indexed";
|
|
62
|
+
colorSpace: "unknown";
|
|
63
|
+
iccProfile: null;
|
|
64
|
+
exifDateTimeOriginal: null;
|
|
65
|
+
} | {
|
|
66
|
+
width: number;
|
|
67
|
+
height: number;
|
|
68
|
+
format: "bmp";
|
|
69
|
+
frames: number;
|
|
70
|
+
animated: false;
|
|
71
|
+
hasAlpha: null;
|
|
72
|
+
orientation: number;
|
|
73
|
+
aspectRatio: number;
|
|
74
|
+
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck";
|
|
75
|
+
colorSpace: "unknown";
|
|
76
|
+
iccProfile: null;
|
|
77
|
+
exifDateTimeOriginal: null;
|
|
78
|
+
} | {
|
|
79
|
+
width: number;
|
|
80
|
+
height: number;
|
|
81
|
+
format: "webp";
|
|
82
|
+
frames: number;
|
|
83
|
+
animated: boolean;
|
|
84
|
+
hasAlpha: boolean;
|
|
85
|
+
colorModel: "unknown" | "rgb" | "rgba";
|
|
86
|
+
orientation: null;
|
|
87
|
+
aspectRatio: number;
|
|
88
|
+
colorSpace: "unknown" | "cmyk" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "lab" | "xyz" | "gray";
|
|
89
|
+
iccProfile: string | null;
|
|
90
|
+
exifDateTimeOriginal: null;
|
|
91
|
+
} | {
|
|
92
|
+
width: number;
|
|
93
|
+
height: number;
|
|
94
|
+
format: "avif";
|
|
95
|
+
frames: number;
|
|
96
|
+
animated: boolean;
|
|
97
|
+
colorModel: "unknown" | "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck";
|
|
98
|
+
hasAlpha: true | null;
|
|
99
|
+
orientation: null;
|
|
100
|
+
aspectRatio: number;
|
|
101
|
+
colorSpace: "unknown" | "cmyk" | "srgb" | "display_p3" | "adobe_rgb" | "prophoto_rgb" | "rec2020" | "rec709" | "lab" | "xyz" | "gray";
|
|
102
|
+
iccProfile: string | null;
|
|
103
|
+
exifDateTimeOriginal: string | null;
|
|
104
|
+
}>;
|
|
26
105
|
/**
|
|
27
106
|
* Extract image metadata using streaming (only reads ~4KB)
|
|
28
107
|
* Much more memory efficient for large images
|
package/dist/fs/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Fs
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-LYQ3KQSL.js";
|
|
4
|
+
import "../chunk-F57L5MBU.js";
|
|
5
|
+
import "../chunk-N33N54TN.js";
|
|
6
|
+
import "../chunk-HQ2FHXLJ.js";
|
|
7
|
+
import "../chunk-CJBGTYSB.js";
|
|
8
|
+
import "../chunk-4DZLRFGH.js";
|
|
9
|
+
import "../chunk-6UANVLO3.js";
|
|
10
|
+
import "../chunk-DSH3OL5Q.js";
|
|
11
|
+
import "../chunk-3MPIZJSN.js";
|
|
12
12
|
import "../chunk-KNLXF622.js";
|
|
13
13
|
import "../chunk-UW52DMHT.js";
|
|
14
14
|
import "../chunk-6HHKXBIM.js";
|
package/dist/fs-atomic/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsAtomic
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-6UANVLO3.js";
|
|
4
|
+
import "../chunk-DSH3OL5Q.js";
|
|
5
|
+
import "../chunk-3MPIZJSN.js";
|
|
6
6
|
import "../chunk-KNLXF622.js";
|
|
7
7
|
import "../chunk-UW52DMHT.js";
|
|
8
8
|
import "../chunk-6HHKXBIM.js";
|
package/dist/fs-base/index.js
CHANGED
package/dist/fs-core/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsCore
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-HQ2FHXLJ.js";
|
|
4
|
+
import "../chunk-CJBGTYSB.js";
|
|
5
|
+
import "../chunk-4DZLRFGH.js";
|
|
6
|
+
import "../chunk-6UANVLO3.js";
|
|
7
|
+
import "../chunk-DSH3OL5Q.js";
|
|
8
|
+
import "../chunk-3MPIZJSN.js";
|
|
9
9
|
import "../chunk-KNLXF622.js";
|
|
10
10
|
import "../chunk-UW52DMHT.js";
|
|
11
11
|
import "../chunk-6HHKXBIM.js";
|
package/dist/fs-fetch/index.d.ts
CHANGED
|
@@ -21,11 +21,11 @@ declare class FsFetch extends FsTmp {
|
|
|
21
21
|
constructor(cwd: string);
|
|
22
22
|
assetToBuffer<const T extends string>(path: T): Promise<{
|
|
23
23
|
readonly b64encodedData: `data:audio/aac;base64, ${string}` | `data:application/x-abiword;base64, ${string}` | `data:image/aces;base64, ${string}` | `data:image/apng;base64, ${string}` | `data:application/x-freearc;base64, ${string}` | `data:image/avci;base64, ${string}` | `data:image/avif;base64, ${string}` | `data:video/x-msvideo;base64, ${string}` | `data:application/vnd.amazon.ebook;base64, ${string}` | `data:application/octet-stream;base64, ${string}` | `data:multipart/voice-message;base64, ${string}` | `data:image/bmp;base64, ${string}` | `data:application/x-bzip;base64, ${string}` | `data:application/x-bzip2;base64, ${string}` | `data:application/x-cdf;base64, ${string}` | `data:application/node;base64, ${string}` | `data:text/javascript;base64, ${string}` | `data:application/x-csh;base64, ${string}` | `data:text/css;base64, ${string}` | `data:text/csv;base64, ${string}` | `data:image/x-icon;base64, ${string}` | `data:application/msword;base64, ${string}` | `data:application/vnd.openxmlformats-officedocument.wordprocessingml.document;base64, ${string}` | `data:image/dpx;base64, ${string}` | `data:image/emf;base64, ${string}` | `data:application/vnd.ms-fontobject;base64, ${string}` | `data:application/epub+zip;base64, ${string}` | `data:image/gif;base64, ${string}` | `data:model/gltf-binary;base64, ${string}` | `data:model/gltf+json;base64, ${string}` | `data:application/gzip;base64, ${string}` | `data:application/x-gzip;base64, ${string}` | `data:haptics/hjif;base64, ${string}` | `data:haptics/hmpg;base64, ${string}` | `data:text/html;base64, ${string}` | `data:image/vnd.microsoft.icon;base64, ${string}` | `data:text/calendar;base64, ${string}` | `data:haptics/ivs;base64, ${string}` | `data:application/java-archive;base64, ${string}` | `data:image/jpeg;base64, ${string}` | `data:application/json;base64, ${string}` | `data:application/ld+json;base64, ${string}` | `data:image/ktx;base64, ${string}` | `data:image/ktx2;base64, ${string}` | `data:application/vnd.apple.mpegurl;base64, ${string}` | `data:audio/mp4;base64, ${string}` | `data:video/mp4;base64, ${string}` | `data:text/markdown;base64, ${string}` | `data:application/x-mdx;base64, ${string}` | `data:audio/midi;base64, ${string}` | `data:audio/x-midi;base64, ${string}` | `data:audio/mpeg;base64, ${string}` | `data:application/dash+xml;base64, ${string}` | `data:video/mpeg;base64, ${string}` | `data:application/vnd.apple.installer+xml;base64, ${string}` | `data:application/xml;base64, ${string}` | `data:application/x-ndjson;base64, ${string}` | `data:model/obj;base64, ${string}` | `data:text/plain;base64, ${string}` | `data:application/vnd.oasis.opendocument.presentation;base64, ${string}` | `data:application/vnd.oasis.opendocument.spreadsheet;base64, ${string}` | `data:application/vnd.oasis.opendocument.text;base64, ${string}` | `data:audio/ogg;base64, ${string}` | `data:video/ogg;base64, ${string}` | `data:application/ogg;base64, ${string}` | `data:font/otf;base64, ${string}` | `data:image/png;base64, ${string}` | `data:application/pdf;base64, ${string}` | `data:application/x-httpd-php;base64, ${string}` | `data:application/vnd.apple.pkpass;base64, ${string}` | `data:application/vnd.ms-powerpoint;base64, ${string}` | `data:application/vnd.openxmlformats-officedocument.presentationml.presentation;base64, ${string}` | `data:text/x-python;base64, ${string}` | `data:application/x-python-code;base64, ${string}` | `data:application/vnd.rar;base64, ${string}` | `data:text/rust;base64, ${string}` | `data:application/rtf;base64, ${string}` | `data:application/x-sh;base64, ${string}` | `data:application/sql;base64, ${string}` | `data:text/event-stream;base64, ${string}` | `data:image/svg+xml;base64, ${string}` | `data:application/x-tar;base64, ${string}` | `data:image/tiff;base64, ${string}` | `data:application/toml;base64, ${string}` | `data:text/typescript;base64, ${string}` | `data:video/mp2t;base64, ${string}` | `data:video/vnd.dlna.mpeg-tts;base64, ${string}` | `data:application/font-sfnt;base64, ${string}` | `data:font/ttf;base64, ${string}` | `data:model/vnd.usdz+zip;base64, ${string}` | `data:application/vnd.visio;base64, ${string}` | `data:text/vtt;base64, ${string}` | `data:application/wasm;base64, ${string}` | `data:audio/wav;base64, ${string}` | `data:audio/webm;base64, ${string}` | `data:video/webm;base64, ${string}` | `data:application/manifest+json;base64, ${string}` | `data:image/webp;base64, ${string}` | `data:font/woff;base64, ${string}` | `data:font/woff2;base64, ${string}` | `data:application/xhtml+xml;base64, ${string}` | `data:application/vnd.ms-excel;base64, ${string}` | `data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64, ${string}` | `data:text/xml;base64, ${string}` | `data:application/vnd.mozilla.xul+xml;base64, ${string}` | `data:application/yaml;base64, ${string}` | `data:application/zip;base64, ${string}` | `data:application/x-zip-compressed;base64, ${string}` | `data:video/3gpp;base64, ${string}` | `data:video/3gpp2;base64, ${string}` | `data:application/x-7z-compressed;base64, ${string}`;
|
|
24
|
-
readonly extension: "png" | "jpeg" | "gif" | "bmp" | "webp" | "avif" | "mpd" | "epub" | "ttf" | "gz" | "jar" | "json" | "jsonld" | "webmanifest" | "doc" | "node" | "js" | "bin" | "obj" | "ogx" | "pdf" | "rtf" | "sql" | "toml" | "azw" | "mpkg" | "m3u8" | "pkpass" | "xul" | "xls" | "eot" | "ppt" | "odp" | "ods" | "odt" | "pptx" | "xlsx" | "docx" | "rar" | "vsd" | "wasm" | "7z" | "abw" | "bz" | "bz2" | "cda" | "csh" | "arc" | "php" | "mdx" | "ndjson" | "pyc" | "sh" | "tar" | "zip" | "xhtml" | "xml" | "mtlx" | "yml" | "yaml" | "aac" | "mid" | "m4a" | "mp3" | "opus" | "ogg" | "oga" | "wav" | "weba" | "midi" | "otf" | "woff" | "woff2" | "hjif" | "hmpg" | "ivs" | "ivt" | "aces" | "
|
|
24
|
+
readonly extension: "apng" | "png" | "jpeg" | "gif" | "bmp" | "webp" | "avif" | "mpd" | "epub" | "ttf" | "gz" | "jar" | "json" | "jsonld" | "webmanifest" | "doc" | "node" | "js" | "bin" | "obj" | "ogx" | "pdf" | "rtf" | "sql" | "toml" | "azw" | "mpkg" | "m3u8" | "pkpass" | "xul" | "xls" | "eot" | "ppt" | "odp" | "ods" | "odt" | "pptx" | "xlsx" | "docx" | "rar" | "vsd" | "wasm" | "7z" | "abw" | "bz" | "bz2" | "cda" | "csh" | "arc" | "php" | "mdx" | "ndjson" | "pyc" | "sh" | "tar" | "zip" | "xhtml" | "xml" | "mtlx" | "yml" | "yaml" | "aac" | "mid" | "m4a" | "mp3" | "opus" | "ogg" | "oga" | "wav" | "weba" | "midi" | "otf" | "woff" | "woff2" | "hjif" | "hmpg" | "ivs" | "ivt" | "aces" | "avci" | "dpx" | "emf" | "jpg" | "jpe" | "jif" | "jfif" | "pjp" | "pjpeg" | "ktx" | "ktx2" | "svg" | "tiff" | "tif" | "ico" | "cur" | "glb" | "gltf" | "usdz" | "ics" | "css" | "csv" | "sse" | "html" | "htm" | "mjs" | "cjs" | "md" | "txt" | "rs" | "ts" | "vtt" | "py" | "3gp" | "3g2" | "mp4" | "m4v" | "mpeg" | "ogv" | "webm" | "avi";
|
|
25
25
|
}>;
|
|
26
26
|
assetToBufferView<const T extends string>(path: T): Promise<{
|
|
27
27
|
readonly b64encodedData: string;
|
|
28
|
-
readonly extension: "png" | "jpeg" | "gif" | "bmp" | "webp" | "avif" | "mpd" | "epub" | "ttf" | "gz" | "jar" | "json" | "jsonld" | "webmanifest" | "doc" | "node" | "js" | "bin" | "obj" | "ogx" | "pdf" | "rtf" | "sql" | "toml" | "azw" | "mpkg" | "m3u8" | "pkpass" | "xul" | "xls" | "eot" | "ppt" | "odp" | "ods" | "odt" | "pptx" | "xlsx" | "docx" | "rar" | "vsd" | "wasm" | "7z" | "abw" | "bz" | "bz2" | "cda" | "csh" | "arc" | "php" | "mdx" | "ndjson" | "pyc" | "sh" | "tar" | "zip" | "xhtml" | "xml" | "mtlx" | "yml" | "yaml" | "aac" | "mid" | "m4a" | "mp3" | "opus" | "ogg" | "oga" | "wav" | "weba" | "midi" | "otf" | "woff" | "woff2" | "hjif" | "hmpg" | "ivs" | "ivt" | "aces" | "
|
|
28
|
+
readonly extension: "apng" | "png" | "jpeg" | "gif" | "bmp" | "webp" | "avif" | "mpd" | "epub" | "ttf" | "gz" | "jar" | "json" | "jsonld" | "webmanifest" | "doc" | "node" | "js" | "bin" | "obj" | "ogx" | "pdf" | "rtf" | "sql" | "toml" | "azw" | "mpkg" | "m3u8" | "pkpass" | "xul" | "xls" | "eot" | "ppt" | "odp" | "ods" | "odt" | "pptx" | "xlsx" | "docx" | "rar" | "vsd" | "wasm" | "7z" | "abw" | "bz" | "bz2" | "cda" | "csh" | "arc" | "php" | "mdx" | "ndjson" | "pyc" | "sh" | "tar" | "zip" | "xhtml" | "xml" | "mtlx" | "yml" | "yaml" | "aac" | "mid" | "m4a" | "mp3" | "opus" | "ogg" | "oga" | "wav" | "weba" | "midi" | "otf" | "woff" | "woff2" | "hjif" | "hmpg" | "ivs" | "ivt" | "aces" | "avci" | "dpx" | "emf" | "jpg" | "jpe" | "jif" | "jfif" | "pjp" | "pjpeg" | "ktx" | "ktx2" | "svg" | "tiff" | "tif" | "ico" | "cur" | "glb" | "gltf" | "usdz" | "ics" | "css" | "csv" | "sse" | "html" | "htm" | "mjs" | "cjs" | "md" | "txt" | "rs" | "ts" | "vtt" | "py" | "3gp" | "3g2" | "mp4" | "m4v" | "mpeg" | "ogv" | "webm" | "avi" | undefined;
|
|
29
29
|
}>;
|
|
30
30
|
/**
|
|
31
31
|
*
|
package/dist/fs-fetch/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsFetch
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-F57L5MBU.js";
|
|
4
|
+
import "../chunk-N33N54TN.js";
|
|
5
|
+
import "../chunk-HQ2FHXLJ.js";
|
|
6
|
+
import "../chunk-CJBGTYSB.js";
|
|
7
|
+
import "../chunk-4DZLRFGH.js";
|
|
8
|
+
import "../chunk-6UANVLO3.js";
|
|
9
|
+
import "../chunk-DSH3OL5Q.js";
|
|
10
|
+
import "../chunk-3MPIZJSN.js";
|
|
11
11
|
import "../chunk-KNLXF622.js";
|
|
12
12
|
import "../chunk-UW52DMHT.js";
|
|
13
13
|
import "../chunk-6HHKXBIM.js";
|
package/dist/fs-size/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsSize
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-CJBGTYSB.js";
|
|
4
|
+
import "../chunk-4DZLRFGH.js";
|
|
5
|
+
import "../chunk-6UANVLO3.js";
|
|
6
|
+
import "../chunk-DSH3OL5Q.js";
|
|
7
|
+
import "../chunk-3MPIZJSN.js";
|
|
8
8
|
import "../chunk-KNLXF622.js";
|
|
9
9
|
import "../chunk-UW52DMHT.js";
|
|
10
10
|
import "../chunk-6HHKXBIM.js";
|
package/dist/fs-tmp/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FsTmp
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-N33N54TN.js";
|
|
4
|
+
import "../chunk-HQ2FHXLJ.js";
|
|
5
|
+
import "../chunk-CJBGTYSB.js";
|
|
6
|
+
import "../chunk-4DZLRFGH.js";
|
|
7
|
+
import "../chunk-6UANVLO3.js";
|
|
8
|
+
import "../chunk-DSH3OL5Q.js";
|
|
9
|
+
import "../chunk-3MPIZJSN.js";
|
|
10
10
|
import "../chunk-KNLXF622.js";
|
|
11
11
|
import "../chunk-UW52DMHT.js";
|
|
12
12
|
import "../chunk-6HHKXBIM.js";
|