Socket
Socket
Sign inDemoInstall

@aws-sdk/credential-provider-web-identity

Package Overview
Dependencies
Maintainers
5
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/credential-provider-web-identity - npm Package Compare versions

Comparing version 3.353.0 to 3.354.0

5

dist-cjs/fromTokenFile.js

@@ -11,6 +11,2 @@ "use strict";

const fromTokenFile = (init = {}) => async () => {
return resolveTokenFile(init);
};
exports.fromTokenFile = fromTokenFile;
const resolveTokenFile = (init) => {
var _a, _b, _c;

@@ -30,1 +26,2 @@ const webIdentityTokenFile = (_a = init === null || init === void 0 ? void 0 : init.webIdentityTokenFile) !== null && _a !== void 0 ? _a : process.env[ENV_TOKEN_FILE];

};
exports.fromTokenFile = fromTokenFile;

3

dist-es/fromTokenFile.js

@@ -8,5 +8,2 @@ import { CredentialsProviderError } from "@aws-sdk/property-provider";

export const fromTokenFile = (init = {}) => async () => {
return resolveTokenFile(init);
};
const resolveTokenFile = (init) => {
const webIdentityTokenFile = init?.webIdentityTokenFile ?? process.env[ENV_TOKEN_FILE];

@@ -13,0 +10,0 @@ const roleArn = init?.roleArn ?? process.env[ENV_ROLE_ARN];

{
"name": "@aws-sdk/credential-provider-web-identity",
"version": "3.353.0",
"version": "3.354.0",
"description": "AWS credential provider that calls STS assumeRole for temporary AWS credentials",

@@ -5,0 +5,0 @@ "main": "./dist-cjs/index.js",

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