Socket
Socket
Sign inDemoInstall

postcss-url

Package Overview
Dependencies
Maintainers
2
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 6.0.3 to 6.0.4

7

CHANGELOG.md

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

# 6.0.4 - 2017-04-06
Fixed: prepare asset without file path in decl
([#94](https://github.com/postcss/postcss-url/issues/94))
# 6.0.3 - 2017-04-04
Fixed: hash url error

@@ -6,2 +11,3 @@ ([#89](https://github.com/postcss/postcss-url/issues/89))

# 6.0.2 - 2017-04-04
Fixed: match options before analyzing

@@ -11,2 +17,3 @@ ([pull-88](https://github.com/postcss/postcss-url/pull/88))

# 6.0.1 - 2017-04-03
- Fixed: bug with empty options

@@ -13,0 +20,0 @@ ([#87](https://github.com/postcss/postcss-url/issues/87))

2

package.json
{
"name": "postcss-url",
"version": "6.0.3",
"version": "6.0.4",
"description": "PostCSS plugin to rebase or inline on url().",

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

@@ -111,3 +111,3 @@ 'use strict';

const absolutePath = pathname
? path.join(dir.file, pathname)
? path.resolve(path.join(dir.file, pathname))
: getPathDeclFile(decl);

@@ -117,5 +117,5 @@

url: assetUrl,
pathname: parsedUrl.pathname,
absolutePath: path.resolve(absolutePath),
relativePath: path.relative(dir.from, absolutePath),
pathname,
absolutePath: absolutePath || dir.from,
relativePath: absolutePath ? path.relative(dir.from, absolutePath) : '.',
search: (parsedUrl.search || ''),

@@ -122,0 +122,0 @@ hash: (parsedUrl.hash || '')

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