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

printeer

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

printeer - npm Package Compare versions

Comparing version 1.2.6 to 1.2.7

2

package.json
{
"name": "printeer",
"version": "1.2.6",
"version": "1.2.7",
"description": "Prints specified web url to PDF (or Image - Coming Soon)!",

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

@@ -41,6 +41,14 @@ import puppeteer from 'puppeteer';

const browser = await puppeteer.launch(launchOptions);
const page = await browser.newPage();
const res = await page.goto(url, {waitUntil: 'networkidle0'});
let res:any = null
try {
const browser = await puppeteer.launch(launchOptions);
const page = await browser.newPage();
res = await page.goto(url, {waitUntil: 'networkidle0'});
} catch (err) {
console.log("Browser Launch Error:", err)
console.log("Browser Launch Options:", launchOptions)
return reject(err);
}
if (!res) {

@@ -47,0 +55,0 @@ return reject(new Error("Could not load the page."));

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