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

chrome-page-eval

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chrome-page-eval - npm Package Compare versions

Comparing version 1.3.0 to 1.3.1

6

lib/eval.js

@@ -236,2 +236,4 @@ 'use strict'

destroy: async () => {
const pages = await browser.pages()
await Promise.all(pages.map(page => page.close()))
await browser.close()

@@ -257,2 +259,4 @@ }

debugMe('closing chrome process')
const pages = await browser.pages()
await Promise.all(pages.map(page => page.close()))
await browser.close()

@@ -273,2 +277,4 @@ debugMe('chrome process closed')

debugMe('closing chrome process')
const pages = await browser.pages()
await Promise.all(pages.map(page => page.close()))
await browser.close()

@@ -275,0 +281,0 @@ debugMe('chrome process closed')

2

package.json
{
"name": "chrome-page-eval",
"version": "1.3.0",
"version": "1.3.1",
"description": "Evaluate a script function on a page with Chrome",

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

@@ -69,3 +69,3 @@ # chrome-page-eval

- `puppeteer` **[required]** - the exported module from [puppeteer](https://github.com/GoogleChrome/puppeteer) that your app is going to use
- `launchOptions` **object** - object with [any of the launch options supported by puppeteer](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions)
- properties with [any of the launch options supported by puppeteer](https://github.com/GoogleChrome/puppeteer/blob/master/docs/api.md#puppeteerlaunchoptions)

@@ -72,0 +72,0 @@ ## Evaluate options

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