@types/nock
Advanced tools
Comparing version 9.3.1 to 10.0.0
@@ -1,3 +0,3 @@ | ||
// Type definitions for nock v9.3.3 | ||
// Project: https://github.com/node-nock/nock | ||
// Type definitions for nock 10.0 | ||
// Project: https://github.com/nock/nock | ||
// Definitions by: bonnici <https://github.com/bonnici> | ||
@@ -89,3 +89,3 @@ // Horiuchi_H <https://github.com/horiuchi> | ||
export interface Interceptor { | ||
query(params: boolean | { (querObject: any): boolean; } | any): this; | ||
query(params: boolean | { (queryObject: any): boolean; } | any): this; | ||
@@ -98,2 +98,3 @@ reply(responseCode: number, body?: string | any, headers?: HttpHeaders): Scope; | ||
matchHeader(name: string, value: string | RegExp | { (value: string): boolean; }): this; | ||
basicAuth(options: { user: string; pass?: string; }): this; | ||
@@ -100,0 +101,0 @@ |
{ | ||
"name": "@types/nock", | ||
"version": "9.3.1", | ||
"version": "10.0.0", | ||
"description": "TypeScript definitions for nock", | ||
@@ -42,3 +42,4 @@ "license": "MIT", | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/nock" | ||
}, | ||
@@ -49,4 +50,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "579ccdf6ce081d15ec2384a2daa288dde944e7a34bd20a704befc0f849ef9e89", | ||
"typesPublisherContentHash": "2a5ba286aec3b973f9104dd367e43f35d9ee0d8dc93e6912d65e1581b3c9b9c9", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for nock (https://github.com/node-nock/nock). | ||
This package contains type definitions for nock ( https://github.com/nock/nock ). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Tue, 22 Jan 2019 18:30:40 GMT | ||
* Last updated: Fri, 26 Apr 2019 19:31:21 GMT | ||
* Dependencies: @types/node | ||
@@ -15,0 +15,0 @@ * Global values: none |
9849
147