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.11 to 4.1.12

12

superagent/index.d.ts

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

interface ResponseError extends Error {
status?: number;
response?: Response;
status?: number | undefined;
response?: Response | undefined;
}

@@ -141,3 +141,3 @@

file: MultipartValueSingle,
options?: string | { filename?: string; contentType?: string },
options?: string | { filename?: string | undefined; contentType?: string | undefined },
): this;

@@ -175,3 +175,3 @@ auth(user: string, pass: string, options?: { type: "basic" | "auto" }): this;

set(field: "Cookie", val: string[]): this;
timeout(ms: number | { deadline?: number; response?: number }): this;
timeout(ms: number | { deadline?: number | undefined; response?: number | undefined }): this;
trustLocalhost(enabled?: boolean): this;

@@ -191,4 +191,4 @@ type(val: string): this;

loaded: number;
percent?: number;
total?: number;
percent?: number | undefined;
total?: number | undefined;
}

@@ -195,0 +195,0 @@ }

{
"name": "@types/superagent",
"version": "4.1.11",
"version": "4.1.12",
"description": "TypeScript definitions for SuperAgent",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/superagent",
"license": "MIT",

@@ -75,4 +76,4 @@ "contributors": [

},
"typesPublisherContentHash": "6fc9175f4ce2fa45cb5a8d782ccd620b2f1523a9d92421d838dfaddcdad261a0",
"typeScriptVersion": "3.5"
"typesPublisherContentHash": "39a178efec6c37353d2e1f93faddfe61110cd3a366e89851018fd414a5b295ed",
"typeScriptVersion": "3.6"
}

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

### Additional Details
* Last updated: Tue, 04 May 2021 15:31:21 GMT
* Last updated: Fri, 02 Jul 2021 22:33:10 GMT
* Dependencies: [@types/cookiejar](https://npmjs.com/package/@types/cookiejar), [@types/node](https://npmjs.com/package/@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