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

@types/superagent

Package Overview
Dependencies
Maintainers
1
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/superagent - npm Package Compare versions

Comparing version 4.1.2 to 4.1.3

9

superagent/index.d.ts

@@ -132,4 +132,4 @@ // Type definitions for SuperAgent 4.1

buffer(val?: boolean): this;
ca(cert: Buffer): this;
cert(cert: Buffer | string): this;
ca(cert: string | string[] | Buffer | Buffer[]): this;
cert(cert: string | string[] | Buffer | Buffer[]): this;
clearTimeout(): this;

@@ -140,10 +140,11 @@ end(callback?: CallbackHandler): void;

get(field: string): string;
key(cert: Buffer | string): this;
key(cert: string | string[] | Buffer | Buffer[]): this;
ok(callback: (res: Response) => boolean): this;
on(name: 'error', handler: (err: any) => void): this;
on(name: 'progress', handler: (event: ProgressEvent) => void): this;
on(name: 'response', handler: (response: Response) => void): this;
on(name: string, handler: (event: any) => void): this;
parse(parser: Parser): this;
part(): this;
pfx(cert: Buffer | string | { pfx: Buffer, passphrase: string }): this;
pfx(cert: string | string[] | Buffer | Buffer[] | { pfx: string | Buffer, passphrase: string }): this;
pipe(stream: NodeJS.WritableStream, options?: object): stream.Writable;

@@ -150,0 +151,0 @@ query(val: object | string): this;

{
"name": "@types/superagent",
"version": "4.1.2",
"version": "4.1.3",
"description": "TypeScript definitions for SuperAgent",

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

},
"typesPublisherContentHash": "8b505094b5c1b35bc1053c04d119479f2b574404d3290f3c69e5c4415bb91079",
"typesPublisherContentHash": "d355cb0a888987d92ae7240a014bdf7916eb4334891207c7a98309ab09f6c1f6",
"typeScriptVersion": "3.0"
}

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

Additional Details
* Last updated: Wed, 03 Jul 2019 16:41:59 GMT
* Last updated: Mon, 08 Jul 2019 22:53:13 GMT
* Dependencies: @types/cookiejar, @types/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