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

canvas-comment

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-comment - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

3

es/index.js

@@ -547,3 +547,4 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";

var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'image/jpeg';
var imgData = this.canvas.toDataURL(type);
var quality = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
var imgData = this.canvas.toDataURL(type, quality);
return imgData;

@@ -550,0 +551,0 @@ }

@@ -562,3 +562,4 @@ "use strict";

var type = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'image/jpeg';
var imgData = this.canvas.toDataURL(type);
var quality = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
var imgData = this.canvas.toDataURL(type, quality);
return imgData;

@@ -565,0 +566,0 @@ }

{
"name": "canvas-comment",
"version": "0.0.6",
"version": "0.0.7",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -92,3 +92,3 @@ import EventBus from './event-bus';

*/
getDrawImage(type?: string): string;
getDrawImage(type?: string, quality?: number): string;
/**

@@ -95,0 +95,0 @@ * 删除指定矩形

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