Socket
Socket
Sign inDemoInstall

puppeteer

Package Overview
Dependencies
Maintainers
3
Versions
900
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

puppeteer - npm Package Compare versions

Comparing version 1.0.0-next.1515107202232 to 1.0.0-next.1515176243781

17

lib/Browser.js

@@ -134,6 +134,14 @@ /**

async version() {
const version = await this._connection.send('Browser.getVersion');
const version = await this._getVersion();
return version.product;
}
/**
* @return {!Promise<string>}
*/
async userAgent() {
const version = await this._getVersion();
return version.userAgent;
}
async close() {

@@ -147,2 +155,9 @@ await this._closeCallback.call(null);

}
/**
* @return {!Promise<!Object>}
*/
_getVersion() {
return this._connection.send('Browser.getVersion');
}
}

@@ -149,0 +164,0 @@

2

package.json
{
"name": "puppeteer",
"version": "1.0.0-next.1515107202232",
"version": "1.0.0-next.1515176243781",
"description": "A high-level API to control headless Chrome over the DevTools Protocol",

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