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

inline-critical

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inline-critical - npm Package Compare versions

Comparing version 5.1.1 to 5.1.2

4

index.js

@@ -27,3 +27,3 @@ /**

ignore: [],
replaceStylesheets: [],
replaceStylesheets: false,
};

@@ -91,3 +91,3 @@

if (o.replaceStylesheets.length > 0 && links.length > 0) {
if (Array.isArray(o.replaceStylesheets) > 0 && links.length > 0) {
// Detect links to be removed

@@ -94,0 +94,0 @@ const [ref] = links;

{
"name": "inline-critical",
"version": "5.1.1",
"version": "5.1.2",
"description": "Inline critical-path css and load the existing stylesheets asynchronously",

@@ -5,0 +5,0 @@ "main": "index.js",

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