Socket
Socket
Sign inDemoInstall

critical

Package Overview
Dependencies
424
Maintainers
3
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0-25 to 2.0.0-26

10

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

@@ -50,5 +50,5 @@ "author": "Addy Osmani",

"plugin-error": "^1.0.1",
"postcss": "^7.0.30",
"postcss-discard": "^0.3.7",
"postcss-image-inliner": "^3.0.9",
"postcss": "^7.0.31",
"postcss-discard": "^1.0.0",
"postcss-image-inliner": "^4.0.2",
"postcss-url": "^8.0.0",

@@ -66,3 +66,3 @@ "prettier": "^2.0.5",

"get-port": "^5.1.1",
"jest": "^25.2.7",
"jest": "^26.0.1",
"nock": "^12.0.3",

@@ -69,0 +69,0 @@ "normalize-newline": "^3.0.0",

@@ -34,2 +34,3 @@ 'use strict';

return new CleanCSS({
rebase: false,
level: {

@@ -90,3 +91,5 @@ 1: {

async function create(options = {}) {
const cleanCSS = new CleanCSS();
const cleanCSS = new CleanCSS({
rebase: false,
});
const {

@@ -93,0 +96,0 @@ base,

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