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

canvas-curve

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-curve - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

11

lib/canvas-curve.js

@@ -491,2 +491,3 @@ /**

backgroundColor = false,
drawControl = false
} = options;

@@ -500,2 +501,3 @@ // borders of the canvas element

this._hasBorder = hasBorder;
this._drawControl = drawControl;

@@ -596,2 +598,7 @@ // radius of the control points

setControl(val) {
this._drawControl = val;
this.draw();
}

@@ -775,3 +782,3 @@ /**

Math.round((grabbedPoint.x / this._width) * 255),
Math.round((grabbedPoint.y/ this._height) * 255),
Math.round((grabbedPoint.y / this._height) * 255),
grabbedPoint

@@ -1090,3 +1097,3 @@ );

// drawing the control points
if( control ){
if( control && this._drawControl ){
// control points

@@ -1093,0 +1100,0 @@ for(var i=0; i<xSeries.length; i++){

2

package.json
{
"name": "canvas-curve",
"version": "0.1.5",
"version": "0.1.6",
"description": "A spline widget",

@@ -5,0 +5,0 @@ "author": "moocher",

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