Comparing version 0.4.1 to 1.0.0
@@ -33,3 +33,3 @@ /** | ||
if (!contentHandler) { | ||
throw new IllegalArgumentException("contentHandler was null."); | ||
throw new Error("contentHandler was null."); | ||
} | ||
@@ -36,0 +36,0 @@ this.contentHandler = contentHandler; |
{ | ||
"name": "html5", | ||
"version": "v0.4.1", | ||
"description": "HTML5 HTML parser, including support for SVG and MathML foreign content", | ||
"version": "v1.0.0", | ||
"author": { | ||
@@ -42,4 +43,4 @@ "name": "Aria Stewart", | ||
"dependencies": { | ||
"opts": "~1.2.1", | ||
"html5-entities": "~0.5.0" | ||
"opts": "^1.2.1", | ||
"html5-entities": "^0.5.0" | ||
}, | ||
@@ -50,5 +51,5 @@ "optionalDependencies": { | ||
"devDependencies": { | ||
"tape": "~1.0.4", | ||
"bench": "~0.3.3", | ||
"ronn": "~0.3.8" | ||
"tape": "^1.0.4", | ||
"bench": "^0.3.3", | ||
"ronn": "^0.4.0" | ||
}, | ||
@@ -66,4 +67,3 @@ "engines": { | ||
}, | ||
"license": "MIT", | ||
"description": "HTML5 HTML parser, including support for SVG and MathML foreign content" | ||
"license": "MIT" | ||
} |
HTML5 Parser for node.js | ||
======================== | ||
[![Build Status](https://travis-ci.org/aredridel/html5.svg?branch=master)](https://travis-ci.org/aredridel/html5) | ||
Example (With jQuery!) | ||
---------------------- | ||
```js | ||
/* Before you run this, run: | ||
@@ -28,3 +29,3 @@ (cd deps/jquery; rake) | ||
}); | ||
``` | ||
Interesting features | ||
@@ -31,0 +32,0 @@ -------------------- |
@@ -14,3 +14,3 @@ var fs = require('fs'); | ||
var core = jsdom.browserAugmentation(jsdom.dom.level3.core); | ||
var core = jsdom.browserAugmentation(jsdom.level(3)); | ||
var domImplementation = new core.DOMImplementation(); | ||
@@ -31,4 +31,4 @@ | ||
var innerHTML = test['document-fragment']; | ||
var input = test['data']; | ||
var expected = test['document']; | ||
var input = test.data; | ||
var expected = test.document; | ||
runTest(innerHTML, input, expected); | ||
@@ -60,2 +60,2 @@ } | ||
}); | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
3188485
8119
1
56
Updatedhtml5-entities@^0.5.0
Updatedopts@^1.2.1