New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@flourish/colors

Package Overview
Dependencies
Maintainers
31
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flourish/colors - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

2

package.json
{
"name": "@flourish/colors",
"version": "6.1.1",
"version": "6.1.2",
"description": "Adds color settings",

@@ -5,0 +5,0 @@ "main": "colors.js",

@@ -0,1 +1,4 @@

# 6.1.2
* Set categorical color scales for all non-numeric typed domains
# 6.1.1

@@ -5,3 +8,3 @@ * Fix custom binning issue

# 6.1.0
* Add tags to settings
* Add tags to settings [BREAKING: only compatible with typed templates]

@@ -62,2 +65,2 @@ # 6.0.0

# 0.9.0
* First published version
* First published version

@@ -17,3 +17,3 @@ import { DEFAULTS, DEFAULT_FALLBACK_VALUE } from "./defaults";

var updateColorScale = function(values) {
if (typeof values[0] === "string") colorFunction = getCategoricalFunction(state, values);
if (typeof values[0] != "number") colorFunction = getCategoricalFunction(state, values);
else if (state.numeric_type === "sequential") colorFunction = getSequentialFunction(state, values);

@@ -20,0 +20,0 @@ else if (state.numeric_type === "diverging") colorFunction = getDivergingFunction(state, values);

Sorry, the diff of this file is too big to display

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