parse5
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -11,68 +11,57 @@ 'use strict'; | ||
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//' | ||
]; | ||
@@ -86,7 +75,7 @@ | ||
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//' | ||
]); | ||
@@ -93,0 +82,0 @@ |
@@ -120,3 +120,3 @@ 'use strict'; | ||
} else { | ||
this.html += attr.namespace + ':' + attr.name; | ||
this.html += attr.prefix + ':' + attr.name; | ||
} | ||
@@ -123,0 +123,0 @@ |
{ | ||
"name": "parse5", | ||
"description": "HTML parser and serializer.", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)", | ||
@@ -33,3 +33,4 @@ "contributors": "https://github.com/inikulin/parse5/graphs/contributors", | ||
"lib" | ||
] | ||
], | ||
"gitHead": "9c7556ed05e4ff4d884ab2447e27ce3817c42e79" | ||
} |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
330827
27
0
6769