Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-url

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-url - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

4

CHANGELOG.md

@@ -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 @@

3

index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc