Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

puppetarazzi

Package Overview
Dependencies
Maintainers
1
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppetarazzi - npm Package Compare versions

Comparing version 0.2.23 to 0.2.24

16

index.js

@@ -10,3 +10,3 @@ #!/usr/bin/env node

// for debugging
process.on("unhandledRejection", r => console.log(r));
process.on("unhandledRejection", r => console.error(r));

@@ -26,3 +26,13 @@ // command-line arguments

// call Puppetarazzi
var p = new Puppetarazzi(configJson);
p.run();
(async() => {
try {
var p = new Puppetarazzi(configJson);
await p.run();
} catch (e) {
console.error(e);
process.exit(1);
}
process.exit(0);
})();

2

package.json
{
"name": "puppetarazzi",
"version": "0.2.23",
"version": "0.2.24",
"description": "Takes screenshots of your website and annoys you by pointing out your flaws (mixed-content, uncompressed content, 404s, etc)\"",

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

# Puppetarazzi
v0.2.23
v0.2.24

@@ -214,5 +214,8 @@ Copyright 2020 Nic Jansma

* `puppeteerOptions` - Options to pass to `puppeteer.launch()`
* `timeout` - Timeout per page
## Version History
* v0.2.24 - 2020-05-15
* Use `process.exit()` after run is complete to force it to close
* v0.2.23 - 2020-05-05

@@ -219,0 +222,0 @@ * Option `waitUntil` (puppet option) at global or page level

@@ -48,2 +48,4 @@ //

let disconnecting = false;
// test each device individually

@@ -55,2 +57,8 @@ for (let device of this.config.devices) {

browser.on("disconnected", function() {
if (!disconnecting) {
console.error("Browser disconnected!");
}
});
// create a new page

@@ -172,3 +180,4 @@ let page = await browser.newPage();

// stop the browser
browser.close();
disconnecting = true;
await browser.close();
}

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