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

canvas-screenshot

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

canvas-screenshot - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

7

index.js

@@ -35,5 +35,10 @@ const fileExtension = require("file-extension");

if (download) {
link.href = URL.createObjectURL(blob);
const url = URL.createObjectURL(blob);
link.href = url;
const event = new MouseEvent("click");
link.dispatchEvent(event);
setTimeout(() => {
URL.revokeObjectURL(url);
}, 1);
}

@@ -40,0 +45,0 @@

4

package.json
{
"name": "canvas-screenshot",
"version": "2.0.0",
"version": "3.0.0",
"description": "A one trick pony package to download an image from a canvas.",

@@ -12,3 +12,3 @@ "main": "index.js",

"devDependencies": {
"budo": "^11.6.2",
"budo": "^11.6.3",
"canvas-context": "^1.0.3"

@@ -15,0 +15,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