Socket
Socket
Sign inDemoInstall

@smithy/types

Package Overview
Dependencies
Maintainers
2
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smithy/types - npm Package Compare versions

Comparing version 2.3.3 to 2.3.4

dist-cjs/externals-check/browser-externals-check.js

3

dist-types/blob/blob-payload-input-types.d.ts
/// <reference types="node" />
/// <reference types="node" />
import { Readable } from "stream";
import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
/**

@@ -36,3 +37,3 @@ * @public

*/
export type BrowserRuntimeBlobTypes = Blob | ReadableStream;
export type BrowserRuntimeBlobTypes = BlobOptionalType | ReadableStreamOptionalType;
/**

@@ -39,0 +40,0 @@ * @deprecated renamed to BlobPayloadInputTypes.

@@ -258,2 +258,9 @@ import { AuthScheme, HttpAuthDefinition } from "./auth";

/**
* @internal
* Aliases allows for middleware to be found by multiple names besides {@link HandlerOptions.name}.
* This allows for references to replaced middleware to continue working, e.g. replacing
* multiple auth-specific middleware with a single generic auth middleware.
*/
aliases?: Array<string>;
/**
* A flag to override the existing middleware with the same name. Without

@@ -260,0 +267,0 @@ * setting it, adding middleware with duplicated name will throw an exception.

/// <reference types="node" />
import type { Readable } from "stream";
import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
/**

@@ -32,2 +33,2 @@ * @public

*/
export type BrowserRuntimeStreamingBlobTypes = ReadableStream | Blob;
export type BrowserRuntimeStreamingBlobTypes = ReadableStreamOptionalType | BlobOptionalType;
/// <reference types="node" />
/// <reference types="node" />
import type { Readable } from "stream";
import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
/**

@@ -61,2 +62,2 @@ * @public

*/
export type BrowserRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | ReadableStream | Blob;
export type BrowserRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | ReadableStreamOptionalType | BlobOptionalType;

@@ -5,2 +5,3 @@ /// <reference types="node" />

import type { Readable } from "stream";
import type { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
import type { SdkStream } from "../serde";

@@ -53,2 +54,2 @@ /**

*/
export type BrowserRuntimeStreamingBlobPayloadOutputTypes = SdkStream<ReadableStream | Blob>;
export type BrowserRuntimeStreamingBlobPayloadOutputTypes = SdkStream<ReadableStreamOptionalType | BlobOptionalType>;
/// <reference types="node" />
import { Readable } from "stream";
import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
/**

@@ -35,3 +36,3 @@ * @public

*/
export type BrowserRuntimeBlobTypes = Blob | ReadableStream;
export type BrowserRuntimeBlobTypes = BlobOptionalType | ReadableStreamOptionalType;
/**

@@ -38,0 +39,0 @@ * @deprecated renamed to BlobPayloadInputTypes.

@@ -258,2 +258,9 @@ import { AuthScheme, HttpAuthDefinition } from "./auth";

/**
* @internal
* Aliases allows for middleware to be found by multiple names besides {@link HandlerOptions.name}.
* This allows for references to replaced middleware to continue working, e.g. replacing
* multiple auth-specific middleware with a single generic auth middleware.
*/
aliases?: Array<string>;
/**
* A flag to override the existing middleware with the same name. Without

@@ -260,0 +267,0 @@ * setting it, adding middleware with duplicated name will throw an exception.

/// <reference types="node" />
import { Readable } from "stream";
import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
/**

@@ -32,2 +33,2 @@ * @public

*/
export type BrowserRuntimeStreamingBlobTypes = ReadableStream | Blob;
export type BrowserRuntimeStreamingBlobTypes = ReadableStreamOptionalType | BlobOptionalType;
/// <reference types="node" />
import { Readable } from "stream";
import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
/**

@@ -60,2 +61,2 @@ * @public

*/
export type BrowserRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | ReadableStream | Blob;
export type BrowserRuntimeStreamingBlobPayloadInputTypes = string | Uint8Array | ReadableStreamOptionalType | BlobOptionalType;
/// <reference types="node" />
import { IncomingMessage } from "http";
import { Readable } from "stream";
import { BlobOptionalType, ReadableStreamOptionalType } from "../externals-check/browser-externals-check";
import { SdkStream } from "../serde";

@@ -51,2 +52,2 @@ /**

*/
export type BrowserRuntimeStreamingBlobPayloadOutputTypes = SdkStream<ReadableStream | Blob>;
export type BrowserRuntimeStreamingBlobPayloadOutputTypes = SdkStream<ReadableStreamOptionalType | BlobOptionalType>;
{
"name": "@smithy/types",
"version": "2.3.3",
"version": "2.3.4",
"scripts": {
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build:types": "tsc -p tsconfig.types.json",
"build:cjs": "yarn g:tsc -p tsconfig.cjs.json",
"build:es": "yarn g:tsc -p tsconfig.es.json",
"build:types": "yarn g:tsc -p tsconfig.types.json",
"build:types:downlevel": "rimraf dist-types/ts3.4 && downlevel-dts dist-types dist-types/ts3.4 && node scripts/downlevel",

@@ -14,3 +14,3 @@ "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz",

"format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"",
"test": "tsc -p tsconfig.test.json",
"test": "yarn g:tsc -p tsconfig.test.json",
"extract:docs": "api-extractor run --local"

@@ -53,6 +53,4 @@ },

"downlevel-dts": "0.10.1",
"jest": "28.1.1",
"rimraf": "3.0.2",
"typedoc": "0.23.23",
"typescript": "~4.9.5"
"typedoc": "0.23.23"
},

@@ -59,0 +57,0 @@ "typedoc": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc