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

@flourish/chart-layout

Package Overview
Dependencies
Maintainers
30
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@flourish/chart-layout - npm Package Compare versions

Comparing version 9.5.2 to 9.5.3

2

package.json
{
"name": "@flourish/chart-layout",
"version": "9.5.2",
"version": "9.5.3",
"description": "Create axes",

@@ -5,0 +5,0 @@ "main": "chart-layout.js",

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

# 9.5.3
* Fix issue introduced in `9.5.2` which was preventing string labels from appearing in ticks
# 9.5.2

@@ -2,0 +5,0 @@ * Fix issue where NaN values were appearing in ticks

@@ -241,3 +241,3 @@ import { select } from "d3-selection";

.attr("dy", function(d, i) { return i ? x.tick_label_line_height + "em" : 0; })
.text(function(d) { return isNaN(d) ? "" : d; });
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; });
tspans.exit().remove();

@@ -479,3 +479,3 @@ })

.attr("dy", function(d, i) { return i ? x.tick_label_line_height + "em" : 0; })
.text(function(d) { return isNaN(d) ? "" : d; });
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; });
tspans.exit().remove();

@@ -482,0 +482,0 @@ })

@@ -210,3 +210,3 @@ import { select } from "d3-selection";

.attr("dy", function(d, i) { return i ? y.tick_label_line_height + "em" : 0; })
.text(function(d) { return isNaN(d) ? "" : d; });
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; });
tspans.exit().remove();

@@ -213,0 +213,0 @@ })

@@ -208,3 +208,3 @@ import { select } from "d3-selection";

.attr("dy", function(d, i) { return i ? y.tick_label_line_height + "em" : 0; })
.text(function(d) { return isNaN(d) ? "" : d; });
.text(function(d) { return typeof d === "number" && isNaN(d) ? "" : d; });
tspans.exit().remove();

@@ -211,0 +211,0 @@ })

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