diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6140614 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright © 2024 Florens Verschelde + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/lib/constants.js b/lib/constants.js index 9849735..628c99f 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -122,7 +122,7 @@ export const TEXT_TYPES = { }, // Loosely based on npm:textextensions extension: strarr(` - ada adb ads as ascx asm asmx asp aspx atom + ada adb ads as ascx asm asmx asp aspx astro atom bas bat bbcolors bdsgroup bdsproj bib c cbl cc cfc cfg cfm cfml cgi clj cls cmake cmd cnf cob coffee conf cpp cpt cpy crt cs cson csr ctl cxx dart dfm diff dof dpk dproj dtd @@ -146,6 +146,7 @@ export const TEXT_TYPES = { .gitattributes .gitkeep .gitignore .gitmodules .htaccess .htpasswd .viminfo .vimrc + changelog license readme `), suffix: strarr(`config file html ignore rc`), }; @@ -176,6 +177,7 @@ export const BIN_TYPES = { ico: 'image/x-icon', jpg: 'image/jpg', jpeg: 'image/jpg', + jar: 'application/zip', jxl: 'image/jxl', jxr: 'image/jxr', mid: 'audio/midi',