🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

postcss-normalize-url

Package Overview
Dependencies
Maintainers
2
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-normalize-url - npm Package Compare versions

Comparing version

to
3.0.5

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 3.0.5
* Fixes an issue where base64 encoded OpenType font urls were being erroneously
converted by the module (thanks to @ln-e).
# 3.0.4

@@ -2,0 +7,0 @@

2

index.js

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

if (~url.value.indexOf('data:image/') || ~url.value.indexOf('data:application/')) {
if (~url.value.indexOf('data:image/') || ~url.value.indexOf('data:application/') || ~url.value.indexOf('data:font/')) {
return false;

@@ -51,0 +51,0 @@ }

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

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