@nivo/legends
Advanced tools
Comparing version 0.35.0 to 0.35.2
@@ -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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
26561
693
0
4
+ Addedlodash@^4.17.4
+ Addedlodash@4.17.21(transitive)