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

puppeteer-in-electron

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer-in-electron - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

9

bin/index.js

@@ -109,3 +109,10 @@ "use strict";

const pages = await browser.pages();
const guids = await Promise.all(pages.map((testPage) => testPage.evaluate("window.puppeteer")));
const guids = await Promise.all(pages.map(async (testPage) => {
try {
return await testPage.evaluate("window.puppeteer");
}
catch (_a) {
return undefined;
}
}));
const index = guids.findIndex((testGuid) => testGuid === guid);

@@ -112,0 +119,0 @@ await window.webContents.executeJavaScript("delete window.puppeteer");

@@ -141,3 +141,9 @@ import getPort from "get-port";

const pages = await browser.pages();
const guids = await Promise.all(pages.map((testPage) => testPage.evaluate("window.puppeteer")));
const guids = await Promise.all(pages.map(async (testPage) => {
try {
return await testPage.evaluate("window.puppeteer")
} catch {
return undefined;
}
}));
const index = guids.findIndex((testGuid) => testGuid === guid);

@@ -144,0 +150,0 @@ await window.webContents.executeJavaScript("delete window.puppeteer");

2

package.json
{
"name": "puppeteer-in-electron",
"version": "3.0.4",
"version": "3.0.5",
"description": "Run puppeteer within an electron app.",

@@ -5,0 +5,0 @@ "main": "./bin/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