Comparing version 0.3.0 to 0.4.0
0.4.0 / 2012-09-17 | ||
================== | ||
* add `url()` mapping plugin | ||
0.3.0 / 2012-09-06 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -86,1 +86,2 @@ | ||
exports.at2x = require('./plugins/at2x'); | ||
exports.url = require('./plugins/url'); |
{ | ||
"name": "rework", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "CSS manipulations built on CSSOM", | ||
@@ -5,0 +5,0 @@ "keywords": ["css", "manipulation", "preprocess", "transform"], |
@@ -177,2 +177,17 @@ # rework | ||
### .url(callback) | ||
Map `url()` calls, useful for inlining images as data-uris, converting | ||
relative paths to absolute etc. | ||
```js | ||
function rewrite(url) { | ||
return 'http://example.com' + url; | ||
} | ||
rework(str) | ||
.use(rework.url(rewrite)) | ||
.toString() | ||
``` | ||
### .keyframes([vendors]) | ||
@@ -179,0 +194,0 @@ |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
22956
17
463
430
0
1