@types/supertest
Advanced tools
Comparing version 6.0.0 to 6.0.1
import { CallbackHandler, Request, Response } from "superagent"; | ||
import { Server } from "tls"; | ||
import { App } from "../types"; | ||
declare class Test extends Request { | ||
constructor(app: Server, method: string, path: string); | ||
app: Server; | ||
constructor(app: App, method: string, path: string); | ||
app: App; | ||
url: string; | ||
serverAddress(app: Server, path: string): string; | ||
serverAddress(app: App, path: string): string; | ||
@@ -11,0 +11,0 @@ expect(status: number, callback?: CallbackHandler): this; |
{ | ||
"name": "@types/supertest", | ||
"version": "6.0.0", | ||
"version": "6.0.1", | ||
"description": "TypeScript definitions for supertest", | ||
@@ -17,2 +17,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/supertest", | ||
"url": "https://github.com/pietu" | ||
}, | ||
{ | ||
"name": "David Tanner", | ||
"githubUsername": "DavidTanner", | ||
"url": "https://github.com/DavidTanner" | ||
} | ||
@@ -29,8 +34,7 @@ ], | ||
"dependencies": { | ||
"@types/cookiejar": "*", | ||
"@types/methods": "*", | ||
"@types/superagent": "*" | ||
"@types/methods": "^1.1.4", | ||
"@types/superagent": "^8.1.0" | ||
}, | ||
"typesPublisherContentHash": "9b03caf6a8a3f608392439a874830990dc7aaaef48d55f79d19d59394245b60a", | ||
"typesPublisherContentHash": "cef9e8d5c6d9c814c4214aa74afd0b5dead80869a628eddc8583c2ce6958282f", | ||
"typeScriptVersion": "4.6" | ||
} |
@@ -11,6 +11,6 @@ # Installation | ||
### Additional Details | ||
* Last updated: Thu, 21 Dec 2023 23:35:29 GMT | ||
* Dependencies: [@types/cookiejar](https://npmjs.com/package/@types/cookiejar), [@types/methods](https://npmjs.com/package/@types/methods), [@types/superagent](https://npmjs.com/package/@types/superagent) | ||
* Last updated: Fri, 22 Dec 2023 19:06:36 GMT | ||
* Dependencies: [@types/methods](https://npmjs.com/package/@types/methods), [@types/superagent](https://npmjs.com/package/@types/superagent) | ||
# Credits | ||
These definitions were written by [Alex Varju](https://github.com/varju), and [Petteri Parkkila](https://github.com/pietu). | ||
These definitions were written by [Alex Varju](https://github.com/varju), [Petteri Parkkila](https://github.com/pietu), and [David Tanner](https://github.com/DavidTanner). |
import { AgentOptions as SAgentOptions } from "superagent"; | ||
import { Server } from "tls"; | ||
import methods = require("methods"); | ||
import { IncomingMessage, RequestListener, ServerResponse } from "http"; | ||
import { Http2ServerRequest, Http2ServerResponse } from "http2"; | ||
import { Server } from "net"; | ||
@@ -10,3 +10,4 @@ export type App = | ||
| RequestListener<typeof IncomingMessage, typeof ServerResponse> | ||
| ((request: Http2ServerRequest, response: Http2ServerResponse) => void); | ||
| ((request: Http2ServerRequest, response: Http2ServerResponse) => void) | ||
| string; | ||
@@ -13,0 +14,0 @@ export interface AgentOptions extends SAgentOptions { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7964
2
138
- Removed@types/cookiejar@*
Updated@types/methods@^1.1.4
Updated@types/superagent@^8.1.0