Comparing version 1.0.2 to 1.0.3
@@ -42,7 +42,9 @@ /** | ||
* @param {number} idx Index of current color | ||
* @param {string[]} [colorList=partyParrotColors] Array of values, defaulting to Parrot | ||
* @return {string} Semicolon-separated cyclical value string | ||
*/ | ||
export const generateRamp = (color, idx, colorList = partyParrotColors) => | ||
[...colorList.slice(idx), ...colorList.slice(0, idx + 1)].join('; '); | ||
export const generateRamp = (color, idx) => | ||
[ | ||
...partyParrotColors.slice(idx), | ||
...partyParrotColors.slice(0, idx + 1) | ||
].join('; '); | ||
@@ -49,0 +51,0 @@ /** |
{ | ||
"name": "d3-party", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "lol.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
107
4506