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 2.0.2 to 2.0.3

14

API.md

@@ -24,3 +24,3 @@ <!-- Generated by documentation.js. Update this documentation by updating the source code. -->

Connects puppeteer to the electron app. Must call {@see initialize} before connecting.
Connects puppeteer to the electron app. Must call [initialize][8] before connecting.
When connecting multiple times, you use the same port.

@@ -33,3 +33,3 @@

Returns **[Promise][8]&lt;Browser>** An object containing the puppeteer browser, the port, and json received from DevTools.
Returns **[Promise][9]&lt;Browser>** An object containing the puppeteer browser, the port, and json received from DevTools.

@@ -46,5 +46,5 @@ ## getPage

- `window` **BrowserWindow** The browser window for which we want to find the corresponding puppeteer Page.
- `allowBlankNavigate` **[boolean][9]** If no url is loaded, allow us to load "about:blank" so that we may find the Page. (optional, default `true`)
- `allowBlankNavigate` **[boolean][10]** If no url is loaded, allow us to load "about:blank" so that we may find the Page. (optional, default `true`)
Returns **[Promise][8]&lt;Page>** The page that corresponds with the BrowserWindow.
Returns **[Promise][9]&lt;Page>** The page that corresponds with the BrowserWindow.

@@ -65,4 +65,6 @@ [1]: #initialize

[8]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
[8]: initialize
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean
[9]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise
[10]: https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean

@@ -10,3 +10,3 @@ /// <reference types="electron" />

/**
* Connects puppeteer to the electron app. Must call {@see initialize} before connecting.
* Connects puppeteer to the electron app. Must call {@link initialize} before connecting.
* When connecting multiple times, you use the same port.

@@ -13,0 +13,0 @@ * @param {App} app The app imported from electron.

@@ -37,3 +37,3 @@ "use strict";

/**
* Connects puppeteer to the electron app. Must call {@see initialize} before connecting.
* Connects puppeteer to the electron app. Must call {@link initialize} before connecting.
* When connecting multiple times, you use the same port.

@@ -40,0 +40,0 @@ * @param {App} app The app imported from electron.

@@ -52,3 +52,3 @@ import fetch from "node-fetch";

/**
* Connects puppeteer to the electron app. Must call {@see initialize} before connecting.
* Connects puppeteer to the electron app. Must call {@link initialize} before connecting.
* When connecting multiple times, you use the same port.

@@ -55,0 +55,0 @@ * @param {App} app The app imported from electron.

{
"name": "puppeteer-in-electron",
"version": "2.0.2",
"version": "2.0.3",
"description": "Run puppeteer within an electron app.",

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

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