mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-03 04:10:04 +02:00
update modules
This commit is contained in:
19
node_modules/parse5/LICENSE
generated
vendored
Normal file
19
node_modules/parse5/LICENSE
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
Copyright (c) 2013-2019 Ivan Nikulin (ifaaan@gmail.com, https://github.com/inikulin)
|
||||
|
||||
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.
|
127
node_modules/parse5/lib/common/doctype.js
generated
vendored
127
node_modules/parse5/lib/common/doctype.js
generated
vendored
@@ -8,72 +8,61 @@ const VALID_SYSTEM_ID = 'about:legacy-compat';
|
||||
const QUIRKS_MODE_SYSTEM_ID = 'http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd';
|
||||
|
||||
const QUIRKS_MODE_PUBLIC_ID_PREFIXES = [
|
||||
'+//silmaril//dtd html pro v0r11 19970101//en',
|
||||
'-//advasoft ltd//dtd html 3.0 aswedit + extensions//en',
|
||||
'-//as//dtd html 3.0 aswedit + extensions//en',
|
||||
'-//ietf//dtd html 2.0 level 1//en',
|
||||
'-//ietf//dtd html 2.0 level 2//en',
|
||||
'-//ietf//dtd html 2.0 strict level 1//en',
|
||||
'-//ietf//dtd html 2.0 strict level 2//en',
|
||||
'-//ietf//dtd html 2.0 strict//en',
|
||||
'-//ietf//dtd html 2.0//en',
|
||||
'-//ietf//dtd html 2.1e//en',
|
||||
'-//ietf//dtd html 3.0//en',
|
||||
'-//ietf//dtd html 3.0//en//',
|
||||
'-//ietf//dtd html 3.2 final//en',
|
||||
'-//ietf//dtd html 3.2//en',
|
||||
'-//ietf//dtd html 3//en',
|
||||
'-//ietf//dtd html level 0//en',
|
||||
'-//ietf//dtd html level 0//en//2.0',
|
||||
'-//ietf//dtd html level 1//en',
|
||||
'-//ietf//dtd html level 1//en//2.0',
|
||||
'-//ietf//dtd html level 2//en',
|
||||
'-//ietf//dtd html level 2//en//2.0',
|
||||
'-//ietf//dtd html level 3//en',
|
||||
'-//ietf//dtd html level 3//en//3.0',
|
||||
'-//ietf//dtd html strict level 0//en',
|
||||
'-//ietf//dtd html strict level 0//en//2.0',
|
||||
'-//ietf//dtd html strict level 1//en',
|
||||
'-//ietf//dtd html strict level 1//en//2.0',
|
||||
'-//ietf//dtd html strict level 2//en',
|
||||
'-//ietf//dtd html strict level 2//en//2.0',
|
||||
'-//ietf//dtd html strict level 3//en',
|
||||
'-//ietf//dtd html strict level 3//en//3.0',
|
||||
'-//ietf//dtd html strict//en',
|
||||
'-//ietf//dtd html strict//en//2.0',
|
||||
'-//ietf//dtd html strict//en//3.0',
|
||||
'-//ietf//dtd html//en',
|
||||
'-//ietf//dtd html//en//2.0',
|
||||
'-//ietf//dtd html//en//3.0',
|
||||
'-//metrius//dtd metrius presentational//en',
|
||||
'-//microsoft//dtd internet explorer 2.0 html strict//en',
|
||||
'-//microsoft//dtd internet explorer 2.0 html//en',
|
||||
'-//microsoft//dtd internet explorer 2.0 tables//en',
|
||||
'-//microsoft//dtd internet explorer 3.0 html strict//en',
|
||||
'-//microsoft//dtd internet explorer 3.0 html//en',
|
||||
'-//microsoft//dtd internet explorer 3.0 tables//en',
|
||||
'-//netscape comm. corp.//dtd html//en',
|
||||
'-//netscape comm. corp.//dtd strict html//en',
|
||||
"-//o'reilly and associates//dtd html 2.0//en",
|
||||
"-//o'reilly and associates//dtd html extended 1.0//en",
|
||||
'-//spyglass//dtd html 2.0 extended//en',
|
||||
'-//sq//dtd html 2.0 hotmetal + extensions//en',
|
||||
'-//sun microsystems corp.//dtd hotjava html//en',
|
||||
'-//sun microsystems corp.//dtd hotjava strict html//en',
|
||||
'-//w3c//dtd html 3 1995-03-24//en',
|
||||
'-//w3c//dtd html 3.2 draft//en',
|
||||
'-//w3c//dtd html 3.2 final//en',
|
||||
'-//w3c//dtd html 3.2//en',
|
||||
'-//w3c//dtd html 3.2s draft//en',
|
||||
'-//w3c//dtd html 4.0 frameset//en',
|
||||
'-//w3c//dtd html 4.0 transitional//en',
|
||||
'-//w3c//dtd html experimental 19960712//en',
|
||||
'-//w3c//dtd html experimental 970421//en',
|
||||
'-//w3c//dtd w3 html//en',
|
||||
'-//w3o//dtd w3 html 3.0//en',
|
||||
'-//w3o//dtd w3 html 3.0//en//',
|
||||
'-//webtechs//dtd mozilla html 2.0//en',
|
||||
'-//webtechs//dtd mozilla html//en'
|
||||
'+//silmaril//dtd html pro v0r11 19970101//',
|
||||
'-//as//dtd html 3.0 aswedit + extensions//',
|
||||
'-//advasoft ltd//dtd html 3.0 aswedit + extensions//',
|
||||
'-//ietf//dtd html 2.0 level 1//',
|
||||
'-//ietf//dtd html 2.0 level 2//',
|
||||
'-//ietf//dtd html 2.0 strict level 1//',
|
||||
'-//ietf//dtd html 2.0 strict level 2//',
|
||||
'-//ietf//dtd html 2.0 strict//',
|
||||
'-//ietf//dtd html 2.0//',
|
||||
'-//ietf//dtd html 2.1e//',
|
||||
'-//ietf//dtd html 3.0//',
|
||||
'-//ietf//dtd html 3.2 final//',
|
||||
'-//ietf//dtd html 3.2//',
|
||||
'-//ietf//dtd html 3//',
|
||||
'-//ietf//dtd html level 0//',
|
||||
'-//ietf//dtd html level 1//',
|
||||
'-//ietf//dtd html level 2//',
|
||||
'-//ietf//dtd html level 3//',
|
||||
'-//ietf//dtd html strict level 0//',
|
||||
'-//ietf//dtd html strict level 1//',
|
||||
'-//ietf//dtd html strict level 2//',
|
||||
'-//ietf//dtd html strict level 3//',
|
||||
'-//ietf//dtd html strict//',
|
||||
'-//ietf//dtd html//',
|
||||
'-//metrius//dtd metrius presentational//',
|
||||
'-//microsoft//dtd internet explorer 2.0 html strict//',
|
||||
'-//microsoft//dtd internet explorer 2.0 html//',
|
||||
'-//microsoft//dtd internet explorer 2.0 tables//',
|
||||
'-//microsoft//dtd internet explorer 3.0 html strict//',
|
||||
'-//microsoft//dtd internet explorer 3.0 html//',
|
||||
'-//microsoft//dtd internet explorer 3.0 tables//',
|
||||
'-//netscape comm. corp.//dtd html//',
|
||||
'-//netscape comm. corp.//dtd strict html//',
|
||||
"-//o'reilly and associates//dtd html 2.0//",
|
||||
"-//o'reilly and associates//dtd html extended 1.0//",
|
||||
"-//o'reilly and associates//dtd html extended relaxed 1.0//",
|
||||
'-//sq//dtd html 2.0 hotmetal + extensions//',
|
||||
'-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//',
|
||||
'-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//',
|
||||
'-//spyglass//dtd html 2.0 extended//',
|
||||
'-//sun microsystems corp.//dtd hotjava html//',
|
||||
'-//sun microsystems corp.//dtd hotjava strict html//',
|
||||
'-//w3c//dtd html 3 1995-03-24//',
|
||||
'-//w3c//dtd html 3.2 draft//',
|
||||
'-//w3c//dtd html 3.2 final//',
|
||||
'-//w3c//dtd html 3.2//',
|
||||
'-//w3c//dtd html 3.2s draft//',
|
||||
'-//w3c//dtd html 4.0 frameset//',
|
||||
'-//w3c//dtd html 4.0 transitional//',
|
||||
'-//w3c//dtd html experimental 19960712//',
|
||||
'-//w3c//dtd html experimental 970421//',
|
||||
'-//w3c//dtd w3 html//',
|
||||
'-//w3o//dtd w3 html 3.0//',
|
||||
'-//webtechs//dtd mozilla html 2.0//',
|
||||
'-//webtechs//dtd mozilla html//'
|
||||
];
|
||||
|
||||
const QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES = QUIRKS_MODE_PUBLIC_ID_PREFIXES.concat([
|
||||
@@ -82,11 +71,11 @@ const QUIRKS_MODE_NO_SYSTEM_ID_PUBLIC_ID_PREFIXES = QUIRKS_MODE_PUBLIC_ID_PREFIX
|
||||
]);
|
||||
|
||||
const QUIRKS_MODE_PUBLIC_IDS = ['-//w3o//dtd w3 html strict 3.0//en//', '-/w3c/dtd html 4.0 transitional/en', 'html'];
|
||||
const LIMITED_QUIRKS_PUBLIC_ID_PREFIXES = ['-//W3C//DTD XHTML 1.0 Frameset//', '-//W3C//DTD XHTML 1.0 Transitional//'];
|
||||
const LIMITED_QUIRKS_PUBLIC_ID_PREFIXES = ['-//w3c//dtd xhtml 1.0 frameset//', '-//w3c//dtd xhtml 1.0 transitional//'];
|
||||
|
||||
const LIMITED_QUIRKS_WITH_SYSTEM_ID_PUBLIC_ID_PREFIXES = LIMITED_QUIRKS_PUBLIC_ID_PREFIXES.concat([
|
||||
'-//W3C//DTD HTML 4.01 Frameset//',
|
||||
'-//W3C//DTD HTML 4.01 Transitional//'
|
||||
'-//w3c//dtd html 4.01 frameset//',
|
||||
'-//w3c//dtd html 4.01 transitional//'
|
||||
]);
|
||||
|
||||
//Utils
|
||||
|
2
node_modules/parse5/lib/serializer/index.js
generated
vendored
2
node_modules/parse5/lib/serializer/index.js
generated
vendored
@@ -117,7 +117,7 @@ class Serializer {
|
||||
} else if (attr.namespace === NS.XLINK) {
|
||||
this.html += 'xlink:' + attr.name;
|
||||
} else {
|
||||
this.html += attr.namespace + ':' + attr.name;
|
||||
this.html += attr.prefix + ':' + attr.name;
|
||||
}
|
||||
|
||||
this.html += '="' + value + '"';
|
||||
|
23
node_modules/parse5/package.json
generated
vendored
23
node_modules/parse5/package.json
generated
vendored
@@ -1,27 +1,27 @@
|
||||
{
|
||||
"_from": "parse5@5.1.0",
|
||||
"_id": "parse5@5.1.0",
|
||||
"_from": "parse5@5.1.1",
|
||||
"_id": "parse5@5.1.1",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==",
|
||||
"_integrity": "sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==",
|
||||
"_location": "/parse5",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "version",
|
||||
"registry": true,
|
||||
"raw": "parse5@5.1.0",
|
||||
"raw": "parse5@5.1.1",
|
||||
"name": "parse5",
|
||||
"escapedName": "parse5",
|
||||
"rawSpec": "5.1.0",
|
||||
"rawSpec": "5.1.1",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "5.1.0"
|
||||
"fetchSpec": "5.1.1"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/jsdom"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.0.tgz",
|
||||
"_shasum": "c59341c9723f414c452975564c7c00a68d58acd2",
|
||||
"_spec": "parse5@5.1.0",
|
||||
"_where": "F:\\projects\\p\\minifyfromhtml\\node_modules\\jsdom",
|
||||
"_resolved": "https://registry.npmjs.org/parse5/-/parse5-5.1.1.tgz",
|
||||
"_shasum": "f68e4e5ba1852ac2cadc00f4555fff6c2abb6178",
|
||||
"_spec": "parse5@5.1.1",
|
||||
"_where": "D:\\Projects\\minifyfromhtml\\node_modules\\jsdom",
|
||||
"author": {
|
||||
"name": "Ivan Nikulin",
|
||||
"email": "ifaaan@gmail.com",
|
||||
@@ -37,6 +37,7 @@
|
||||
"files": [
|
||||
"lib"
|
||||
],
|
||||
"gitHead": "9c7556ed05e4ff4d884ab2447e27ce3817c42e79",
|
||||
"homepage": "https://github.com/inikulin/parse5",
|
||||
"keywords": [
|
||||
"html",
|
||||
@@ -62,5 +63,5 @@
|
||||
"type": "git",
|
||||
"url": "git://github.com/inikulin/parse5.git"
|
||||
},
|
||||
"version": "5.1.0"
|
||||
"version": "5.1.1"
|
||||
}
|
||||
|
Reference in New Issue
Block a user