New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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 0.12.2 to 0.12.3

31

puppeteer/index.d.ts

@@ -99,2 +99,21 @@ // Type definitions for puppeteer 0.12

export interface DeleteCookie {
name: string;
url?: string;
domain?: string;
path?: string;
secure?: boolean;
}
export interface SetCookie {
name: string;
value: string;
domain?: string;
path?: string;
expires?: number;
httpOnly?: boolean;
secure?: boolean;
sameSite?: "Strict" | "Lax";
}
export interface Viewport {

@@ -363,11 +382,3 @@ width: number;

cookies(...urls: string[]): Promise<Cookie[]>;
deleteCookie(
...cookies: Array<{
name: string;
url?: string;
domain?: string;
path?: string;
secure?: boolean;
}>
): Promise<void>;
deleteCookie(...cookies: DeleteCookie[]): Promise<void>;
emulate(options: Partial<EmulateOptions>): Promise<void>;

@@ -403,3 +414,3 @@ emulateMedia(mediaType: 'screen' | 'print' | null): Promise<void>;

setContent(html: string): Promise<void>;
setCookie(...cookies: Cookie[]): Promise<void>;
setCookie(...cookies: SetCookie[]): Promise<void>;
setExtraHTTPHeaders(headers: Headers): Promise<void>;

@@ -406,0 +417,0 @@ setJavaScriptEnabled(enabled: boolean): Promise<void>;

{
"name": "@types/puppeteer",
"version": "0.12.2",
"version": "0.12.3",
"description": "TypeScript definitions for puppeteer",

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

},
"typesPublisherContentHash": "a4fa21779907cf3bb3ff61c323af4f3aa50b42989fcba791d2ec2a025b8e02c7",
"typesPublisherContentHash": "856bcd1fd0dc56373a1ca624853b8455ef435509a1c7ae53a82a89c84041bf0a",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Sat, 04 Nov 2017 04:16:38 GMT
* Last updated: Fri, 10 Nov 2017 21:32:46 GMT
* Dependencies: 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