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.1 to 1.6.2

29

puppeteer/index.d.ts

@@ -1651,2 +1651,31 @@ // Type definitions for puppeteer 1.6

/**
* Sets a consistent viewport for each page. Defaults to an 800x600 viewport. null disables the default viewport.
*/
defaultViewport?: {
/**
* page width in pixels.
*/
width?: number;
/**
* page height in pixels.
*/
height?: number;
/**
* Specify device scale factor (can be thought of as dpr). Defaults to 1.
*/
deviceScaleFactor?: number;
/**
* Whether the meta viewport tag is taken into account. Defaults to false.
*/
isMobile?: boolean;
/**
* Specifies if viewport supports touch events. Defaults to false.
*/
hasTouch?: boolean;
/**
* Specifies if viewport is in landscape mode. Defaults to false.
*/
isLandscape?: boolean;
};
/**
* Additional arguments to pass to the Chromium instance. List of Chromium

@@ -1653,0 +1682,0 @@ * flags can be found here.

4

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

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

},
"typesPublisherContentHash": "7eb0f8612c59cf8b9735764f0ccefda765c90d9318b4aae84db5e046f06194cb",
"typesPublisherContentHash": "1145d1645663fc826abb90ef1eab38e0f5d4f91626d9087c79b201b4dc89043a",
"typeScriptVersion": "2.8"
}

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

Additional Details
* Last updated: Fri, 31 Aug 2018 20:06:31 GMT
* Last updated: Tue, 04 Sep 2018 18:04:22 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