New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-svg

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-svg - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

8

CHANGELOG.md
# Changes to PostCSS SVG
### 2.1.0 - 2017-06-23
Merge pull request:
* Support rgb/rgba and hsl/hsla colors in parameters
https://github.com/Pavliko/postcss-svg/pull/40
* Remove unused files
* Update dependencies; don’t specify minor, patch requirements
### 2.0.0 - 2017-05-15

@@ -4,0 +12,0 @@

4

lib/transpile-decl.js

@@ -110,3 +110,3 @@ /* Tooling

if (isFilledParam(node)) {
params[node.nodes[0].value] = node.nodes[2].value;
params[node.nodes[0].value] = parser.stringify( node.nodes[2] );
}

@@ -122,3 +122,3 @@ }

function isFilledParam(node) {
return node.type === 'function' && node.value === 'param' && node.nodes.length === 3 && node.nodes[0].type === 'word' && node.nodes[2].type === 'word';
return node.type === 'function' && node.value === 'param' && node.nodes.length === 3 && node.nodes[0].type === 'word';
}
{
"name": "postcss-svg",
"version": "2.0.0",
"version": "2.1.0",
"description": "Inline SVGs in CSS. Supports SVG Fragments, SVG Parameters.",

@@ -27,14 +27,14 @@ "author": "Jonathan Neal <jonathantneal@hotmail.com>",

"engines": {
"node": ">=4.0.0"
"node": ">=4"
},
"dependencies": {
"postcss": "^6.0.1",
"postcss-value-parser": "^3.3.0",
"xmldoc": "^1.1.0"
"postcss": "6.x",
"postcss-value-parser": "3.x",
"xmldoc": "1.x"
},
"devDependencies": {
"eslint": "^3.19.0",
"eslint-config-dev": "2.0.0",
"postcss-tape": "2.0.1",
"pre-commit": "^1.2.2",
"eslint": "4.x",
"eslint-config-dev": "2.x",
"postcss-tape": "2.x",
"pre-commit": "1.x",
"test-sprite-module": "file:test/sprite-module"

@@ -41,0 +41,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