node-html-light
Advanced tools
Comparing version 2.10.0 to 2.11.0
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -0,0 +0,0 @@ 'use strict' |
@@ -236,2 +236,11 @@ 'use strict' | ||
/** | ||
* Sets the given attributes | ||
* @param {Object} attributes | ||
* @returns {void} | ||
*/ | ||
set attributes(attributes) { | ||
this.get().attribs = attributes | ||
} | ||
/** | ||
* Returns an array of nodes matching tag name and attributes | ||
@@ -238,0 +247,0 @@ * @param {Object} element an object whos properties reflect the properties of the element we are looking for |
@@ -0,0 +0,0 @@ 'use strict' |
{ | ||
"name": "node-html-light", | ||
"version": "2.10.0", | ||
"version": "2.11.0", | ||
"description": "HTML Parser for NodeJS providing a lightweight object oriented interface", | ||
@@ -56,7 +56,7 @@ "main": "lib/index.js", | ||
"minimist": "^1.2.5", | ||
"mocha": "^9.0.2", | ||
"node-license-validator": "^1.3.0", | ||
"mocha": "^9.0.3", | ||
"node-license-validator": "^1.3.2", | ||
"nyc": "^15.1.0", | ||
"trim-newlines": "^4.0.2", | ||
"watch": "^1.0.2" | ||
"watch": "^0.13.0" | ||
}, | ||
@@ -63,0 +63,0 @@ "dependencies": { |
569
25076
10