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

@types/puppeteer

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/puppeteer - npm Package Compare versions

Comparing version 1.6.3 to 1.6.4

14

puppeteer/index.d.ts

@@ -595,2 +595,10 @@ // Type definitions for puppeteer 1.6

export interface BinaryScreenShotOptions extends ScreenshotOptions {
encoding?: "binary";
}
export interface Base64ScreenShotOptions extends ScreenshotOptions {
encoding: "base64";
}
/** Options for `addStyleTag` */

@@ -751,3 +759,5 @@ export interface StyleTagOptions {

*/
screenshot(options?: ScreenshotOptions): Promise<Buffer>;
screenshot(options?: Base64ScreenShotOptions): Promise<string>;
screenshot(options?: BinaryScreenShotOptions): Promise<Buffer>;
screenshot(options?: ScreenshotOptions): Promise<string | Buffer>;
/**

@@ -1351,2 +1361,4 @@ * This method scrolls element into view if needed, and then uses touchscreen.tap to tap in the center of the element.

*/
screenshot(options?: Base64ScreenShotOptions): Promise<string>;
screenshot(options?: BinaryScreenShotOptions): Promise<Buffer>;
screenshot(options?: ScreenshotOptions): Promise<string | Buffer>;

@@ -1353,0 +1365,0 @@

4

puppeteer/package.json
{
"name": "@types/puppeteer",
"version": "1.6.3",
"version": "1.6.4",
"description": "TypeScript definitions for puppeteer",

@@ -33,4 +33,4 @@ "license": "MIT",

},
"typesPublisherContentHash": "265f1fd35ddfe931c6f96c648c10b8a767f2b4807a136c364edf45d8fe13df39",
"typesPublisherContentHash": "addd22a9ad0a299a580e52e4114a243ab36eb3c69cff06180e5234bafaa4b4a7",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 05 Sep 2018 15:41:46 GMT
* Last updated: Fri, 14 Sep 2018 17:45:34 GMT
* Dependencies: events, child_process, node

@@ -14,0 +14,0 @@ * Global values: none

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