Skip to content

Commit 827cf94

Browse files
authored
Merge pull request #7325 from Lexachoc/patch-3
Update `color-rgba` to `3.0.0` to fix hsl color conversion bug
2 parents 656a07c + c42acb8 commit 827cf94

File tree

4 files changed

+52
-43
lines changed

4 files changed

+52
-43
lines changed

draftlogs/7325_change.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- Update `color-rgba` from 2.1.1 to 3.0.0 to fix hsl color conversion bug [[#7325](https://github.com/plotly/plotly.js/pull/7325)]

package-lock.json

+49-41
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
"color-alpha": "1.0.4",
8181
"color-normalize": "1.5.0",
8282
"color-parse": "2.0.0",
83-
"color-rgba": "2.1.1",
83+
"color-rgba": "3.0.0",
8484
"country-regex": "^1.1.0",
8585
"css-loader": "^7.1.2",
8686
"d3-force": "^1.2.1",

src/traces/parcoords/parcoords.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ var d3 = require('@plotly/d3');
44
var Lib = require('../../lib');
55
var isArrayOrTypedArray = Lib.isArrayOrTypedArray;
66
var numberFormat = Lib.numberFormat;
7-
var rgba = require('color-rgba');
7+
var rgba = require('color-rgba').default;
88

99
var Axes = require('../../plots/cartesian/axes');
1010
var strRotate = Lib.strRotate;

0 commit comments

Comments
 (0)