Socket
Socket
Sign inDemoInstall

list-stylesheets

Package Overview
Dependencies
30
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.7 to 1.2.8

7

index.js
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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc