@adobe/fetch
Advanced tools
Comparing version 3.6.2 to 3.6.3
{ | ||
"name": "@adobe/fetch", | ||
"version": "3.6.2", | ||
"version": "3.6.3", | ||
"description": "Light-weight Fetch implementation transparently supporting both HTTP/1(.1) and HTTP/2", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -108,2 +108,4 @@ /* | ||
raw(): Record<string, string | string[]>; | ||
entries(): Iterator<[string, string]>; | ||
@@ -302,4 +304,5 @@ keys(): Iterator<string>; | ||
export class FetchError extends FetchBaseError { | ||
code: number; | ||
erroredSysCall?: SystemError; | ||
code: string; | ||
errno?: number; | ||
erroredSysCall?: string; | ||
} | ||
@@ -306,0 +309,0 @@ |
@@ -48,4 +48,4 @@ /* | ||
if (systemError) { | ||
// eslint-disable-next-line no-multi-assign | ||
this.code = this.errno = systemError.code; | ||
this.code = systemError.code; | ||
this.errno = systemError.errno; | ||
this.erroredSysCall = systemError.syscall; | ||
@@ -52,0 +52,0 @@ } |
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
144079
3330