Socket
Socket
Sign inDemoInstall

postcss-normalize-url

Package Overview
Dependencies
20
Maintainers
2
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.3 to 3.0.4

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 3.0.4
* Fixes incorrect minification of empty non-url functions.
# 3.0.3

@@ -2,0 +6,0 @@

2

index.js

@@ -38,3 +38,3 @@ 'use strict';

decl.value = valueParser(decl.value).walk(function (node) {
if (node.type !== 'function' || node.value !== 'url' && node.nodes.length) {
if (node.type !== 'function' || node.value !== 'url' || !node.nodes.length) {
return;

@@ -41,0 +41,0 @@ }

{
"name": "postcss-normalize-url",
"version": "3.0.3",
"version": "3.0.4",
"description": "Normalize URLs with PostCSS",

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

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