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

victory-core

Package Overview
Dependencies
Maintainers
8
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-core - npm Package Compare versions

Comparing version 35.6.1 to 35.6.2

19

es/victory-util/data.js

@@ -15,10 +15,2 @@ import _omitBy from "lodash/omitBy";

function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }

@@ -129,10 +121,7 @@

var _domain$x = _slicedToArray(domain.x, 2),
minDomainX = _domain$x[0],
maxDomainX = _domain$x[1];
var minDomainX = Collection.getMinValue(domain.x);
var maxDomainX = Collection.getMaxValue(domain.x);
var minDomainY = Collection.getMinValue(domain.y);
var maxDomainY = Collection.getMaxValue(domain.y);
var _domain$y = _slicedToArray(domain.y, 2),
minDomainY = _domain$y[0],
maxDomainY = _domain$y[1];
var underMin = function (min) {

@@ -139,0 +128,0 @@ return function (val) {

@@ -46,10 +46,2 @@ "use strict";

function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance"); }
function _iterableToArrayLimit(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread(); }

@@ -152,10 +144,10 @@

var _domain$x = _slicedToArray(domain.x, 2),
minDomainX = _domain$x[0],
maxDomainX = _domain$x[1];
var minDomainX = _collection.default.getMinValue(domain.x);
var _domain$y = _slicedToArray(domain.y, 2),
minDomainY = _domain$y[0],
maxDomainY = _domain$y[1];
var maxDomainX = _collection.default.getMaxValue(domain.x);
var minDomainY = _collection.default.getMinValue(domain.y);
var maxDomainY = _collection.default.getMaxValue(domain.y);
var underMin = function (min) {

@@ -162,0 +154,0 @@ return function (val) {

{
"name": "victory-core",
"version": "35.6.1",
"version": "35.6.2",
"description": "Victory Core",

@@ -5,0 +5,0 @@ "keywords": [

@@ -100,4 +100,6 @@ /* eslint-disable func-style */

const [minDomainX, maxDomainX] = domain.x;
const [minDomainY, maxDomainY] = domain.y;
const minDomainX = Collection.getMinValue(domain.x);
const maxDomainX = Collection.getMaxValue(domain.x);
const minDomainY = Collection.getMinValue(domain.y);
const maxDomainY = Collection.getMaxValue(domain.y);

@@ -104,0 +106,0 @@ const underMin = (min) => (val) => exists(val) && val < min;

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

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