🚀 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
1
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
2.0.2

5

CHANGELOG.md

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

# 2.0.2
* Addresses an issue where relative path separators were converted to
backslashes on Windows.
# 2.0.1

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

2

index.js

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

}
return path.normalize(url);
return path.normalize(url).replace(new RegExp('\\' + path.sep, 'g'), '/');
}

@@ -23,0 +23,0 @@

{
"name": "postcss-normalize-url",
"version": "2.0.1",
"version": "2.0.2",
"description": "Normalize URLs with PostCSS",

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