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

@visx/marker

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visx/marker - npm Package Compare versions

Comparing version 2.1.1 to 2.1.2

4

esm/markers/Arrow.js

@@ -0,1 +1,3 @@

var _excluded = ["id", "size", "strokeWidth"];
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); }

@@ -13,3 +15,3 @@

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -16,0 +18,0 @@ var max = size + strokeWidth * 2;

@@ -0,1 +1,3 @@

var _excluded = ["id", "size", "strokeWidth"];
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); }

@@ -13,3 +15,3 @@

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -16,0 +18,0 @@ var diameter = size * 2;

@@ -0,1 +1,3 @@

var _excluded = ["id", "size", "strokeWidth"];
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); }

@@ -13,3 +15,3 @@

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -16,0 +18,0 @@ var bounds = size + strokeWidth;

@@ -0,1 +1,3 @@

var _excluded = ["id", "size", "fill", "stroke", "strokeWidth"];
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); }

@@ -15,3 +17,3 @@

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "fill", "stroke", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -18,0 +20,0 @@ var max = Math.max(size, strokeWidth * 2);

import _pt from "prop-types";
var _excluded = ["id", "markerWidth", "markerHeight", "markerUnits", "children"];

@@ -17,3 +18,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, ["id", "markerWidth", "markerHeight", "markerUnits", "children"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -20,0 +21,0 @@ return /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("marker", _extends({

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

var _excluded = ["id", "size", "strokeWidth"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -26,0 +28,0 @@ var max = size + strokeWidth * 2;

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

var _excluded = ["id", "size", "strokeWidth"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -26,0 +28,0 @@ var diameter = size * 2;

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

var _excluded = ["id", "size", "strokeWidth"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -26,0 +28,0 @@ var bounds = size + strokeWidth;

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

var _excluded = ["id", "size", "fill", "stroke", "strokeWidth"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

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

strokeWidth = _ref$strokeWidth === void 0 ? 1 : _ref$strokeWidth,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "size", "fill", "stroke", "strokeWidth"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -28,0 +30,0 @@ var max = Math.max(size, strokeWidth * 2);

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

var _excluded = ["id", "markerWidth", "markerHeight", "markerUnits", "children"];
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -26,3 +28,3 @@

children = _ref.children,
restProps = _objectWithoutPropertiesLoose(_ref, ["id", "markerWidth", "markerHeight", "markerUnits", "children"]);
restProps = _objectWithoutPropertiesLoose(_ref, _excluded);

@@ -29,0 +31,0 @@ return /*#__PURE__*/_react.default.createElement("defs", null, /*#__PURE__*/_react.default.createElement("marker", _extends({

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

@@ -33,3 +33,3 @@ "sideEffects": false,

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

@@ -44,3 +44,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