From 76ef5692a2f94fb1073e3892952440025ddc1870 Mon Sep 17 00:00:00 2001 From: mondrake <1174864+mondrake@users.noreply.github.com> Date: Sun, 29 Nov 2026 09:42:45 +0000 Subject: [PATCH] Update DefaultMap --- src/Map/DefaultMap.php | 264 ++++++++++++++++++++++++++++++++++------- 1 file changed, 221 insertions(+), 43 deletions(-) diff --git a/src/Map/DefaultMap.php b/src/Map/DefaultMap.php index 72a586f9..698065d7 100644 --- a/src/Map/DefaultMap.php +++ b/src/Map/DefaultMap.php @@ -621,6 +621,7 @@ public function getFileName(): string 'a' => array ( 0 => 'application/x-mathematica', + 1 => 'application/vnd.wolfram.mathematica', ), 'desc' => array ( @@ -1167,6 +1168,17 @@ public function getFileName(): string 0 => 'cww', ), ), + 'application/prs.plucker' => + array ( + 'desc' => + array ( + 0 => 'Plucker document', + ), + 'e' => + array ( + 0 => 'pdb', + ), + ), 'application/pskc+xml' => array ( 'e' => @@ -2547,6 +2559,51 @@ public function getFileName(): string 1 => 'dataless', ), ), + 'application/vnd.fiduswriter+zip' => + array ( + 'a' => + array ( + 0 => 'application/fidus+zip', + ), + 'desc' => + array ( + 0 => 'Fidus Writer document', + ), + 'e' => + array ( + 0 => 'fidus', + ), + ), + 'application/vnd.fiduswriter.book+zip' => + array ( + 'a' => + array ( + 0 => 'application/fidusbook+zip', + ), + 'desc' => + array ( + 0 => 'Fidus Writer book', + ), + 'e' => + array ( + 0 => 'fidusbook', + ), + ), + 'application/vnd.fiduswriter.template+zip' => + array ( + 'a' => + array ( + 0 => 'application/fidustemplate+zip', + ), + 'desc' => + array ( + 0 => 'Fidus Writer document template', + ), + 'e' => + array ( + 0 => 'fidustemplate', + ), + ), 'application/vnd.flatpak' => array ( 'a' => @@ -2763,6 +2820,7 @@ public function getFileName(): string 'a' => array ( 0 => 'application/x-gerber', + 1 => 'application/vnd.rs-274x', ), 'desc' => array ( @@ -3116,6 +3174,21 @@ public function getFileName(): string 0 => 'joda', ), ), + 'application/vnd.jupyter' => + array ( + 'a' => + array ( + 0 => 'application/x-ipynb+json', + ), + 'desc' => + array ( + 0 => 'Jupyter notebook document', + ), + 'e' => + array ( + 0 => 'ipynb', + ), + ), 'application/vnd.kahootz' => array ( 'e' => @@ -7130,17 +7203,6 @@ public function getFileName(): string 0 => 'ips', ), ), - 'application/x-ipynb+json' => - array ( - 'desc' => - array ( - 0 => 'Jupyter notebook document', - ), - 'e' => - array ( - 0 => 'ipynb', - ), - ), 'application/x-iso9660-appimage' => array ( 'desc' => @@ -11424,6 +11486,23 @@ public function getFileName(): string 0 => 'ief', ), ), + 'image/j2c' => + array ( + 'a' => + array ( + 0 => 'image/x-jp2-codestream', + ), + 'desc' => + array ( + 0 => 'JPEG-2000 codestream', + ), + 'e' => + array ( + 0 => 'j2c', + 1 => 'j2k', + 2 => 'jpc', + ), + ), 'image/jp2' => array ( 'a' => @@ -12224,19 +12303,6 @@ public function getFileName(): string 0 => 'jng', ), ), - 'image/x-jp2-codestream' => - array ( - 'desc' => - array ( - 0 => 'JPEG-2000 codestream', - ), - 'e' => - array ( - 0 => 'j2c', - 1 => 'j2k', - 2 => 'jpc', - ), - ), 'image/x-kiss-cel' => array ( 'desc' => @@ -13150,6 +13216,22 @@ public function getFileName(): string 3 => 'icalendar', ), ), + 'text/cmml' => + array ( + 'a' => + array ( + 0 => 'text/x-cmml', + ), + 'desc' => + array ( + 0 => 'CMML document', + 1 => 'CMML: Continuous Media Markup Language', + ), + 'e' => + array ( + 0 => 'cmml', + ), + ), 'text/css' => array ( 'desc' => @@ -13328,6 +13410,21 @@ public function getFileName(): string 7 => 'asc', ), ), + 'text/prs.fallenstein.rst' => + array ( + 'a' => + array ( + 0 => 'text/x-rst', + ), + 'desc' => + array ( + 0 => 'reStructuredText document', + ), + 'e' => + array ( + 0 => 'rst', + ), + ), 'text/prs.lines.tag' => array ( 'e' => @@ -14849,17 +14946,6 @@ public function getFileName(): string 0 => 'spec', ), ), - 'text/x-rst' => - array ( - 'desc' => - array ( - 0 => 'ReStructuredText document', - ), - 'e' => - array ( - 0 => 'rst', - ), - ), 'text/x-sagemath' => array ( 'desc' => @@ -17544,6 +17630,13 @@ public function getFileName(): string 0 => 'chemical/x-cml', ), ), + 'cmml' => + array ( + 't' => + array ( + 0 => 'text/cmml', + ), + ), 'cmp' => array ( 't' => @@ -19058,6 +19151,27 @@ public function getFileName(): string 0 => 'image/x-freehand', ), ), + 'fidus' => + array ( + 't' => + array ( + 0 => 'application/vnd.fiduswriter+zip', + ), + ), + 'fidusbook' => + array ( + 't' => + array ( + 0 => 'application/vnd.fiduswriter.book+zip', + ), + ), + 'fidustemplate' => + array ( + 't' => + array ( + 0 => 'application/vnd.fiduswriter.template+zip', + ), + ), 'fig' => array ( 't' => @@ -20481,7 +20595,7 @@ public function getFileName(): string array ( 't' => array ( - 0 => 'application/x-ipynb+json', + 0 => 'application/vnd.jupyter', ), ), 'irm' => @@ -20563,14 +20677,14 @@ public function getFileName(): string array ( 't' => array ( - 0 => 'image/x-jp2-codestream', + 0 => 'image/j2c', ), ), 'j2k' => array ( 't' => array ( - 0 => 'image/x-jp2-codestream', + 0 => 'image/j2c', ), ), 'jad' => @@ -20676,7 +20790,7 @@ public function getFileName(): string array ( 't' => array ( - 0 => 'image/x-jp2-codestream', + 0 => 'image/j2c', ), ), 'jpe' => @@ -23573,9 +23687,10 @@ public function getFileName(): string 't' => array ( 0 => 'application/vnd.palm', - 1 => 'application/x-aportisdoc', - 2 => 'chemical/x-pdb', - 3 => 'application/x-ms-pdb', + 1 => 'application/prs.plucker', + 2 => 'application/x-aportisdoc', + 3 => 'chemical/x-pdb', + 4 => 'application/x-ms-pdb', ), ), 'pdc' => @@ -24919,7 +25034,7 @@ public function getFileName(): string array ( 't' => array ( - 0 => 'text/x-rst', + 0 => 'text/prs.fallenstein.rst', ), ), 'rt' => @@ -28980,6 +29095,27 @@ public function getFileName(): string 0 => 'image/emf', ), ), + 'application/fidus+zip' => + array ( + 't' => + array ( + 0 => 'application/vnd.fiduswriter+zip', + ), + ), + 'application/fidusbook+zip' => + array ( + 't' => + array ( + 0 => 'application/vnd.fiduswriter.book+zip', + ), + ), + 'application/fidustemplate+zip' => + array ( + 't' => + array ( + 0 => 'application/vnd.fiduswriter.template+zip', + ), + ), 'application/font-woff' => array ( 't' => @@ -29246,6 +29382,13 @@ public function getFileName(): string 0 => 'application/vnd.rn-realmedia', ), ), + 'application/vnd.rs-274x' => + array ( + 't' => + array ( + 0 => 'application/vnd.gerber', + ), + ), 'application/vnd.sdp' => array ( 't' => @@ -29267,6 +29410,13 @@ public function getFileName(): string 0 => 'application/font-tdpfr', ), ), + 'application/vnd.wolfram.mathematica' => + array ( + 't' => + array ( + 0 => 'application/mathematica', + ), + ), 'application/vnd.xdgapp' => array ( 't' => @@ -29561,6 +29711,13 @@ public function getFileName(): string 0 => 'application/x-hwpx', ), ), + 'application/x-ipynb+json' => + array ( + 't' => + array ( + 0 => 'application/vnd.jupyter', + ), + ), 'application/x-iso9660-image' => array ( 't' => @@ -30674,6 +30831,13 @@ public function getFileName(): string 0 => 'image/x-ilbm', ), ), + 'image/x-jp2-codestream' => + array ( + 't' => + array ( + 0 => 'image/j2c', + ), + ), 'image/x-jpeg2000-image' => array ( 't' => @@ -30877,6 +31041,13 @@ public function getFileName(): string 0 => 'text/x-csrc', ), ), + 'text/x-cmml' => + array ( + 't' => + array ( + 0 => 'text/cmml', + ), + ), 'text/x-comma-separated-values' => array ( 't' => @@ -31003,6 +31174,13 @@ public function getFileName(): string 0 => 'text/x-r', ), ), + 'text/x-rst' => + array ( + 't' => + array ( + 0 => 'text/prs.fallenstein.rst', + ), + ), 'text/x-ruby' => array ( 't' =>