html-add-querystring
Advanced tools
Comparing version 1.3.2 to 1.4.0
@@ -41,3 +41,3 @@ 'use strict'; | ||
const $ = cheerio.load(html, options.htmlparserOptions); | ||
const $ = cheerio.load(html, defaults(options.htmlparserOptions, {_useHtmlParser2: true})); | ||
@@ -44,0 +44,0 @@ $('a').each((i, elem) => { |
{ | ||
"name": "html-add-querystring", | ||
"version": "1.3.2", | ||
"version": "1.4.0", | ||
"description": "Add querystring parameters to all links in html code", | ||
@@ -30,8 +30,8 @@ "main": "index.js", | ||
"dependencies": { | ||
"cheerio": "^1.0.0-rc.3", | ||
"cheerio": "^1.0.0-rc.9", | ||
"lodash.defaults": "^4.2.0" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.8.0" | ||
"eslint": "^7.25.0" | ||
} | ||
} |
@@ -0,1 +1,4 @@ | ||
[![NPM](https://img.shields.io/npm/v/html-add-querystring)](https://npmjs.org/package/html-add-querystring) | ||
# html-add-querystring | ||
@@ -2,0 +5,0 @@ Add querystring parameters to all links in html code |
6821
8
43
Updatedcheerio@^1.0.0-rc.9