node-html-parser 1.2.19 → 1.2.20

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.
@@ -134,7 +134,7 @@ export default class HTMLElement extends Node {
134
134
  * Get an attribute
135
135
  * @return {string} value of the attribute
136
136
  */
137
- getAttribute(key: string): string;
137
+ getAttribute(key: string): string | undefined;
138
138
  /**
139
139
  * Set an attribute value to the HTMLElement
140
140
  * @param {string} key The attribute name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-html-parser",
3
- "version": "1.2.19",
3
+ "version": "1.2.20",
4
4
  "description": "A very fast HTML parser, generating a simplified DOM, with basic element query support.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",