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

d3-party

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d3-party - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

index.js

@@ -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",

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