Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/smithy-client

Package Overview
Dependencies
Maintainers
5
Versions
142
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/smithy-client - npm Package Compare versions

Comparing version 3.310.0 to 3.315.0

dist-cjs/serde-json.js

8

dist-cjs/default-error-handler.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.throwDefaultError = void 0;
exports.withBaseException = exports.throwDefaultError = void 0;
const exceptions_1 = require("./exceptions");

@@ -16,2 +16,8 @@ const throwDefaultError = ({ output, parsedBody, exceptionCtor, errorCode }) => {

exports.throwDefaultError = throwDefaultError;
const withBaseException = (ExceptionCtor) => {
return ({ output, parsedBody, errorCode }) => {
(0, exports.throwDefaultError)({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });
};
};
exports.withBaseException = withBaseException;
const deserializeMetadata = (output) => {

@@ -18,0 +24,0 @@ var _a, _b;

@@ -21,2 +21,3 @@ "use strict";

tslib_1.__exportStar(require("./ser-utils"), exports);
tslib_1.__exportStar(require("./serde-json"), exports);
tslib_1.__exportStar(require("./split-every"), exports);

@@ -12,2 +12,7 @@ import { decorateServiceException } from "./exceptions";

};
export const withBaseException = (ExceptionCtor) => {
return ({ output, parsedBody, errorCode }) => {
throwDefaultError({ output, parsedBody, exceptionCtor: ExceptionCtor, errorCode });
};
};
const deserializeMetadata = (output) => ({

@@ -14,0 +19,0 @@ httpStatusCode: output.statusCode,

@@ -18,2 +18,3 @@ export * from "./NoOpLogger";

export * from "./ser-utils";
export * from "./serde-json";
export * from "./split-every";

@@ -8,1 +8,7 @@ /**

export declare const throwDefaultError: ({ output, parsedBody, exceptionCtor, errorCode }: any) => never;
/**
* @internal
*
* Creates {@link throwDefaultError} with bound ExceptionCtor.
*/
export declare const withBaseException: (ExceptionCtor: new (...args: any) => any) => any;

@@ -18,3 +18,4 @@ export * from "./NoOpLogger";

export * from "./ser-utils";
export * from "./serde-json";
export * from "./split-every";
export type { DocumentType, SdkError, SmithyException } from "@aws-sdk/types";

@@ -7,1 +7,4 @@ export declare const throwDefaultError: ({

}: any) => never;
export declare const withBaseException: (
ExceptionCtor: new (...args: any) => any
) => any;

@@ -18,3 +18,4 @@ export * from "./NoOpLogger";

export * from "./ser-utils";
export * from "./serde-json";
export * from "./split-every";
export { DocumentType, SdkError, SmithyException } from "@aws-sdk/types";

2

package.json
{
"name": "@aws-sdk/smithy-client",
"version": "3.310.0",
"version": "3.315.0",
"scripts": {

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

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