@types/puppeteer
Advanced tools
Comparing version 1.6.1 to 1.6.2
@@ -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. |
{ | ||
"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 |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
63879
1567