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

dom-to-pdf

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dom-to-pdf - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

4

index.js

@@ -252,3 +252,3 @@ let _cloneNode;

if (typeof cb === "function") {
cb();
cb(pdf);
}

@@ -260,3 +260,3 @@ return pdf.save(filename);

if (typeof cb === "function") {
cb();
cb(null);
}

@@ -263,0 +263,0 @@ return console.error(error);

{
"name": "dom-to-pdf",
"version": "0.2.4",
"version": "0.2.5",
"description": "Generates a printable paginated pdf from DOM node using HTML5 canvas and svg.",

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

@@ -19,3 +19,3 @@ # dom-to-pdf

};
domToPdf(element, options, function() {
domToPdf(element, options, function(pdf) {
console.log('done');

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