Socket
Socket
Sign inDemoInstall

@aws-sdk/core

Package Overview
Dependencies
Maintainers
5
Versions
57
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.496.0 to 3.511.0

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [3.511.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.510.0...v3.511.0) (2024-02-09)
### Bug Fixes
* **credential-provider-node:** pass client region to inner credential client region ([#5758](https://github.com/aws/aws-sdk-js-v3/issues/5758)) ([8c0b29e](https://github.com/aws/aws-sdk-js-v3/commit/8c0b29eabfe0ce8dbd2cbdcfb8b0a31b003bc3f2))
# [3.496.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.495.0...v3.496.0) (2024-01-19)

@@ -8,0 +19,0 @@

20

dist-cjs/index.js

@@ -157,3 +157,9 @@ var __defProp = Object.defineProperty;

if (config.credentialDefaultProvider) {
normalizedCreds = (0, import_core.normalizeProvider)(config.credentialDefaultProvider(config));
normalizedCreds = (0, import_core.normalizeProvider)(
config.credentialDefaultProvider(
Object.assign({}, config, {
parentClientConfig: config
})
)
);
} else {

@@ -307,12 +313,12 @@ normalizedCreds = /* @__PURE__ */ __name(async () => {

0 && (module.exports = {
emitWarningIfUnsupportedVersion,
AwsSdkSigV4Signer,
AWSSDKSigV4Signer,
AwsSdkSigV4Signer,
resolveAwsSdkSigV4Config,
resolveAWSSDKSigV4Config,
_toStr,
_toBool,
_toNum,
_toStr,
awsExpectUnion,
emitWarningIfUnsupportedVersion,
resolveAWSSDKSigV4Config,
resolveAwsSdkSigV4Config
awsExpectUnion
});

@@ -10,6 +10,10 @@ import { doesIdentityRequireRefresh, isIdentityExpired, memoizeIdentityProvider, normalizeProvider, } from "@smithy/core";

if (config.credentialDefaultProvider) {
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(config));
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(Object.assign({}, config, {
parentClientConfig: config,
})));
}
else {
normalizedCreds = async () => { throw new Error("`credentials` is missing"); };
normalizedCreds = async () => {
throw new Error("`credentials` is missing");
};
}

@@ -16,0 +20,0 @@ }

{
"name": "@aws-sdk/core",
"version": "3.496.0",
"version": "3.511.0",
"description": "Core functions & classes shared by multiple AWS SDK clients",

@@ -5,0 +5,0 @@ "scripts": {

@@ -114,5 +114,13 @@ import {

if (config.credentialDefaultProvider) {
normalizedCreds = normalizeProvider(config.credentialDefaultProvider(config as any));
normalizedCreds = normalizeProvider(
config.credentialDefaultProvider(
Object.assign({}, config as any, {
parentClientConfig: config,
})
)
);
} else {
normalizedCreds = async () => { throw new Error("`credentials` is missing") };
normalizedCreds = async () => {
throw new Error("`credentials` is missing");
};
}

@@ -119,0 +127,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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