From 885762a496fe8fedf695280ca434f2d009e7d09a Mon Sep 17 00:00:00 2001 From: mondrake Date: Thu, 10 Apr 2025 20:50:09 +0200 Subject: [PATCH] Update DefaultMap.php --- src/Map/DefaultMap.php | 245 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 226 insertions(+), 19 deletions(-) diff --git a/src/Map/DefaultMap.php b/src/Map/DefaultMap.php index 5c4e0b5d..5f3689ab 100644 --- a/src/Map/DefaultMap.php +++ b/src/Map/DefaultMap.php @@ -131,6 +131,17 @@ public function getFileName(): string 0 => 'atomsvc', ), ), + 'application/buildstream+yaml' => + array ( + 'desc' => + array ( + 0 => 'BuildStream element', + ), + 'e' => + array ( + 0 => 'bst', + ), + ), 'application/cbor' => array ( 'desc' => @@ -1516,6 +1527,19 @@ public function getFileName(): string 0 => 'trig', ), ), + 'application/typescript' => + array ( + 'desc' => + array ( + 0 => 'TypeScript program', + ), + 'e' => + array ( + 0 => 'cts', + 1 => 'mts', + 2 => 'ts', + ), + ), 'application/vnd.3gpp.pic-bw-large' => array ( 'e' => @@ -1824,6 +1848,17 @@ public function getFileName(): string 0 => 'pkpass', ), ), + 'application/vnd.apple.pkpasses' => + array ( + 'desc' => + array ( + 0 => 'Apple Wallet passes bundle', + ), + 'e' => + array ( + 0 => 'pkpasses', + ), + ), 'application/vnd.aristanetworks.swi' => array ( 'e' => @@ -7548,15 +7583,26 @@ public function getFileName(): string 0 => 'xci', ), ), + 'application/x-ns-proxy-autoconfig' => + array ( + 'desc' => + array ( + 0 => 'Proxy Auto-Configuration file', + ), + 'e' => + array ( + 0 => 'pac', + ), + ), 'application/x-nuscript' => array ( 'a' => array ( - 0 => 'text/x-nu', + 0 => 'text/x-nushell', ), 'desc' => array ( - 0 => 'Nu shell script', + 0 => 'Nushell script', ), 'e' => array ( @@ -7692,7 +7738,8 @@ public function getFileName(): string 'e' => array ( 0 => 'pcapng', - 1 => 'ntar', + 1 => 'scap', + 2 => 'ntar', ), ), 'application/x-perl' => @@ -10316,6 +10363,17 @@ public function getFileName(): string 0 => 'astc', ), ), + 'image/avci' => + array ( + 'desc' => + array ( + 0 => 'AVC-encoded image encapsulated in HEIF', + ), + 'e' => + array ( + 0 => 'avci', + ), + ), 'image/avif' => array ( 'a' => @@ -10834,6 +10892,20 @@ public function getFileName(): string 0 => 'npx', ), ), + 'image/vnd.radiance' => + array ( + 'desc' => + array ( + 0 => 'Radiance HDR image', + ), + 'e' => + array ( + 0 => 'hdr', + 1 => 'pic', + 2 => 'rgbe', + 3 => 'xyze', + ), + ), 'image/vnd.rn-realpix' => array ( 'desc' => @@ -11385,6 +11457,17 @@ public function getFileName(): string 0 => 'pfm', ), ), + 'image/x-phm' => + array ( + 'desc' => + array ( + 0 => 'Portable HalfMap', + ), + 'e' => + array ( + 0 => 'phm', + ), + ), 'image/x-photo-cd' => array ( 'desc' => @@ -11990,7 +12073,8 @@ public function getFileName(): string array ( 0 => 'js', 1 => 'mjs', - 2 => 'jsm', + 2 => 'cjs', + 3 => 'jsm', ), ), 'text/jscript.encode' => @@ -12367,6 +12451,21 @@ public function getFileName(): string 0 => 'ts', ), ), + 'text/vnd.typst' => + array ( + 'a' => + array ( + 0 => 'text/x-typst', + ), + 'desc' => + array ( + 0 => 'Typst document', + ), + 'e' => + array ( + 0 => 'typ', + ), + ), 'text/vnd.wap.wml' => array ( 'desc' => @@ -12653,6 +12752,17 @@ public function getFileName(): string 1 => 'dtsi', ), ), + 'text/x-dockerfile' => + array ( + 'desc' => + array ( + 0 => 'Docker container build file', + ), + 'e' => + array ( + 0 => 'dockerfile', + ), + ), 'text/x-dsl' => array ( 'desc' => @@ -13469,6 +13579,17 @@ public function getFileName(): string 1 => 'ass', ), ), + 'text/x-ssh-public-key' => + array ( + 'desc' => + array ( + 0 => 'OpenSSH public key', + ), + 'e' => + array ( + 0 => 'pub', + ), + ), 'text/x-subviewer' => array ( 'desc' => @@ -13611,17 +13732,6 @@ public function getFileName(): string 0 => 't2t', ), ), - 'text/x-typst' => - array ( - 'desc' => - array ( - 0 => 'Typst document', - ), - 'e' => - array ( - 0 => 'typ', - ), - ), 'text/x-uil' => array ( 'desc' => @@ -13891,6 +14001,7 @@ public function getFileName(): string 3 => 'm4v', 4 => 'f4v', 5 => 'lrv', + 6 => 'lrf', ), ), 'video/mpeg' => @@ -15061,6 +15172,13 @@ public function getFileName(): string 0 => 'text/x-systemd-unit', ), ), + 'avci' => + array ( + 't' => + array ( + 0 => 'image/avci', + ), + ), 'avf' => array ( 't' => @@ -15344,6 +15462,13 @@ public function getFileName(): string 0 => 'application/x-bsdiff', ), ), + 'bst' => + array ( + 't' => + array ( + 0 => 'application/buildstream+yaml', + ), + ), 'btif' => array ( 't' => @@ -15738,6 +15863,13 @@ public function getFileName(): string 0 => 'application/vnd.ms-artgalry', ), ), + 'cjs' => + array ( + 't' => + array ( + 0 => 'text/javascript', + ), + ), 'cl' => array ( 't' => @@ -16062,6 +16194,13 @@ public function getFileName(): string 0 => 'text/csv-schema', ), ), + 'cts' => + array ( + 't' => + array ( + 0 => 'application/typescript', + ), + ), 'cu' => array ( 't' => @@ -16438,6 +16577,13 @@ public function getFileName(): string 0 => 'application/docbook+xml', ), ), + 'dockerfile' => + array ( + 't' => + array ( + 0 => 'text/x-dockerfile', + ), + ), 'docm' => array ( 't' => @@ -18094,6 +18240,13 @@ public function getFileName(): string 0 => 'image/jxr', ), ), + 'hdr' => + array ( + 't' => + array ( + 0 => 'image/vnd.radiance', + ), + ), 'heic' => array ( 't' => @@ -19335,7 +19488,8 @@ public function getFileName(): string 't' => array ( 0 => 'application/octet-stream', - 1 => 'application/x-sony-bbeb', + 1 => 'video/mp4', + 2 => 'application/x-sony-bbeb', ), ), 'lrm' => @@ -20469,6 +20623,7 @@ public function getFileName(): string 't' => array ( 0 => 'video/mp2t', + 1 => 'application/typescript', ), ), 'mup' => @@ -21289,6 +21444,13 @@ public function getFileName(): string 0 => 'application/pkcs8-encrypted', ), ), + 'pac' => + array ( + 't' => + array ( + 0 => 'application/x-ns-proxy-autoconfig', + ), + ), 'pack' => array ( 't' => @@ -21597,6 +21759,13 @@ public function getFileName(): string 2 => 'application/pgp-signature', ), ), + 'phm' => + array ( + 't' => + array ( + 0 => 'image/x-phm', + ), + ), 'php' => array ( 't' => @@ -21637,6 +21806,7 @@ public function getFileName(): string 't' => array ( 0 => 'image/x-pict', + 1 => 'image/vnd.radiance', ), ), 'pict' => @@ -21696,6 +21866,13 @@ public function getFileName(): string 0 => 'application/vnd.apple.pkpass', ), ), + 'pkpasses' => + array ( + 't' => + array ( + 0 => 'application/vnd.apple.pkpasses', + ), + ), 'pkr' => array ( 't' => @@ -22051,6 +22228,7 @@ public function getFileName(): string array ( 0 => 'application/x-mspublisher', 1 => 'application/vnd.ms-publisher', + 2 => 'text/x-ssh-public-key', ), ), 'pvb' => @@ -22526,6 +22704,13 @@ public function getFileName(): string 0 => 'image/x-rgb', ), ), + 'rgbe' => + array ( + 't' => + array ( + 0 => 'image/vnd.radiance', + ), + ), 'rif' => array ( 't' => @@ -22873,6 +23058,13 @@ public function getFileName(): string 0 => 'text/x-scala', ), ), + 'scap' => + array ( + 't' => + array ( + 0 => 'application/x-pcapng', + ), + ), 'scd' => array ( 't' => @@ -24439,7 +24631,8 @@ public function getFileName(): string 't' => array ( 0 => 'video/mp2t', - 1 => 'text/vnd.trolltech.linguist', + 1 => 'application/typescript', + 2 => 'text/vnd.trolltech.linguist', ), ), 'tscn' => @@ -24558,7 +24751,7 @@ public function getFileName(): string array ( 't' => array ( - 0 => 'text/x-typst', + 0 => 'text/vnd.typst', ), ), 'tzo' => @@ -26234,6 +26427,13 @@ public function getFileName(): string 0 => 'chemical/x-xyz', ), ), + 'xyze' => + array ( + 't' => + array ( + 0 => 'image/vnd.radiance', + ), + ), 'xz' => array ( 't' => @@ -28365,7 +28565,7 @@ public function getFileName(): string 0 => 'text/markdown', ), ), - 'text/x-nu' => + 'text/x-nushell' => array ( 't' => array ( @@ -28435,6 +28635,13 @@ public function getFileName(): string 0 => 'text/troff', ), ), + 'text/x-typst' => + array ( + 't' => + array ( + 0 => 'text/vnd.typst', + ), + ), 'text/x-vcalendar' => array ( 't' =>