Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jan 29, 2024

  • lazy load credential-provider-imds inside of util-defaults-mode-node.

This avoids loading the IMDS credential provider package unless it is used. It is currently loaded for every (AWS SDK) client because defaults-mode is part of the base client config.

dynamic imports were tested in Node.js and various bundler (esbuild, vite, webpack) configurations in aws/aws-sdk-js-v3#5681 and aws/aws-sdk-js-v3#5677.

@kuhe kuhe requested review from a team as code owners January 29, 2024 18:12
@kuhe kuhe requested a review from haydenbaker January 29, 2024 18:12
@kuhe kuhe merged commit 280ef3a into smithy-lang:main Jan 29, 2024
@kuhe kuhe deleted the feat/dynamic-import branch January 29, 2024 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants