@turist/fetch
Advanced tools
Comparing version 6.3.1 to 7.0.0
@@ -0,5 +1,7 @@ | ||
import { Response } from 'node-fetch'; | ||
export default class FetchRetryError extends Error { | ||
res: Response; | ||
url: string; | ||
statusCode: number; | ||
constructor(url: string, statusCode: number, statusText: string); | ||
constructor(res: Response); | ||
} |
{ | ||
"name": "@turist/fetch", | ||
"version": "6.3.1", | ||
"version": "7.0.0", | ||
"description": "Opinionated `fetch` optimized for use inside microservices", | ||
@@ -13,3 +13,3 @@ "license": "MIT", | ||
"git-pre-commit": "find . -path './**/*.ts' -not -path '*/node_modules/*' -not -path '*/dist/*' -exec sh -c 'for n; do tsfmt --verify \"$n\" || exit 1; done' sh {} +", | ||
"test": "jest", | ||
"test": "jest --coverage", | ||
"build": "rm -rf ./dist && ncc build src/index.ts -m -s -o dist", | ||
@@ -23,3 +23,3 @@ "prepublish": "npm run build" | ||
"@types/debug": "4.1.5", | ||
"@types/jest": "25.1.2", | ||
"@types/jest": "25.1.3", | ||
"@types/lru-cache": "5.1.0", | ||
@@ -36,4 +36,4 @@ "@zeit/git-hooks": "0.1.4", | ||
"raw-body": "2.4.1", | ||
"ts-jest": "25.2.0", | ||
"typescript": "3.7.5", | ||
"ts-jest": "25.2.1", | ||
"typescript": "3.8.3", | ||
"typescript-formatter": "7.2.2" | ||
@@ -40,0 +40,0 @@ }, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
436961
15
3770