Socket
Socket
Sign inDemoInstall

@visx/grid

Package Overview
Dependencies
Maintainers
4
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visx/grid - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

3

esm/grids/Grid.js
import _pt from "prop-types";
var _excluded = ["top", "left", "xScale", "yScale", "width", "height", "className", "stroke", "strokeWidth", "strokeDasharray", "numTicksRows", "numTicksColumns", "rowLineStyle", "columnLineStyle", "xOffset", "yOffset", "rowTickValues", "columnTickValues"];

@@ -31,3 +32,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

columnTickValues = _ref.columnTickValues,
restProps = _objectWithoutPropertiesLoose(_ref, ["top", "left", "xScale", "yScale", "width", "height", "className", "stroke", "strokeWidth", "strokeDasharray", "numTicksRows", "numTicksColumns", "rowLineStyle", "columnLineStyle", "xOffset", "yOffset", "rowTickValues", "columnTickValues"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -34,0 +35,0 @@ return /*#__PURE__*/React.createElement(Group, {

import _pt from "prop-types";
var _excluded = ["className", "innerRadius", "left", "lineClassName", "lineStyle", "numTicks", "outerRadius", "scale", "stroke", "strokeDasharray", "strokeWidth", "tickValues", "top"];

@@ -35,3 +36,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

top = _ref$top === void 0 ? 0 : _ref$top,
restProps = _objectWithoutPropertiesLoose(_ref, ["className", "innerRadius", "left", "lineClassName", "lineStyle", "numTicks", "outerRadius", "scale", "stroke", "strokeDasharray", "strokeWidth", "tickValues", "top"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -38,0 +39,0 @@ var ticks = tickValues != null ? tickValues : getTicks(scale, numTicks);

import _pt from "prop-types";
var _excluded = ["top", "left", "scale", "height", "stroke", "strokeWidth", "strokeDasharray", "className", "numTicks", "lineStyle", "offset", "tickValues", "children"];

@@ -33,3 +34,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

children = _ref.children,
restProps = _objectWithoutPropertiesLoose(_ref, ["top", "left", "scale", "height", "stroke", "strokeWidth", "strokeDasharray", "className", "numTicks", "lineStyle", "offset", "tickValues", "children"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -36,0 +37,0 @@ var ticks = tickValues != null ? tickValues : getTicks(scale, numTicks);

import _pt from "prop-types";
var _excluded = ["arcThickness", "className", "endAngle", "fill", "fillOpacity", "left", "lineClassName", "lineStyle", "numTicks", "scale", "startAngle", "stroke", "strokeWidth", "strokeDasharray", "tickValues", "top"];

@@ -38,3 +39,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

top = _ref$top === void 0 ? 0 : _ref$top,
restProps = _objectWithoutPropertiesLoose(_ref, ["arcThickness", "className", "endAngle", "fill", "fillOpacity", "left", "lineClassName", "lineStyle", "numTicks", "scale", "startAngle", "stroke", "strokeWidth", "strokeDasharray", "tickValues", "top"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -41,0 +42,0 @@ var radii = tickValues != null ? tickValues : getTicks(scale, numTicks);

import _pt from "prop-types";
var _excluded = ["top", "left", "scale", "width", "stroke", "strokeWidth", "strokeDasharray", "className", "children", "numTicks", "lineStyle", "offset", "tickValues"];

@@ -33,3 +34,3 @@ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

tickValues = _ref.tickValues,
restProps = _objectWithoutPropertiesLoose(_ref, ["top", "left", "scale", "width", "stroke", "strokeWidth", "strokeDasharray", "className", "children", "numTicks", "lineStyle", "offset", "tickValues"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -36,0 +37,0 @@ var ticks = tickValues != null ? tickValues : getTicks(scale, numTicks);

@@ -18,2 +18,4 @@ "use strict";

var _excluded = ["top", "left", "xScale", "yScale", "width", "height", "className", "stroke", "strokeWidth", "strokeDasharray", "numTicksRows", "numTicksColumns", "rowLineStyle", "columnLineStyle", "xOffset", "yOffset", "rowTickValues", "columnTickValues"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -44,3 +46,3 @@

columnTickValues = _ref.columnTickValues,
restProps = _objectWithoutPropertiesLoose(_ref, ["top", "left", "xScale", "yScale", "width", "height", "className", "stroke", "strokeWidth", "strokeDasharray", "numTicksRows", "numTicksColumns", "rowLineStyle", "columnLineStyle", "xOffset", "yOffset", "rowTickValues", "columnTickValues"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -47,0 +49,0 @@ return /*#__PURE__*/_react.default.createElement(_group.Group, {

@@ -22,2 +22,4 @@ "use strict";

var _excluded = ["className", "innerRadius", "left", "lineClassName", "lineStyle", "numTicks", "outerRadius", "scale", "stroke", "strokeDasharray", "strokeWidth", "tickValues", "top"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -50,3 +52,3 @@

top = _ref$top === void 0 ? 0 : _ref$top,
restProps = _objectWithoutPropertiesLoose(_ref, ["className", "innerRadius", "left", "lineClassName", "lineStyle", "numTicks", "outerRadius", "scale", "stroke", "strokeDasharray", "strokeWidth", "tickValues", "top"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -53,0 +55,0 @@ var ticks = tickValues != null ? tickValues : (0, _scale.getTicks)(scale, numTicks);

@@ -22,2 +22,4 @@ "use strict";

var _excluded = ["top", "left", "scale", "height", "stroke", "strokeWidth", "strokeDasharray", "className", "numTicks", "lineStyle", "offset", "tickValues", "children"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -48,3 +50,3 @@

children = _ref.children,
restProps = _objectWithoutPropertiesLoose(_ref, ["top", "left", "scale", "height", "stroke", "strokeWidth", "strokeDasharray", "className", "numTicks", "lineStyle", "offset", "tickValues", "children"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -51,0 +53,0 @@ var ticks = tickValues != null ? tickValues : (0, _scale.getTicks)(scale, numTicks);

@@ -18,2 +18,4 @@ "use strict";

var _excluded = ["arcThickness", "className", "endAngle", "fill", "fillOpacity", "left", "lineClassName", "lineStyle", "numTicks", "scale", "startAngle", "stroke", "strokeWidth", "strokeDasharray", "tickValues", "top"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -51,3 +53,3 @@

top = _ref$top === void 0 ? 0 : _ref$top,
restProps = _objectWithoutPropertiesLoose(_ref, ["arcThickness", "className", "endAngle", "fill", "fillOpacity", "left", "lineClassName", "lineStyle", "numTicks", "scale", "startAngle", "stroke", "strokeWidth", "strokeDasharray", "tickValues", "top"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -54,0 +56,0 @@ var radii = tickValues != null ? tickValues : (0, _scale.getTicks)(scale, numTicks);

@@ -22,2 +22,4 @@ "use strict";

var _excluded = ["top", "left", "scale", "width", "stroke", "strokeWidth", "strokeDasharray", "className", "children", "numTicks", "lineStyle", "offset", "tickValues"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -48,3 +50,3 @@

tickValues = _ref.tickValues,
restProps = _objectWithoutPropertiesLoose(_ref, ["top", "left", "scale", "width", "stroke", "strokeWidth", "strokeDasharray", "className", "children", "numTicks", "lineStyle", "offset", "tickValues"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -51,0 +53,0 @@ var ticks = tickValues != null ? tickValues : (0, _scale.getTicks)(scale, numTicks);

{
"name": "@visx/grid",
"version": "2.1.1",
"version": "2.1.2",
"description": "visx grid",

@@ -38,4 +38,4 @@ "sideEffects": false,

"@visx/point": "2.1.0",
"@visx/scale": "2.1.0",
"@visx/shape": "2.1.1",
"@visx/scale": "2.1.2",
"@visx/shape": "2.1.2",
"classnames": "^2.3.1",

@@ -47,3 +47,3 @@ "prop-types": "^15.6.2"

},
"gitHead": "3c7b26fef90c76d892dc341cc37a927795e94b2e"
"gitHead": "5da0b5912ee57ad28e83b850e9627ec799a90e3b"
}
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