Socket
Socket
Sign inDemoInstall

postcss-custom-properties

Package Overview
Dependencies
12
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.2.0 to 5.0.0

5

CHANGELOG.md

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

# 5.0.0 - 2015-08-25
- Removed: compatibility with postcss v4.x
- Added: compatibility with postcss v5.x
# 4.2.0 - 2015-07-21

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

10

index.js

@@ -168,3 +168,3 @@ /**

// define variables
style.eachRule(function(rule) {
style.walkRules(function(rule) {
var toRemove = []

@@ -220,3 +220,3 @@

if (rule.nodes.length === 0) {
rule.removeSelf()
rule.remove()
}

@@ -247,3 +247,3 @@ }

// resolve variables
style.eachDecl(function(decl) {
style.walkDecls(function(decl) {
var value = decl.value

@@ -266,3 +266,3 @@

if (!preserve || preserve === "computed") {
decl.removeSelf()
decl.remove()
}

@@ -276,3 +276,3 @@ })

selector: ":root",
semicolon: true,
raws: {semicolon: true},
})

@@ -279,0 +279,0 @@ names.forEach(function(name) {

{
"name": "postcss-custom-properties",
"version": "4.2.0",
"version": "5.0.0",
"description": "PostCSS plugin to polyfill W3C CSS Custom Properties for cascading variables",

@@ -20,4 +20,2 @@ "keywords": [

"files": [
"CHANGELOG.md",
"LICENSE",
"index.js"

@@ -27,6 +25,6 @@ ],

"balanced-match": "~0.1.0",
"postcss": "^4.1.4"
"postcss": "^5.0.0"
},
"devDependencies": {
"eslint": "^0.23.0",
"eslint": "^1.0.0",
"tape": "^4.0.0"

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