Socket
Socket
Sign inDemoInstall

@smithy/types

Package Overview
Dependencies
Maintainers
2
Versions
35
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 3.1.0 to 3.2.0

dist-cjs/abort-handler.js

7

dist-types/abort.d.ts

@@ -0,9 +1,9 @@

import type { AbortHandler } from "./abort-handler";
/**
* @public
*/
export interface AbortHandler {
(this: AbortSignal, ev: any): any;
}
export { AbortHandler };
/**
* @public
* @deprecated use platform (global) type for AbortSignal.
*

@@ -28,2 +28,3 @@ * Holders of an AbortSignal object may query if the associated operation has

* @public
* @deprecated use platform (global) type for AbortController.
*

@@ -30,0 +31,0 @@ * The AWS SDK uses a Controller/Signal model to allow for cooperative

@@ -1,2 +0,2 @@

import { AbortSignal } from "./abort";
import { AbortSignal as DeprecatedAbortSignal } from "./abort";
import { URI } from "./uri";

@@ -99,3 +99,3 @@ /**

export interface HttpHandlerOptions {
abortSignal?: AbortSignal;
abortSignal?: AbortSignal | DeprecatedAbortSignal;
/**

@@ -102,0 +102,0 @@ * The maximum time in milliseconds that the connection phase of a request

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

import type { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
import { Logger } from "../logger";
/**

@@ -59,2 +60,6 @@ *

httpsAgent?: hsAgent | hsAgentOptions;
/**
* Optional logger.
*/
logger?: Logger;
}

@@ -61,0 +66,0 @@ /**

@@ -0,9 +1,9 @@

import { AbortHandler } from "./abort-handler";
/**
* @public
*/
export interface AbortHandler {
(this: AbortSignal, ev: any): any;
}
export { AbortHandler };
/**
* @public
* @deprecated use platform (global) type for AbortSignal.
*

@@ -28,2 +28,3 @@ * Holders of an AbortSignal object may query if the associated operation has

* @public
* @deprecated use platform (global) type for AbortController.
*

@@ -30,0 +31,0 @@ * The AWS SDK uses a Controller/Signal model to allow for cooperative

@@ -1,2 +0,2 @@

import { AbortSignal } from "./abort";
import { AbortSignal as DeprecatedAbortSignal } from "./abort";
import { URI } from "./uri";

@@ -99,3 +99,3 @@ /**

export interface HttpHandlerOptions {
abortSignal?: AbortSignal;
abortSignal?: AbortSignal | DeprecatedAbortSignal;
/**

@@ -102,0 +102,0 @@ * The maximum time in milliseconds that the connection phase of a request

/// <reference types="node" />
import { Agent as hAgent, AgentOptions as hAgentOptions } from "http";
import { Agent as hsAgent, AgentOptions as hsAgentOptions } from "https";
import { Logger } from "../logger";
/**

@@ -57,2 +58,6 @@ *

httpsAgent?: hsAgent | hsAgentOptions;
/**
* Optional logger.
*/
logger?: Logger;
}

@@ -59,0 +64,0 @@ /**

@@ -1,2 +0,2 @@

import { AbortController } from "./abort";
import { AbortController as DeprecatedAbortController } from "./abort";
/**

@@ -18,7 +18,7 @@ * @public

*/
abortController?: AbortController;
abortController?: AbortController | DeprecatedAbortController;
/**
* Abort Signal. Used for ending the waiter early.
*/
abortSignal?: AbortController["signal"];
abortSignal?: AbortController["signal"] | DeprecatedAbortController["signal"];
/**

@@ -25,0 +25,0 @@ * The minimum amount of time to delay between retries in seconds. This is the

@@ -1,2 +0,2 @@

import { AbortController } from "./abort";
import { AbortController as DeprecatedAbortController } from "./abort";
/**

@@ -18,7 +18,7 @@ * @public

*/
abortController?: AbortController;
abortController?: AbortController | DeprecatedAbortController;
/**
* Abort Signal. Used for ending the waiter early.
*/
abortSignal?: AbortController["signal"];
abortSignal?: AbortController["signal"] | DeprecatedAbortController["signal"];
/**

@@ -25,0 +25,0 @@ * The minimum amount of time to delay between retries in seconds. This is the

{
"name": "@smithy/types",
"version": "3.1.0",
"version": "3.2.0",
"scripts": {

@@ -5,0 +5,0 @@ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'",

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