parse5 5.0.0 → 5.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -23,7 +23,7 @@ module.exports = {
23
23
  missingAttributeValue: 'missing-attribute-value',
24
24
  missingWhitespaceBetweenAttributes: 'missing-whitespace-between-attributes',
25
25
  missingWhitespaceAfterDoctypePublicKeyword: 'missing-whitespace-after-doctype-public-keyword',
26
- missingWhitespaceBetweenDoctypePublicAndSytemIdentifier:
26
+ missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers:
27
27
  'missing-whitespace-between-doctype-public-and-system-identifiers',
28
28
  missingWhitespaceAfterDoctypeSystemKeyword: 'missing-whitespace-after-doctype-system-keyword',
29
29
  missingQuoteBeforeDoctypePublicIdentifier: 'missing-quote-before-doctype-public-identifier',
@@ -1777,11 +1777,11 @@ class Tokenizer {
1777
1777
  this.state = DATA_STATE;
1778
1778
  this._emitCurrentToken();
1779
1779
  } else if (cp === $.QUOTATION_MARK) {
1780
- this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSytemIdentifier);
1780
+ this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);
1781
1781
  this.currentToken.systemId = '';
1782
1782
  this.state = DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED_STATE;
1783
1783
  } else if (cp === $.APOSTROPHE) {
1784
- this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSytemIdentifier);
1784
+ this._err(ERR.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers);
1785
1785
  this.currentToken.systemId = '';
1786
1786
  this.state = DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED_STATE;
1787
1787
  } else if (cp === $.EOF) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "parse5",
3
3
  "description": "HTML parser and serializer.",
4
- "version": "5.0.0",
4
+ "version": "5.1.0",
5
5
  "author": "Ivan Nikulin <ifaaan@gmail.com> (https://github.com/inikulin)",
6
6
  "contributors": "https://github.com/inikulin/parse5/graphs/contributors",
7
7
  "homepage": "https://github.com/inikulin/parse5",
@@ -28,5 +28,7 @@
28
28
  "type": "git",
29
29
  "url": "git://github.com/inikulin/parse5.git"
30
30
  },
31
- "files": ["lib"]
31
+ "files": [
32
+ "lib"
33
+ ]
32
34
  }