Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

juice

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

juice - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

4

lib/juice.js

@@ -260,5 +260,5 @@

attr = link.attributes[j];
attrs[attr.name.toLowerCase()] = attr.value.toLowerCase();
attrs[attr.name.toLowerCase()] = attr.value;
}
if (attrs.rel === 'stylesheet') {
if (attrs.rel && attrs.rel.toLowerCase() === 'stylesheet') {
if (options.applyLinkTags) results.push(attrs.href);

@@ -265,0 +265,0 @@ if (options.removeLinkTags) link.parentNode.removeChild(link);

{
"name": "juice",
"version": "0.1.1",
"version": "0.1.2",
"description": "Inlines css into html source",

@@ -5,0 +5,0 @@ "scripts": {

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