@d0paminedriven/fs 7.1.0 → 7.2.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/index.d.cts DELETED
@@ -1,10 +0,0 @@
1
- export { default as Fs } from './fs/index.cjs';
2
- export { ImageService } from './image/index.cjs';
3
- export { AllMimeTypes, FileExtension, FileExtensionToMimeType, InferTopLevelPresent, MimeService, MimeTopLevelType, MimeType, MimeTypeToFileExtension, PresentMimeTopLevelTypes, extMimeMap, mimeToExt } from './mime/index.cjs';
4
- export { Abortable, ArrFieldReplacer, ArrayBufferView, ArrayOrReadOnlyArray, BashEnv, BoxInfo, BufferEncodingUnion, CTR, CoercionUnion, CommonExecOptions, CommonOptions, ConditionalPromise, ConditionalToRequired, DX, DeepPartial, DeepPartialFields, DeepReplace, Depth, Dict, Equal, ExcludeFieldEnumerable, ExecSyncOptions, ExecSyncOptionsWithBufferEncoding, ExecSyncOptionsWithStringEncoding, ExecuteCommandProps, Expect, Extends, FieldToConditionallyNever, IOType, ImageSpecs, InferDepth, InjectScriptsProps, IsExact, IsOptional, MkDirOptions, MkDirSyncOptions, MkDirSyncProps, Mode, ObjEncodingOptions, OmitSrc, OnlyOptional, OnlyRequired, OpenMode, ParsedUrlInfo, ProcessEnv, ProcessEnvOptions, RTC, ReadDirOptions, ReadDirOptionsEntity, ReadDirProps, RemoveFields, RequireNested, RequiredToConditional, Rm, RmDirOptions, RmDirProps, Signals, SizeOpts, StdioOptions, TCN, TypedArray, Unenumerate, Unit, UnwrapPromise, Without, WriteFileAsyncDataUnion, WriteFileAsyncOptions, WriteFileAsyncProps, WriteStreamDataShape, WriteStreamOptions, WriteStreamProps, XOR, unitsObj } from './types/index.cjs';
5
- export { HandleQueryParamsOrHash, InferExtensionIfPresent, LastSegment, SplitForwardSlash, UrlFileExt, UrlService } from './url/index.cjs';
6
- export { UtilsService } from './utils/index.cjs';
7
- import 'dotenv-expand';
8
- import 'sharp';
9
- import 'stream';
10
- import 'buffer';
@@ -1,509 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
- var __export = (target, all) => {
8
- for (var name in all)
9
- __defProp(target, name, { get: all[name], enumerable: true });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from))
14
- if (!__hasOwnProp.call(to, key) && key !== except)
15
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
- }
17
- return to;
18
- };
19
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
-
21
- // src/mime/index.ts
22
- var mime_exports = {};
23
- __export(mime_exports, {
24
- MimeService: () => MimeService,
25
- extMimeMap: () => extMimeMap,
26
- mimeToExt: () => mimeToExt
27
- });
28
- module.exports = __toCommonJS(mime_exports);
29
-
30
- // src/utils/index.ts
31
- var UtilsService = class {
32
- static {
33
- __name(this, "UtilsService");
34
- }
35
- chunkArray(arr, maxChunkLength) {
36
- const chunks = Array.of();
37
- let currentChunkLength = 0;
38
- let currentChunk = Array.of();
39
- for (const [index, val] of arr.entries()) {
40
- if (val.length + currentChunkLength >= maxChunkLength) {
41
- if (currentChunk.length) {
42
- chunks.push(currentChunk);
43
- }
44
- currentChunkLength = val.length;
45
- currentChunk = [val];
46
- } else {
47
- currentChunk.push(val);
48
- currentChunkLength += val.length + 1;
49
- }
50
- if (arr.length === index + 1) {
51
- chunks.push(currentChunk);
52
- }
53
- }
54
- return chunks.length ? chunks : [arr];
55
- }
56
- b64ToBlob(b64Data) {
57
- {
58
- const sliceSize = 512;
59
- const typeMatch = /^data:((?:image|application|haptics|video|text|font|model|audio|multipart)\/[A-Za-z0-9+-.]+(?:;[^,]+)*);base64,(.+)$/i.exec(
60
- b64Data
61
- );
62
- if (!typeMatch) {
63
- throw new Error(`${b64Data} is not a valid data Url`);
64
- }
65
- const type = typeMatch[1];
66
- const base64Data = typeMatch?.[2] ?? "";
67
- const byteCharacters = Buffer.from(base64Data, "base64").toString(
68
- "binary"
69
- );
70
- const byteArrays = Array.of();
71
- for (let offset = 0; offset < byteCharacters.length; offset += sliceSize) {
72
- const slice = byteCharacters.slice(offset, offset + sliceSize);
73
- const byteNumbers = new Array(slice.length);
74
- for (let i = 0; i < slice.length; i++) {
75
- byteNumbers[i] = slice.charCodeAt(i);
76
- }
77
- const byteArray = new Uint8Array(byteNumbers);
78
- byteArrays.push(byteArray);
79
- }
80
- const blob = new Blob(byteArrays, { type });
81
- return blob;
82
- }
83
- }
84
- arrToArrOfArrs = /* @__PURE__ */ __name(({
85
- arrToFragment = Array.of(),
86
- arrOfArrsAggregator = Array.of(),
87
- interval
88
- }) => new Promise(
89
- (resolve, _reject) => resolve(
90
- ((interval2) => {
91
- for (let i = 0; i <= arrToFragment.length; i++) {
92
- if ((i % interval2 === 0 || i === 0) && i <= arrToFragment.length) {
93
- let segment = arrToFragment.slice(i, i + interval2);
94
- arrOfArrsAggregator.push(segment);
95
- }
96
- }
97
- })(interval)
98
- )
99
- ).then((_) => arrOfArrsAggregator), "arrToArrOfArrs");
100
- extractTuple(obj, props) {
101
- return [props, obj[props]];
102
- }
103
- sort(obj, order) {
104
- return Object.fromEntries(
105
- Object.entries(obj).sort(
106
- ([a, _aa], [b, _bb]) => order === "DESC" ? b.localeCompare(a) - a.localeCompare(b) : a.localeCompare(b) - b.localeCompare(a)
107
- )
108
- );
109
- }
110
- excludeTargeted = /* @__PURE__ */ __name((obj, props, sort) => {
111
- const resolve = Object.fromEntries(
112
- Object.entries(obj).map(([key, val]) => {
113
- if (props.includes(key)) {
114
- return ["omit", "omit"];
115
- } else return [key, val];
116
- }).filter(([t, _v]) => /omit/.test(t) === false)
117
- );
118
- return typeof sort !== "undefined" ? this.sort(resolve, sort) : resolve;
119
- }, "excludeTargeted");
120
- includeTargeted = /* @__PURE__ */ __name((obj, props, sort) => {
121
- const resolve = Object.fromEntries(
122
- props.map((val) => this.extractTuple(obj, val))
123
- );
124
- return typeof sort !== "undefined" ? this.sort(resolve, sort) : resolve;
125
- }, "includeTargeted");
126
- countsSorter = /* @__PURE__ */ __name((counter, keySort = "ASC", valSort = "DESC") => Object.fromEntries(
127
- Array.from(Object.entries(counter)).sort(
128
- ([aStr, _aNum], [bStr, _bNum]) => keySort === "DESC" ? bStr.localeCompare(aStr) - aStr.localeCompare(bStr) : aStr.localeCompare(bStr) - bStr.localeCompare(aStr)
129
- ).sort(([aStr, aNum], [bStr, bNum]) => {
130
- if (typeof (aNum && bNum) === "number") {
131
- return valSort === "ASC" ? aNum - bNum : bNum - aNum;
132
- } else if (typeof (aNum && bNum) === "string") {
133
- return valSort === "ASC" ? aStr.localeCompare(bStr) - bStr.localeCompare(aStr) : bStr.localeCompare(aStr) - aStr.localeCompare(bStr);
134
- } else
135
- throw new Error(
136
- "only Record<string, string> and Record<string,number> types supported"
137
- );
138
- })
139
- ), "countsSorter");
140
- range(from, to) {
141
- const values = Array.of();
142
- for (let i = from; i < to; i++) {
143
- values.push(i);
144
- }
145
- return values;
146
- }
147
- isPrimeNumber = /* @__PURE__ */ __name((n) => {
148
- for (let i = 2; n > i; i++) {
149
- if (n % i === 0) {
150
- return false;
151
- }
152
- }
153
- return n > 1;
154
- }, "isPrimeNumber");
155
- acceptor = /* @__PURE__ */ __name((num) => [...Array(num !== 0 ? num : this.range(num = -101, num = 101)).keys()].reverse().filter(this.isPrimeNumber), "acceptor");
156
- };
157
-
158
- // src/url/index.ts
159
- var UrlService = class extends UtilsService {
160
- static {
161
- __name(this, "UrlService");
162
- }
163
- URL_REGEX = /^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/;
164
- parseUrl(url) {
165
- const parsed = this.URL_REGEX.exec(url);
166
- if (parsed) {
167
- return {
168
- href: parsed[0],
169
- protocol: parsed[1] ?? "",
170
- baseUrl: `${parsed[1]}${parsed[3]}`,
171
- host: parsed[4] ?? "",
172
- pathname: parsed[5] ?? "",
173
- search: parsed[6] ?? "",
174
- hash: parsed[8] ?? ""
175
- };
176
- } else return null;
177
- }
178
- };
179
-
180
- // src/mime/index.ts
181
- var extMimeMap = {
182
- aac: ["audio/aac"],
183
- abw: ["application/x-abiword"],
184
- aces: ["image/aces"],
185
- apng: ["image/apng"],
186
- arc: ["application/x-freearc"],
187
- avci: ["image/avci"],
188
- avif: ["image/avif"],
189
- avi: ["video/x-msvideo"],
190
- azw: ["application/vnd.amazon.ebook"],
191
- bin: ["application/octet-stream", "multipart/voice-message"],
192
- bmp: ["image/bmp"],
193
- bz: ["application/x-bzip"],
194
- bz2: ["application/x-bzip2"],
195
- cda: ["application/x-cdf"],
196
- cjs: ["application/node", "text/javascript"],
197
- csh: ["application/x-csh"],
198
- css: ["text/css"],
199
- csv: ["text/csv"],
200
- cur: ["image/x-icon"],
201
- doc: ["application/msword"],
202
- docx: [
203
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
204
- ],
205
- dpx: ["image/dpx"],
206
- emf: ["image/emf"],
207
- eot: ["application/vnd.ms-fontobject"],
208
- epub: ["application/epub+zip"],
209
- gif: ["image/gif"],
210
- glb: ["model/gltf-binary"],
211
- gltf: ["model/gltf+json"],
212
- gz: ["application/gzip", "application/x-gzip"],
213
- hjif: ["haptics/hjif"],
214
- hmpg: ["haptics/hmpg"],
215
- htm: ["text/html"],
216
- html: ["text/html"],
217
- ico: ["image/vnd.microsoft.icon", "image/x-icon"],
218
- ics: ["text/calendar"],
219
- ivs: ["haptics/ivs"],
220
- ivt: ["haptics/ivs"],
221
- jar: ["application/java-archive"],
222
- jfif: ["image/jpeg"],
223
- jif: ["image/jpeg"],
224
- jpe: ["image/jpeg"],
225
- jpeg: ["image/jpeg"],
226
- jpg: ["image/jpeg"],
227
- js: ["application/node", "text/javascript"],
228
- json: ["application/json"],
229
- jsonld: ["application/ld+json"],
230
- ktx: ["image/ktx"],
231
- ktx2: ["image/ktx2"],
232
- m3u8: ["application/vnd.apple.mpegurl"],
233
- m4a: ["audio/mp4"],
234
- m4v: ["video/mp4"],
235
- md: ["text/markdown"],
236
- mdx: ["application/x-mdx"],
237
- mid: ["audio/midi"],
238
- midi: ["audio/x-midi"],
239
- mjs: ["text/javascript"],
240
- mp3: ["audio/mpeg"],
241
- mp4: ["video/mp4"],
242
- mpd: ["application/dash+xml"],
243
- mpeg: ["video/mpeg"],
244
- mpkg: ["application/vnd.apple.installer+xml"],
245
- mtlx: ["application/xml"],
246
- ndjson: ["application/x-ndjson"],
247
- node: ["application/node", "text/javascript"],
248
- obj: ["model/obj", "application/octet-stream", "text/plain"],
249
- odp: ["application/vnd.oasis.opendocument.presentation"],
250
- ods: ["application/vnd.oasis.opendocument.spreadsheet"],
251
- odt: ["application/vnd.oasis.opendocument.text"],
252
- oga: ["audio/ogg"],
253
- ogg: ["audio/ogg"],
254
- ogv: ["video/ogg"],
255
- ogx: ["application/ogg"],
256
- opus: ["audio/ogg"],
257
- otf: ["font/otf"],
258
- png: ["image/png"],
259
- pdf: ["application/pdf"],
260
- php: ["application/x-httpd-php"],
261
- pjp: ["image/jpeg"],
262
- pjpeg: ["image/jpeg"],
263
- pkpass: ["application/vnd.apple.pkpass"],
264
- ppt: ["application/vnd.ms-powerpoint"],
265
- pptx: [
266
- "application/vnd.openxmlformats-officedocument.presentationml.presentation"
267
- ],
268
- py: ["text/x-python"],
269
- pyc: ["application/x-python-code"],
270
- rar: ["application/vnd.rar"],
271
- rs: ["text/rust"],
272
- rtf: ["application/rtf"],
273
- sh: ["application/x-sh"],
274
- sql: ["application/sql"],
275
- sse: ["text/event-stream"],
276
- svg: ["image/svg+xml"],
277
- tar: ["application/x-tar"],
278
- tif: ["image/tiff"],
279
- tiff: ["image/tiff"],
280
- toml: ["application/toml"],
281
- ts: ["text/typescript", "video/mp2t", "video/vnd.dlna.mpeg-tts"],
282
- ttf: ["application/font-sfnt", "font/ttf"],
283
- txt: ["text/plain"],
284
- usdz: ["model/vnd.usdz+zip"],
285
- vsd: ["application/vnd.visio"],
286
- vtt: ["text/vtt"],
287
- wasm: ["application/wasm"],
288
- wav: ["audio/wav"],
289
- weba: ["audio/webm"],
290
- webm: ["video/webm"],
291
- webmanifest: ["application/manifest+json"],
292
- webp: ["image/webp"],
293
- woff: ["font/woff"],
294
- woff2: ["font/woff2"],
295
- xhtml: ["application/xhtml+xml"],
296
- xls: ["application/vnd.ms-excel"],
297
- xlsx: ["application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],
298
- xml: ["application/xml", "text/xml"],
299
- xul: ["application/vnd.mozilla.xul+xml"],
300
- yaml: ["application/yaml"],
301
- yml: ["application/yaml"],
302
- zip: ["application/zip", "application/x-zip-compressed"],
303
- "3gp": ["video/3gpp"],
304
- "3g2": ["video/3gpp2"],
305
- "7z": ["application/x-7z-compressed"]
306
- };
307
- var mimeToExt = {
308
- "application/dash+xml": ["mpd"],
309
- "application/epub+zip": ["epub"],
310
- "application/font-sfnt": ["ttf"],
311
- "application/gzip": ["gz"],
312
- "application/java-archive": ["jar"],
313
- "application/json": ["json"],
314
- "application/ld+json": ["jsonld"],
315
- "application/manifest+json": ["webmanifest"],
316
- "application/msword": ["doc"],
317
- "application/node": ["node", "js"],
318
- "application/octet-stream": ["bin", "obj"],
319
- "application/ogg": ["ogx"],
320
- "application/pdf": ["pdf"],
321
- "application/rtf": ["rtf"],
322
- "application/sql": ["sql"],
323
- "application/toml": ["toml"],
324
- "application/vnd.amazon.ebook": ["azw"],
325
- "application/vnd.apple.installer+xml": ["mpkg"],
326
- "application/vnd.apple.mpegurl": ["m3u8"],
327
- "application/vnd.apple.pkpass": ["pkpass"],
328
- "application/vnd.mozilla.xul+xml": ["xul"],
329
- "application/vnd.ms-excel": ["xls"],
330
- "application/vnd.ms-fontobject": ["eot"],
331
- "application/vnd.ms-powerpoint": ["ppt"],
332
- "application/vnd.oasis.opendocument.presentation": ["odp"],
333
- "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
334
- "application/vnd.oasis.opendocument.text": ["odt"],
335
- "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
336
- "pptx"
337
- ],
338
- "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
339
- "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
340
- "docx"
341
- ],
342
- "application/vnd.rar": ["rar"],
343
- "application/vnd.visio": ["vsd"],
344
- "application/wasm": ["wasm"],
345
- "application/x-7z-compressed": ["7z"],
346
- "application/x-abiword": ["abw"],
347
- "application/x-bzip": ["bz"],
348
- "application/x-bzip2": ["bz2"],
349
- "application/x-cdf": ["cda"],
350
- "application/x-csh": ["csh"],
351
- "application/x-freearc": ["arc"],
352
- "application/x-gzip": ["gz"],
353
- "application/x-httpd-php": ["php"],
354
- "application/x-mdx": ["mdx"],
355
- "application/x-ndjson": ["ndjson"],
356
- "application/x-python-code": ["pyc"],
357
- "application/x-sh": ["sh"],
358
- "application/x-tar": ["tar"],
359
- "application/x-zip-compressed": ["zip"],
360
- "application/xhtml+xml": ["xhtml"],
361
- "application/xml": ["xml", "mtlx"],
362
- "application/yaml": ["yml", "yaml"],
363
- "application/zip": ["zip"],
364
- "audio/aac": ["aac"],
365
- "audio/midi": ["mid"],
366
- "audio/mp4": ["m4a"],
367
- "audio/mpeg": ["mp3"],
368
- "audio/ogg": ["opus", "ogg", "oga"],
369
- "audio/wav": ["wav"],
370
- "audio/webm": ["weba"],
371
- "audio/x-midi": ["midi"],
372
- "font/otf": ["otf"],
373
- "font/ttf": ["ttf"],
374
- "font/woff": ["woff"],
375
- "font/woff2": ["woff2"],
376
- "haptics/hjif": ["hjif"],
377
- "haptics/hmpg": ["hmpg"],
378
- "haptics/ivs": ["ivs", "ivt"],
379
- "image/aces": ["aces"],
380
- "image/apng": ["apng"],
381
- "image/avci": ["avci"],
382
- "image/avif": ["avif"],
383
- "image/bmp": ["bmp"],
384
- "image/dpx": ["dpx"],
385
- "image/emf": ["emf"],
386
- "image/gif": ["gif"],
387
- "image/jpeg": ["jpg", "jpeg", "jpe", "jif", "jfif", "pjp", "pjpeg"],
388
- "image/ktx": ["ktx"],
389
- "image/ktx2": ["ktx2"],
390
- "image/png": ["png"],
391
- "image/svg+xml": ["svg"],
392
- "image/tiff": ["tiff", "tif"],
393
- "image/vnd.microsoft.icon": ["ico"],
394
- "image/webp": ["webp"],
395
- "image/x-icon": ["cur", "ico"],
396
- "model/gltf-binary": ["glb"],
397
- "model/gltf+json": ["gltf"],
398
- "model/obj": ["obj"],
399
- "model/vnd.usdz+zip": ["usdz"],
400
- "multipart/voice-message": ["bin"],
401
- "text/calendar": ["ics"],
402
- "text/css": ["css"],
403
- "text/csv": ["csv"],
404
- "text/event-stream": ["sse"],
405
- "text/html": ["html", "htm"],
406
- "text/javascript": ["js", "mjs", "cjs"],
407
- "text/markdown": ["md"],
408
- "text/plain": ["txt"],
409
- "text/rust": ["rs"],
410
- "text/typescript": ["ts"],
411
- "text/vtt": ["vtt"],
412
- "text/xml": ["xml"],
413
- "text/x-python": ["py"],
414
- "video/3gpp": ["3gp"],
415
- "video/3gpp2": ["3g2"],
416
- "video/mp2t": ["ts"],
417
- "video/mp4": ["mp4", "m4v"],
418
- "video/mpeg": ["mpeg"],
419
- "video/ogg": ["ogv"],
420
- "video/vnd.dlna.mpeg-tts": ["ts"],
421
- "video/webm": ["webm"],
422
- "video/x-msvideo": ["avi"]
423
- };
424
- var MimeService = class extends UrlService {
425
- static {
426
- __name(this, "MimeService");
427
- }
428
- constructor() {
429
- super();
430
- }
431
- mimeTypeObj = extMimeMap;
432
- toExtObj = mimeToExt;
433
- compareMimeToExt(p = "mime") {
434
- let a = {};
435
- if (p === "mime") {
436
- for (const [_key, vals] of Object.entries(extMimeMap)) {
437
- for (const val of vals) {
438
- a[val] = (a[val] ?? 0) + 1;
439
- }
440
- }
441
- for (const [key, _val] of Object.entries(mimeToExt)) {
442
- a[key] = (a[key] ?? 0) + 1;
443
- }
444
- return Object.fromEntries(
445
- Object.entries(a).sort(([_a, aa], [_b, bb]) => bb - aa)
446
- );
447
- } else {
448
- for (const [_key, vals] of Object.entries(mimeToExt)) {
449
- for (const val of vals) {
450
- a[val] = (a[val] ?? 0) + 1;
451
- }
452
- }
453
- for (const [key, _val] of Object.entries(extMimeMap)) {
454
- a[key] = (a[key] ?? 0) + 1;
455
- }
456
- return Object.fromEntries(
457
- Object.entries(a).sort(([_a, aa], [_b, bb]) => bb - aa)
458
- );
459
- }
460
- }
461
- mimeToExt(mime) {
462
- const extensions = this.toExtObj[mime];
463
- if (extensions.length === 1) return extensions[0];
464
- if (extensions.length === 2) {
465
- return extensions[0];
466
- }
467
- if (extensions.length === 3) {
468
- if (mime === "audio/ogg") return "ogg";
469
- return extensions[0];
470
- }
471
- if (extensions.length === 7) {
472
- return extensions[0];
473
- }
474
- return extensions[0];
475
- }
476
- assetType(url) {
477
- const parsed = this.parseUrl(url);
478
- if (!parsed) return void 0;
479
- const ext = parsed.pathname.split(/([.])/g)?.reverse()?.[0]?.toLowerCase();
480
- return ext && ext in this.mimeTypeObj ? ext : void 0;
481
- }
482
- getMimes(ext) {
483
- return this.mimeTypeObj[ext];
484
- }
485
- getMimeFor(ext, opts) {
486
- const mimes = this.getMimes(ext);
487
- if (mimes.length === 1) return mimes[0];
488
- if (opts?.type) {
489
- const found = mimes.find((mime) => mime.startsWith(opts.type + "/"));
490
- return found ?? mimes[0];
491
- }
492
- return mimes[0];
493
- }
494
- isMimeFor(ext, mime) {
495
- return this.getMimes(ext).find((s) => s === mime);
496
- }
497
- getMimeTypeForPath(path, opts) {
498
- const ext = this.assetType(path);
499
- if (!ext) return "application/octet-stream";
500
- return this.getMimeFor(ext, opts);
501
- }
502
- };
503
- // Annotate the CommonJS export names for ESM import in node:
504
- 0 && (module.exports = {
505
- MimeService,
506
- extMimeMap,
507
- mimeToExt
508
- });
509
- //# sourceMappingURL=index.cjs.map