Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@aws-sdk/core

Package Overview
Dependencies
Maintainers
2
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/core - npm Package Compare versions

Comparing version
3.973.6
to
3.973.7
+11
-0
dist-es/submodules/protocols/xml/AwsRestXmlProtocol.js

@@ -54,2 +54,13 @@ import { HttpBindingProtocol, HttpInterceptingShapeDeserializer, HttpInterceptingShapeSerializer, } from "@smithy/core/protocols";

const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? "Unknown";
if (dataObject.Error && typeof dataObject.Error === "object") {
for (const key of Object.keys(dataObject.Error)) {
dataObject[key] = dataObject.Error[key];
if (key.toLowerCase() === "message") {
dataObject.message = dataObject.Error[key];
}
}
}
if (dataObject.RequestId && !metadata.requestId) {
metadata.requestId = dataObject.RequestId;
}
const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);

@@ -56,0 +67,0 @@ const ns = NormalizedSchema.of(errorSchema);

+3
-3
{
"name": "@aws-sdk/core",
"version": "3.973.6",
"version": "3.973.7",
"description": "Core functions & classes shared by multiple AWS SDK clients.",

@@ -86,3 +86,3 @@ "scripts": {

"@aws-sdk/xml-builder": "^3.972.4",
"@smithy/core": "^3.22.0",
"@smithy/core": "^3.22.1",
"@smithy/node-config-provider": "^4.3.8",

@@ -92,3 +92,3 @@ "@smithy/property-provider": "^4.2.8",

"@smithy/signature-v4": "^5.3.8",
"@smithy/smithy-client": "^4.11.1",
"@smithy/smithy-client": "^4.11.2",
"@smithy/types": "^4.12.0",

@@ -95,0 +95,0 @@ "@smithy/util-base64": "^4.3.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display