Socket
Socket
Sign inDemoInstall

@visx/shape

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@visx/shape - npm Package Compare versions

Comparing version 2.10.0 to 2.11.1

6

esm/shapes/SplitLinePath.js

@@ -64,7 +64,9 @@ import _pt from "prop-types";

return /*#__PURE__*/React.createElement("g", null, splitLineSegments.map(function (segment, index) {
return children ? children({
return children ? /*#__PURE__*/React.createElement(React.Fragment, {
key: index
}, children({
index: index,
segment: segment,
styles: styles[index] || styles[index % styles.length]
}) : /*#__PURE__*/React.createElement(LinePath, _extends({
})) : /*#__PURE__*/React.createElement(LinePath, _extends({
key: index,

@@ -71,0 +73,0 @@ className: className,

@@ -78,7 +78,9 @@ "use strict";

return /*#__PURE__*/_react.default.createElement("g", null, splitLineSegments.map(function (segment, index) {
return children ? children({
return children ? /*#__PURE__*/_react.default.createElement(_react.default.Fragment, {
key: index
}, children({
index: index,
segment: segment,
styles: styles[index] || styles[index % styles.length]
}) : /*#__PURE__*/_react.default.createElement(_LinePath.default, _extends({
})) : /*#__PURE__*/_react.default.createElement(_LinePath.default, _extends({
key: index,

@@ -85,0 +87,0 @@ className: className,

{
"name": "@visx/shape",
"version": "2.10.0",
"version": "2.11.1",
"description": "visx shape",

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

},
"gitHead": "3d655a8b100d862c91d4b5655e221259357a094d"
"gitHead": "9317b710b3933497cd20a25e89c8ca6ae5dff5a2"
}

Sorry, the diff of this file is not supported yet

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