Socket
Socket
Sign inDemoInstall

cssgrace

Package Overview
Dependencies
6
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 2.0.1

6

CHANGELOG.md
# CSS Grace
## V 2.0.1 (2015-03-23)
\* Fix the problem which is unable to obtain the size of image when the `?` in URL. e.g. `background: url(../images/font/blue.png?__sprite)`
## V 2.0.0 (2015-01-26)
\+ Image path supports a relative path.
\+ Image Path supports a relative path.
\+ Surpporting Base64 encoding images.

@@ -7,0 +11,0 @@

3

lib/index.js

@@ -500,3 +500,4 @@ var path = require('path'),

function getAbsolutePath(sourcePath) {
return path.resolve(currentFilePath, sourcePath);
//移除url中带有 ?参数的内容
return path.resolve(currentFilePath, sourcePath.split("?")[0]);
}

@@ -503,0 +504,0 @@

{
"name": "cssgrace",
"version": "2.0.0",
"version": "2.0.1",
"description": "CSS postproccessor",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -555,3 +555,3 @@

.foo {
background: rgba(153, 85, 102, 0.3);margin
background: rgba(153, 85, 102, 0.3);
}

@@ -558,0 +558,0 @@ ```

@@ -509,3 +509,3 @@

.foo {
background: rgba(153, 85, 102, 0.3);margin
background: rgba(153, 85, 102, 0.3);
}

@@ -512,0 +512,0 @@ ```

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc