Socket
Socket
Sign inDemoInstall

postcss-critical-css

Package Overview
Dependencies
189
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3

2

example/example.js

@@ -11,3 +11,3 @@ #!/usr/bin/env node

postcss([postcssCriticalCSS({ outputPath: basePath })])
.process(data, { from: undefined, to: undefined })
.process(data, { from: undefined })
.then(result => {

@@ -14,0 +14,0 @@ fs.writeFile(

@@ -183,4 +183,3 @@ 'use strict';

.process(criticalCSS, {
from: undefined,
to: undefined
from: undefined
}).then(dryRunOrWriteFile.bind(null, dryRun, filePath)).then(clean.bind(null, css, preserve));

@@ -187,0 +186,0 @@ }, {});

{
"name": "postcss-critical-css",
"version": "3.0.2",
"version": "3.0.3",
"description": "Generate critical CSS using PostCSS",

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

@@ -175,4 +175,3 @@ // @flow

.process(criticalCSS, {
from: undefined,
to: undefined
from: undefined
})

@@ -179,0 +178,0 @@ .then(dryRunOrWriteFile.bind(null, dryRun, filePath))

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc