Comparing version 1.0.1 to 2.0.0
export const mimes: Record<string, string>; | ||
export function lookup(extension: string): string | void; | ||
export function lookup(extension: string): string | undefined; |
612
index.js
const mimes = { | ||
"ez": "application/andrew-inset", | ||
"aw": "application/applixware", | ||
"3g2": "video/3gpp2", | ||
"3gp": "video/3gpp", | ||
"3gpp": "video/3gpp", | ||
"3mf": "model/3mf", | ||
"aac": "audio/aac", | ||
"ac": "application/pkix-attr-cert", | ||
"adp": "audio/adpcm", | ||
"adts": "audio/aac", | ||
"ai": "application/postscript", | ||
"aml": "application/automationml-aml+xml", | ||
"amlx": "application/automationml-amlx+zip", | ||
"amr": "audio/amr", | ||
"apng": "image/apng", | ||
"appcache": "text/cache-manifest", | ||
"appinstaller": "application/appinstaller", | ||
"appx": "application/appx", | ||
"appxbundle": "application/appxbundle", | ||
"asc": "application/pgp-keys", | ||
"atom": "application/atom+xml", | ||
@@ -8,7 +24,14 @@ "atomcat": "application/atomcat+xml", | ||
"atomsvc": "application/atomsvc+xml", | ||
"dwd": "application/atsc-dwd+xml", | ||
"held": "application/atsc-held+xml", | ||
"rsat": "application/atsc-rsat+xml", | ||
"au": "audio/basic", | ||
"avci": "image/avci", | ||
"avcs": "image/avcs", | ||
"avif": "image/avif", | ||
"aw": "application/applixware", | ||
"bdoc": "application/bdoc", | ||
"xcs": "application/calendar+xml", | ||
"bin": "application/octet-stream", | ||
"bmp": "image/bmp", | ||
"bpk": "application/octet-stream", | ||
"btf": "image/prs.btif", | ||
"btif": "image/prs.btif", | ||
"buffer": "application/octet-stream", | ||
"ccxml": "application/ccxml+xml", | ||
@@ -21,390 +44,395 @@ "cdfx": "application/cdfx+xml", | ||
"cdmiq": "application/cdmi-queue", | ||
"cer": "application/pkix-cert", | ||
"cgm": "image/cgm", | ||
"cjs": "application/node", | ||
"class": "application/java-vm", | ||
"coffee": "text/coffeescript", | ||
"conf": "text/plain", | ||
"cpl": "application/cpl+xml", | ||
"cpt": "application/mac-compactpro", | ||
"crl": "application/pkix-crl", | ||
"css": "text/css", | ||
"csv": "text/csv", | ||
"cu": "application/cu-seeme", | ||
"mpd": "application/dash+xml", | ||
"cwl": "application/cwl", | ||
"cww": "application/prs.cww", | ||
"davmount": "application/davmount+xml", | ||
"dbk": "application/docbook+xml", | ||
"deb": "application/octet-stream", | ||
"def": "text/plain", | ||
"deploy": "application/octet-stream", | ||
"dib": "image/bmp", | ||
"disposition-notification": "message/disposition-notification", | ||
"dist": "application/octet-stream", | ||
"distz": "application/octet-stream", | ||
"dll": "application/octet-stream", | ||
"dmg": "application/octet-stream", | ||
"dms": "application/octet-stream", | ||
"doc": "application/msword", | ||
"dot": "application/msword", | ||
"dpx": "image/dpx", | ||
"drle": "image/dicom-rle", | ||
"dsc": "text/prs.lines.tag", | ||
"dssc": "application/dssc+der", | ||
"xdssc": "application/dssc+xml", | ||
"es": "application/ecmascript", | ||
"dtd": "application/xml-dtd", | ||
"dump": "application/octet-stream", | ||
"dwd": "application/atsc-dwd+xml", | ||
"ear": "application/java-archive", | ||
"ecma": "application/ecmascript", | ||
"elc": "application/octet-stream", | ||
"emf": "image/emf", | ||
"eml": "message/rfc822", | ||
"emma": "application/emma+xml", | ||
"emotionml": "application/emotionml+xml", | ||
"eps": "application/postscript", | ||
"epub": "application/epub+zip", | ||
"exe": "application/octet-stream", | ||
"exi": "application/exi", | ||
"exp": "application/express", | ||
"exr": "image/aces", | ||
"ez": "application/andrew-inset", | ||
"fdf": "application/fdf", | ||
"fdt": "application/fdt+xml", | ||
"pfr": "application/font-tdpfr", | ||
"fits": "image/fits", | ||
"g3": "image/g3fax", | ||
"gbr": "application/rpki-ghostbusters", | ||
"geojson": "application/geo+json", | ||
"gif": "image/gif", | ||
"glb": "model/gltf-binary", | ||
"gltf": "model/gltf+json", | ||
"gml": "application/gml+xml", | ||
"gpx": "application/gpx+xml", | ||
"gram": "application/srgs", | ||
"grxml": "application/srgs+xml", | ||
"gxf": "application/gxf", | ||
"gz": "application/gzip", | ||
"h261": "video/h261", | ||
"h263": "video/h263", | ||
"h264": "video/h264", | ||
"heic": "image/heic", | ||
"heics": "image/heic-sequence", | ||
"heif": "image/heif", | ||
"heifs": "image/heif-sequence", | ||
"hej2": "image/hej2k", | ||
"held": "application/atsc-held+xml", | ||
"hjson": "application/hjson", | ||
"stk": "application/hyperstudio", | ||
"hlp": "application/winhlp", | ||
"hqx": "application/mac-binhex40", | ||
"hsj2": "image/hsj2", | ||
"htm": "text/html", | ||
"html": "text/html", | ||
"ics": "text/calendar", | ||
"ief": "image/ief", | ||
"ifb": "text/calendar", | ||
"iges": "model/iges", | ||
"igs": "model/iges", | ||
"img": "application/octet-stream", | ||
"in": "text/plain", | ||
"ini": "text/plain", | ||
"ink": "application/inkml+xml", | ||
"inkml": "application/inkml+xml", | ||
"ipfix": "application/ipfix", | ||
"iso": "application/octet-stream", | ||
"its": "application/its+xml", | ||
"jade": "text/jade", | ||
"jar": "application/java-archive", | ||
"war": "application/java-archive", | ||
"ear": "application/java-archive", | ||
"ser": "application/java-serialized-object", | ||
"class": "application/java-vm", | ||
"js": "application/javascript", | ||
"mjs": "application/javascript", | ||
"jhc": "image/jphc", | ||
"jls": "image/jls", | ||
"jp2": "image/jp2", | ||
"jpe": "image/jpeg", | ||
"jpeg": "image/jpeg", | ||
"jpf": "image/jpx", | ||
"jpg": "image/jpeg", | ||
"jpg2": "image/jp2", | ||
"jpgm": "image/jpm", | ||
"jpgv": "video/jpeg", | ||
"jph": "image/jph", | ||
"jpm": "image/jpm", | ||
"jpx": "image/jpx", | ||
"js": "text/javascript", | ||
"json": "application/json", | ||
"map": "application/json", | ||
"json5": "application/json5", | ||
"jsonld": "application/ld+json", | ||
"jsonml": "application/jsonml+json", | ||
"jsonld": "application/ld+json", | ||
"jsx": "text/jsx", | ||
"jt": "model/jt", | ||
"jxr": "image/jxr", | ||
"jxra": "image/jxra", | ||
"jxrs": "image/jxrs", | ||
"jxs": "image/jxs", | ||
"jxsc": "image/jxsc", | ||
"jxsi": "image/jxsi", | ||
"jxss": "image/jxss", | ||
"kar": "audio/midi", | ||
"ktx": "image/ktx", | ||
"ktx2": "image/ktx2", | ||
"less": "text/less", | ||
"lgr": "application/lgr+xml", | ||
"list": "text/plain", | ||
"litcoffee": "text/coffeescript", | ||
"log": "text/plain", | ||
"lostxml": "application/lost+xml", | ||
"hqx": "application/mac-binhex40", | ||
"cpt": "application/mac-compactpro", | ||
"lrf": "application/octet-stream", | ||
"m1v": "video/mpeg", | ||
"m21": "application/mp21", | ||
"m2a": "audio/mpeg", | ||
"m2v": "video/mpeg", | ||
"m3a": "audio/mpeg", | ||
"m4a": "audio/mp4", | ||
"m4p": "application/mp4", | ||
"m4s": "video/iso.segment", | ||
"ma": "application/mathematica", | ||
"mads": "application/mads+xml", | ||
"webmanifest": "application/manifest+json", | ||
"mrc": "application/marc", | ||
"mrcx": "application/marcxml+xml", | ||
"ma": "application/mathematica", | ||
"nb": "application/mathematica", | ||
"maei": "application/mmt-aei+xml", | ||
"man": "text/troff", | ||
"manifest": "text/cache-manifest", | ||
"map": "application/json", | ||
"mar": "application/octet-stream", | ||
"markdown": "text/markdown", | ||
"mathml": "application/mathml+xml", | ||
"mb": "application/mathematica", | ||
"mathml": "application/mathml+xml", | ||
"mbox": "application/mbox", | ||
"mscml": "application/mediaservercontrol+xml", | ||
"md": "text/markdown", | ||
"mdx": "text/mdx", | ||
"me": "text/troff", | ||
"mesh": "model/mesh", | ||
"meta4": "application/metalink4+xml", | ||
"metalink": "application/metalink+xml", | ||
"meta4": "application/metalink4+xml", | ||
"mets": "application/mets+xml", | ||
"maei": "application/mmt-aei+xml", | ||
"musd": "application/mmt-usd+xml", | ||
"mft": "application/rpki-manifest", | ||
"mid": "audio/midi", | ||
"midi": "audio/midi", | ||
"mime": "message/rfc822", | ||
"mj2": "video/mj2", | ||
"mjp2": "video/mj2", | ||
"mjs": "text/javascript", | ||
"mml": "text/mathml", | ||
"mods": "application/mods+xml", | ||
"m21": "application/mp21", | ||
"mov": "video/quicktime", | ||
"mp2": "audio/mpeg", | ||
"mp21": "application/mp21", | ||
"mp2a": "audio/mpeg", | ||
"mp3": "audio/mpeg", | ||
"mp4": "video/mp4", | ||
"mp4a": "audio/mp4", | ||
"mp4s": "application/mp4", | ||
"m4p": "application/mp4", | ||
"doc": "application/msword", | ||
"dot": "application/msword", | ||
"mp4v": "video/mp4", | ||
"mpd": "application/dash+xml", | ||
"mpe": "video/mpeg", | ||
"mpeg": "video/mpeg", | ||
"mpf": "application/media-policy-dataset+xml", | ||
"mpg": "video/mpeg", | ||
"mpg4": "video/mp4", | ||
"mpga": "audio/mpeg", | ||
"mpp": "application/dash-patch+xml", | ||
"mrc": "application/marc", | ||
"mrcx": "application/marcxml+xml", | ||
"ms": "text/troff", | ||
"mscml": "application/mediaservercontrol+xml", | ||
"msh": "model/mesh", | ||
"msi": "application/octet-stream", | ||
"msix": "application/msix", | ||
"msixbundle": "application/msixbundle", | ||
"msm": "application/octet-stream", | ||
"msp": "application/octet-stream", | ||
"mtl": "model/mtl", | ||
"musd": "application/mmt-usd+xml", | ||
"mxf": "application/mxf", | ||
"mxmf": "audio/mobile-xmf", | ||
"mxml": "application/xv+xml", | ||
"n3": "text/n3", | ||
"nb": "application/mathematica", | ||
"nq": "application/n-quads", | ||
"nt": "application/n-triples", | ||
"cjs": "application/node", | ||
"bin": "application/octet-stream", | ||
"dms": "application/octet-stream", | ||
"lrf": "application/octet-stream", | ||
"mar": "application/octet-stream", | ||
"so": "application/octet-stream", | ||
"dist": "application/octet-stream", | ||
"distz": "application/octet-stream", | ||
"pkg": "application/octet-stream", | ||
"bpk": "application/octet-stream", | ||
"dump": "application/octet-stream", | ||
"elc": "application/octet-stream", | ||
"deploy": "application/octet-stream", | ||
"exe": "application/octet-stream", | ||
"dll": "application/octet-stream", | ||
"deb": "application/octet-stream", | ||
"dmg": "application/octet-stream", | ||
"iso": "application/octet-stream", | ||
"img": "application/octet-stream", | ||
"msi": "application/octet-stream", | ||
"msp": "application/octet-stream", | ||
"msm": "application/octet-stream", | ||
"buffer": "application/octet-stream", | ||
"obj": "model/obj", | ||
"oda": "application/oda", | ||
"opf": "application/oebps-package+xml", | ||
"oga": "audio/ogg", | ||
"ogg": "audio/ogg", | ||
"ogv": "video/ogg", | ||
"ogx": "application/ogg", | ||
"omdoc": "application/omdoc+xml", | ||
"onepkg": "application/onenote", | ||
"onetmp": "application/onenote", | ||
"onetoc": "application/onenote", | ||
"onetoc2": "application/onenote", | ||
"onetmp": "application/onenote", | ||
"onepkg": "application/onenote", | ||
"opf": "application/oebps-package+xml", | ||
"opus": "audio/ogg", | ||
"otf": "font/otf", | ||
"owl": "application/rdf+xml", | ||
"oxps": "application/oxps", | ||
"relo": "application/p2p-overlay+xml", | ||
"xer": "application/patch-ops-error+xml", | ||
"pdf": "application/pdf", | ||
"pgp": "application/pgp-encrypted", | ||
"asc": "application/pgp-signature", | ||
"sig": "application/pgp-signature", | ||
"prf": "application/pics-rules", | ||
"p10": "application/pkcs10", | ||
"p7c": "application/pkcs7-mime", | ||
"p7m": "application/pkcs7-mime", | ||
"p7c": "application/pkcs7-mime", | ||
"p7s": "application/pkcs7-signature", | ||
"p8": "application/pkcs8", | ||
"ac": "application/pkix-attr-cert", | ||
"cer": "application/pkix-cert", | ||
"crl": "application/pkix-crl", | ||
"pdf": "application/pdf", | ||
"pfr": "application/font-tdpfr", | ||
"pgp": "application/pgp-encrypted", | ||
"pkg": "application/octet-stream", | ||
"pki": "application/pkixcmp", | ||
"pkipath": "application/pkix-pkipath", | ||
"pki": "application/pkixcmp", | ||
"pls": "application/pls+xml", | ||
"ai": "application/postscript", | ||
"eps": "application/postscript", | ||
"png": "image/png", | ||
"prc": "model/prc", | ||
"prf": "application/pics-rules", | ||
"provx": "application/provenance+xml", | ||
"ps": "application/postscript", | ||
"provx": "application/provenance+xml", | ||
"cww": "application/prs.cww", | ||
"pskcxml": "application/pskc+xml", | ||
"pti": "image/prs.pti", | ||
"qt": "video/quicktime", | ||
"raml": "application/raml+yaml", | ||
"rapd": "application/route-apd+xml", | ||
"rdf": "application/rdf+xml", | ||
"owl": "application/rdf+xml", | ||
"relo": "application/p2p-overlay+xml", | ||
"rif": "application/reginfo+xml", | ||
"rnc": "application/relax-ng-compact-syntax", | ||
"rl": "application/resource-lists+xml", | ||
"rld": "application/resource-lists-diff+xml", | ||
"rmi": "audio/midi", | ||
"rnc": "application/relax-ng-compact-syntax", | ||
"rng": "application/xml", | ||
"roa": "application/rpki-roa", | ||
"roff": "text/troff", | ||
"rq": "application/sparql-query", | ||
"rs": "application/rls-services+xml", | ||
"rapd": "application/route-apd+xml", | ||
"sls": "application/route-s-tsid+xml", | ||
"rusd": "application/route-usd+xml", | ||
"gbr": "application/rpki-ghostbusters", | ||
"mft": "application/rpki-manifest", | ||
"roa": "application/rpki-roa", | ||
"rsat": "application/atsc-rsat+xml", | ||
"rsd": "application/rsd+xml", | ||
"rsheet": "application/urc-ressheet+xml", | ||
"rss": "application/rss+xml", | ||
"rtf": "application/rtf", | ||
"rtf": "text/rtf", | ||
"rtx": "text/richtext", | ||
"rusd": "application/route-usd+xml", | ||
"s3m": "audio/s3m", | ||
"sbml": "application/sbml+xml", | ||
"scq": "application/scvp-cv-request", | ||
"scs": "application/scvp-cv-response", | ||
"spq": "application/scvp-vp-request", | ||
"spp": "application/scvp-vp-response", | ||
"sdp": "application/sdp", | ||
"senmlx": "application/senml+xml", | ||
"sensmlx": "application/sensml+xml", | ||
"ser": "application/java-serialized-object", | ||
"setpay": "application/set-payment-initiation", | ||
"setreg": "application/set-registration-initiation", | ||
"sgi": "image/sgi", | ||
"sgm": "text/sgml", | ||
"sgml": "text/sgml", | ||
"shex": "text/shex", | ||
"shf": "application/shf+xml", | ||
"shtml": "text/html", | ||
"sieve": "application/sieve", | ||
"sig": "application/pgp-signature", | ||
"sil": "audio/silk", | ||
"silo": "model/mesh", | ||
"siv": "application/sieve", | ||
"sieve": "application/sieve", | ||
"slim": "text/slim", | ||
"slm": "text/slim", | ||
"sls": "application/route-s-tsid+xml", | ||
"smi": "application/smil+xml", | ||
"smil": "application/smil+xml", | ||
"rq": "application/sparql-query", | ||
"snd": "audio/basic", | ||
"so": "application/octet-stream", | ||
"spdx": "text/spdx", | ||
"spp": "application/scvp-vp-response", | ||
"spq": "application/scvp-vp-request", | ||
"spx": "audio/ogg", | ||
"sql": "application/sql", | ||
"sru": "application/sru+xml", | ||
"srx": "application/sparql-results+xml", | ||
"gram": "application/srgs", | ||
"grxml": "application/srgs+xml", | ||
"sru": "application/sru+xml", | ||
"ssdl": "application/ssdl+xml", | ||
"ssml": "application/ssml+xml", | ||
"stk": "application/hyperstudio", | ||
"stl": "model/stl", | ||
"stpx": "model/step+xml", | ||
"stpxz": "model/step-xml+zip", | ||
"stpz": "model/step+zip", | ||
"styl": "text/stylus", | ||
"stylus": "text/stylus", | ||
"svg": "image/svg+xml", | ||
"svgz": "image/svg+xml", | ||
"swidtag": "application/swid+xml", | ||
"t": "text/troff", | ||
"t38": "image/t38", | ||
"td": "application/urc-targetdesc+xml", | ||
"tei": "application/tei+xml", | ||
"teicorpus": "application/tei+xml", | ||
"text": "text/plain", | ||
"tfi": "application/thraud+xml", | ||
"tsd": "application/timestamped-data", | ||
"tfx": "image/tiff-fx", | ||
"tif": "image/tiff", | ||
"tiff": "image/tiff", | ||
"toml": "application/toml", | ||
"tr": "text/troff", | ||
"trig": "application/trig", | ||
"ts": "video/mp2t", | ||
"tsd": "application/timestamped-data", | ||
"tsv": "text/tab-separated-values", | ||
"ttc": "font/collection", | ||
"ttf": "font/ttf", | ||
"ttl": "text/turtle", | ||
"ttml": "application/ttml+xml", | ||
"txt": "text/plain", | ||
"u3d": "model/u3d", | ||
"u8dsn": "message/global-delivery-status", | ||
"u8hdr": "message/global-headers", | ||
"u8mdn": "message/global-disposition-notification", | ||
"u8msg": "message/global", | ||
"ubj": "application/ubjson", | ||
"rsheet": "application/urc-ressheet+xml", | ||
"td": "application/urc-targetdesc+xml", | ||
"uri": "text/uri-list", | ||
"uris": "text/uri-list", | ||
"urls": "text/uri-list", | ||
"vcard": "text/vcard", | ||
"vrml": "model/vrml", | ||
"vtt": "text/vtt", | ||
"vxml": "application/voicexml+xml", | ||
"war": "application/java-archive", | ||
"wasm": "application/wasm", | ||
"wav": "audio/wav", | ||
"weba": "audio/webm", | ||
"webm": "video/webm", | ||
"webmanifest": "application/manifest+json", | ||
"webp": "image/webp", | ||
"wgsl": "text/wgsl", | ||
"wgt": "application/widget", | ||
"hlp": "application/winhlp", | ||
"wif": "application/watcherinfo+xml", | ||
"wmf": "image/wmf", | ||
"woff": "font/woff", | ||
"woff2": "font/woff2", | ||
"wrl": "model/vrml", | ||
"wsdl": "application/wsdl+xml", | ||
"wspolicy": "application/wspolicy+xml", | ||
"x3d": "model/x3d+xml", | ||
"x3db": "model/x3d+fastinfoset", | ||
"x3dbz": "model/x3d+binary", | ||
"x3dv": "model/x3d-vrml", | ||
"x3dvz": "model/x3d+vrml", | ||
"x3dz": "model/x3d+xml", | ||
"xaml": "application/xaml+xml", | ||
"xav": "application/xcap-att+xml", | ||
"xca": "application/xcap-caps+xml", | ||
"xcs": "application/calendar+xml", | ||
"xdf": "application/xcap-diff+xml", | ||
"xdssc": "application/dssc+xml", | ||
"xel": "application/xcap-el+xml", | ||
"xns": "application/xcap-ns+xml", | ||
"xenc": "application/xenc+xml", | ||
"xer": "application/patch-ops-error+xml", | ||
"xfdf": "application/xfdf", | ||
"xht": "application/xhtml+xml", | ||
"xhtml": "application/xhtml+xml", | ||
"xht": "application/xhtml+xml", | ||
"xhvml": "application/xv+xml", | ||
"xlf": "application/xliff+xml", | ||
"xml": "application/xml", | ||
"xsl": "application/xml", | ||
"xsd": "application/xml", | ||
"rng": "application/xml", | ||
"dtd": "application/xml-dtd", | ||
"xm": "audio/xm", | ||
"xml": "text/xml", | ||
"xns": "application/xcap-ns+xml", | ||
"xop": "application/xop+xml", | ||
"xpl": "application/xproc+xml", | ||
"xsd": "application/xml", | ||
"xsf": "application/prs.xsf+xml", | ||
"xsl": "application/xml", | ||
"xslt": "application/xml", | ||
"xspf": "application/xspf+xml", | ||
"mxml": "application/xv+xml", | ||
"xhvml": "application/xv+xml", | ||
"xvm": "application/xv+xml", | ||
"xvml": "application/xv+xml", | ||
"xvm": "application/xv+xml", | ||
"yaml": "text/yaml", | ||
"yang": "application/yang", | ||
"yin": "application/yin+xml", | ||
"zip": "application/zip", | ||
"3gpp": "video/3gpp", | ||
"adp": "audio/adpcm", | ||
"amr": "audio/amr", | ||
"au": "audio/basic", | ||
"snd": "audio/basic", | ||
"mid": "audio/midi", | ||
"midi": "audio/midi", | ||
"kar": "audio/midi", | ||
"rmi": "audio/midi", | ||
"mxmf": "audio/mobile-xmf", | ||
"mp3": "audio/mpeg", | ||
"m4a": "audio/mp4", | ||
"mp4a": "audio/mp4", | ||
"mpga": "audio/mpeg", | ||
"mp2": "audio/mpeg", | ||
"mp2a": "audio/mpeg", | ||
"m2a": "audio/mpeg", | ||
"m3a": "audio/mpeg", | ||
"oga": "audio/ogg", | ||
"ogg": "audio/ogg", | ||
"spx": "audio/ogg", | ||
"opus": "audio/ogg", | ||
"s3m": "audio/s3m", | ||
"sil": "audio/silk", | ||
"wav": "audio/wav", | ||
"weba": "audio/webm", | ||
"xm": "audio/xm", | ||
"ttc": "font/collection", | ||
"otf": "font/otf", | ||
"ttf": "font/ttf", | ||
"woff": "font/woff", | ||
"woff2": "font/woff2", | ||
"exr": "image/aces", | ||
"apng": "image/apng", | ||
"avif": "image/avif", | ||
"bmp": "image/bmp", | ||
"cgm": "image/cgm", | ||
"drle": "image/dicom-rle", | ||
"emf": "image/emf", | ||
"fits": "image/fits", | ||
"g3": "image/g3fax", | ||
"gif": "image/gif", | ||
"heic": "image/heic", | ||
"heics": "image/heic-sequence", | ||
"heif": "image/heif", | ||
"heifs": "image/heif-sequence", | ||
"hej2": "image/hej2k", | ||
"hsj2": "image/hsj2", | ||
"ief": "image/ief", | ||
"jls": "image/jls", | ||
"jp2": "image/jp2", | ||
"jpg2": "image/jp2", | ||
"jpeg": "image/jpeg", | ||
"jpg": "image/jpeg", | ||
"jpe": "image/jpeg", | ||
"jph": "image/jph", | ||
"jhc": "image/jphc", | ||
"jpm": "image/jpm", | ||
"jpx": "image/jpx", | ||
"jpf": "image/jpx", | ||
"jxr": "image/jxr", | ||
"jxra": "image/jxra", | ||
"jxrs": "image/jxrs", | ||
"jxs": "image/jxs", | ||
"jxsc": "image/jxsc", | ||
"jxsi": "image/jxsi", | ||
"jxss": "image/jxss", | ||
"ktx": "image/ktx", | ||
"ktx2": "image/ktx2", | ||
"png": "image/png", | ||
"btif": "image/prs.btif", | ||
"pti": "image/prs.pti", | ||
"sgi": "image/sgi", | ||
"svg": "image/svg+xml", | ||
"svgz": "image/svg+xml", | ||
"t38": "image/t38", | ||
"tif": "image/tiff", | ||
"tiff": "image/tiff", | ||
"tfx": "image/tiff-fx", | ||
"webp": "image/webp", | ||
"wmf": "image/wmf", | ||
"disposition-notification": "message/disposition-notification", | ||
"u8msg": "message/global", | ||
"u8dsn": "message/global-delivery-status", | ||
"u8mdn": "message/global-disposition-notification", | ||
"u8hdr": "message/global-headers", | ||
"eml": "message/rfc822", | ||
"mime": "message/rfc822", | ||
"3mf": "model/3mf", | ||
"gltf": "model/gltf+json", | ||
"glb": "model/gltf-binary", | ||
"igs": "model/iges", | ||
"iges": "model/iges", | ||
"msh": "model/mesh", | ||
"mesh": "model/mesh", | ||
"silo": "model/mesh", | ||
"mtl": "model/mtl", | ||
"obj": "model/obj", | ||
"stpz": "model/step+zip", | ||
"stpxz": "model/step-xml+zip", | ||
"stl": "model/stl", | ||
"wrl": "model/vrml", | ||
"vrml": "model/vrml", | ||
"x3db": "model/x3d+fastinfoset", | ||
"x3dbz": "model/x3d+binary", | ||
"x3dv": "model/x3d-vrml", | ||
"x3dvz": "model/x3d+vrml", | ||
"x3d": "model/x3d+xml", | ||
"x3dz": "model/x3d+xml", | ||
"appcache": "text/cache-manifest", | ||
"manifest": "text/cache-manifest", | ||
"ics": "text/calendar", | ||
"ifb": "text/calendar", | ||
"coffee": "text/coffeescript", | ||
"litcoffee": "text/coffeescript", | ||
"css": "text/css", | ||
"csv": "text/csv", | ||
"html": "text/html", | ||
"htm": "text/html", | ||
"shtml": "text/html", | ||
"jade": "text/jade", | ||
"jsx": "text/jsx", | ||
"less": "text/less", | ||
"markdown": "text/markdown", | ||
"md": "text/markdown", | ||
"mml": "text/mathml", | ||
"mdx": "text/mdx", | ||
"n3": "text/n3", | ||
"txt": "text/plain", | ||
"text": "text/plain", | ||
"conf": "text/plain", | ||
"def": "text/plain", | ||
"list": "text/plain", | ||
"log": "text/plain", | ||
"in": "text/plain", | ||
"ini": "text/plain", | ||
"dsc": "text/prs.lines.tag", | ||
"rtx": "text/richtext", | ||
"sgml": "text/sgml", | ||
"sgm": "text/sgml", | ||
"shex": "text/shex", | ||
"slim": "text/slim", | ||
"slm": "text/slim", | ||
"spdx": "text/spdx", | ||
"stylus": "text/stylus", | ||
"styl": "text/stylus", | ||
"tsv": "text/tab-separated-values", | ||
"t": "text/troff", | ||
"tr": "text/troff", | ||
"roff": "text/troff", | ||
"man": "text/troff", | ||
"me": "text/troff", | ||
"ms": "text/troff", | ||
"ttl": "text/turtle", | ||
"uri": "text/uri-list", | ||
"uris": "text/uri-list", | ||
"urls": "text/uri-list", | ||
"vcard": "text/vcard", | ||
"vtt": "text/vtt", | ||
"yaml": "text/yaml", | ||
"yml": "text/yaml", | ||
"3gp": "video/3gpp", | ||
"3g2": "video/3gpp2", | ||
"h261": "video/h261", | ||
"h263": "video/h263", | ||
"h264": "video/h264", | ||
"m4s": "video/iso.segment", | ||
"jpgv": "video/jpeg", | ||
"jpgm": "image/jpm", | ||
"mj2": "video/mj2", | ||
"mjp2": "video/mj2", | ||
"ts": "video/mp2t", | ||
"mp4": "video/mp4", | ||
"mp4v": "video/mp4", | ||
"mpg4": "video/mp4", | ||
"mpeg": "video/mpeg", | ||
"mpg": "video/mpeg", | ||
"mpe": "video/mpeg", | ||
"m1v": "video/mpeg", | ||
"m2v": "video/mpeg", | ||
"ogv": "video/ogg", | ||
"qt": "video/quicktime", | ||
"mov": "video/quicktime", | ||
"webm": "video/webm" | ||
"zip": "application/zip" | ||
}; | ||
@@ -418,3 +446,3 @@ | ||
exports.mimes = mimes; | ||
exports.lookup = lookup; | ||
exports.mimes = mimes; |
{ | ||
"name": "mrmime", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"repository": "lukeed/mrmime", | ||
@@ -32,4 +32,4 @@ "description": "A tiny (2.8kB) and fast utility for getting a MIME type from an extension or filename", | ||
"scripts": { | ||
"build": "node bin && bundt", | ||
"test": "uvu -r esm test" | ||
"build": "tsm bin/index.ts", | ||
"test": "uvu -r tsm test" | ||
}, | ||
@@ -42,6 +42,5 @@ "keywords": [ | ||
"devDependencies": { | ||
"bundt": "1.1.1", | ||
"esm": "3.2.25", | ||
"tsm": "2.3.0", | ||
"uvu": "0.5.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32705
2
887