@smithy/protocol-http
Advanced tools
@@ -21,4 +21,4 @@ var __defProp = Object.defineProperty; | ||
| // src/index.ts | ||
| var src_exports = {}; | ||
| __export(src_exports, { | ||
| var index_exports = {}; | ||
| __export(index_exports, { | ||
| Field: () => Field, | ||
@@ -33,3 +33,3 @@ Fields: () => Fields, | ||
| }); | ||
| module.exports = __toCommonJS(src_exports); | ||
| module.exports = __toCommonJS(index_exports); | ||
@@ -240,4 +240,3 @@ // src/extensions/httpExtensionConfiguration.ts | ||
| static isInstance(response) { | ||
| if (!response) | ||
| return false; | ||
| if (!response) return false; | ||
| const resp = response; | ||
@@ -244,0 +243,0 @@ return typeof resp.statusCode === "number" && typeof resp.headers === "object"; |
@@ -1,2 +0,2 @@ | ||
| import { HttpHandler } from "../httpHandler"; | ||
| import type { HttpHandler } from "../httpHandler"; | ||
| /** | ||
@@ -3,0 +3,0 @@ * @internal |
@@ -1,2 +0,3 @@ | ||
| import { FieldOptions, FieldPosition } from "@smithy/types"; | ||
| import type { FieldOptions } from "@smithy/types"; | ||
| import { FieldPosition } from "@smithy/types"; | ||
| /** | ||
@@ -3,0 +4,0 @@ * A name-value pair representing a single field |
@@ -1,3 +0,3 @@ | ||
| import { FieldPosition } from "@smithy/types"; | ||
| import { Field } from "./Field"; | ||
| import type { FieldPosition } from "@smithy/types"; | ||
| import type { Field } from "./Field"; | ||
| export type FieldsOptions = { | ||
@@ -4,0 +4,0 @@ fields?: Field[]; |
@@ -1,2 +0,3 @@ | ||
| import { HeaderBag, HttpMessage, HttpRequest as IHttpRequest, QueryParameterBag, URI } from "@smithy/types"; | ||
| import type { HeaderBag, HttpMessage, QueryParameterBag, URI } from "@smithy/types"; | ||
| import { HttpRequest as IHttpRequest } from "@smithy/types"; | ||
| type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & { | ||
@@ -3,0 +4,0 @@ method?: string; |
@@ -1,2 +0,2 @@ | ||
| import { HeaderBag, HttpMessage, HttpResponse as IHttpResponse } from "@smithy/types"; | ||
| import type { HeaderBag, HttpMessage, HttpResponse as IHttpResponse } from "@smithy/types"; | ||
| type HttpResponseOptions = Partial<HttpMessage> & { | ||
@@ -3,0 +3,0 @@ statusCode: number; |
@@ -1,2 +0,3 @@ | ||
| import { FieldOptions, FieldPosition } from "@smithy/types"; | ||
| import { FieldOptions } from "@smithy/types"; | ||
| import { FieldPosition } from "@smithy/types"; | ||
| /** | ||
@@ -3,0 +4,0 @@ * A name-value pair representing a single field |
@@ -1,2 +0,3 @@ | ||
| import { HeaderBag, HttpMessage, HttpRequest as IHttpRequest, QueryParameterBag, URI } from "@smithy/types"; | ||
| import { HeaderBag, HttpMessage, QueryParameterBag, URI } from "@smithy/types"; | ||
| import { HttpRequest as IHttpRequest } from "@smithy/types"; | ||
| type HttpRequestOptions = Partial<HttpMessage> & Partial<URI> & { | ||
@@ -3,0 +4,0 @@ method?: string; |
@@ -1,2 +0,2 @@ | ||
| import { FieldOptions as __FieldOptions, FieldPosition as __FieldPosition, HeaderBag as __HeaderBag, HttpHandlerOptions as __HttpHandlerOptions, HttpMessage as __HttpMessage } from "@smithy/types"; | ||
| import type { FieldOptions as __FieldOptions, FieldPosition as __FieldPosition, HeaderBag as __HeaderBag, HttpHandlerOptions as __HttpHandlerOptions, HttpMessage as __HttpMessage } from "@smithy/types"; | ||
| /** | ||
@@ -3,0 +3,0 @@ * @deprecated Use FieldOptions from `@smithy/types` instead |
+3
-2
| { | ||
| "name": "@smithy/protocol-http", | ||
| "version": "5.1.3", | ||
| "version": "5.2.0", | ||
| "scripts": { | ||
@@ -26,4 +26,5 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", | ||
| "license": "Apache-2.0", | ||
| "sideEffects": false, | ||
| "dependencies": { | ||
| "@smithy/types": "^4.3.2", | ||
| "@smithy/types": "^4.4.0", | ||
| "tslib": "^2.6.2" | ||
@@ -30,0 +31,0 @@ }, |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
44597
0.43%952
0.32%Updated