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

@nivo/legends

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nivo/legends - npm Package Compare versions

Comparing version 0.35.0 to 0.35.2

7

cjs/nivo-legends.js

@@ -7,3 +7,4 @@ 'use strict';

var lodash = require('lodash');
var isNumber = _interopDefault(require('lodash/isNumber'));
var isPlainObject = _interopDefault(require('lodash/isPlainObject'));
var React = require('react');

@@ -111,3 +112,3 @@ var React__default = _interopDefault(React);

var padding = void 0;
if (lodash.isNumber(_padding)) {
if (isNumber(_padding)) {
padding = {

@@ -119,3 +120,3 @@ top: _padding,

};
} else if (lodash.isPlainObject(_padding)) {
} else if (isPlainObject(_padding)) {
padding = _extends({}, zeroPadding, _padding);

@@ -122,0 +123,0 @@ } else {

{
"name": "@nivo/legends",
"description": "legend components for nivo dataviz library",
"version": "0.35.0",
"version": "0.35.2",
"license": "MIT",

@@ -13,2 +13,3 @@ "main": "./index.js",

"dependencies": {
"lodash": "^4.17.4",
"recompose": "^0.26.0"

@@ -15,0 +16,0 @@ },

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