Socket
Socket
Sign inDemoInstall

critical

Package Overview
Dependencies
416
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-27 to 2.0.0

2

cli.js

@@ -110,3 +110,3 @@ #!/usr/bin/env node

const aliases = Object.keys(meowOpts.flags) // eslint-disable-line unicorn/prefer-set-has
const aliases = Object.keys(meowOpts.flags)
.filter((k) => meowOpts.flags[k].alias)

@@ -113,0 +113,0 @@ .map((k) => meowOpts.flags[k].alias);

{
"name": "critical",
"version": "2.0.0-27",
"version": "2.0.0",
"description": "Extract & Inline Critical-path CSS from HTML",

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

"@hapi/joi": "^17.1.1",
"chalk": "^4.0.0",
"chalk": "^4.1.0",
"clean-css": "^4.2.3",

@@ -38,4 +38,4 @@ "common-tags": "^1.8.0",

"get-stdin": "^8.0.0",
"globby": "^11.0.0",
"got": "^9.6.0",
"globby": "^11.0.1",
"got": "^11.3.0",
"group-args": "^0.1.0",

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

"meow": "^7.0.1",
"oust": "^1.0.1",
"oust": "^1.0.2",
"p-all": "^3.0.0",
"penthouse": "^2.2.4",
"penthouse": "^2.3.0",
"plugin-error": "^1.0.1",
"postcss": "^7.0.31",
"postcss": "^7.0.32",
"postcss-discard": "^1.0.0",

@@ -75,3 +75,3 @@ "postcss-image-inliner": "^4.0.2",

"vinyl-source-stream": "^2.0.0",
"xo": "^0.30.0"
"xo": "^0.32.0"
},

@@ -85,2 +85,3 @@ "xo": {

"unicorn/string-content": "off",
"unicorn/no-reduce": "off",
"unicorn/no-fn-reference-in-iterator": "off"

@@ -87,0 +88,0 @@ },

@@ -158,3 +158,3 @@ 'use strict';

return Boolean(response);
} catch (_) {
} catch {
return false;

@@ -176,3 +176,3 @@ }

unlinkAsync(file);
} catch (_) {
} catch {
debug(`${file} was already deleted`);

@@ -440,3 +440,3 @@ }

return normalizePath(`/${path.relative(normalizePath(filepath).replace(ref, ''), file.path)}`);
} catch (_) {
} catch {
process.stderr.write(BASE_WARNING);

@@ -443,0 +443,0 @@

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