postcss-normalize-url
Advanced tools
Comparing version
@@ -0,1 +1,5 @@ | ||
# 1.1.0 | ||
* Now uses the PostCSS `4.1` plugin API. | ||
# 1.0.2 | ||
@@ -2,0 +6,0 @@ |
'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 @@ }, |
6378
1.77%4
-20%65
1.56%4
33.33%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added