From 346249e90834be7393ef74c59a18674aa195df15 Mon Sep 17 00:00:00 2001 From: Mark Date: Sat, 17 Jun 2017 13:29:51 -0400 Subject: [PATCH] Bump version to 0.1.0 Improve and refactor client parser (#2) - Use template element as the default parser - For HTML that doesn't have high-level tags (no , , or ) - Fastest parser out of the three - Doesn't load external resources like images when parsing - Use `DOMImplementation` as fallback - For HTML with tags like or (but no ) - Second fastest parser out of the three - Use `DOMParser` as final fallback or for parsing high-level tags - For HTML with directive and/or (can handle all cases) - Slowest parser out of the three - Make sure to remove extraneous elements (e.g., or ) if they're not in the HTML - Improve regex matching, create constants, and cache values that can optimize the parser --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a82dfbef..d25dae7d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "html-dom-parser", - "version": "0.0.2", + "version": "0.1.0", "description": "An HTML to DOM parser that works on the server and client.", "author": "Mark ", "main": "index.js",