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 3.5.5 to 3.5.6

9

superagent/index.d.ts

@@ -19,2 +19,6 @@ // Type definitions for SuperAgent 3.5

type MultipartValueSingle = Blob | Buffer | fs.ReadStream | string | boolean | number;
type MultipartValue = MultipartValueSingle | MultipartValueSingle[];
declare const request: request.SuperAgentStatic;

@@ -107,3 +111,3 @@

accept(type: string): this;
attach(field: string, file: Blob | Buffer | fs.ReadStream | string, filename?: string): this;
attach(field: string, file: MultipartValueSingle, options?: string | { filename?: string; contentType?: string }): this;
auth(user: string, name: string): this;

@@ -115,3 +119,4 @@ buffer(val?: boolean): this;

end(callback?: CallbackHandler): this;
field(name: string, val: string): this;
field(name: string, val: MultipartValue): this;
field(fields: { [fieldName: string]: MultipartValue }): this;
get(field: string): string;

@@ -118,0 +123,0 @@ key(cert: Buffer | string): this;

{
"name": "@types/superagent",
"version": "3.5.5",
"version": "3.5.6",
"description": "TypeScript definitions for SuperAgent",

@@ -9,11 +9,14 @@ "license": "MIT",

"name": "Nico Zelaya",
"url": "https://github.com/NicoZelaya"
"url": "https://github.com/NicoZelaya",
"githubUsername": "NicoZelaya"
},
{
"name": "Michael Ledin",
"url": "https://github.com/mxl"
"url": "https://github.com/mxl",
"githubUsername": "mxl"
},
{
"name": "Pap Lőrinc",
"url": "https://github.com/paplorinc"
"url": "https://github.com/paplorinc",
"githubUsername": "paplorinc"
}

@@ -30,4 +33,4 @@ ],

},
"typesPublisherContentHash": "7043a5dbe1fea6a9bf60526b70f7742ec78986bf5282f11ba95d336793cefb81",
"typesPublisherContentHash": "090b820ce3db91b237d22ba1ed6b818007a3372c83db26ab476615a3326389ec",
"typeScriptVersion": "2.2"
}

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

Additional Details
* Last updated: Mon, 21 Aug 2017 22:03:22 GMT
* Last updated: Tue, 03 Oct 2017 13:52:19 GMT
* Dependencies: fs, https, stream, node

@@ -14,0 +14,0 @@ * Global values: none

Sorry, the diff of this file is not supported yet

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