Socket
Socket
Sign inDemoInstall

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 5.0.0 to 5.0.1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 5.0.1 - 2015-10-04
- Fixed: windows compatibility
([#52](https://github.com/postcss/postcss-url/pull/52))
# 5.0.0 - 2015-09-07

@@ -2,0 +7,0 @@

13

index.js

@@ -299,4 +299,4 @@ /**

// e.g., url('glyphicons-halflings-regular.eot?#iefix')
var fileLink = url.parse(filePathUrl, true)
var filePath = fileLink.pathname
var fileLink = url.parse(urlMeta.value)
var filePath = path.resolve(dirname, fileLink.pathname)
var name = path.basename(filePath)

@@ -334,3 +334,4 @@ var useHash = options.useHash || false

relativeAssetsPath,
dirname.replace(new RegExp(from + "[\/]\?"), ""),
dirname.replace(new RegExp(from.replace(/[.*+?^${}()|[\]\\]/g, "\\$&")
+ "[\/]\?"), ""),
path.dirname(urlMeta.value)

@@ -354,3 +355,7 @@ )

return createUrl(urlMeta, path.join(relativeAssetsPath, nameUrl))
var assetPath = path.join(relativeAssetsPath, nameUrl)
if (path.sep === "\\") {
assetPath = assetPath.replace(/\\/g, "\/")
}
return createUrl(urlMeta, assetPath)
}
{
"name": "postcss-url",
"version": "5.0.0",
"version": "5.0.1",
"description": "PostCSS plugin to rebase or inline on url().",

@@ -5,0 +5,0 @@ "keywords": [

@@ -1,3 +0,6 @@

# postcss-url [![Build Status](https://travis-ci.org/postcss/postcss-url.png)](https://travis-ci.org/postcss/postcss-url)
# postcss-url
[![Travis Build Status](https://img.shields.io/travis/postcss/postcss-url/master.svg?label=unix%20build)](https://travis-ci.org/postcss/postcss-url)
[![AppVeyor Build Status](https://img.shields.io/appveyor/ci/MoOx/postcss-url/master.svg?label=windows%20build)](https://ci.appveyor.com/project/MoOx/postcss-url)
> [PostCSS](https://github.com/postcss/postcss) plugin to rebase, inline or copy on url().

@@ -4,0 +7,0 @@

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