Socket
Socket
Sign inDemoInstall

critical

Package Overview
Dependencies
421
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

20

package.json
{
"name": "critical",
"version": "3.0.0",
"version": "3.0.1",
"description": "Extract & Inline Critical-path CSS from HTML",

@@ -30,3 +30,3 @@ "author": "Addy Osmani",

"chalk": "^4.1.0",
"clean-css": "^5.1.0",
"clean-css": "^5.1.2",
"common-tags": "^1.8.0",

@@ -37,4 +37,4 @@ "css-url-parser": "^1.1.3",

"get-stdin": "^8.0.0",
"globby": "^11.0.2",
"got": "^11.8.1",
"globby": "^11.0.3",
"got": "^11.8.2",
"group-args": "^0.1.0",

@@ -48,14 +48,14 @@ "indent-string": "^4.0.0",

"meow": "^9.0.0",
"oust": "^1.0.4",
"oust": "^1.0.5",
"p-all": "^3.0.0",
"penthouse": "^2.3.2",
"plugin-error": "^1.0.1",
"postcss": "^8.2.6",
"postcss": "^8.2.10",
"postcss-discard": "^1.0.1",
"postcss-image-inliner": "^4.0.4",
"postcss-url": "^10.1.1",
"postcss-url": "^10.1.3",
"prettier": "^2.2.1",
"replace-ext": "^2.0.0",
"slash": "^3.0.0",
"tempy": "^1.0.0",
"tempy": "^1.0.1",
"through2": "^4.0.2",

@@ -69,3 +69,3 @@ "vinyl": "^2.2.1"

"jest": "^26.6.3",
"nock": "^13.0.8",
"nock": "^13.0.11",
"normalize-newline": "^3.0.0",

@@ -76,3 +76,3 @@ "serve-static": "^1.14.1",

"vinyl-source-stream": "^2.0.0",
"xo": "^0.38.1"
"xo": "^0.38.2"
},

@@ -79,0 +79,0 @@ "xo": {

@@ -375,5 +375,7 @@ 'use strict';

return [...stylesheets, ...preloads]
const hrefs = [...stylesheets, ...preloads]
.filter((link) => link.$el.attr('media') !== 'print' && Boolean(link.value))
.map((link) => link.value);
return [...new Set(hrefs)];
}

@@ -380,0 +382,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc