Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-color-rebeccapurple

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-color-rebeccapurple - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 4.0.1 - 2018-09-18
- Updated: PostCSS Values Parser v2+
# 4.0.0 - 2018-09-17

@@ -2,0 +6,0 @@

6

index.js

@@ -17,5 +17,5 @@ /**

if (value && regexp.test(value)) {
const ast = valueParser(value).parse()
const valueAST = valueParser(value).parse()
ast.walk(node => {
valueAST.walk(node => {
if (node.type === "word" && node.value === "rebeccapurple") {

@@ -26,5 +26,5 @@ node.value = color

decl.value = ast.toString()
decl.value = valueAST.toString()
}
})
})
{
"name": "postcss-color-rebeccapurple",
"version": "4.0.0",
"version": "4.0.1",
"description": "PostCSS plugin to transform W3C CSS rebeccapurple color to more compatible CSS (rgb())",

@@ -28,3 +28,3 @@ "keywords": [

"postcss": "^7.0.2",
"postcss-values-parser": "^1.5.0"
"postcss-values-parser": "^2.0.0"
},

@@ -31,0 +31,0 @@ "devDependencies": {

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