Socket
Socket
Sign inDemoInstall

html5

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html5 - npm Package Compare versions

Comparing version 0.4.1 to 1.0.0

2

lib/sax/TreeParser.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc