Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "critical", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Extract & Inline Critical-path CSS from HTML", | ||
@@ -37,3 +37,3 @@ "author": "Addy Osmani", | ||
"indent-string": "^1.2.0", | ||
"inline-critical": "0.0.8", | ||
"inline-critical": "^0.0.9", | ||
"lodash": "^2.4.1", | ||
@@ -49,4 +49,5 @@ "meow": "^2.0.0", | ||
"async": "^0.9.0", | ||
"mocha": "*" | ||
"mocha": "*", | ||
"mockery": "^1.4.0" | ||
} | ||
} |
@@ -76,2 +76,4 @@ /* | ||
opts.url = path.join(opts.base, opts.src); | ||
} else { | ||
opts.url = path.relative(process.cwd(), opts.src); | ||
} | ||
@@ -168,3 +170,3 @@ | ||
return penthouseAsync({ | ||
url: opts.url, | ||
url: normalizePath(opts.url), | ||
css: csspath, | ||
@@ -171,0 +173,0 @@ // What viewports do you care about? |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
22719
322
0
3
+ Addedalign-text@0.1.4(transitive)
+ Addedcenter-align@0.1.3(transitive)
+ Addedcliui@2.1.0(transitive)
+ Addeddecamelize@1.2.0(transitive)
+ Addedinline-critical@0.0.9(transitive)
+ Addedis-buffer@1.1.6(transitive)
+ Addedkind-of@3.2.2(transitive)
+ Addedlazy-cache@1.0.4(transitive)
+ Addedlongest@1.0.1(transitive)
+ Addedrepeat-string@1.6.1(transitive)
+ Addedright-align@0.1.3(transitive)
+ Addedsource-map@0.5.7(transitive)
+ Addeduglify-js@2.8.29(transitive)
+ Addeduglify-to-browserify@1.0.2(transitive)
+ Addedwindow-size@0.1.0(transitive)
+ Addedwordwrap@0.0.2(transitive)
+ Addedyargs@3.10.0(transitive)
- Removedinline-critical@0.0.8(transitive)
Updatedinline-critical@^0.0.9