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 0.10.2 to 0.10.3

17

puppeteer/index.d.ts

@@ -227,2 +227,4 @@ // Type definitions for puppeteer 0.10

export type Serializable = boolean | number | string | object;
export interface FrameBase {

@@ -233,4 +235,4 @@ $(selector: string): Promise<ElementHandle>;

selector: string,
fn: (...args: Array<object | ElementHandle>) => void
): Promise<object>;
fn: (...args: Array<Serializable | ElementHandle>) => void
): Promise<Serializable>;
addScriptTag(url: string): Promise<void>;

@@ -296,3 +298,12 @@ injectFile(filePath: string): Promise<void>;

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

@@ -299,0 +310,0 @@ emulateMedia(mediaType: string | null): Promise<void>;

4

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

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

},
"typesPublisherContentHash": "a23ce40ffdde1fa31f96b9da3cd902d95908456a7cc88c3ba205e292a506cbc7",
"typesPublisherContentHash": "9b239e2a2c3b6135904a66a25391fc4e56e976d914255b5197844889119084d1",
"typeScriptVersion": "2.3"
}

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

Additional Details
* Last updated: Wed, 04 Oct 2017 18:20:42 GMT
* Last updated: Mon, 16 Oct 2017 20:11:07 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