Socket
Socket
Sign inDemoInstall

critical

Package Overview
Dependencies
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

critical - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

7

package.json
{
"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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc