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

capture-template

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

capture-template - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

13

build/web-page-renderer.js

@@ -70,2 +70,15 @@ "use strict";

});
this.nightmare.on('page', function (type, message, stack) {
if (type === "error") {
console.error("Browser page error: " + message);
console.error(stack);
}
});
this.nightmare.on("did-fail-load", function (event, errorCode, errorDescription, validatedURL, isMainFrame) {
console.error("Browser page failed to load.");
console.error("Error code: " + errorCode);
console.error("Error description: " + errorDescription);
console.error("Validated URL: " + validatedURL);
console.error("Is main frame: " + isMainFrame);
});
this.nightmare.on('console', function (type, message) {

@@ -72,0 +85,0 @@ if (type === 'log') {

2

package.json
{
"name": "capture-template",
"version": "1.0.4",
"version": "1.0.5",
"description": "This library is responsible for expanding a template web page and then capturing it PNG or PDF.",

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

Sorry, the diff of this file is not supported yet

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