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

victory-selection-container

Package Overview
Dependencies
Maintainers
2
Versions
145
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-selection-container - npm Package Compare versions

Comparing version 32.3.7 to 33.0.0

4

es/victory-selection-container.js

@@ -27,3 +27,3 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; var ownKeys = Object.keys(source); if (typeof Object.getOwnPropertySymbols === 'function') { ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { return Object.getOwnPropertyDescriptor(source, sym).enumerable; })); } ownKeys.forEach(function (key) { _defineProperty(target, key, source[key]); }); } return target; }

import React from "react";
import { VictoryContainer } from "victory-core";
import { VictoryContainer, Rect } from "victory-core";
import SelectionHelpers from "./selection-helpers";

@@ -103,3 +103,3 @@ export var selectionContainerMixin = function (base) {

allowSelection: true,
selectionComponent: React.createElement("rect", null),
selectionComponent: React.createElement(Rect, null),
selectionStyle: {

@@ -106,0 +106,0 @@ stroke: "transparent",

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

allowSelection: true,
selectionComponent: _react.default.createElement("rect", null),
selectionComponent: _react.default.createElement(_victoryCore.Rect, null),
selectionStyle: {

@@ -118,0 +118,0 @@ stroke: "transparent",

{
"name": "victory-selection-container",
"version": "32.3.7",
"version": "33.0.0",
"description": "Interactive Selection Component for Victory",

@@ -24,3 +24,3 @@ "keywords": [

"prop-types": "^15.5.8",
"victory-core": "^32.3.7"
"victory-core": "^33.0.0"
},

@@ -27,0 +27,0 @@ "scripts": {

import PropTypes from "prop-types";
import React from "react";
import { VictoryContainer } from "victory-core";
import { VictoryContainer, Rect } from "victory-core";
import SelectionHelpers from "./selection-helpers";

@@ -25,3 +25,3 @@

allowSelection: true,
selectionComponent: <rect />,
selectionComponent: <Rect />,
selectionStyle: {

@@ -28,0 +28,0 @@ stroke: "transparent",

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