critical
Advanced tools
Comparing version 2.0.0-27 to 2.0.0
@@ -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 @@ |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
94656
- Removed@sindresorhus/is@0.14.0(transitive)
- Removed@szmarczak/http-timer@1.1.2(transitive)
- Removedcacheable-request@6.1.0(transitive)
- Removeddecompress-response@3.3.0(transitive)
- Removeddefer-to-connect@1.1.3(transitive)
- Removedduplexer3@0.1.5(transitive)
- Removedget-stream@4.1.0(transitive)
- Removedgot@9.6.0(transitive)
- Removedjson-buffer@3.0.0(transitive)
- Removedkeyv@3.1.0(transitive)
- Removedlowercase-keys@1.0.1(transitive)
- Removednormalize-url@4.5.1(transitive)
- Removedp-cancelable@1.1.0(transitive)
- Removedprepend-http@2.0.0(transitive)
- Removedresponselike@1.0.2(transitive)
- Removedto-readable-stream@1.0.0(transitive)
- Removedurl-parse-lax@3.0.0(transitive)
Updatedchalk@^4.1.0
Updatedglobby@^11.0.1
Updatedgot@^11.3.0
Updatedoust@^1.0.2
Updatedpenthouse@^2.3.0
Updatedpostcss@^7.0.32