@d0paminedriven/fs 7.0.0 → 7.1.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.
@@ -23,6 +23,7 @@ declare const extMimeMap: {
23
23
  readonly csh: readonly ["application/x-csh"];
24
24
  readonly css: readonly ["text/css"];
25
25
  readonly csv: readonly ["text/csv"];
26
+ readonly cur: readonly ["image/x-icon"];
26
27
  readonly doc: readonly ["application/msword"];
27
28
  readonly docx: readonly ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"];
28
29
  readonly dpx: readonly ["image/dpx"];
@@ -37,11 +38,14 @@ declare const extMimeMap: {
37
38
  readonly hmpg: readonly ["haptics/hmpg"];
38
39
  readonly htm: readonly ["text/html"];
39
40
  readonly html: readonly ["text/html"];
40
- readonly ico: readonly ["image/vnd.microsoft.icon"];
41
+ readonly ico: readonly ["image/vnd.microsoft.icon", "image/x-icon"];
41
42
  readonly ics: readonly ["text/calendar"];
42
43
  readonly ivs: readonly ["haptics/ivs"];
43
44
  readonly ivt: readonly ["haptics/ivs"];
44
45
  readonly jar: readonly ["application/java-archive"];
46
+ readonly jfif: readonly ["image/jpeg"];
47
+ readonly jif: readonly ["image/jpeg"];
48
+ readonly jpe: readonly ["image/jpeg"];
45
49
  readonly jpeg: readonly ["image/jpeg"];
46
50
  readonly jpg: readonly ["image/jpeg"];
47
51
  readonly js: readonly ["application/node", "text/javascript"];
@@ -59,8 +63,10 @@ declare const extMimeMap: {
59
63
  readonly mjs: readonly ["text/javascript"];
60
64
  readonly mp3: readonly ["audio/mpeg"];
61
65
  readonly mp4: readonly ["video/mp4"];
66
+ readonly mpd: readonly ["application/dash+xml"];
62
67
  readonly mpeg: readonly ["video/mpeg"];
63
68
  readonly mpkg: readonly ["application/vnd.apple.installer+xml"];
69
+ readonly mtlx: readonly ["application/xml"];
64
70
  readonly ndjson: readonly ["application/x-ndjson"];
65
71
  readonly node: readonly ["application/node", "text/javascript"];
66
72
  readonly obj: readonly ["model/obj", "application/octet-stream", "text/plain"];
@@ -76,6 +82,8 @@ declare const extMimeMap: {
76
82
  readonly png: readonly ["image/png"];
77
83
  readonly pdf: readonly ["application/pdf"];
78
84
  readonly php: readonly ["application/x-httpd-php"];
85
+ readonly pjp: readonly ["image/jpeg"];
86
+ readonly pjpeg: readonly ["image/jpeg"];
79
87
  readonly pkpass: readonly ["application/vnd.apple.pkpass"];
80
88
  readonly ppt: readonly ["application/vnd.ms-powerpoint"];
81
89
  readonly pptx: readonly ["application/vnd.openxmlformats-officedocument.presentationml.presentation"];
@@ -100,14 +108,16 @@ declare const extMimeMap: {
100
108
  readonly vtt: readonly ["text/vtt"];
101
109
  readonly wasm: readonly ["application/wasm"];
102
110
  readonly wav: readonly ["audio/wav"];
103
- readonly weba: readonly ["video/webm"];
111
+ readonly weba: readonly ["audio/webm"];
112
+ readonly webm: readonly ["video/webm"];
113
+ readonly webmanifest: readonly ["application/manifest+json"];
104
114
  readonly webp: readonly ["image/webp"];
105
115
  readonly woff: readonly ["font/woff"];
106
116
  readonly woff2: readonly ["font/woff2"];
107
117
  readonly xhtml: readonly ["application/xhtml+xml"];
108
118
  readonly xls: readonly ["application/vnd.ms-excel"];
109
119
  readonly xlsx: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
110
- readonly xml: readonly ["application/xml"];
120
+ readonly xml: readonly ["application/xml", "text/xml"];
111
121
  readonly xul: readonly ["application/vnd.mozilla.xul+xml"];
112
122
  readonly yaml: readonly ["application/yaml"];
113
123
  readonly yml: readonly ["application/yaml"];
@@ -117,12 +127,14 @@ declare const extMimeMap: {
117
127
  readonly "7z": readonly ["application/x-7z-compressed"];
118
128
  };
119
129
  declare const mimeToExt: {
130
+ readonly "application/dash+xml": readonly ["mpd"];
120
131
  readonly "application/epub+zip": readonly ["epub"];
121
132
  readonly "application/font-sfnt": readonly ["ttf"];
122
133
  readonly "application/gzip": readonly ["gz"];
123
134
  readonly "application/java-archive": readonly ["jar"];
124
135
  readonly "application/json": readonly ["json"];
125
136
  readonly "application/ld+json": readonly ["jsonld"];
137
+ readonly "application/manifest+json": readonly ["webmanifest"];
126
138
  readonly "application/msword": readonly ["doc"];
127
139
  readonly "application/node": readonly ["node", "js"];
128
140
  readonly "application/octet-stream": readonly ["bin", "obj"];
@@ -164,7 +176,7 @@ declare const mimeToExt: {
164
176
  readonly "application/x-tar": readonly ["tar"];
165
177
  readonly "application/x-zip-compressed": readonly ["zip"];
166
178
  readonly "application/xhtml+xml": readonly ["xhtml"];
167
- readonly "application/xml": readonly ["xml"];
179
+ readonly "application/xml": readonly ["xml", "mtlx"];
168
180
  readonly "application/yaml": readonly ["yml", "yaml"];
169
181
  readonly "application/zip": readonly ["zip"];
170
182
  readonly "audio/aac": readonly ["aac"];
@@ -173,6 +185,7 @@ declare const mimeToExt: {
173
185
  readonly "audio/mpeg": readonly ["mp3"];
174
186
  readonly "audio/ogg": readonly ["opus", "ogg", "oga"];
175
187
  readonly "audio/wav": readonly ["wav"];
188
+ readonly "audio/webm": readonly ["weba"];
176
189
  readonly "audio/x-midi": readonly ["midi"];
177
190
  readonly "font/otf": readonly ["otf"];
178
191
  readonly "font/ttf": readonly ["ttf"];
@@ -189,7 +202,7 @@ declare const mimeToExt: {
189
202
  readonly "image/dpx": readonly ["dpx"];
190
203
  readonly "image/emf": readonly ["emf"];
191
204
  readonly "image/gif": readonly ["gif"];
192
- readonly "image/jpeg": readonly ["jpg", "jpeg"];
205
+ readonly "image/jpeg": readonly ["jpg", "jpeg", "jpe", "jif", "jfif", "pjp", "pjpeg"];
193
206
  readonly "image/ktx": readonly ["ktx"];
194
207
  readonly "image/ktx2": readonly ["ktx2"];
195
208
  readonly "image/png": readonly ["png"];
@@ -197,6 +210,7 @@ declare const mimeToExt: {
197
210
  readonly "image/tiff": readonly ["tiff", "tif"];
198
211
  readonly "image/vnd.microsoft.icon": readonly ["ico"];
199
212
  readonly "image/webp": readonly ["webp"];
213
+ readonly "image/x-icon": readonly ["cur", "ico"];
200
214
  readonly "model/gltf-binary": readonly ["glb"];
201
215
  readonly "model/gltf+json": readonly ["gltf"];
202
216
  readonly "model/obj": readonly ["obj"];
@@ -205,14 +219,15 @@ declare const mimeToExt: {
205
219
  readonly "text/calendar": readonly ["ics"];
206
220
  readonly "text/css": readonly ["css"];
207
221
  readonly "text/csv": readonly ["csv"];
208
- readonly "text/event-stream": readonly ["sse", "ts", "rs", "py", "txt"];
222
+ readonly "text/event-stream": readonly ["sse"];
209
223
  readonly "text/html": readonly ["html", "htm"];
210
- readonly "text/javascript": readonly ["cjs", "js", "mjs"];
224
+ readonly "text/javascript": readonly ["js", "mjs", "cjs"];
211
225
  readonly "text/markdown": readonly ["md"];
212
226
  readonly "text/plain": readonly ["txt"];
213
227
  readonly "text/rust": readonly ["rs"];
214
228
  readonly "text/typescript": readonly ["ts"];
215
229
  readonly "text/vtt": readonly ["vtt"];
230
+ readonly "text/xml": readonly ["xml"];
216
231
  readonly "text/x-python": readonly ["py"];
217
232
  readonly "video/3gpp": readonly ["3gp"];
218
233
  readonly "video/3gpp2": readonly ["3g2"];
@@ -221,7 +236,7 @@ declare const mimeToExt: {
221
236
  readonly "video/mpeg": readonly ["mpeg"];
222
237
  readonly "video/ogg": readonly ["ogv"];
223
238
  readonly "video/vnd.dlna.mpeg-tts": readonly ["ts"];
224
- readonly "video/webm": readonly ["weba"];
239
+ readonly "video/webm": readonly ["webm"];
225
240
  readonly "video/x-msvideo": readonly ["avi"];
226
241
  };
227
242
  type FileExtension = keyof typeof extMimeMap;
@@ -253,6 +268,7 @@ declare class MimeService extends UrlService {
253
268
  readonly csh: readonly ["application/x-csh"];
254
269
  readonly css: readonly ["text/css"];
255
270
  readonly csv: readonly ["text/csv"];
271
+ readonly cur: readonly ["image/x-icon"];
256
272
  readonly doc: readonly ["application/msword"];
257
273
  readonly docx: readonly ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"];
258
274
  readonly dpx: readonly ["image/dpx"];
@@ -267,11 +283,14 @@ declare class MimeService extends UrlService {
267
283
  readonly hmpg: readonly ["haptics/hmpg"];
268
284
  readonly htm: readonly ["text/html"];
269
285
  readonly html: readonly ["text/html"];
270
- readonly ico: readonly ["image/vnd.microsoft.icon"];
286
+ readonly ico: readonly ["image/vnd.microsoft.icon", "image/x-icon"];
271
287
  readonly ics: readonly ["text/calendar"];
272
288
  readonly ivs: readonly ["haptics/ivs"];
273
289
  readonly ivt: readonly ["haptics/ivs"];
274
290
  readonly jar: readonly ["application/java-archive"];
291
+ readonly jfif: readonly ["image/jpeg"];
292
+ readonly jif: readonly ["image/jpeg"];
293
+ readonly jpe: readonly ["image/jpeg"];
275
294
  readonly jpeg: readonly ["image/jpeg"];
276
295
  readonly jpg: readonly ["image/jpeg"];
277
296
  readonly js: readonly ["application/node", "text/javascript"];
@@ -289,8 +308,10 @@ declare class MimeService extends UrlService {
289
308
  readonly mjs: readonly ["text/javascript"];
290
309
  readonly mp3: readonly ["audio/mpeg"];
291
310
  readonly mp4: readonly ["video/mp4"];
311
+ readonly mpd: readonly ["application/dash+xml"];
292
312
  readonly mpeg: readonly ["video/mpeg"];
293
313
  readonly mpkg: readonly ["application/vnd.apple.installer+xml"];
314
+ readonly mtlx: readonly ["application/xml"];
294
315
  readonly ndjson: readonly ["application/x-ndjson"];
295
316
  readonly node: readonly ["application/node", "text/javascript"];
296
317
  readonly obj: readonly ["model/obj", "application/octet-stream", "text/plain"];
@@ -306,6 +327,8 @@ declare class MimeService extends UrlService {
306
327
  readonly png: readonly ["image/png"];
307
328
  readonly pdf: readonly ["application/pdf"];
308
329
  readonly php: readonly ["application/x-httpd-php"];
330
+ readonly pjp: readonly ["image/jpeg"];
331
+ readonly pjpeg: readonly ["image/jpeg"];
309
332
  readonly pkpass: readonly ["application/vnd.apple.pkpass"];
310
333
  readonly ppt: readonly ["application/vnd.ms-powerpoint"];
311
334
  readonly pptx: readonly ["application/vnd.openxmlformats-officedocument.presentationml.presentation"];
@@ -330,14 +353,16 @@ declare class MimeService extends UrlService {
330
353
  readonly vtt: readonly ["text/vtt"];
331
354
  readonly wasm: readonly ["application/wasm"];
332
355
  readonly wav: readonly ["audio/wav"];
333
- readonly weba: readonly ["video/webm"];
356
+ readonly weba: readonly ["audio/webm"];
357
+ readonly webm: readonly ["video/webm"];
358
+ readonly webmanifest: readonly ["application/manifest+json"];
334
359
  readonly webp: readonly ["image/webp"];
335
360
  readonly woff: readonly ["font/woff"];
336
361
  readonly woff2: readonly ["font/woff2"];
337
362
  readonly xhtml: readonly ["application/xhtml+xml"];
338
363
  readonly xls: readonly ["application/vnd.ms-excel"];
339
364
  readonly xlsx: readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"];
340
- readonly xml: readonly ["application/xml"];
365
+ readonly xml: readonly ["application/xml", "text/xml"];
341
366
  readonly xul: readonly ["application/vnd.mozilla.xul+xml"];
342
367
  readonly yaml: readonly ["application/yaml"];
343
368
  readonly yml: readonly ["application/yaml"];
@@ -347,12 +372,14 @@ declare class MimeService extends UrlService {
347
372
  readonly "7z": readonly ["application/x-7z-compressed"];
348
373
  };
349
374
  readonly toExtObj: {
375
+ readonly "application/dash+xml": readonly ["mpd"];
350
376
  readonly "application/epub+zip": readonly ["epub"];
351
377
  readonly "application/font-sfnt": readonly ["ttf"];
352
378
  readonly "application/gzip": readonly ["gz"];
353
379
  readonly "application/java-archive": readonly ["jar"];
354
380
  readonly "application/json": readonly ["json"];
355
381
  readonly "application/ld+json": readonly ["jsonld"];
382
+ readonly "application/manifest+json": readonly ["webmanifest"];
356
383
  readonly "application/msword": readonly ["doc"];
357
384
  readonly "application/node": readonly ["node", "js"];
358
385
  readonly "application/octet-stream": readonly ["bin", "obj"];
@@ -394,7 +421,7 @@ declare class MimeService extends UrlService {
394
421
  readonly "application/x-tar": readonly ["tar"];
395
422
  readonly "application/x-zip-compressed": readonly ["zip"];
396
423
  readonly "application/xhtml+xml": readonly ["xhtml"];
397
- readonly "application/xml": readonly ["xml"];
424
+ readonly "application/xml": readonly ["xml", "mtlx"];
398
425
  readonly "application/yaml": readonly ["yml", "yaml"];
399
426
  readonly "application/zip": readonly ["zip"];
400
427
  readonly "audio/aac": readonly ["aac"];
@@ -403,6 +430,7 @@ declare class MimeService extends UrlService {
403
430
  readonly "audio/mpeg": readonly ["mp3"];
404
431
  readonly "audio/ogg": readonly ["opus", "ogg", "oga"];
405
432
  readonly "audio/wav": readonly ["wav"];
433
+ readonly "audio/webm": readonly ["weba"];
406
434
  readonly "audio/x-midi": readonly ["midi"];
407
435
  readonly "font/otf": readonly ["otf"];
408
436
  readonly "font/ttf": readonly ["ttf"];
@@ -419,7 +447,7 @@ declare class MimeService extends UrlService {
419
447
  readonly "image/dpx": readonly ["dpx"];
420
448
  readonly "image/emf": readonly ["emf"];
421
449
  readonly "image/gif": readonly ["gif"];
422
- readonly "image/jpeg": readonly ["jpg", "jpeg"];
450
+ readonly "image/jpeg": readonly ["jpg", "jpeg", "jpe", "jif", "jfif", "pjp", "pjpeg"];
423
451
  readonly "image/ktx": readonly ["ktx"];
424
452
  readonly "image/ktx2": readonly ["ktx2"];
425
453
  readonly "image/png": readonly ["png"];
@@ -427,6 +455,7 @@ declare class MimeService extends UrlService {
427
455
  readonly "image/tiff": readonly ["tiff", "tif"];
428
456
  readonly "image/vnd.microsoft.icon": readonly ["ico"];
429
457
  readonly "image/webp": readonly ["webp"];
458
+ readonly "image/x-icon": readonly ["cur", "ico"];
430
459
  readonly "model/gltf-binary": readonly ["glb"];
431
460
  readonly "model/gltf+json": readonly ["gltf"];
432
461
  readonly "model/obj": readonly ["obj"];
@@ -435,14 +464,15 @@ declare class MimeService extends UrlService {
435
464
  readonly "text/calendar": readonly ["ics"];
436
465
  readonly "text/css": readonly ["css"];
437
466
  readonly "text/csv": readonly ["csv"];
438
- readonly "text/event-stream": readonly ["sse", "ts", "rs", "py", "txt"];
467
+ readonly "text/event-stream": readonly ["sse"];
439
468
  readonly "text/html": readonly ["html", "htm"];
440
- readonly "text/javascript": readonly ["cjs", "js", "mjs"];
469
+ readonly "text/javascript": readonly ["js", "mjs", "cjs"];
441
470
  readonly "text/markdown": readonly ["md"];
442
471
  readonly "text/plain": readonly ["txt"];
443
472
  readonly "text/rust": readonly ["rs"];
444
473
  readonly "text/typescript": readonly ["ts"];
445
474
  readonly "text/vtt": readonly ["vtt"];
475
+ readonly "text/xml": readonly ["xml"];
446
476
  readonly "text/x-python": readonly ["py"];
447
477
  readonly "video/3gpp": readonly ["3gp"];
448
478
  readonly "video/3gpp2": readonly ["3g2"];
@@ -451,22 +481,22 @@ declare class MimeService extends UrlService {
451
481
  readonly "video/mpeg": readonly ["mpeg"];
452
482
  readonly "video/ogg": readonly ["ogv"];
453
483
  readonly "video/vnd.dlna.mpeg-tts": readonly ["ts"];
454
- readonly "video/webm": readonly ["weba"];
484
+ readonly "video/webm": readonly ["webm"];
455
485
  readonly "video/x-msvideo": readonly ["avi"];
456
486
  };
457
487
  compareMimeToExt(p?: "mime" | "ext"): {
458
488
  [k: string]: number;
459
489
  };
460
- mimeToExt(mime: keyof typeof this.toExtObj): "png" | "gif" | "bmp" | "webp" | "avif" | "epub" | "ttf" | "gz" | "jar" | "json" | "jsonld" | "doc" | "node" | "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" | "yml" | "aac" | "mid" | "m4a" | "mp3" | "opus" | "ogg" | "wav" | "midi" | "otf" | "woff" | "woff2" | "hjif" | "hmpg" | "ivs" | "aces" | "apng" | "avci" | "dpx" | "emf" | "jpg" | "ktx" | "ktx2" | "svg" | "tiff" | "ico" | "glb" | "gltf" | "usdz" | "ics" | "css" | "csv" | "sse" | "ts" | "rs" | "py" | "txt" | "html" | "cjs" | "md" | "vtt" | "3gp" | "3g2" | "mp4" | "mpeg" | "ogv" | "weba" | "avi";
461
- assetType<const T extends string>(url: T): "png" | "jpeg" | "gif" | "bmp" | "webp" | "avif" | "epub" | "ttf" | "gz" | "jar" | "json" | "jsonld" | "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" | "yml" | "yaml" | "aac" | "mid" | "m4a" | "mp3" | "opus" | "ogg" | "oga" | "wav" | "midi" | "otf" | "woff" | "woff2" | "hjif" | "hmpg" | "ivs" | "ivt" | "aces" | "apng" | "avci" | "dpx" | "emf" | "jpg" | "ktx" | "ktx2" | "svg" | "tiff" | "tif" | "ico" | "glb" | "gltf" | "usdz" | "ics" | "css" | "csv" | "sse" | "ts" | "rs" | "py" | "txt" | "html" | "htm" | "cjs" | "mjs" | "md" | "vtt" | "3gp" | "3g2" | "mp4" | "m4v" | "mpeg" | "ogv" | "weba" | "avi" | undefined;
462
- getMimes<const E extends FileExtension>(ext: E): readonly ["audio/aac"] | readonly ["application/x-abiword"] | readonly ["image/aces"] | readonly ["image/apng"] | readonly ["application/x-freearc"] | readonly ["image/avci"] | readonly ["image/avif"] | readonly ["video/x-msvideo"] | readonly ["application/vnd.amazon.ebook"] | readonly ["application/octet-stream", "multipart/voice-message"] | readonly ["image/bmp"] | readonly ["application/x-bzip"] | readonly ["application/x-bzip2"] | readonly ["application/x-cdf"] | readonly ["application/node", "text/javascript"] | readonly ["application/x-csh"] | readonly ["text/css"] | readonly ["text/csv"] | readonly ["application/msword"] | readonly ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"] | readonly ["image/dpx"] | readonly ["image/emf"] | readonly ["application/vnd.ms-fontobject"] | readonly ["application/epub+zip"] | readonly ["image/gif"] | readonly ["model/gltf-binary"] | readonly ["model/gltf+json"] | readonly ["application/gzip", "application/x-gzip"] | readonly ["haptics/hjif"] | readonly ["haptics/hmpg"] | readonly ["text/html"] | readonly ["image/vnd.microsoft.icon"] | readonly ["text/calendar"] | readonly ["haptics/ivs"] | readonly ["application/java-archive"] | readonly ["image/jpeg"] | readonly ["application/json"] | readonly ["application/ld+json"] | readonly ["image/ktx"] | readonly ["image/ktx2"] | readonly ["application/vnd.apple.mpegurl"] | readonly ["audio/mp4"] | readonly ["video/mp4"] | readonly ["text/markdown"] | readonly ["application/x-mdx"] | readonly ["audio/midi"] | readonly ["audio/x-midi"] | readonly ["text/javascript"] | readonly ["audio/mpeg"] | readonly ["video/mpeg"] | readonly ["application/vnd.apple.installer+xml"] | readonly ["application/x-ndjson"] | readonly ["model/obj", "application/octet-stream", "text/plain"] | readonly ["application/vnd.oasis.opendocument.presentation"] | readonly ["application/vnd.oasis.opendocument.spreadsheet"] | readonly ["application/vnd.oasis.opendocument.text"] | readonly ["audio/ogg"] | readonly ["video/ogg"] | readonly ["application/ogg"] | readonly ["font/otf"] | readonly ["image/png"] | readonly ["application/pdf"] | readonly ["application/x-httpd-php"] | readonly ["application/vnd.apple.pkpass"] | readonly ["application/vnd.ms-powerpoint"] | readonly ["application/vnd.openxmlformats-officedocument.presentationml.presentation"] | readonly ["text/x-python"] | readonly ["application/x-python-code"] | readonly ["application/vnd.rar"] | readonly ["text/rust"] | readonly ["application/rtf"] | readonly ["application/x-sh"] | readonly ["application/sql"] | readonly ["text/event-stream"] | readonly ["image/svg+xml"] | readonly ["application/x-tar"] | readonly ["image/tiff"] | readonly ["application/toml"] | readonly ["text/typescript", "video/mp2t", "video/vnd.dlna.mpeg-tts"] | readonly ["application/font-sfnt", "font/ttf"] | readonly ["text/plain"] | readonly ["model/vnd.usdz+zip"] | readonly ["application/vnd.visio"] | readonly ["text/vtt"] | readonly ["application/wasm"] | readonly ["audio/wav"] | readonly ["video/webm"] | readonly ["image/webp"] | readonly ["font/woff"] | readonly ["font/woff2"] | readonly ["application/xhtml+xml"] | readonly ["application/vnd.ms-excel"] | readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] | readonly ["application/xml"] | readonly ["application/vnd.mozilla.xul+xml"] | readonly ["application/yaml"] | readonly ["application/zip", "application/x-zip-compressed"] | readonly ["video/3gpp"] | readonly ["video/3gpp2"] | readonly ["application/x-7z-compressed"];
490
+ mimeToExt(mime: keyof typeof this.toExtObj): "png" | "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" | "yml" | "aac" | "mid" | "m4a" | "mp3" | "opus" | "ogg" | "wav" | "weba" | "midi" | "otf" | "woff" | "woff2" | "hjif" | "hmpg" | "ivs" | "aces" | "apng" | "avci" | "dpx" | "emf" | "jpg" | "ktx" | "ktx2" | "svg" | "tiff" | "ico" | "cur" | "glb" | "gltf" | "usdz" | "ics" | "css" | "csv" | "sse" | "html" | "md" | "txt" | "rs" | "ts" | "vtt" | "py" | "3gp" | "3g2" | "mp4" | "mpeg" | "ogv" | "webm" | "avi";
491
+ assetType<const T extends string>(url: T): "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" | "apng" | "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;
492
+ getMimes<const E extends FileExtension>(ext: E): readonly ["audio/aac"] | readonly ["application/x-abiword"] | readonly ["image/aces"] | readonly ["image/apng"] | readonly ["application/x-freearc"] | readonly ["image/avci"] | readonly ["image/avif"] | readonly ["video/x-msvideo"] | readonly ["application/vnd.amazon.ebook"] | readonly ["application/octet-stream", "multipart/voice-message"] | readonly ["image/bmp"] | readonly ["application/x-bzip"] | readonly ["application/x-bzip2"] | readonly ["application/x-cdf"] | readonly ["application/node", "text/javascript"] | readonly ["application/x-csh"] | readonly ["text/css"] | readonly ["text/csv"] | readonly ["image/x-icon"] | readonly ["application/msword"] | readonly ["application/vnd.openxmlformats-officedocument.wordprocessingml.document"] | readonly ["image/dpx"] | readonly ["image/emf"] | readonly ["application/vnd.ms-fontobject"] | readonly ["application/epub+zip"] | readonly ["image/gif"] | readonly ["model/gltf-binary"] | readonly ["model/gltf+json"] | readonly ["application/gzip", "application/x-gzip"] | readonly ["haptics/hjif"] | readonly ["haptics/hmpg"] | readonly ["text/html"] | readonly ["image/vnd.microsoft.icon", "image/x-icon"] | readonly ["text/calendar"] | readonly ["haptics/ivs"] | readonly ["application/java-archive"] | readonly ["image/jpeg"] | readonly ["application/json"] | readonly ["application/ld+json"] | readonly ["image/ktx"] | readonly ["image/ktx2"] | readonly ["application/vnd.apple.mpegurl"] | readonly ["audio/mp4"] | readonly ["video/mp4"] | readonly ["text/markdown"] | readonly ["application/x-mdx"] | readonly ["audio/midi"] | readonly ["audio/x-midi"] | readonly ["text/javascript"] | readonly ["audio/mpeg"] | readonly ["application/dash+xml"] | readonly ["video/mpeg"] | readonly ["application/vnd.apple.installer+xml"] | readonly ["application/xml"] | readonly ["application/x-ndjson"] | readonly ["model/obj", "application/octet-stream", "text/plain"] | readonly ["application/vnd.oasis.opendocument.presentation"] | readonly ["application/vnd.oasis.opendocument.spreadsheet"] | readonly ["application/vnd.oasis.opendocument.text"] | readonly ["audio/ogg"] | readonly ["video/ogg"] | readonly ["application/ogg"] | readonly ["font/otf"] | readonly ["image/png"] | readonly ["application/pdf"] | readonly ["application/x-httpd-php"] | readonly ["application/vnd.apple.pkpass"] | readonly ["application/vnd.ms-powerpoint"] | readonly ["application/vnd.openxmlformats-officedocument.presentationml.presentation"] | readonly ["text/x-python"] | readonly ["application/x-python-code"] | readonly ["application/vnd.rar"] | readonly ["text/rust"] | readonly ["application/rtf"] | readonly ["application/x-sh"] | readonly ["application/sql"] | readonly ["text/event-stream"] | readonly ["image/svg+xml"] | readonly ["application/x-tar"] | readonly ["image/tiff"] | readonly ["application/toml"] | readonly ["text/typescript", "video/mp2t", "video/vnd.dlna.mpeg-tts"] | readonly ["application/font-sfnt", "font/ttf"] | readonly ["text/plain"] | readonly ["model/vnd.usdz+zip"] | readonly ["application/vnd.visio"] | readonly ["text/vtt"] | readonly ["application/wasm"] | readonly ["audio/wav"] | readonly ["audio/webm"] | readonly ["video/webm"] | readonly ["application/manifest+json"] | readonly ["image/webp"] | readonly ["font/woff"] | readonly ["font/woff2"] | readonly ["application/xhtml+xml"] | readonly ["application/vnd.ms-excel"] | readonly ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"] | readonly ["application/xml", "text/xml"] | readonly ["application/vnd.mozilla.xul+xml"] | readonly ["application/yaml"] | readonly ["application/zip", "application/x-zip-compressed"] | readonly ["video/3gpp"] | readonly ["video/3gpp2"] | readonly ["application/x-7z-compressed"];
463
493
  getMimeFor<const E extends FileExtension>(ext: E, opts?: {
464
494
  type?: MimeTopLevelType;
465
495
  }): FileExtensionToMimeType<E>;
466
- isMimeFor<const E extends FileExtension>(ext: E, mime: FileExtensionToMimeType<E>): "audio/aac" | "application/x-abiword" | "image/aces" | "image/apng" | "application/x-freearc" | "image/avci" | "image/avif" | "video/x-msvideo" | "application/vnd.amazon.ebook" | "application/octet-stream" | "multipart/voice-message" | "image/bmp" | "application/x-bzip" | "application/x-bzip2" | "application/x-cdf" | "application/node" | "text/javascript" | "application/x-csh" | "text/css" | "text/csv" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "image/dpx" | "image/emf" | "application/vnd.ms-fontobject" | "application/epub+zip" | "image/gif" | "model/gltf-binary" | "model/gltf+json" | "application/gzip" | "application/x-gzip" | "haptics/hjif" | "haptics/hmpg" | "text/html" | "image/vnd.microsoft.icon" | "text/calendar" | "haptics/ivs" | "application/java-archive" | "image/jpeg" | "application/json" | "application/ld+json" | "image/ktx" | "image/ktx2" | "application/vnd.apple.mpegurl" | "audio/mp4" | "video/mp4" | "text/markdown" | "application/x-mdx" | "audio/midi" | "audio/x-midi" | "audio/mpeg" | "video/mpeg" | "application/vnd.apple.installer+xml" | "application/x-ndjson" | "model/obj" | "text/plain" | "application/vnd.oasis.opendocument.presentation" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.text" | "audio/ogg" | "video/ogg" | "application/ogg" | "font/otf" | "image/png" | "application/pdf" | "application/x-httpd-php" | "application/vnd.apple.pkpass" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "text/x-python" | "application/x-python-code" | "application/vnd.rar" | "text/rust" | "application/rtf" | "application/x-sh" | "application/sql" | "text/event-stream" | "image/svg+xml" | "application/x-tar" | "image/tiff" | "application/toml" | "text/typescript" | "video/mp2t" | "video/vnd.dlna.mpeg-tts" | "application/font-sfnt" | "font/ttf" | "model/vnd.usdz+zip" | "application/vnd.visio" | "text/vtt" | "application/wasm" | "audio/wav" | "video/webm" | "image/webp" | "font/woff" | "font/woff2" | "application/xhtml+xml" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/xml" | "application/vnd.mozilla.xul+xml" | "application/yaml" | "application/zip" | "application/x-zip-compressed" | "video/3gpp" | "video/3gpp2" | "application/x-7z-compressed" | undefined;
496
+ isMimeFor<const E extends FileExtension>(ext: E, mime: FileExtensionToMimeType<E>): "audio/aac" | "application/x-abiword" | "image/aces" | "image/apng" | "application/x-freearc" | "image/avci" | "image/avif" | "video/x-msvideo" | "application/vnd.amazon.ebook" | "application/octet-stream" | "multipart/voice-message" | "image/bmp" | "application/x-bzip" | "application/x-bzip2" | "application/x-cdf" | "application/node" | "text/javascript" | "application/x-csh" | "text/css" | "text/csv" | "image/x-icon" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "image/dpx" | "image/emf" | "application/vnd.ms-fontobject" | "application/epub+zip" | "image/gif" | "model/gltf-binary" | "model/gltf+json" | "application/gzip" | "application/x-gzip" | "haptics/hjif" | "haptics/hmpg" | "text/html" | "image/vnd.microsoft.icon" | "text/calendar" | "haptics/ivs" | "application/java-archive" | "image/jpeg" | "application/json" | "application/ld+json" | "image/ktx" | "image/ktx2" | "application/vnd.apple.mpegurl" | "audio/mp4" | "video/mp4" | "text/markdown" | "application/x-mdx" | "audio/midi" | "audio/x-midi" | "audio/mpeg" | "application/dash+xml" | "video/mpeg" | "application/vnd.apple.installer+xml" | "application/xml" | "application/x-ndjson" | "model/obj" | "text/plain" | "application/vnd.oasis.opendocument.presentation" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.text" | "audio/ogg" | "video/ogg" | "application/ogg" | "font/otf" | "image/png" | "application/pdf" | "application/x-httpd-php" | "application/vnd.apple.pkpass" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "text/x-python" | "application/x-python-code" | "application/vnd.rar" | "text/rust" | "application/rtf" | "application/x-sh" | "application/sql" | "text/event-stream" | "image/svg+xml" | "application/x-tar" | "image/tiff" | "application/toml" | "text/typescript" | "video/mp2t" | "video/vnd.dlna.mpeg-tts" | "application/font-sfnt" | "font/ttf" | "model/vnd.usdz+zip" | "application/vnd.visio" | "text/vtt" | "application/wasm" | "audio/wav" | "audio/webm" | "video/webm" | "application/manifest+json" | "image/webp" | "font/woff" | "font/woff2" | "application/xhtml+xml" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "text/xml" | "application/vnd.mozilla.xul+xml" | "application/yaml" | "application/zip" | "application/x-zip-compressed" | "video/3gpp" | "video/3gpp2" | "application/x-7z-compressed" | undefined;
467
497
  getMimeTypeForPath<T extends string>(path: T, opts?: {
468
498
  type?: MimeTopLevelType;
469
- }): "audio/aac" | "application/x-abiword" | "image/aces" | "image/apng" | "application/x-freearc" | "image/avci" | "image/avif" | "video/x-msvideo" | "application/vnd.amazon.ebook" | "application/octet-stream" | "multipart/voice-message" | "image/bmp" | "application/x-bzip" | "application/x-bzip2" | "application/x-cdf" | "application/node" | "text/javascript" | "application/x-csh" | "text/css" | "text/csv" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "image/dpx" | "image/emf" | "application/vnd.ms-fontobject" | "application/epub+zip" | "image/gif" | "model/gltf-binary" | "model/gltf+json" | "application/gzip" | "application/x-gzip" | "haptics/hjif" | "haptics/hmpg" | "text/html" | "image/vnd.microsoft.icon" | "text/calendar" | "haptics/ivs" | "application/java-archive" | "image/jpeg" | "application/json" | "application/ld+json" | "image/ktx" | "image/ktx2" | "application/vnd.apple.mpegurl" | "audio/mp4" | "video/mp4" | "text/markdown" | "application/x-mdx" | "audio/midi" | "audio/x-midi" | "audio/mpeg" | "video/mpeg" | "application/vnd.apple.installer+xml" | "application/x-ndjson" | "model/obj" | "text/plain" | "application/vnd.oasis.opendocument.presentation" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.text" | "audio/ogg" | "video/ogg" | "application/ogg" | "font/otf" | "image/png" | "application/pdf" | "application/x-httpd-php" | "application/vnd.apple.pkpass" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "text/x-python" | "application/x-python-code" | "application/vnd.rar" | "text/rust" | "application/rtf" | "application/x-sh" | "application/sql" | "text/event-stream" | "image/svg+xml" | "application/x-tar" | "image/tiff" | "application/toml" | "text/typescript" | "video/mp2t" | "video/vnd.dlna.mpeg-tts" | "application/font-sfnt" | "font/ttf" | "model/vnd.usdz+zip" | "application/vnd.visio" | "text/vtt" | "application/wasm" | "audio/wav" | "video/webm" | "image/webp" | "font/woff" | "font/woff2" | "application/xhtml+xml" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "application/xml" | "application/vnd.mozilla.xul+xml" | "application/yaml" | "application/zip" | "application/x-zip-compressed" | "video/3gpp" | "video/3gpp2" | "application/x-7z-compressed";
499
+ }): "audio/aac" | "application/x-abiword" | "image/aces" | "image/apng" | "application/x-freearc" | "image/avci" | "image/avif" | "video/x-msvideo" | "application/vnd.amazon.ebook" | "application/octet-stream" | "multipart/voice-message" | "image/bmp" | "application/x-bzip" | "application/x-bzip2" | "application/x-cdf" | "application/node" | "text/javascript" | "application/x-csh" | "text/css" | "text/csv" | "image/x-icon" | "application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document" | "image/dpx" | "image/emf" | "application/vnd.ms-fontobject" | "application/epub+zip" | "image/gif" | "model/gltf-binary" | "model/gltf+json" | "application/gzip" | "application/x-gzip" | "haptics/hjif" | "haptics/hmpg" | "text/html" | "image/vnd.microsoft.icon" | "text/calendar" | "haptics/ivs" | "application/java-archive" | "image/jpeg" | "application/json" | "application/ld+json" | "image/ktx" | "image/ktx2" | "application/vnd.apple.mpegurl" | "audio/mp4" | "video/mp4" | "text/markdown" | "application/x-mdx" | "audio/midi" | "audio/x-midi" | "audio/mpeg" | "application/dash+xml" | "video/mpeg" | "application/vnd.apple.installer+xml" | "application/xml" | "application/x-ndjson" | "model/obj" | "text/plain" | "application/vnd.oasis.opendocument.presentation" | "application/vnd.oasis.opendocument.spreadsheet" | "application/vnd.oasis.opendocument.text" | "audio/ogg" | "video/ogg" | "application/ogg" | "font/otf" | "image/png" | "application/pdf" | "application/x-httpd-php" | "application/vnd.apple.pkpass" | "application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation" | "text/x-python" | "application/x-python-code" | "application/vnd.rar" | "text/rust" | "application/rtf" | "application/x-sh" | "application/sql" | "text/event-stream" | "image/svg+xml" | "application/x-tar" | "image/tiff" | "application/toml" | "text/typescript" | "video/mp2t" | "video/vnd.dlna.mpeg-tts" | "application/font-sfnt" | "font/ttf" | "model/vnd.usdz+zip" | "application/vnd.visio" | "text/vtt" | "application/wasm" | "audio/wav" | "audio/webm" | "video/webm" | "application/manifest+json" | "image/webp" | "font/woff" | "font/woff2" | "application/xhtml+xml" | "application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" | "text/xml" | "application/vnd.mozilla.xul+xml" | "application/yaml" | "application/zip" | "application/x-zip-compressed" | "video/3gpp" | "video/3gpp2" | "application/x-7z-compressed";
470
500
  }
471
501
 
472
502
  export { type AllMimeTypes, type FileExtension, type FileExtensionToMimeType, type InferTopLevelPresent, MimeService, type MimeTopLevelType, type MimeType, type MimeTypeToFileExtension, type PresentMimeTopLevelTypes, extMimeMap, mimeToExt };
@@ -2,7 +2,7 @@ import {
2
2
  MimeService,
3
3
  extMimeMap,
4
4
  mimeToExt
5
- } from "../chunk-CN45SMBB.js";
5
+ } from "../chunk-3WB2TSBO.js";
6
6
  import "../chunk-QBG7TFHM.js";
7
7
  import "../chunk-IUGBPDQJ.js";
8
8
  import "../chunk-7QVYU63E.js";
@@ -200,7 +200,7 @@ type CTR<T, K extends keyof OnlyOptional<T> = keyof OnlyOptional<T>> = Rm<T, K>
200
200
  type RTC<T, K extends keyof OnlyRequired<T> = keyof OnlyRequired<T>> = Rm<T, K> & {
201
201
  [Q in K]?: T[Q];
202
202
  };
203
- type IsExact<T, U> = [T] extends [U] ? ([U] extends [T] ? true : false) : false;
203
+ type IsExact<T, U> = [T] extends [U] ? [U] extends [T] ? true : false : false;
204
204
  /**
205
205
  * To Conditionally never
206
206
  */
@@ -312,16 +312,16 @@ type SizeOpts = {
312
312
  decimals?: number;
313
313
  includeUnits?: boolean;
314
314
  };
315
- interface ImageSize {
315
+ interface ImageSpecs {
316
316
  width: number;
317
317
  height: number;
318
- format: 'png' | 'jpeg' | 'gif' | 'bmp' | 'webp' | 'avif' | 'unknown';
318
+ format: "png" | "jpeg" | "gif" | "bmp" | "webp" | "avif" | "unknown";
319
319
  frames: number;
320
320
  animated: boolean;
321
321
  hasAlpha: boolean | null;
322
322
  orientation: number | null;
323
323
  aspectRatio: number;
324
- colorSpace: 'rgb' | 'rgba' | 'grayscale' | 'grayscale-alpha' | 'indexed' | 'cmyk' | 'ycbcr' | 'ycck' | 'unknown';
324
+ colorSpace: "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "unknown";
325
325
  iccProfile: string | null;
326
326
  exifDateTimeOriginal: string | null;
327
327
  }
@@ -330,4 +330,4 @@ interface BoxInfo {
330
330
  size: number;
331
331
  }
332
332
 
333
- export { type Abortable, type ArrFieldReplacer, type ArrayBufferView, type ArrayOrReadOnlyArray, type BashEnv, type BoxInfo, type BufferEncodingUnion, type CTR, type CoercionUnion, type CommonExecOptions, type CommonOptions, type ConditionalPromise, type ConditionalToRequired, type DX, type DeepPartial, type DeepPartialFields, type DeepReplace, type Depth, type Dict, type Equal, type ExcludeFieldEnumerable, type ExecSyncOptions, type ExecSyncOptionsWithBufferEncoding, type ExecSyncOptionsWithStringEncoding, type ExecuteCommandProps, type Expect, type Extends, type FieldToConditionallyNever, type IOType, type ImageSize, type InferDepth, type InjectScriptsProps, type IsExact, type IsOptional, type MkDirOptions, type MkDirSyncOptions, type MkDirSyncProps, type Mode, type ObjEncodingOptions, type OmitSrc, type OnlyOptional, type OnlyRequired, type OpenMode, type ParsedUrlInfo, type ProcessEnv, type ProcessEnvOptions, type RTC, type ReadDirOptions, type ReadDirOptionsEntity, type ReadDirProps, type RemoveFields, type RequireNested, type RequiredToConditional, type Rm, type RmDirOptions, type RmDirProps, type Signals, type SizeOpts, type StdioOptions, type TCN, type TypedArray, type Unenumerate, type Unit, type UnwrapPromise, type Without, type WriteFileAsyncDataUnion, type WriteFileAsyncOptions, type WriteFileAsyncProps, type WriteStreamDataShape, type WriteStreamOptions, type WriteStreamProps, type XOR, unitsObj };
333
+ export { type Abortable, type ArrFieldReplacer, type ArrayBufferView, type ArrayOrReadOnlyArray, type BashEnv, type BoxInfo, type BufferEncodingUnion, type CTR, type CoercionUnion, type CommonExecOptions, type CommonOptions, type ConditionalPromise, type ConditionalToRequired, type DX, type DeepPartial, type DeepPartialFields, type DeepReplace, type Depth, type Dict, type Equal, type ExcludeFieldEnumerable, type ExecSyncOptions, type ExecSyncOptionsWithBufferEncoding, type ExecSyncOptionsWithStringEncoding, type ExecuteCommandProps, type Expect, type Extends, type FieldToConditionallyNever, type IOType, type ImageSpecs, type InferDepth, type InjectScriptsProps, type IsExact, type IsOptional, type MkDirOptions, type MkDirSyncOptions, type MkDirSyncProps, type Mode, type ObjEncodingOptions, type OmitSrc, type OnlyOptional, type OnlyRequired, type OpenMode, type ParsedUrlInfo, type ProcessEnv, type ProcessEnvOptions, type RTC, type ReadDirOptions, type ReadDirOptionsEntity, type ReadDirProps, type RemoveFields, type RequireNested, type RequiredToConditional, type Rm, type RmDirOptions, type RmDirProps, type Signals, type SizeOpts, type StdioOptions, type TCN, type TypedArray, type Unenumerate, type Unit, type UnwrapPromise, type Without, type WriteFileAsyncDataUnion, type WriteFileAsyncOptions, type WriteFileAsyncProps, type WriteStreamDataShape, type WriteStreamOptions, type WriteStreamProps, type XOR, unitsObj };
@@ -200,7 +200,7 @@ type CTR<T, K extends keyof OnlyOptional<T> = keyof OnlyOptional<T>> = Rm<T, K>
200
200
  type RTC<T, K extends keyof OnlyRequired<T> = keyof OnlyRequired<T>> = Rm<T, K> & {
201
201
  [Q in K]?: T[Q];
202
202
  };
203
- type IsExact<T, U> = [T] extends [U] ? ([U] extends [T] ? true : false) : false;
203
+ type IsExact<T, U> = [T] extends [U] ? [U] extends [T] ? true : false : false;
204
204
  /**
205
205
  * To Conditionally never
206
206
  */
@@ -312,16 +312,16 @@ type SizeOpts = {
312
312
  decimals?: number;
313
313
  includeUnits?: boolean;
314
314
  };
315
- interface ImageSize {
315
+ interface ImageSpecs {
316
316
  width: number;
317
317
  height: number;
318
- format: 'png' | 'jpeg' | 'gif' | 'bmp' | 'webp' | 'avif' | 'unknown';
318
+ format: "png" | "jpeg" | "gif" | "bmp" | "webp" | "avif" | "unknown";
319
319
  frames: number;
320
320
  animated: boolean;
321
321
  hasAlpha: boolean | null;
322
322
  orientation: number | null;
323
323
  aspectRatio: number;
324
- colorSpace: 'rgb' | 'rgba' | 'grayscale' | 'grayscale-alpha' | 'indexed' | 'cmyk' | 'ycbcr' | 'ycck' | 'unknown';
324
+ colorSpace: "rgb" | "rgba" | "grayscale" | "grayscale-alpha" | "indexed" | "cmyk" | "ycbcr" | "ycck" | "unknown";
325
325
  iccProfile: string | null;
326
326
  exifDateTimeOriginal: string | null;
327
327
  }
@@ -330,4 +330,4 @@ interface BoxInfo {
330
330
  size: number;
331
331
  }
332
332
 
333
- export { type Abortable, type ArrFieldReplacer, type ArrayBufferView, type ArrayOrReadOnlyArray, type BashEnv, type BoxInfo, type BufferEncodingUnion, type CTR, type CoercionUnion, type CommonExecOptions, type CommonOptions, type ConditionalPromise, type ConditionalToRequired, type DX, type DeepPartial, type DeepPartialFields, type DeepReplace, type Depth, type Dict, type Equal, type ExcludeFieldEnumerable, type ExecSyncOptions, type ExecSyncOptionsWithBufferEncoding, type ExecSyncOptionsWithStringEncoding, type ExecuteCommandProps, type Expect, type Extends, type FieldToConditionallyNever, type IOType, type ImageSize, type InferDepth, type InjectScriptsProps, type IsExact, type IsOptional, type MkDirOptions, type MkDirSyncOptions, type MkDirSyncProps, type Mode, type ObjEncodingOptions, type OmitSrc, type OnlyOptional, type OnlyRequired, type OpenMode, type ParsedUrlInfo, type ProcessEnv, type ProcessEnvOptions, type RTC, type ReadDirOptions, type ReadDirOptionsEntity, type ReadDirProps, type RemoveFields, type RequireNested, type RequiredToConditional, type Rm, type RmDirOptions, type RmDirProps, type Signals, type SizeOpts, type StdioOptions, type TCN, type TypedArray, type Unenumerate, type Unit, type UnwrapPromise, type Without, type WriteFileAsyncDataUnion, type WriteFileAsyncOptions, type WriteFileAsyncProps, type WriteStreamDataShape, type WriteStreamOptions, type WriteStreamProps, type XOR, unitsObj };
333
+ export { type Abortable, type ArrFieldReplacer, type ArrayBufferView, type ArrayOrReadOnlyArray, type BashEnv, type BoxInfo, type BufferEncodingUnion, type CTR, type CoercionUnion, type CommonExecOptions, type CommonOptions, type ConditionalPromise, type ConditionalToRequired, type DX, type DeepPartial, type DeepPartialFields, type DeepReplace, type Depth, type Dict, type Equal, type ExcludeFieldEnumerable, type ExecSyncOptions, type ExecSyncOptionsWithBufferEncoding, type ExecSyncOptionsWithStringEncoding, type ExecuteCommandProps, type Expect, type Extends, type FieldToConditionallyNever, type IOType, type ImageSpecs, type InferDepth, type InjectScriptsProps, type IsExact, type IsOptional, type MkDirOptions, type MkDirSyncOptions, type MkDirSyncProps, type Mode, type ObjEncodingOptions, type OmitSrc, type OnlyOptional, type OnlyRequired, type OpenMode, type ParsedUrlInfo, type ProcessEnv, type ProcessEnvOptions, type RTC, type ReadDirOptions, type ReadDirOptionsEntity, type ReadDirProps, type RemoveFields, type RequireNested, type RequiredToConditional, type Rm, type RmDirOptions, type RmDirProps, type Signals, type SizeOpts, type StdioOptions, type TCN, type TypedArray, type Unenumerate, type Unit, type UnwrapPromise, type Without, type WriteFileAsyncDataUnion, type WriteFileAsyncOptions, type WriteFileAsyncProps, type WriteStreamDataShape, type WriteStreamOptions, type WriteStreamProps, type XOR, unitsObj };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  unitsObj
3
- } from "../chunk-G27YIWW7.js";
3
+ } from "../chunk-RJ2YQE3C.js";
4
4
  import "../chunk-7QVYU63E.js";
5
5
  export {
6
6
  unitsObj
package/package.json CHANGED
@@ -1,7 +1,16 @@
1
1
  {
2
2
  "name": "@d0paminedriven/fs",
3
- "version": "7.0.0",
3
+ "version": "7.1.0",
4
+ "homepage": "https://github.com/DopamineDriven/d0paminedriven/blob/master/packages/fs/README.md",
5
+ "author": {
6
+ "email": "andrew@windycitydevs.io",
7
+ "name": "Andrew Ross"
8
+ },
4
9
  "description": "convenient fs helpers",
10
+ "repository": {
11
+ "url": "https://github.com/DopamineDriven/d0paminedriven/tree/master",
12
+ "directory": "./packages/fs"
13
+ },
5
14
  "publishConfig": {
6
15
  "access": "public"
7
16
  },
@@ -12,6 +21,9 @@
12
21
  "dist/*.d.ts",
13
22
  "dist/*/index.d.ts"
14
23
  ],
24
+ "image": [
25
+ "dist/image/index.d.ts"
26
+ ],
15
27
  "fs": [
16
28
  "dist/fs/index.d.ts"
17
29
  ],
@@ -41,6 +53,7 @@
41
53
  ".": "./dist/index.js",
42
54
  "./*": "./dist/*.js",
43
55
  "./fs": "./dist/fs/index.js",
56
+ "./image": "./dist/image/index.js",
44
57
  "./mime": "./dist/mime/index.js",
45
58
  "./types": "./dist/types/index.js",
46
59
  "./url": "./dist/url/index.js",