Comparing version 0.1.0 to 0.1.1
@@ -0,1 +1,6 @@ | ||
## 0.1.1 | ||
- Update to parse5 v1.1.4 | ||
- Add `length` setter to `NodeList` | ||
## 0.1.0 | ||
@@ -2,0 +7,0 @@ |
@@ -237,2 +237,5 @@ /* | ||
}, | ||
set length(length) { | ||
return this._length; | ||
}, | ||
item: function(index) { | ||
@@ -239,0 +242,0 @@ this._update(); |
{ | ||
"name": "minidom", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Small DOM level 1 implementation", | ||
@@ -21,3 +21,3 @@ "homepage": "https://github.com/montagejs/minidom", | ||
"dependencies": { | ||
"parse5": "~0.6.0" | ||
"parse5": "~1.1.4" | ||
}, | ||
@@ -24,0 +24,0 @@ "devDependencies": { |
11
test.js
var minidom = require("./minidom"); | ||
var doc; | ||
var html = "<body>hi</body><head><title>hello</title>"; | ||
Error.stackTraceLimit = Infinity; | ||
doc = minidom(html); | ||
console.log("MINIDOM", doc.outerHTML); | ||
// console.log(doc.documentElement.outerHTML); | ||
var doc = minidom(); | ||
console.log(doc.nodeType === doc.DOCUMENT_NODE); | ||
console.log(doc.documentElement.outerHTML === "<html><head></head><body></body></html>"); |
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1039771
48
26182
0
4
5
+ Addedparse5@1.1.6(transitive)
- Removedparse5@0.6.1(transitive)
Updatedparse5@~1.1.4