🚀 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
1.1.0

4

CHANGELOG.md

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

# 1.1.0
* Now uses the PostCSS `4.1` plugin API.
# 1.0.2

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

5

index.js
'use strict';
var eachFunction = require('./lib/eachFunction');
var postcss = require('postcss');
var shorter = require('./lib/shorter');

@@ -15,3 +16,3 @@ var normalize = require('normalize-url');

module.exports = function plugin (options) {
module.exports = postcss.plugin('postcss-normalize-url', function (options) {
options = { normalizeProtocol: false, stripFragment: false } || {};

@@ -53,2 +54,2 @@

};
};
});
{
"name": "postcss-normalize-url",
"version": "1.0.2",
"version": "1.1.0",
"description": "Normalize URLs with PostCSS",

@@ -23,3 +23,4 @@ "main": "index.js",

"is-absolute-url": "^1.0.0",
"normalize-url": "^1.2.0"
"normalize-url": "^1.2.0",
"postcss": "^4.1.2"
},

@@ -29,3 +30,2 @@ "devDependencies": {

"jshint-stylish": "^1.0.1",
"postcss": "^4.0.6",
"tap-spec": "^2.2.2",

@@ -37,3 +37,3 @@ "tape": "^3.5.0"

"name": "Ben Briggs",
"email": "therealbenbriggs@hotmail.com",
"email": "beneb.info@gmail.com",
"url": "http://beneb.info"

@@ -40,0 +40,0 @@ },