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

@flourish/chart-layout

Package Overview
Dependencies
Maintainers
25
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

to
9.4.1

2

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

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

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

# 9.4.1
* Revert to using `obj.prop !== undefined` to determine if `prop` is in `obj`
# 9.4.0

@@ -2,0 +5,0 @@ * Add option to put y/y2 axis titles at the top/bottom

@@ -217,6 +217,6 @@ import { remToPx, getFont } from "../common";

top = ("top" in overrides) ? overrides.top : calculated_top;
right = ("right" in overrides) ? overrides.right : calculated_right;
bottom = ("bottom" in overrides) ? overrides.bottom : calculated_bottom;
left = ("left" in overrides) ? overrides.left : calculated_left;
top = overrides.top !== undefined ? overrides.top : calculated_top;
right = overrides.right !== undefined ? overrides.right : calculated_right;
bottom = overrides.bottom !== undefined ? overrides.bottom : calculated_bottom;
left = overrides.left !== undefined ? overrides.left : calculated_left;
};

@@ -223,0 +223,0 @@

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