Socket
Socket
Sign inDemoInstall

@jiaminghi/color

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jiaminghi/color - npm Package Compare versions

Comparing version 0.0.0 to 0.0.1

exampleImgs/1.jpg

6

CHANGELOG.md

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

# 0.0.1-alpha (2019-04-03)
# 0.0.1-alpha (2019-04-04)
### Features
### Publish
* **enhance:**
* **version:** V 0.0.1-alpha

@@ -185,5 +185,7 @@ const hexReg = /^#([0-9a-fA-f]{3}|[0-9a-fA-f]{6})$/

return rgbaValue
rgbaValue = rgbaValue
.map((v, i) => (i === 3 ? v : v - 25 * percent))
.map(v => (v < 0 ? 0 : v))
return getColorFromRgbValue(rgbaValue)
}

@@ -202,5 +204,7 @@

return rgbaValue
rgbaValue = rgbaValue
.map((v, i) => (i === 3 ? v : v + 25 * percent))
.map(v => (v > 255 ? 255 : v))
return getColorFromRgbValue(rgbaValue)
}

@@ -207,0 +211,0 @@

{
"name": "@jiaminghi/color",
"version": "0.0.0",
"version": "0.0.1",
"author": "JiaMing <743192023@qq.com>",

@@ -19,8 +19,10 @@ "description": "Color extension",

"keywords": [
"bezierCurve",
"polyline",
"smoothline",
"length"
"color",
"hex",
"rgb",
"bgba",
"darken",
"lighten"
],
"homepage": "https://github.com/jiaming743/Color#readme"
}
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