list-stylesheets
Advanced tools
Comparing version 1.2.7 to 1.2.8
const cheerio = require('cheerio'); | ||
const extend = require('extend'); | ||
const pick = require('object.pick'); | ||
const pick = require('pick-util'); | ||
@@ -18,3 +17,3 @@ function replaceCodeBlock(html, re, block) { | ||
let __html = _html; | ||
const blocks = extend(codeBlocks, options.codeBlocks); | ||
const blocks = Object.assign(codeBlocks, options.codeBlocks); | ||
@@ -46,3 +45,3 @@ Object.keys(blocks).forEach(key => { | ||
$ = cheerio.load(encodeEntities(html), extend({ | ||
$ = cheerio.load(encodeEntities(html), Object.assign({ | ||
decodeEntities: false | ||
@@ -49,0 +48,0 @@ }, pick(options, [ |
{ | ||
"name": "list-stylesheets", | ||
"version": "1.2.7", | ||
"version": "1.2.8", | ||
"description": "Get a list of stylesheets from an HTML document.", | ||
@@ -18,6 +18,5 @@ "main": "index.js", | ||
"cheerio": "^0.22.0", | ||
"extend": "^3.0.2", | ||
"object.pick": "^1.3.0" | ||
"pick-util": "^1.0.1" | ||
}, | ||
"gitHead": "b7cb66aceafb90f643102658887e1ea47954fd72" | ||
"gitHead": "a9abd0dcd2d8a789f8cd4741aac9e006fb7c3224" | ||
} |
2
5737
62
+ Addedpick-util@^1.0.1
+ Added@jonkemp/package-utils@1.0.8(transitive)
+ Addedpick-util@1.1.5(transitive)
- Removedextend@^3.0.2
- Removedobject.pick@^1.3.0
- Removedextend@3.0.2(transitive)
- Removedisobject@3.0.1(transitive)
- Removedobject.pick@1.3.0(transitive)