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

html-pdf-node

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

html-pdf-node - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

7

index.js

@@ -46,4 +46,4 @@ const puppeteer = require('puppeteer');

let pdfs = [];
await Promise.map(files, async(file) => {
const page = await browser.newPage();
const page = await browser.newPage();
for(let file of files) {
if(file.content) {

@@ -64,4 +64,3 @@ console.log("Compiling the template with handlebars")

pdfs.push(pdfObj);
await page.close();
},{concurrency:20})
}

@@ -68,0 +67,0 @@ return Promise.resolve(pdfs)

{
"name": "html-pdf-node",
"version": "1.0.4",
"version": "1.0.5",
"description": "Convert any html content or html page to PDF",

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

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