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

export-web-to-pdf

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

export-web-to-pdf - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

2

package.json
{
"name": "export-web-to-pdf",
"description": "Node.js lib to export any web page to PDF",
"version": "1.1.1",
"version": "1.1.2",
"main": "index.js",

@@ -6,0 +6,0 @@ "directories": {

"use strict";
const co = require("co");
const puppeteer = require("puppeteer");
const { TimeoutError } = require("puppeteer/Errors");
const redact = require("./lib/redact");

@@ -139,3 +139,3 @@ const log = require("./lib/log");

} catch (e) {
if (e instanceof TimeoutError) {
if (e instanceof puppeteer.errors.TimeoutError) {
log("Error: PDF generation timed out", e);

@@ -142,0 +142,0 @@ } else {

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