@nivo/legends
Advanced tools
Comparing version 0.52.0 to 0.52.1
@@ -12,3 +12,3 @@ 'use strict'; | ||
var React__default = _interopDefault(React); | ||
var lodash = require('lodash'); | ||
var isFunction = _interopDefault(require('lodash/isFunction')); | ||
@@ -618,3 +618,3 @@ var DIRECTION_ROW = 'row'; | ||
var Symbol = void 0; | ||
if (lodash.isFunction(symbolShape)) { | ||
if (isFunction(symbolShape)) { | ||
Symbol = symbolShape; | ||
@@ -621,0 +621,0 @@ } else { |
{ | ||
"name": "@nivo/legends", | ||
"description": "legend components for nivo dataviz library", | ||
"version": "0.52.0", | ||
"version": "0.52.1", | ||
"license": "MIT", | ||
@@ -30,3 +30,3 @@ "author": { | ||
}, | ||
"gitHead": "3634f8c97d6c49cc7c89cf923a9ada4bbb048671" | ||
"gitHead": "c51598c8feee3468f965a426f6ee89a8a0a2b0a7" | ||
} |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('prop-types'), require('lodash/isNumber'), require('lodash/isPlainObject'), require('react'), require('lodash')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'prop-types', 'lodash/isNumber', 'lodash/isPlainObject', 'react', 'lodash'], factory) : | ||
(factory((global.nivo = global.nivo || {}),global.PropTypes,global['lodash/isNumber'],global['lodash/isPlainObject'],global.React,global.lodash)); | ||
}(this, (function (exports,PropTypes,isNumber,isPlainObject,React,lodash) { 'use strict'; | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('prop-types'), require('lodash/isNumber'), require('lodash/isPlainObject'), require('react'), require('lodash/isFunction')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'prop-types', 'lodash/isNumber', 'lodash/isPlainObject', 'react', 'lodash/isFunction'], factory) : | ||
(factory((global.nivo = global.nivo || {}),global.PropTypes,global['lodash/isNumber'],global['lodash/isPlainObject'],global.React,global['lodash/isFunction'])); | ||
}(this, (function (exports,PropTypes,isNumber,isPlainObject,React,isFunction) { 'use strict'; | ||
@@ -11,2 +11,3 @@ PropTypes = PropTypes && PropTypes.hasOwnProperty('default') ? PropTypes['default'] : PropTypes; | ||
var React__default = 'default' in React ? React['default'] : React; | ||
isFunction = isFunction && isFunction.hasOwnProperty('default') ? isFunction['default'] : isFunction; | ||
@@ -616,3 +617,3 @@ var DIRECTION_ROW = 'row'; | ||
var Symbol = void 0; | ||
if (lodash.isFunction(symbolShape)) { | ||
if (isFunction(symbolShape)) { | ||
Symbol = symbolShape; | ||
@@ -619,0 +620,0 @@ } else { |
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
76551
7
1915