Socket
Socket
Sign inDemoInstall

victory-brush-line

Package Overview
Dependencies
31
Maintainers
25
Versions
137
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 36.4.1 to 36.5.0

19

es/victory-brush-line.js

@@ -14,3 +14,3 @@ import _pick from "lodash/pick";

function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

@@ -25,6 +25,4 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

@@ -408,3 +406,3 @@

_defineProperty(VictoryBrushLine, "propTypes", {
VictoryBrushLine.propTypes = {
allowDrag: PropTypes.bool,

@@ -437,5 +435,4 @@ allowDraw: PropTypes.bool,

width: PropTypes.number
});
_defineProperty(VictoryBrushLine, "defaultProps", {
};
VictoryBrushLine.defaultProps = {
allowDrag: true,

@@ -451,5 +448,5 @@ allowDraw: true,

width: 10
});
};
_defineProperty(VictoryBrushLine, "defaultEvents", function (props) {
VictoryBrushLine.defaultEvents = function (props) {
return props.disable ? undefined : [{

@@ -698,4 +695,4 @@ target: props.type,

}];
});
};
export { VictoryBrushLine as default };

@@ -34,3 +34,3 @@ "use strict";

function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

@@ -45,6 +45,4 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }

function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }

@@ -420,4 +418,3 @@

exports.default = VictoryBrushLine;
_defineProperty(VictoryBrushLine, "propTypes", {
VictoryBrushLine.propTypes = {
allowDrag: _propTypes.default.bool,

@@ -450,5 +447,4 @@ allowDraw: _propTypes.default.bool,

width: _propTypes.default.number
});
_defineProperty(VictoryBrushLine, "defaultProps", {
};
VictoryBrushLine.defaultProps = {
allowDrag: true,

@@ -464,5 +460,5 @@ allowDraw: true,

width: 10
});
};
_defineProperty(VictoryBrushLine, "defaultEvents", function (props) {
VictoryBrushLine.defaultEvents = function (props) {
return props.disable ? undefined : [{

@@ -719,2 +715,2 @@ target: props.type,

}];
});
};
{
"name": "victory-brush-line",
"version": "36.4.1",
"version": "36.5.0",
"description": "Interactive Brush Line Component for Victory",

@@ -25,6 +25,6 @@ "keywords": [

"react-fast-compare": "^3.2.0",
"victory-core": "^36.4.1"
"victory-core": "^36.5.0"
},
"peerDependencies": {
"react": "^16.6.0 || ^17.0.0"
"react": ">=16.6.0"
},

@@ -35,3 +35,3 @@ "scripts": {

"sideEffects": false,
"gitHead": "aa44a22e5a93989773a560f765f83ac151f44c46"
"gitHead": "7cecba921f751c3decc8215f7e866f51d11203c1"
}

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc