postcss-url
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -0,1 +1,5 @@ | ||
# 1.2.2 - 2015-01-10 | ||
- Use Node's native buffer.toString("base64"). The js-base64 library was producing incorrect base64 for certain files ([#17](https://github.com/postcss/postcss-url/pull/17)) | ||
# 1.2.1 - 2014-12-09 | ||
@@ -2,0 +6,0 @@ |
@@ -6,3 +6,2 @@ /** | ||
var path = require("path") | ||
var base64 = require("js-base64").Base64 | ||
var mime = require("mime") | ||
@@ -148,3 +147,3 @@ var reduceFunctionCall = require("reduce-function-call"); | ||
file = fs.readFileSync(file) | ||
newPath = "data:" + mimeType + ";base64," + base64.encode(file) | ||
newPath = "data:" + mimeType + ";base64," + file.toString("base64") | ||
} | ||
@@ -151,0 +150,0 @@ } |
{ | ||
"name": "postcss-url", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "PostCSS plugin to rebase or inline on url().", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -9,2 +9,3 @@ # postcss-url [![Build Status](https://travis-ci.org/postcss/postcss-url.png)](https://travis-ci.org/postcss/postcss-url) | ||
$ npm install postcss-url | ||
``` | ||
@@ -11,0 +12,0 @@ ## Usage |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9343
79
167