pinggy 0.3.7 → 0.3.9

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.
@@ -11,7 +11,1186 @@ import { readFile, readdir, stat } from "fs/promises";
11
11
  import { existsSync } from "fs";
12
12
  import { extname, join, resolve, relative } from "path";
13
13
  import { URL } from "url";
14
- import mime from "mime";
14
+
15
+ // node_modules/mime/dist/types/other.js
16
+ var types = {
17
+ "application/prs.cww": ["cww"],
18
+ "application/prs.xsf+xml": ["xsf"],
19
+ "application/vnd.1000minds.decision-model+xml": ["1km"],
20
+ "application/vnd.3gpp.pic-bw-large": ["plb"],
21
+ "application/vnd.3gpp.pic-bw-small": ["psb"],
22
+ "application/vnd.3gpp.pic-bw-var": ["pvb"],
23
+ "application/vnd.3gpp2.tcap": ["tcap"],
24
+ "application/vnd.3m.post-it-notes": ["pwn"],
25
+ "application/vnd.accpac.simply.aso": ["aso"],
26
+ "application/vnd.accpac.simply.imp": ["imp"],
27
+ "application/vnd.acucobol": ["acu"],
28
+ "application/vnd.acucorp": ["atc", "acutc"],
29
+ "application/vnd.adobe.air-application-installer-package+zip": ["air"],
30
+ "application/vnd.adobe.formscentral.fcdt": ["fcdt"],
31
+ "application/vnd.adobe.fxp": ["fxp", "fxpl"],
32
+ "application/vnd.adobe.xdp+xml": ["xdp"],
33
+ "application/vnd.adobe.xfdf": ["*xfdf"],
34
+ "application/vnd.age": ["age"],
35
+ "application/vnd.ahead.space": ["ahead"],
36
+ "application/vnd.airzip.filesecure.azf": ["azf"],
37
+ "application/vnd.airzip.filesecure.azs": ["azs"],
38
+ "application/vnd.amazon.ebook": ["azw"],
39
+ "application/vnd.americandynamics.acc": ["acc"],
40
+ "application/vnd.amiga.ami": ["ami"],
41
+ "application/vnd.android.package-archive": ["apk"],
42
+ "application/vnd.anser-web-certificate-issue-initiation": ["cii"],
43
+ "application/vnd.anser-web-funds-transfer-initiation": ["fti"],
44
+ "application/vnd.antix.game-component": ["atx"],
45
+ "application/vnd.apple.installer+xml": ["mpkg"],
46
+ "application/vnd.apple.keynote": ["key"],
47
+ "application/vnd.apple.mpegurl": ["m3u8"],
48
+ "application/vnd.apple.numbers": ["numbers"],
49
+ "application/vnd.apple.pages": ["pages"],
50
+ "application/vnd.apple.pkpass": ["pkpass"],
51
+ "application/vnd.aristanetworks.swi": ["swi"],
52
+ "application/vnd.astraea-software.iota": ["iota"],
53
+ "application/vnd.audiograph": ["aep"],
54
+ "application/vnd.autodesk.fbx": ["fbx"],
55
+ "application/vnd.balsamiq.bmml+xml": ["bmml"],
56
+ "application/vnd.blueice.multipass": ["mpm"],
57
+ "application/vnd.bmi": ["bmi"],
58
+ "application/vnd.businessobjects": ["rep"],
59
+ "application/vnd.chemdraw+xml": ["cdxml"],
60
+ "application/vnd.chipnuts.karaoke-mmd": ["mmd"],
61
+ "application/vnd.cinderella": ["cdy"],
62
+ "application/vnd.citationstyles.style+xml": ["csl"],
63
+ "application/vnd.claymore": ["cla"],
64
+ "application/vnd.cloanto.rp9": ["rp9"],
65
+ "application/vnd.clonk.c4group": ["c4g", "c4d", "c4f", "c4p", "c4u"],
66
+ "application/vnd.cluetrust.cartomobile-config": ["c11amc"],
67
+ "application/vnd.cluetrust.cartomobile-config-pkg": ["c11amz"],
68
+ "application/vnd.commonspace": ["csp"],
69
+ "application/vnd.contact.cmsg": ["cdbcmsg"],
70
+ "application/vnd.cosmocaller": ["cmc"],
71
+ "application/vnd.crick.clicker": ["clkx"],
72
+ "application/vnd.crick.clicker.keyboard": ["clkk"],
73
+ "application/vnd.crick.clicker.palette": ["clkp"],
74
+ "application/vnd.crick.clicker.template": ["clkt"],
75
+ "application/vnd.crick.clicker.wordbank": ["clkw"],
76
+ "application/vnd.criticaltools.wbs+xml": ["wbs"],
77
+ "application/vnd.ctc-posml": ["pml"],
78
+ "application/vnd.cups-ppd": ["ppd"],
79
+ "application/vnd.curl.car": ["car"],
80
+ "application/vnd.curl.pcurl": ["pcurl"],
81
+ "application/vnd.dart": ["dart"],
82
+ "application/vnd.data-vision.rdz": ["rdz"],
83
+ "application/vnd.dbf": ["dbf"],
84
+ "application/vnd.dcmp+xml": ["dcmp"],
85
+ "application/vnd.dece.data": ["uvf", "uvvf", "uvd", "uvvd"],
86
+ "application/vnd.dece.ttml+xml": ["uvt", "uvvt"],
87
+ "application/vnd.dece.unspecified": ["uvx", "uvvx"],
88
+ "application/vnd.dece.zip": ["uvz", "uvvz"],
89
+ "application/vnd.denovo.fcselayout-link": ["fe_launch"],
90
+ "application/vnd.dna": ["dna"],
91
+ "application/vnd.dolby.mlp": ["mlp"],
92
+ "application/vnd.dpgraph": ["dpg"],
93
+ "application/vnd.dreamfactory": ["dfac"],
94
+ "application/vnd.ds-keypoint": ["kpxx"],
95
+ "application/vnd.dvb.ait": ["ait"],
96
+ "application/vnd.dvb.service": ["svc"],
97
+ "application/vnd.dynageo": ["geo"],
98
+ "application/vnd.ecowin.chart": ["mag"],
99
+ "application/vnd.enliven": ["nml"],
100
+ "application/vnd.epson.esf": ["esf"],
101
+ "application/vnd.epson.msf": ["msf"],
102
+ "application/vnd.epson.quickanime": ["qam"],
103
+ "application/vnd.epson.salt": ["slt"],
104
+ "application/vnd.epson.ssf": ["ssf"],
105
+ "application/vnd.eszigno3+xml": ["es3", "et3"],
106
+ "application/vnd.ezpix-album": ["ez2"],
107
+ "application/vnd.ezpix-package": ["ez3"],
108
+ "application/vnd.fdf": ["*fdf"],
109
+ "application/vnd.fdsn.mseed": ["mseed"],
110
+ "application/vnd.fdsn.seed": ["seed", "dataless"],
111
+ "application/vnd.flographit": ["gph"],
112
+ "application/vnd.fluxtime.clip": ["ftc"],
113
+ "application/vnd.framemaker": ["fm", "frame", "maker", "book"],
114
+ "application/vnd.frogans.fnc": ["fnc"],
115
+ "application/vnd.frogans.ltf": ["ltf"],
116
+ "application/vnd.fsc.weblaunch": ["fsc"],
117
+ "application/vnd.fujitsu.oasys": ["oas"],
118
+ "application/vnd.fujitsu.oasys2": ["oa2"],
119
+ "application/vnd.fujitsu.oasys3": ["oa3"],
120
+ "application/vnd.fujitsu.oasysgp": ["fg5"],
121
+ "application/vnd.fujitsu.oasysprs": ["bh2"],
122
+ "application/vnd.fujixerox.ddd": ["ddd"],
123
+ "application/vnd.fujixerox.docuworks": ["xdw"],
124
+ "application/vnd.fujixerox.docuworks.binder": ["xbd"],
125
+ "application/vnd.fuzzysheet": ["fzs"],
126
+ "application/vnd.genomatix.tuxedo": ["txd"],
127
+ "application/vnd.geogebra.file": ["ggb"],
128
+ "application/vnd.geogebra.slides": ["ggs"],
129
+ "application/vnd.geogebra.tool": ["ggt"],
130
+ "application/vnd.geometry-explorer": ["gex", "gre"],
131
+ "application/vnd.geonext": ["gxt"],
132
+ "application/vnd.geoplan": ["g2w"],
133
+ "application/vnd.geospace": ["g3w"],
134
+ "application/vnd.gmx": ["gmx"],
135
+ "application/vnd.google-apps.document": ["gdoc"],
136
+ "application/vnd.google-apps.drawing": ["gdraw"],
137
+ "application/vnd.google-apps.form": ["gform"],
138
+ "application/vnd.google-apps.jam": ["gjam"],
139
+ "application/vnd.google-apps.map": ["gmap"],
140
+ "application/vnd.google-apps.presentation": ["gslides"],
141
+ "application/vnd.google-apps.script": ["gscript"],
142
+ "application/vnd.google-apps.site": ["gsite"],
143
+ "application/vnd.google-apps.spreadsheet": ["gsheet"],
144
+ "application/vnd.google-earth.kml+xml": ["kml"],
145
+ "application/vnd.google-earth.kmz": ["kmz"],
146
+ "application/vnd.gov.sk.xmldatacontainer+xml": ["xdcf"],
147
+ "application/vnd.grafeq": ["gqf", "gqs"],
148
+ "application/vnd.groove-account": ["gac"],
149
+ "application/vnd.groove-help": ["ghf"],
150
+ "application/vnd.groove-identity-message": ["gim"],
151
+ "application/vnd.groove-injector": ["grv"],
152
+ "application/vnd.groove-tool-message": ["gtm"],
153
+ "application/vnd.groove-tool-template": ["tpl"],
154
+ "application/vnd.groove-vcard": ["vcg"],
155
+ "application/vnd.hal+xml": ["hal"],
156
+ "application/vnd.handheld-entertainment+xml": ["zmm"],
157
+ "application/vnd.hbci": ["hbci"],
158
+ "application/vnd.hhe.lesson-player": ["les"],
159
+ "application/vnd.hp-hpgl": ["hpgl"],
160
+ "application/vnd.hp-hpid": ["hpid"],
161
+ "application/vnd.hp-hps": ["hps"],
162
+ "application/vnd.hp-jlyt": ["jlt"],
163
+ "application/vnd.hp-pcl": ["pcl"],
164
+ "application/vnd.hp-pclxl": ["pclxl"],
165
+ "application/vnd.hydrostatix.sof-data": ["sfd-hdstx"],
166
+ "application/vnd.ibm.minipay": ["mpy"],
167
+ "application/vnd.ibm.modcap": ["afp", "listafp", "list3820"],
168
+ "application/vnd.ibm.rights-management": ["irm"],
169
+ "application/vnd.ibm.secure-container": ["sc"],
170
+ "application/vnd.iccprofile": ["icc", "icm"],
171
+ "application/vnd.igloader": ["igl"],
172
+ "application/vnd.immervision-ivp": ["ivp"],
173
+ "application/vnd.immervision-ivu": ["ivu"],
174
+ "application/vnd.insors.igm": ["igm"],
175
+ "application/vnd.intercon.formnet": ["xpw", "xpx"],
176
+ "application/vnd.intergeo": ["i2g"],
177
+ "application/vnd.intu.qbo": ["qbo"],
178
+ "application/vnd.intu.qfx": ["qfx"],
179
+ "application/vnd.ipunplugged.rcprofile": ["rcprofile"],
180
+ "application/vnd.irepository.package+xml": ["irp"],
181
+ "application/vnd.is-xpr": ["xpr"],
182
+ "application/vnd.isac.fcs": ["fcs"],
183
+ "application/vnd.jam": ["jam"],
184
+ "application/vnd.jcp.javame.midlet-rms": ["rms"],
185
+ "application/vnd.jisp": ["jisp"],
186
+ "application/vnd.joost.joda-archive": ["joda"],
187
+ "application/vnd.kahootz": ["ktz", "ktr"],
188
+ "application/vnd.kde.karbon": ["karbon"],
189
+ "application/vnd.kde.kchart": ["chrt"],
190
+ "application/vnd.kde.kformula": ["kfo"],
191
+ "application/vnd.kde.kivio": ["flw"],
192
+ "application/vnd.kde.kontour": ["kon"],
193
+ "application/vnd.kde.kpresenter": ["kpr", "kpt"],
194
+ "application/vnd.kde.kspread": ["ksp"],
195
+ "application/vnd.kde.kword": ["kwd", "kwt"],
196
+ "application/vnd.kenameaapp": ["htke"],
197
+ "application/vnd.kidspiration": ["kia"],
198
+ "application/vnd.kinar": ["kne", "knp"],
199
+ "application/vnd.koan": ["skp", "skd", "skt", "skm"],
200
+ "application/vnd.kodak-descriptor": ["sse"],
201
+ "application/vnd.las.las+xml": ["lasxml"],
202
+ "application/vnd.llamagraphics.life-balance.desktop": ["lbd"],
203
+ "application/vnd.llamagraphics.life-balance.exchange+xml": ["lbe"],
204
+ "application/vnd.lotus-1-2-3": ["123"],
205
+ "application/vnd.lotus-approach": ["apr"],
206
+ "application/vnd.lotus-freelance": ["pre"],
207
+ "application/vnd.lotus-notes": ["nsf"],
208
+ "application/vnd.lotus-organizer": ["org"],
209
+ "application/vnd.lotus-screencam": ["scm"],
210
+ "application/vnd.lotus-wordpro": ["lwp"],
211
+ "application/vnd.macports.portpkg": ["portpkg"],
212
+ "application/vnd.mapbox-vector-tile": ["mvt"],
213
+ "application/vnd.mcd": ["mcd"],
214
+ "application/vnd.medcalcdata": ["mc1"],
215
+ "application/vnd.mediastation.cdkey": ["cdkey"],
216
+ "application/vnd.mfer": ["mwf"],
217
+ "application/vnd.mfmp": ["mfm"],
218
+ "application/vnd.micrografx.flo": ["flo"],
219
+ "application/vnd.micrografx.igx": ["igx"],
220
+ "application/vnd.mif": ["mif"],
221
+ "application/vnd.mobius.daf": ["daf"],
222
+ "application/vnd.mobius.dis": ["dis"],
223
+ "application/vnd.mobius.mbk": ["mbk"],
224
+ "application/vnd.mobius.mqy": ["mqy"],
225
+ "application/vnd.mobius.msl": ["msl"],
226
+ "application/vnd.mobius.plc": ["plc"],
227
+ "application/vnd.mobius.txf": ["txf"],
228
+ "application/vnd.mophun.application": ["mpn"],
229
+ "application/vnd.mophun.certificate": ["mpc"],
230
+ "application/vnd.mozilla.xul+xml": ["xul"],
231
+ "application/vnd.ms-artgalry": ["cil"],
232
+ "application/vnd.ms-cab-compressed": ["cab"],
233
+ "application/vnd.ms-excel": ["xls", "xlm", "xla", "xlc", "xlt", "xlw"],
234
+ "application/vnd.ms-excel.addin.macroenabled.12": ["xlam"],
235
+ "application/vnd.ms-excel.sheet.binary.macroenabled.12": ["xlsb"],
236
+ "application/vnd.ms-excel.sheet.macroenabled.12": ["xlsm"],
237
+ "application/vnd.ms-excel.template.macroenabled.12": ["xltm"],
238
+ "application/vnd.ms-fontobject": ["eot"],
239
+ "application/vnd.ms-htmlhelp": ["chm"],
240
+ "application/vnd.ms-ims": ["ims"],
241
+ "application/vnd.ms-lrm": ["lrm"],
242
+ "application/vnd.ms-officetheme": ["thmx"],
243
+ "application/vnd.ms-outlook": ["msg"],
244
+ "application/vnd.ms-pki.seccat": ["cat"],
245
+ "application/vnd.ms-pki.stl": ["*stl"],
246
+ "application/vnd.ms-powerpoint": ["ppt", "pps", "pot"],
247
+ "application/vnd.ms-powerpoint.addin.macroenabled.12": ["ppam"],
248
+ "application/vnd.ms-powerpoint.presentation.macroenabled.12": ["pptm"],
249
+ "application/vnd.ms-powerpoint.slide.macroenabled.12": ["sldm"],
250
+ "application/vnd.ms-powerpoint.slideshow.macroenabled.12": ["ppsm"],
251
+ "application/vnd.ms-powerpoint.template.macroenabled.12": ["potm"],
252
+ "application/vnd.ms-project": ["*mpp", "mpt"],
253
+ "application/vnd.ms-visio.viewer": ["vdx"],
254
+ "application/vnd.ms-word.document.macroenabled.12": ["docm"],
255
+ "application/vnd.ms-word.template.macroenabled.12": ["dotm"],
256
+ "application/vnd.ms-works": ["wps", "wks", "wcm", "wdb"],
257
+ "application/vnd.ms-wpl": ["wpl"],
258
+ "application/vnd.ms-xpsdocument": ["xps"],
259
+ "application/vnd.mseq": ["mseq"],
260
+ "application/vnd.musician": ["mus"],
261
+ "application/vnd.muvee.style": ["msty"],
262
+ "application/vnd.mynfc": ["taglet"],
263
+ "application/vnd.nato.bindingdataobject+xml": ["bdo"],
264
+ "application/vnd.neurolanguage.nlu": ["nlu"],
265
+ "application/vnd.nitf": ["ntf", "nitf"],
266
+ "application/vnd.noblenet-directory": ["nnd"],
267
+ "application/vnd.noblenet-sealer": ["nns"],
268
+ "application/vnd.noblenet-web": ["nnw"],
269
+ "application/vnd.nokia.n-gage.ac+xml": ["*ac"],
270
+ "application/vnd.nokia.n-gage.data": ["ngdat"],
271
+ "application/vnd.nokia.n-gage.symbian.install": ["n-gage"],
272
+ "application/vnd.nokia.radio-preset": ["rpst"],
273
+ "application/vnd.nokia.radio-presets": ["rpss"],
274
+ "application/vnd.novadigm.edm": ["edm"],
275
+ "application/vnd.novadigm.edx": ["edx"],
276
+ "application/vnd.novadigm.ext": ["ext"],
277
+ "application/vnd.oasis.opendocument.chart": ["odc"],
278
+ "application/vnd.oasis.opendocument.chart-template": ["otc"],
279
+ "application/vnd.oasis.opendocument.database": ["odb"],
280
+ "application/vnd.oasis.opendocument.formula": ["odf"],
281
+ "application/vnd.oasis.opendocument.formula-template": ["odft"],
282
+ "application/vnd.oasis.opendocument.graphics": ["odg"],
283
+ "application/vnd.oasis.opendocument.graphics-template": ["otg"],
284
+ "application/vnd.oasis.opendocument.image": ["odi"],
285
+ "application/vnd.oasis.opendocument.image-template": ["oti"],
286
+ "application/vnd.oasis.opendocument.presentation": ["odp"],
287
+ "application/vnd.oasis.opendocument.presentation-template": ["otp"],
288
+ "application/vnd.oasis.opendocument.spreadsheet": ["ods"],
289
+ "application/vnd.oasis.opendocument.spreadsheet-template": ["ots"],
290
+ "application/vnd.oasis.opendocument.text": ["odt"],
291
+ "application/vnd.oasis.opendocument.text-master": ["odm"],
292
+ "application/vnd.oasis.opendocument.text-template": ["ott"],
293
+ "application/vnd.oasis.opendocument.text-web": ["oth"],
294
+ "application/vnd.olpc-sugar": ["xo"],
295
+ "application/vnd.oma.dd2+xml": ["dd2"],
296
+ "application/vnd.openblox.game+xml": ["obgx"],
297
+ "application/vnd.openofficeorg.extension": ["oxt"],
298
+ "application/vnd.openstreetmap.data+xml": ["osm"],
299
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": [
300
+ "pptx"
301
+ ],
302
+ "application/vnd.openxmlformats-officedocument.presentationml.slide": [
303
+ "sldx"
304
+ ],
305
+ "application/vnd.openxmlformats-officedocument.presentationml.slideshow": [
306
+ "ppsx"
307
+ ],
308
+ "application/vnd.openxmlformats-officedocument.presentationml.template": [
309
+ "potx"
310
+ ],
311
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ["xlsx"],
312
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.template": [
313
+ "xltx"
314
+ ],
315
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": [
316
+ "docx"
317
+ ],
318
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.template": [
319
+ "dotx"
320
+ ],
321
+ "application/vnd.osgeo.mapguide.package": ["mgp"],
322
+ "application/vnd.osgi.dp": ["dp"],
323
+ "application/vnd.osgi.subsystem": ["esa"],
324
+ "application/vnd.palm": ["pdb", "pqa", "oprc"],
325
+ "application/vnd.pawaafile": ["paw"],
326
+ "application/vnd.pg.format": ["str"],
327
+ "application/vnd.pg.osasli": ["ei6"],
328
+ "application/vnd.picsel": ["efif"],
329
+ "application/vnd.pmi.widget": ["wg"],
330
+ "application/vnd.pocketlearn": ["plf"],
331
+ "application/vnd.powerbuilder6": ["pbd"],
332
+ "application/vnd.previewsystems.box": ["box"],
333
+ "application/vnd.procrate.brushset": ["brushset"],
334
+ "application/vnd.procreate.brush": ["brush"],
335
+ "application/vnd.procreate.dream": ["drm"],
336
+ "application/vnd.proteus.magazine": ["mgz"],
337
+ "application/vnd.publishare-delta-tree": ["qps"],
338
+ "application/vnd.pvi.ptid1": ["ptid"],
339
+ "application/vnd.pwg-xhtml-print+xml": ["xhtm"],
340
+ "application/vnd.quark.quarkxpress": [
341
+ "qxd",
342
+ "qxt",
343
+ "qwd",
344
+ "qwt",
345
+ "qxl",
346
+ "qxb"
347
+ ],
348
+ "application/vnd.rar": ["rar"],
349
+ "application/vnd.realvnc.bed": ["bed"],
350
+ "application/vnd.recordare.musicxml": ["mxl"],
351
+ "application/vnd.recordare.musicxml+xml": ["musicxml"],
352
+ "application/vnd.rig.cryptonote": ["cryptonote"],
353
+ "application/vnd.rim.cod": ["cod"],
354
+ "application/vnd.rn-realmedia": ["rm"],
355
+ "application/vnd.rn-realmedia-vbr": ["rmvb"],
356
+ "application/vnd.route66.link66+xml": ["link66"],
357
+ "application/vnd.sailingtracker.track": ["st"],
358
+ "application/vnd.seemail": ["see"],
359
+ "application/vnd.sema": ["sema"],
360
+ "application/vnd.semd": ["semd"],
361
+ "application/vnd.semf": ["semf"],
362
+ "application/vnd.shana.informed.formdata": ["ifm"],
363
+ "application/vnd.shana.informed.formtemplate": ["itp"],
364
+ "application/vnd.shana.informed.interchange": ["iif"],
365
+ "application/vnd.shana.informed.package": ["ipk"],
366
+ "application/vnd.simtech-mindmapper": ["twd", "twds"],
367
+ "application/vnd.smaf": ["mmf"],
368
+ "application/vnd.smart.teacher": ["teacher"],
369
+ "application/vnd.software602.filler.form+xml": ["fo"],
370
+ "application/vnd.solent.sdkm+xml": ["sdkm", "sdkd"],
371
+ "application/vnd.spotfire.dxp": ["dxp"],
372
+ "application/vnd.spotfire.sfs": ["sfs"],
373
+ "application/vnd.stardivision.calc": ["sdc"],
374
+ "application/vnd.stardivision.draw": ["sda"],
375
+ "application/vnd.stardivision.impress": ["sdd"],
376
+ "application/vnd.stardivision.math": ["smf"],
377
+ "application/vnd.stardivision.writer": ["sdw", "vor"],
378
+ "application/vnd.stardivision.writer-global": ["sgl"],
379
+ "application/vnd.stepmania.package": ["smzip"],
380
+ "application/vnd.stepmania.stepchart": ["sm"],
381
+ "application/vnd.sun.wadl+xml": ["wadl"],
382
+ "application/vnd.sun.xml.calc": ["sxc"],
383
+ "application/vnd.sun.xml.calc.template": ["stc"],
384
+ "application/vnd.sun.xml.draw": ["sxd"],
385
+ "application/vnd.sun.xml.draw.template": ["std"],
386
+ "application/vnd.sun.xml.impress": ["sxi"],
387
+ "application/vnd.sun.xml.impress.template": ["sti"],
388
+ "application/vnd.sun.xml.math": ["sxm"],
389
+ "application/vnd.sun.xml.writer": ["sxw"],
390
+ "application/vnd.sun.xml.writer.global": ["sxg"],
391
+ "application/vnd.sun.xml.writer.template": ["stw"],
392
+ "application/vnd.sus-calendar": ["sus", "susp"],
393
+ "application/vnd.svd": ["svd"],
394
+ "application/vnd.symbian.install": ["sis", "sisx"],
395
+ "application/vnd.syncml+xml": ["xsm"],
396
+ "application/vnd.syncml.dm+wbxml": ["bdm"],
397
+ "application/vnd.syncml.dm+xml": ["xdm"],
398
+ "application/vnd.syncml.dmddf+xml": ["ddf"],
399
+ "application/vnd.tao.intent-module-archive": ["tao"],
400
+ "application/vnd.tcpdump.pcap": ["pcap", "cap", "dmp"],
401
+ "application/vnd.tmobile-livetv": ["tmo"],
402
+ "application/vnd.trid.tpt": ["tpt"],
403
+ "application/vnd.triscape.mxs": ["mxs"],
404
+ "application/vnd.trueapp": ["tra"],
405
+ "application/vnd.ufdl": ["ufd", "ufdl"],
406
+ "application/vnd.uiq.theme": ["utz"],
407
+ "application/vnd.umajin": ["umj"],
408
+ "application/vnd.unity": ["unityweb"],
409
+ "application/vnd.uoml+xml": ["uoml", "uo"],
410
+ "application/vnd.vcx": ["vcx"],
411
+ "application/vnd.visio": ["vsd", "vst", "vss", "vsw", "vsdx", "vtx"],
412
+ "application/vnd.visionary": ["vis"],
413
+ "application/vnd.vsf": ["vsf"],
414
+ "application/vnd.wap.wbxml": ["wbxml"],
415
+ "application/vnd.wap.wmlc": ["wmlc"],
416
+ "application/vnd.wap.wmlscriptc": ["wmlsc"],
417
+ "application/vnd.webturbo": ["wtb"],
418
+ "application/vnd.wolfram.player": ["nbp"],
419
+ "application/vnd.wordperfect": ["wpd"],
420
+ "application/vnd.wqd": ["wqd"],
421
+ "application/vnd.wt.stf": ["stf"],
422
+ "application/vnd.xara": ["xar"],
423
+ "application/vnd.xfdl": ["xfdl"],
424
+ "application/vnd.yamaha.hv-dic": ["hvd"],
425
+ "application/vnd.yamaha.hv-script": ["hvs"],
426
+ "application/vnd.yamaha.hv-voice": ["hvp"],
427
+ "application/vnd.yamaha.openscoreformat": ["osf"],
428
+ "application/vnd.yamaha.openscoreformat.osfpvg+xml": ["osfpvg"],
429
+ "application/vnd.yamaha.smaf-audio": ["saf"],
430
+ "application/vnd.yamaha.smaf-phrase": ["spf"],
431
+ "application/vnd.yellowriver-custom-menu": ["cmp"],
432
+ "application/vnd.zul": ["zir", "zirz"],
433
+ "application/vnd.zzazz.deck+xml": ["zaz"],
434
+ "application/x-7z-compressed": ["7z"],
435
+ "application/x-abiword": ["abw"],
436
+ "application/x-ace-compressed": ["ace"],
437
+ "application/x-apple-diskimage": ["*dmg"],
438
+ "application/x-arj": ["arj"],
439
+ "application/x-authorware-bin": ["aab", "x32", "u32", "vox"],
440
+ "application/x-authorware-map": ["aam"],
441
+ "application/x-authorware-seg": ["aas"],
442
+ "application/x-bcpio": ["bcpio"],
443
+ "application/x-bdoc": ["*bdoc"],
444
+ "application/x-bittorrent": ["torrent"],
445
+ "application/x-blender": ["blend"],
446
+ "application/x-blorb": ["blb", "blorb"],
447
+ "application/x-bzip": ["bz"],
448
+ "application/x-bzip2": ["bz2", "boz"],
449
+ "application/x-cbr": ["cbr", "cba", "cbt", "cbz", "cb7"],
450
+ "application/x-cdlink": ["vcd"],
451
+ "application/x-cfs-compressed": ["cfs"],
452
+ "application/x-chat": ["chat"],
453
+ "application/x-chess-pgn": ["pgn"],
454
+ "application/x-chrome-extension": ["crx"],
455
+ "application/x-cocoa": ["cco"],
456
+ "application/x-compressed": ["*rar"],
457
+ "application/x-conference": ["nsc"],
458
+ "application/x-cpio": ["cpio"],
459
+ "application/x-csh": ["csh"],
460
+ "application/x-debian-package": ["*deb", "udeb"],
461
+ "application/x-dgc-compressed": ["dgc"],
462
+ "application/x-director": [
463
+ "dir",
464
+ "dcr",
465
+ "dxr",
466
+ "cst",
467
+ "cct",
468
+ "cxt",
469
+ "w3d",
470
+ "fgd",
471
+ "swa"
472
+ ],
473
+ "application/x-doom": ["wad"],
474
+ "application/x-dtbncx+xml": ["ncx"],
475
+ "application/x-dtbook+xml": ["dtb"],
476
+ "application/x-dtbresource+xml": ["res"],
477
+ "application/x-dvi": ["dvi"],
478
+ "application/x-envoy": ["evy"],
479
+ "application/x-eva": ["eva"],
480
+ "application/x-font-bdf": ["bdf"],
481
+ "application/x-font-ghostscript": ["gsf"],
482
+ "application/x-font-linux-psf": ["psf"],
483
+ "application/x-font-pcf": ["pcf"],
484
+ "application/x-font-snf": ["snf"],
485
+ "application/x-font-type1": ["pfa", "pfb", "pfm", "afm"],
486
+ "application/x-freearc": ["arc"],
487
+ "application/x-futuresplash": ["spl"],
488
+ "application/x-gca-compressed": ["gca"],
489
+ "application/x-glulx": ["ulx"],
490
+ "application/x-gnumeric": ["gnumeric"],
491
+ "application/x-gramps-xml": ["gramps"],
492
+ "application/x-gtar": ["gtar"],
493
+ "application/x-hdf": ["hdf"],
494
+ "application/x-httpd-php": ["php"],
495
+ "application/x-install-instructions": ["install"],
496
+ "application/x-ipynb+json": ["ipynb"],
497
+ "application/x-iso9660-image": ["*iso"],
498
+ "application/x-iwork-keynote-sffkey": ["*key"],
499
+ "application/x-iwork-numbers-sffnumbers": ["*numbers"],
500
+ "application/x-iwork-pages-sffpages": ["*pages"],
501
+ "application/x-java-archive-diff": ["jardiff"],
502
+ "application/x-java-jnlp-file": ["jnlp"],
503
+ "application/x-keepass2": ["kdbx"],
504
+ "application/x-latex": ["latex"],
505
+ "application/x-lua-bytecode": ["luac"],
506
+ "application/x-lzh-compressed": ["lzh", "lha"],
507
+ "application/x-makeself": ["run"],
508
+ "application/x-mie": ["mie"],
509
+ "application/x-mobipocket-ebook": ["*prc", "mobi"],
510
+ "application/x-ms-application": ["application"],
511
+ "application/x-ms-shortcut": ["lnk"],
512
+ "application/x-ms-wmd": ["wmd"],
513
+ "application/x-ms-wmz": ["wmz"],
514
+ "application/x-ms-xbap": ["xbap"],
515
+ "application/x-msaccess": ["mdb"],
516
+ "application/x-msbinder": ["obd"],
517
+ "application/x-mscardfile": ["crd"],
518
+ "application/x-msclip": ["clp"],
519
+ "application/x-msdos-program": ["*exe"],
520
+ "application/x-msdownload": ["*exe", "*dll", "com", "bat", "*msi"],
521
+ "application/x-msmediaview": ["mvb", "m13", "m14"],
522
+ "application/x-msmetafile": ["*wmf", "*wmz", "*emf", "emz"],
523
+ "application/x-msmoney": ["mny"],
524
+ "application/x-mspublisher": ["pub"],
525
+ "application/x-msschedule": ["scd"],
526
+ "application/x-msterminal": ["trm"],
527
+ "application/x-mswrite": ["wri"],
528
+ "application/x-netcdf": ["nc", "cdf"],
529
+ "application/x-ns-proxy-autoconfig": ["pac"],
530
+ "application/x-nzb": ["nzb"],
531
+ "application/x-perl": ["pl", "pm"],
532
+ "application/x-pilot": ["*prc", "*pdb"],
533
+ "application/x-pkcs12": ["p12", "pfx"],
534
+ "application/x-pkcs7-certificates": ["p7b", "spc"],
535
+ "application/x-pkcs7-certreqresp": ["p7r"],
536
+ "application/x-rar-compressed": ["*rar"],
537
+ "application/x-redhat-package-manager": ["rpm"],
538
+ "application/x-research-info-systems": ["ris"],
539
+ "application/x-sea": ["sea"],
540
+ "application/x-sh": ["sh"],
541
+ "application/x-shar": ["shar"],
542
+ "application/x-shockwave-flash": ["swf"],
543
+ "application/x-silverlight-app": ["xap"],
544
+ "application/x-sql": ["*sql"],
545
+ "application/x-stuffit": ["sit"],
546
+ "application/x-stuffitx": ["sitx"],
547
+ "application/x-subrip": ["srt"],
548
+ "application/x-sv4cpio": ["sv4cpio"],
549
+ "application/x-sv4crc": ["sv4crc"],
550
+ "application/x-t3vm-image": ["t3"],
551
+ "application/x-tads": ["gam"],
552
+ "application/x-tar": ["tar"],
553
+ "application/x-tcl": ["tcl", "tk"],
554
+ "application/x-tex": ["tex"],
555
+ "application/x-tex-tfm": ["tfm"],
556
+ "application/x-texinfo": ["texinfo", "texi"],
557
+ "application/x-tgif": ["*obj"],
558
+ "application/x-ustar": ["ustar"],
559
+ "application/x-virtualbox-hdd": ["hdd"],
560
+ "application/x-virtualbox-ova": ["ova"],
561
+ "application/x-virtualbox-ovf": ["ovf"],
562
+ "application/x-virtualbox-vbox": ["vbox"],
563
+ "application/x-virtualbox-vbox-extpack": ["vbox-extpack"],
564
+ "application/x-virtualbox-vdi": ["vdi"],
565
+ "application/x-virtualbox-vhd": ["vhd"],
566
+ "application/x-virtualbox-vmdk": ["vmdk"],
567
+ "application/x-wais-source": ["src"],
568
+ "application/x-web-app-manifest+json": ["webapp"],
569
+ "application/x-x509-ca-cert": ["der", "crt", "pem"],
570
+ "application/x-xfig": ["fig"],
571
+ "application/x-xliff+xml": ["*xlf"],
572
+ "application/x-xpinstall": ["xpi"],
573
+ "application/x-xz": ["xz"],
574
+ "application/x-zip-compressed": ["*zip"],
575
+ "application/x-zmachine": ["z1", "z2", "z3", "z4", "z5", "z6", "z7", "z8"],
576
+ "audio/vnd.dece.audio": ["uva", "uvva"],
577
+ "audio/vnd.digital-winds": ["eol"],
578
+ "audio/vnd.dra": ["dra"],
579
+ "audio/vnd.dts": ["dts"],
580
+ "audio/vnd.dts.hd": ["dtshd"],
581
+ "audio/vnd.lucent.voice": ["lvp"],
582
+ "audio/vnd.ms-playready.media.pya": ["pya"],
583
+ "audio/vnd.nuera.ecelp4800": ["ecelp4800"],
584
+ "audio/vnd.nuera.ecelp7470": ["ecelp7470"],
585
+ "audio/vnd.nuera.ecelp9600": ["ecelp9600"],
586
+ "audio/vnd.rip": ["rip"],
587
+ "audio/x-aac": ["*aac"],
588
+ "audio/x-aiff": ["aif", "aiff", "aifc"],
589
+ "audio/x-caf": ["caf"],
590
+ "audio/x-flac": ["flac"],
591
+ "audio/x-m4a": ["*m4a"],
592
+ "audio/x-matroska": ["mka"],
593
+ "audio/x-mpegurl": ["m3u"],
594
+ "audio/x-ms-wax": ["wax"],
595
+ "audio/x-ms-wma": ["wma"],
596
+ "audio/x-pn-realaudio": ["ram", "ra"],
597
+ "audio/x-pn-realaudio-plugin": ["rmp"],
598
+ "audio/x-realaudio": ["*ra"],
599
+ "audio/x-wav": ["*wav"],
600
+ "chemical/x-cdx": ["cdx"],
601
+ "chemical/x-cif": ["cif"],
602
+ "chemical/x-cmdf": ["cmdf"],
603
+ "chemical/x-cml": ["cml"],
604
+ "chemical/x-csml": ["csml"],
605
+ "chemical/x-xyz": ["xyz"],
606
+ "image/prs.btif": ["btif", "btf"],
607
+ "image/prs.pti": ["pti"],
608
+ "image/vnd.adobe.photoshop": ["psd"],
609
+ "image/vnd.airzip.accelerator.azv": ["azv"],
610
+ "image/vnd.blockfact.facti": ["facti"],
611
+ "image/vnd.dece.graphic": ["uvi", "uvvi", "uvg", "uvvg"],
612
+ "image/vnd.djvu": ["djvu", "djv"],
613
+ "image/vnd.dvb.subtitle": ["*sub"],
614
+ "image/vnd.dwg": ["dwg"],
615
+ "image/vnd.dxf": ["dxf"],
616
+ "image/vnd.fastbidsheet": ["fbs"],
617
+ "image/vnd.fpx": ["fpx"],
618
+ "image/vnd.fst": ["fst"],
619
+ "image/vnd.fujixerox.edmics-mmr": ["mmr"],
620
+ "image/vnd.fujixerox.edmics-rlc": ["rlc"],
621
+ "image/vnd.microsoft.icon": ["ico"],
622
+ "image/vnd.ms-dds": ["dds"],
623
+ "image/vnd.ms-modi": ["mdi"],
624
+ "image/vnd.ms-photo": ["wdp"],
625
+ "image/vnd.net-fpx": ["npx"],
626
+ "image/vnd.pco.b16": ["b16"],
627
+ "image/vnd.tencent.tap": ["tap"],
628
+ "image/vnd.valve.source.texture": ["vtf"],
629
+ "image/vnd.wap.wbmp": ["wbmp"],
630
+ "image/vnd.xiff": ["xif"],
631
+ "image/vnd.zbrush.pcx": ["pcx"],
632
+ "image/x-3ds": ["3ds"],
633
+ "image/x-adobe-dng": ["dng"],
634
+ "image/x-cmu-raster": ["ras"],
635
+ "image/x-cmx": ["cmx"],
636
+ "image/x-freehand": ["fh", "fhc", "fh4", "fh5", "fh7"],
637
+ "image/x-icon": ["*ico"],
638
+ "image/x-jng": ["jng"],
639
+ "image/x-mrsid-image": ["sid"],
640
+ "image/x-ms-bmp": ["*bmp"],
641
+ "image/x-pcx": ["*pcx"],
642
+ "image/x-pict": ["pic", "pct"],
643
+ "image/x-portable-anymap": ["pnm"],
644
+ "image/x-portable-bitmap": ["pbm"],
645
+ "image/x-portable-graymap": ["pgm"],
646
+ "image/x-portable-pixmap": ["ppm"],
647
+ "image/x-rgb": ["rgb"],
648
+ "image/x-tga": ["tga"],
649
+ "image/x-xbitmap": ["xbm"],
650
+ "image/x-xpixmap": ["xpm"],
651
+ "image/x-xwindowdump": ["xwd"],
652
+ "message/vnd.wfa.wsc": ["wsc"],
653
+ "model/vnd.bary": ["bary"],
654
+ "model/vnd.cld": ["cld"],
655
+ "model/vnd.collada+xml": ["dae"],
656
+ "model/vnd.dwf": ["dwf"],
657
+ "model/vnd.gdl": ["gdl"],
658
+ "model/vnd.gtw": ["gtw"],
659
+ "model/vnd.mts": ["*mts"],
660
+ "model/vnd.opengex": ["ogex"],
661
+ "model/vnd.parasolid.transmit.binary": ["x_b"],
662
+ "model/vnd.parasolid.transmit.text": ["x_t"],
663
+ "model/vnd.pytha.pyox": ["pyo", "pyox"],
664
+ "model/vnd.sap.vds": ["vds"],
665
+ "model/vnd.usda": ["usda"],
666
+ "model/vnd.usdz+zip": ["usdz"],
667
+ "model/vnd.valve.source.compiled-map": ["bsp"],
668
+ "model/vnd.vtu": ["vtu"],
669
+ "text/prs.lines.tag": ["dsc"],
670
+ "text/vnd.curl": ["curl"],
671
+ "text/vnd.curl.dcurl": ["dcurl"],
672
+ "text/vnd.curl.mcurl": ["mcurl"],
673
+ "text/vnd.curl.scurl": ["scurl"],
674
+ "text/vnd.dvb.subtitle": ["sub"],
675
+ "text/vnd.familysearch.gedcom": ["ged"],
676
+ "text/vnd.fly": ["fly"],
677
+ "text/vnd.fmi.flexstor": ["flx"],
678
+ "text/vnd.graphviz": ["gv"],
679
+ "text/vnd.in3d.3dml": ["3dml"],
680
+ "text/vnd.in3d.spot": ["spot"],
681
+ "text/vnd.sun.j2me.app-descriptor": ["jad"],
682
+ "text/vnd.wap.wml": ["wml"],
683
+ "text/vnd.wap.wmlscript": ["wmls"],
684
+ "text/x-asm": ["s", "asm"],
685
+ "text/x-c": ["c", "cc", "cxx", "cpp", "h", "hh", "dic"],
686
+ "text/x-component": ["htc"],
687
+ "text/x-fortran": ["f", "for", "f77", "f90"],
688
+ "text/x-handlebars-template": ["hbs"],
689
+ "text/x-java-source": ["java"],
690
+ "text/x-lua": ["lua"],
691
+ "text/x-markdown": ["mkd"],
692
+ "text/x-nfo": ["nfo"],
693
+ "text/x-opml": ["opml"],
694
+ "text/x-org": ["*org"],
695
+ "text/x-pascal": ["p", "pas"],
696
+ "text/x-processing": ["pde"],
697
+ "text/x-sass": ["sass"],
698
+ "text/x-scss": ["scss"],
699
+ "text/x-setext": ["etx"],
700
+ "text/x-sfv": ["sfv"],
701
+ "text/x-suse-ymp": ["ymp"],
702
+ "text/x-uuencode": ["uu"],
703
+ "text/x-vcalendar": ["vcs"],
704
+ "text/x-vcard": ["vcf"],
705
+ "video/vnd.dece.hd": ["uvh", "uvvh"],
706
+ "video/vnd.dece.mobile": ["uvm", "uvvm"],
707
+ "video/vnd.dece.pd": ["uvp", "uvvp"],
708
+ "video/vnd.dece.sd": ["uvs", "uvvs"],
709
+ "video/vnd.dece.video": ["uvv", "uvvv"],
710
+ "video/vnd.dvb.file": ["dvb"],
711
+ "video/vnd.fvt": ["fvt"],
712
+ "video/vnd.mpegurl": ["mxu", "m4u"],
713
+ "video/vnd.ms-playready.media.pyv": ["pyv"],
714
+ "video/vnd.uvvu.mp4": ["uvu", "uvvu"],
715
+ "video/vnd.vivo": ["viv"],
716
+ "video/x-f4v": ["f4v"],
717
+ "video/x-fli": ["fli"],
718
+ "video/x-flv": ["flv"],
719
+ "video/x-m4v": ["m4v"],
720
+ "video/x-matroska": ["mkv", "mk3d", "mks"],
721
+ "video/x-mng": ["mng"],
722
+ "video/x-ms-asf": ["asf", "asx"],
723
+ "video/x-ms-vob": ["vob"],
724
+ "video/x-ms-wm": ["wm"],
725
+ "video/x-ms-wmv": ["wmv"],
726
+ "video/x-ms-wmx": ["wmx"],
727
+ "video/x-ms-wvx": ["wvx"],
728
+ "video/x-msvideo": ["avi"],
729
+ "video/x-sgi-movie": ["movie"],
730
+ "video/x-smv": ["smv"],
731
+ "x-conference/x-cooltalk": ["ice"]
732
+ };
733
+ Object.freeze(types);
734
+ var other_default = types;
735
+
736
+ // node_modules/mime/dist/types/standard.js
737
+ var types2 = {
738
+ "application/andrew-inset": ["ez"],
739
+ "application/appinstaller": ["appinstaller"],
740
+ "application/applixware": ["aw"],
741
+ "application/appx": ["appx"],
742
+ "application/appxbundle": ["appxbundle"],
743
+ "application/atom+xml": ["atom"],
744
+ "application/atomcat+xml": ["atomcat"],
745
+ "application/atomdeleted+xml": ["atomdeleted"],
746
+ "application/atomsvc+xml": ["atomsvc"],
747
+ "application/atsc-dwd+xml": ["dwd"],
748
+ "application/atsc-held+xml": ["held"],
749
+ "application/atsc-rsat+xml": ["rsat"],
750
+ "application/automationml-aml+xml": ["aml"],
751
+ "application/automationml-amlx+zip": ["amlx"],
752
+ "application/bdoc": ["bdoc"],
753
+ "application/calendar+xml": ["xcs"],
754
+ "application/ccxml+xml": ["ccxml"],
755
+ "application/cdfx+xml": ["cdfx"],
756
+ "application/cdmi-capability": ["cdmia"],
757
+ "application/cdmi-container": ["cdmic"],
758
+ "application/cdmi-domain": ["cdmid"],
759
+ "application/cdmi-object": ["cdmio"],
760
+ "application/cdmi-queue": ["cdmiq"],
761
+ "application/cpl+xml": ["cpl"],
762
+ "application/cu-seeme": ["cu"],
763
+ "application/cwl": ["cwl"],
764
+ "application/dash+xml": ["mpd"],
765
+ "application/dash-patch+xml": ["mpp"],
766
+ "application/davmount+xml": ["davmount"],
767
+ "application/dicom": ["dcm"],
768
+ "application/docbook+xml": ["dbk"],
769
+ "application/dssc+der": ["dssc"],
770
+ "application/dssc+xml": ["xdssc"],
771
+ "application/ecmascript": ["ecma"],
772
+ "application/emma+xml": ["emma"],
773
+ "application/emotionml+xml": ["emotionml"],
774
+ "application/epub+zip": ["epub"],
775
+ "application/exi": ["exi"],
776
+ "application/express": ["exp"],
777
+ "application/fdf": ["fdf"],
778
+ "application/fdt+xml": ["fdt"],
779
+ "application/font-tdpfr": ["pfr"],
780
+ "application/geo+json": ["geojson"],
781
+ "application/gml+xml": ["gml"],
782
+ "application/gpx+xml": ["gpx"],
783
+ "application/gxf": ["gxf"],
784
+ "application/gzip": ["gz"],
785
+ "application/hjson": ["hjson"],
786
+ "application/hyperstudio": ["stk"],
787
+ "application/inkml+xml": ["ink", "inkml"],
788
+ "application/ipfix": ["ipfix"],
789
+ "application/its+xml": ["its"],
790
+ "application/java-archive": ["jar", "war", "ear"],
791
+ "application/java-serialized-object": ["ser"],
792
+ "application/java-vm": ["class"],
793
+ "application/javascript": ["*js"],
794
+ "application/json": ["json", "map"],
795
+ "application/json5": ["json5"],
796
+ "application/jsonml+json": ["jsonml"],
797
+ "application/ld+json": ["jsonld"],
798
+ "application/lgr+xml": ["lgr"],
799
+ "application/lost+xml": ["lostxml"],
800
+ "application/mac-binhex40": ["hqx"],
801
+ "application/mac-compactpro": ["cpt"],
802
+ "application/mads+xml": ["mads"],
803
+ "application/manifest+json": ["webmanifest"],
804
+ "application/marc": ["mrc"],
805
+ "application/marcxml+xml": ["mrcx"],
806
+ "application/mathematica": ["ma", "nb", "mb"],
807
+ "application/mathml+xml": ["mathml"],
808
+ "application/mbox": ["mbox"],
809
+ "application/media-policy-dataset+xml": ["mpf"],
810
+ "application/mediaservercontrol+xml": ["mscml"],
811
+ "application/metalink+xml": ["metalink"],
812
+ "application/metalink4+xml": ["meta4"],
813
+ "application/mets+xml": ["mets"],
814
+ "application/mmt-aei+xml": ["maei"],
815
+ "application/mmt-usd+xml": ["musd"],
816
+ "application/mods+xml": ["mods"],
817
+ "application/mp21": ["m21", "mp21"],
818
+ "application/mp4": ["*mp4", "*mpg4", "mp4s", "m4p"],
819
+ "application/msix": ["msix"],
820
+ "application/msixbundle": ["msixbundle"],
821
+ "application/msword": ["doc", "dot"],
822
+ "application/mxf": ["mxf"],
823
+ "application/n-quads": ["nq"],
824
+ "application/n-triples": ["nt"],
825
+ "application/node": ["cjs"],
826
+ "application/octet-stream": [
827
+ "bin",
828
+ "dms",
829
+ "lrf",
830
+ "mar",
831
+ "so",
832
+ "dist",
833
+ "distz",
834
+ "pkg",
835
+ "bpk",
836
+ "dump",
837
+ "elc",
838
+ "deploy",
839
+ "exe",
840
+ "dll",
841
+ "deb",
842
+ "dmg",
843
+ "iso",
844
+ "img",
845
+ "msi",
846
+ "msp",
847
+ "msm",
848
+ "buffer"
849
+ ],
850
+ "application/oda": ["oda"],
851
+ "application/oebps-package+xml": ["opf"],
852
+ "application/ogg": ["ogx"],
853
+ "application/omdoc+xml": ["omdoc"],
854
+ "application/onenote": [
855
+ "onetoc",
856
+ "onetoc2",
857
+ "onetmp",
858
+ "onepkg",
859
+ "one",
860
+ "onea"
861
+ ],
862
+ "application/oxps": ["oxps"],
863
+ "application/p2p-overlay+xml": ["relo"],
864
+ "application/patch-ops-error+xml": ["xer"],
865
+ "application/pdf": ["pdf"],
866
+ "application/pgp-encrypted": ["pgp"],
867
+ "application/pgp-keys": ["asc"],
868
+ "application/pgp-signature": ["sig", "*asc"],
869
+ "application/pics-rules": ["prf"],
870
+ "application/pkcs10": ["p10"],
871
+ "application/pkcs7-mime": ["p7m", "p7c"],
872
+ "application/pkcs7-signature": ["p7s"],
873
+ "application/pkcs8": ["p8"],
874
+ "application/pkix-attr-cert": ["ac"],
875
+ "application/pkix-cert": ["cer"],
876
+ "application/pkix-crl": ["crl"],
877
+ "application/pkix-pkipath": ["pkipath"],
878
+ "application/pkixcmp": ["pki"],
879
+ "application/pls+xml": ["pls"],
880
+ "application/postscript": ["ai", "eps", "ps"],
881
+ "application/provenance+xml": ["provx"],
882
+ "application/pskc+xml": ["pskcxml"],
883
+ "application/raml+yaml": ["raml"],
884
+ "application/rdf+xml": ["rdf", "owl"],
885
+ "application/reginfo+xml": ["rif"],
886
+ "application/relax-ng-compact-syntax": ["rnc"],
887
+ "application/resource-lists+xml": ["rl"],
888
+ "application/resource-lists-diff+xml": ["rld"],
889
+ "application/rls-services+xml": ["rs"],
890
+ "application/route-apd+xml": ["rapd"],
891
+ "application/route-s-tsid+xml": ["sls"],
892
+ "application/route-usd+xml": ["rusd"],
893
+ "application/rpki-ghostbusters": ["gbr"],
894
+ "application/rpki-manifest": ["mft"],
895
+ "application/rpki-roa": ["roa"],
896
+ "application/rsd+xml": ["rsd"],
897
+ "application/rss+xml": ["rss"],
898
+ "application/rtf": ["rtf"],
899
+ "application/sbml+xml": ["sbml"],
900
+ "application/scvp-cv-request": ["scq"],
901
+ "application/scvp-cv-response": ["scs"],
902
+ "application/scvp-vp-request": ["spq"],
903
+ "application/scvp-vp-response": ["spp"],
904
+ "application/sdp": ["sdp"],
905
+ "application/senml+xml": ["senmlx"],
906
+ "application/sensml+xml": ["sensmlx"],
907
+ "application/set-payment-initiation": ["setpay"],
908
+ "application/set-registration-initiation": ["setreg"],
909
+ "application/shf+xml": ["shf"],
910
+ "application/sieve": ["siv", "sieve"],
911
+ "application/smil+xml": ["smi", "smil"],
912
+ "application/sparql-query": ["rq"],
913
+ "application/sparql-results+xml": ["srx"],
914
+ "application/sql": ["sql"],
915
+ "application/srgs": ["gram"],
916
+ "application/srgs+xml": ["grxml"],
917
+ "application/sru+xml": ["sru"],
918
+ "application/ssdl+xml": ["ssdl"],
919
+ "application/ssml+xml": ["ssml"],
920
+ "application/swid+xml": ["swidtag"],
921
+ "application/tei+xml": ["tei", "teicorpus"],
922
+ "application/thraud+xml": ["tfi"],
923
+ "application/timestamped-data": ["tsd"],
924
+ "application/toml": ["toml"],
925
+ "application/trig": ["trig"],
926
+ "application/ttml+xml": ["ttml"],
927
+ "application/ubjson": ["ubj"],
928
+ "application/urc-ressheet+xml": ["rsheet"],
929
+ "application/urc-targetdesc+xml": ["td"],
930
+ "application/voicexml+xml": ["vxml"],
931
+ "application/wasm": ["wasm"],
932
+ "application/watcherinfo+xml": ["wif"],
933
+ "application/widget": ["wgt"],
934
+ "application/winhlp": ["hlp"],
935
+ "application/wsdl+xml": ["wsdl"],
936
+ "application/wspolicy+xml": ["wspolicy"],
937
+ "application/xaml+xml": ["xaml"],
938
+ "application/xcap-att+xml": ["xav"],
939
+ "application/xcap-caps+xml": ["xca"],
940
+ "application/xcap-diff+xml": ["xdf"],
941
+ "application/xcap-el+xml": ["xel"],
942
+ "application/xcap-ns+xml": ["xns"],
943
+ "application/xenc+xml": ["xenc"],
944
+ "application/xfdf": ["xfdf"],
945
+ "application/xhtml+xml": ["xhtml", "xht"],
946
+ "application/xliff+xml": ["xlf"],
947
+ "application/xml": ["xml", "xsl", "xsd", "rng"],
948
+ "application/xml-dtd": ["dtd"],
949
+ "application/xop+xml": ["xop"],
950
+ "application/xproc+xml": ["xpl"],
951
+ "application/xslt+xml": ["*xsl", "xslt"],
952
+ "application/xspf+xml": ["xspf"],
953
+ "application/xv+xml": ["mxml", "xhvml", "xvml", "xvm"],
954
+ "application/yang": ["yang"],
955
+ "application/yin+xml": ["yin"],
956
+ "application/zip": ["zip"],
957
+ "application/zip+dotlottie": ["lottie"],
958
+ "audio/3gpp": ["*3gpp"],
959
+ "audio/aac": ["adts", "aac"],
960
+ "audio/adpcm": ["adp"],
961
+ "audio/amr": ["amr"],
962
+ "audio/basic": ["au", "snd"],
963
+ "audio/midi": ["mid", "midi", "kar", "rmi"],
964
+ "audio/mobile-xmf": ["mxmf"],
965
+ "audio/mp3": ["*mp3"],
966
+ "audio/mp4": ["m4a", "mp4a", "m4b"],
967
+ "audio/mpeg": ["mpga", "mp2", "mp2a", "mp3", "m2a", "m3a"],
968
+ "audio/ogg": ["oga", "ogg", "spx", "opus"],
969
+ "audio/s3m": ["s3m"],
970
+ "audio/silk": ["sil"],
971
+ "audio/wav": ["wav"],
972
+ "audio/wave": ["*wav"],
973
+ "audio/webm": ["weba"],
974
+ "audio/xm": ["xm"],
975
+ "font/collection": ["ttc"],
976
+ "font/otf": ["otf"],
977
+ "font/ttf": ["ttf"],
978
+ "font/woff": ["woff"],
979
+ "font/woff2": ["woff2"],
980
+ "image/aces": ["exr"],
981
+ "image/apng": ["apng"],
982
+ "image/avci": ["avci"],
983
+ "image/avcs": ["avcs"],
984
+ "image/avif": ["avif"],
985
+ "image/bmp": ["bmp", "dib"],
986
+ "image/cgm": ["cgm"],
987
+ "image/dicom-rle": ["drle"],
988
+ "image/dpx": ["dpx"],
989
+ "image/emf": ["emf"],
990
+ "image/fits": ["fits"],
991
+ "image/g3fax": ["g3"],
992
+ "image/gif": ["gif"],
993
+ "image/heic": ["heic"],
994
+ "image/heic-sequence": ["heics"],
995
+ "image/heif": ["heif"],
996
+ "image/heif-sequence": ["heifs"],
997
+ "image/hej2k": ["hej2"],
998
+ "image/ief": ["ief"],
999
+ "image/jaii": ["jaii"],
1000
+ "image/jais": ["jais"],
1001
+ "image/jls": ["jls"],
1002
+ "image/jp2": ["jp2", "jpg2"],
1003
+ "image/jpeg": ["jpg", "jpeg", "jpe"],
1004
+ "image/jph": ["jph"],
1005
+ "image/jphc": ["jhc"],
1006
+ "image/jpm": ["jpm", "jpgm"],
1007
+ "image/jpx": ["jpx", "jpf"],
1008
+ "image/jxl": ["jxl"],
1009
+ "image/jxr": ["jxr"],
1010
+ "image/jxra": ["jxra"],
1011
+ "image/jxrs": ["jxrs"],
1012
+ "image/jxs": ["jxs"],
1013
+ "image/jxsc": ["jxsc"],
1014
+ "image/jxsi": ["jxsi"],
1015
+ "image/jxss": ["jxss"],
1016
+ "image/ktx": ["ktx"],
1017
+ "image/ktx2": ["ktx2"],
1018
+ "image/pjpeg": ["jfif"],
1019
+ "image/png": ["png"],
1020
+ "image/sgi": ["sgi"],
1021
+ "image/svg+xml": ["svg", "svgz"],
1022
+ "image/t38": ["t38"],
1023
+ "image/tiff": ["tif", "tiff"],
1024
+ "image/tiff-fx": ["tfx"],
1025
+ "image/webp": ["webp"],
1026
+ "image/wmf": ["wmf"],
1027
+ "message/disposition-notification": ["disposition-notification"],
1028
+ "message/global": ["u8msg"],
1029
+ "message/global-delivery-status": ["u8dsn"],
1030
+ "message/global-disposition-notification": ["u8mdn"],
1031
+ "message/global-headers": ["u8hdr"],
1032
+ "message/rfc822": ["eml", "mime", "mht", "mhtml"],
1033
+ "model/3mf": ["3mf"],
1034
+ "model/gltf+json": ["gltf"],
1035
+ "model/gltf-binary": ["glb"],
1036
+ "model/iges": ["igs", "iges"],
1037
+ "model/jt": ["jt"],
1038
+ "model/mesh": ["msh", "mesh", "silo"],
1039
+ "model/mtl": ["mtl"],
1040
+ "model/obj": ["obj"],
1041
+ "model/prc": ["prc"],
1042
+ "model/step": ["step", "stp", "stpnc", "p21", "210"],
1043
+ "model/step+xml": ["stpx"],
1044
+ "model/step+zip": ["stpz"],
1045
+ "model/step-xml+zip": ["stpxz"],
1046
+ "model/stl": ["stl"],
1047
+ "model/u3d": ["u3d"],
1048
+ "model/vrml": ["wrl", "vrml"],
1049
+ "model/x3d+binary": ["*x3db", "x3dbz"],
1050
+ "model/x3d+fastinfoset": ["x3db"],
1051
+ "model/x3d+vrml": ["*x3dv", "x3dvz"],
1052
+ "model/x3d+xml": ["x3d", "x3dz"],
1053
+ "model/x3d-vrml": ["x3dv"],
1054
+ "text/cache-manifest": ["appcache", "manifest"],
1055
+ "text/calendar": ["ics", "ifb"],
1056
+ "text/coffeescript": ["coffee", "litcoffee"],
1057
+ "text/css": ["css"],
1058
+ "text/csv": ["csv"],
1059
+ "text/html": ["html", "htm", "shtml"],
1060
+ "text/jade": ["jade"],
1061
+ "text/javascript": ["js", "mjs"],
1062
+ "text/jsx": ["jsx"],
1063
+ "text/less": ["less"],
1064
+ "text/markdown": ["md", "markdown"],
1065
+ "text/mathml": ["mml"],
1066
+ "text/mdx": ["mdx"],
1067
+ "text/n3": ["n3"],
1068
+ "text/plain": ["txt", "text", "conf", "def", "list", "log", "in", "ini"],
1069
+ "text/richtext": ["rtx"],
1070
+ "text/rtf": ["*rtf"],
1071
+ "text/sgml": ["sgml", "sgm"],
1072
+ "text/shex": ["shex"],
1073
+ "text/slim": ["slim", "slm"],
1074
+ "text/spdx": ["spdx"],
1075
+ "text/stylus": ["stylus", "styl"],
1076
+ "text/tab-separated-values": ["tsv"],
1077
+ "text/troff": ["t", "tr", "roff", "man", "me", "ms"],
1078
+ "text/turtle": ["ttl"],
1079
+ "text/uri-list": ["uri", "uris", "urls"],
1080
+ "text/vcard": ["vcard"],
1081
+ "text/vtt": ["vtt"],
1082
+ "text/wgsl": ["wgsl"],
1083
+ "text/xml": ["*xml"],
1084
+ "text/yaml": ["yaml", "yml"],
1085
+ "video/3gpp": ["3gp", "3gpp"],
1086
+ "video/3gpp2": ["3g2"],
1087
+ "video/h261": ["h261"],
1088
+ "video/h263": ["h263"],
1089
+ "video/h264": ["h264"],
1090
+ "video/iso.segment": ["m4s"],
1091
+ "video/jpeg": ["jpgv"],
1092
+ "video/jpm": ["*jpm", "*jpgm"],
1093
+ "video/mj2": ["mj2", "mjp2"],
1094
+ "video/mp2t": ["ts", "m2t", "m2ts", "mts"],
1095
+ "video/mp4": ["mp4", "mp4v", "mpg4"],
1096
+ "video/mpeg": ["mpeg", "mpg", "mpe", "m1v", "m2v"],
1097
+ "video/ogg": ["ogv"],
1098
+ "video/quicktime": ["qt", "mov"],
1099
+ "video/webm": ["webm"]
1100
+ };
1101
+ Object.freeze(types2);
1102
+ var standard_default = types2;
1103
+
1104
+ // node_modules/mime/dist/src/Mime.js
1105
+ var __classPrivateFieldGet = function(receiver, state, kind, f) {
1106
+ if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");
1107
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");
1108
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
1109
+ };
1110
+ var _Mime_extensionToType;
1111
+ var _Mime_typeToExtension;
1112
+ var _Mime_typeToExtensions;
1113
+ var Mime = class {
1114
+ constructor(...args) {
1115
+ _Mime_extensionToType.set(this, /* @__PURE__ */ new Map());
1116
+ _Mime_typeToExtension.set(this, /* @__PURE__ */ new Map());
1117
+ _Mime_typeToExtensions.set(this, /* @__PURE__ */ new Map());
1118
+ for (const arg of args) {
1119
+ this.define(arg);
1120
+ }
1121
+ }
1122
+ define(typeMap, force = false) {
1123
+ for (let [type, extensions] of Object.entries(typeMap)) {
1124
+ type = type.toLowerCase();
1125
+ extensions = extensions.map((ext) => ext.toLowerCase());
1126
+ if (!__classPrivateFieldGet(this, _Mime_typeToExtensions, "f").has(type)) {
1127
+ __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").set(type, /* @__PURE__ */ new Set());
1128
+ }
1129
+ const allExtensions = __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type);
1130
+ let first = true;
1131
+ for (let extension of extensions) {
1132
+ const starred = extension.startsWith("*");
1133
+ extension = starred ? extension.slice(1) : extension;
1134
+ allExtensions?.add(extension);
1135
+ if (first) {
1136
+ __classPrivateFieldGet(this, _Mime_typeToExtension, "f").set(type, extension);
1137
+ }
1138
+ first = false;
1139
+ if (starred)
1140
+ continue;
1141
+ const currentType = __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(extension);
1142
+ if (currentType && currentType != type && !force) {
1143
+ throw new Error(`"${type} -> ${extension}" conflicts with "${currentType} -> ${extension}". Pass \`force=true\` to override this definition.`);
1144
+ }
1145
+ __classPrivateFieldGet(this, _Mime_extensionToType, "f").set(extension, type);
1146
+ }
1147
+ }
1148
+ return this;
1149
+ }
1150
+ getType(path) {
1151
+ if (typeof path !== "string")
1152
+ return null;
1153
+ const last = path.replace(/^.*[/\\]/s, "").toLowerCase();
1154
+ const ext = last.replace(/^.*\./s, "").toLowerCase();
1155
+ const hasPath = last.length < path.length;
1156
+ const hasDot = ext.length < last.length - 1;
1157
+ if (!hasDot && hasPath)
1158
+ return null;
1159
+ return __classPrivateFieldGet(this, _Mime_extensionToType, "f").get(ext) ?? null;
1160
+ }
1161
+ getExtension(type) {
1162
+ if (typeof type !== "string")
1163
+ return null;
1164
+ type = type?.split?.(";")[0];
1165
+ return (type && __classPrivateFieldGet(this, _Mime_typeToExtension, "f").get(type.trim().toLowerCase())) ?? null;
1166
+ }
1167
+ getAllExtensions(type) {
1168
+ if (typeof type !== "string")
1169
+ return null;
1170
+ return __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").get(type.toLowerCase()) ?? null;
1171
+ }
1172
+ _freeze() {
1173
+ this.define = () => {
1174
+ throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances");
1175
+ };
1176
+ Object.freeze(this);
1177
+ for (const extensions of __classPrivateFieldGet(this, _Mime_typeToExtensions, "f").values()) {
1178
+ Object.freeze(extensions);
1179
+ }
1180
+ return this;
1181
+ }
1182
+ _getTestState() {
1183
+ return {
1184
+ types: __classPrivateFieldGet(this, _Mime_extensionToType, "f"),
1185
+ extensions: __classPrivateFieldGet(this, _Mime_typeToExtension, "f")
1186
+ };
1187
+ }
1188
+ };
1189
+ _Mime_extensionToType = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtension = /* @__PURE__ */ new WeakMap(), _Mime_typeToExtensions = /* @__PURE__ */ new WeakMap();
1190
+ var Mime_default = Mime;
1191
+
1192
+ // node_modules/mime/dist/src/index.js
1193
+ var src_default = new Mime_default(standard_default, other_default)._freeze();
15
1194
 
16
1195
  // src/utils/htmlTemplates.ts
17
1196
  function directoryListingHtml(relativePath, list) {
@@ -209,7 +1388,7 @@ async function startFileServer(dirPath, port = 8080) {
209
1388
  }
210
1389
  }
211
1390
  const content = await readFile(filePath);
212
- const type = mime.getType(extname(filePath)) || "application/octet-stream";
1391
+ const type = src_default.getType(extname(filePath)) || "application/octet-stream";
213
1392
  res.writeHead(200, { "Content-Type": type });
214
1393
  res.end(content);
215
1394
  } catch (err) {