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

victory-canvas

Package Overview
Dependencies
Maintainers
26
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

victory-canvas - npm Package Compare versions

Comparing version 36.5.0 to 36.5.1

3

es/canvas-bar.js

@@ -113,2 +113,3 @@ import _assign from "lodash/assign";

});
export default CanvasBar;
export default CanvasBar;
//# sourceMappingURL=canvas-bar.js.map

@@ -44,2 +44,3 @@ function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }

});
export default CanvasCurve;
export default CanvasCurve;
//# sourceMappingURL=canvas-curve.js.map

@@ -56,2 +56,3 @@ import React from "react";

CanvasGroup.displayName = "CanvasGroup";
export default CanvasGroup;
export default CanvasGroup;
//# sourceMappingURL=canvas-group.js.map

@@ -82,2 +82,3 @@ import _assign from "lodash/assign";

});
export default CanvasPoint;
export default CanvasPoint;
//# sourceMappingURL=canvas-point.js.map

@@ -11,2 +11,3 @@ import React from "react";

return context;
};
};
//# sourceMappingURL=use-canvas-context.js.map

@@ -7,3 +7,3 @@ import { VictoryBarAlignmentType } from "victory-bar";

ScatterSymbolType,
PaddingProps
PaddingProps,
} from "victory-core";

@@ -10,0 +10,0 @@ import * as React from "react";

@@ -5,2 +5,3 @@ export { default as CanvasBar } from "./canvas-bar";

export { default as CanvasPoint } from "./canvas-point";
export { useCanvasContext } from "./hooks/use-canvas-context";
export { useCanvasContext } from "./hooks/use-canvas-context";
//# sourceMappingURL=index.js.map

@@ -137,2 +137,3 @@ "use strict";

var _default = CanvasBar;
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=canvas-bar.js.map

@@ -61,2 +61,3 @@ "use strict";

var _default = CanvasCurve;
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=canvas-curve.js.map

@@ -73,2 +73,3 @@ "use strict";

var _default = CanvasGroup;
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=canvas-group.js.map

@@ -101,2 +101,3 @@ "use strict";

var _default = CanvasPoint;
exports.default = _default;
exports.default = _default;
//# sourceMappingURL=canvas-point.js.map

@@ -26,2 +26,3 @@ "use strict";

exports.useCanvasContext = useCanvasContext;
exports.useCanvasContext = useCanvasContext;
//# sourceMappingURL=use-canvas-context.js.map

@@ -7,3 +7,3 @@ import { VictoryBarAlignmentType } from "victory-bar";

ScatterSymbolType,
PaddingProps
PaddingProps,
} from "victory-core";

@@ -10,0 +10,0 @@ import * as React from "react";

@@ -47,2 +47,3 @@ "use strict";

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
//# sourceMappingURL=index.js.map
{
"name": "victory-canvas",
"version": "36.5.0",
"version": "36.5.1",
"description": "HTML5 Canvas Components for Victory",

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

"prop-types": "^15.8.1",
"victory-core": "^36.5.0"
"victory-core": "^36.5.1"
},

@@ -34,3 +34,3 @@ "peerDependencies": {

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

@@ -10,3 +10,3 @@ /*global Path2D:false */

getPolarBarPath,
getStyle
getStyle,
} from "victory-bar";

@@ -27,3 +27,3 @@ import { useCanvasContext } from "./hooks/use-canvas-context";

props.cornerRadius,
assign({}, props, { style, barWidth })
assign({}, props, { style, barWidth }),
);

@@ -34,3 +34,3 @@

barWidth,
cornerRadius
cornerRadius,
});

@@ -75,3 +75,3 @@ };

},
[style, origin, polar]
[style, origin, polar],
);

@@ -94,3 +94,3 @@

},
[draw, previousPath, style]
[draw, previousPath, style],
);

@@ -111,3 +111,3 @@

path2d,
clearPreviousPath
clearPreviousPath,
]);

@@ -132,4 +132,4 @@

bottomLeft: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),
bottomRight: PropTypes.oneOfType([PropTypes.number, PropTypes.func])
})
bottomRight: PropTypes.oneOfType([PropTypes.number, PropTypes.func]),
}),
]),

@@ -142,5 +142,5 @@ datum: PropTypes.object,

y: PropTypes.number,
y0: PropTypes.number
y0: PropTypes.number,
};
export default CanvasBar;

@@ -19,3 +19,3 @@ import PropTypes from "prop-types";

},
[data, props, stroke, strokeWidth]
[data, props, stroke, strokeWidth],
);

@@ -38,5 +38,5 @@

origin: PropTypes.object,
polar: PropTypes.bool
polar: PropTypes.bool,
};
export default CanvasCurve;

@@ -14,3 +14,3 @@ import React from "react";

},
[width, height]
[width, height],
);

@@ -27,6 +27,6 @@

(maxClipWidth - clipWidth) * -1,
height
height,
);
},
[width, height, padding, clipWidth]
[width, height, padding, clipWidth],
);

@@ -39,3 +39,3 @@

clear,
clip
clip,
}}

@@ -55,3 +55,3 @@ >

PropTypes.arrayOf(PropTypes.node),
PropTypes.node
PropTypes.node,
]),

@@ -67,6 +67,6 @@ className: PropTypes.string,

left: PropTypes.number,
right: PropTypes.number
})
right: PropTypes.number,
}),
]),
width: PropTypes.number
width: PropTypes.number,
};

@@ -73,0 +73,0 @@ CanvasGroup.role = "container";

@@ -21,3 +21,3 @@ import React from "react";

star: PointPathHelpers.star,
cross: PointPathHelpers.cross
cross: PointPathHelpers.cross,
};

@@ -45,3 +45,3 @@ const symbolFunction =

style,
symbol
symbol,
});

@@ -63,3 +63,3 @@ };

},
[props]
[props],
);

@@ -81,5 +81,5 @@

x: PropTypes.number,
y: PropTypes.number
y: PropTypes.number,
};
export default CanvasPoint;

@@ -10,3 +10,3 @@ import React from "react";

`This component must be wrapped in a CanvasContext.Provider component.
Try setting groupComponent={<CanvasGroup />} in your chart component.`
Try setting groupComponent={<CanvasGroup />} in your chart component.`,
);

@@ -13,0 +13,0 @@ }

@@ -7,3 +7,3 @@ import { VictoryBarAlignmentType } from "victory-bar";

ScatterSymbolType,
PaddingProps
PaddingProps,
} from "victory-core";

@@ -10,0 +10,0 @@ import * as React from "react";

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