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 7.1.1 to 7.1.2

6

CHANGELOG.md

@@ -1,3 +0,7 @@

# 7.1.0 - 2017-07-24
# 7.1.2 - 2017-08-11
Fixed: wrap url by quotes for inlined svg ([#78](https://github.com/postcss/postcss-url/issues/78))
# 7.1.1 - 2017-07-24
Fixed: force wrap url by quotes for `optimizeSvgEncode` ([#105](https://github.com/postcss/postcss-url/issues/105))

@@ -4,0 +8,0 @@

2

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

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

@@ -85,4 +85,4 @@ 'use strict';

// wrap url by quotes if optimized svg
return optimizeSvgEncode ? `"${resultValue}"` : resultValue;
// wrap url by quotes if percent-encoded svg
return isSvg && encodeType !== 'base64' ? `"${resultValue}"` : resultValue;
};
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