@aws-sdk/credential-provider-node
Advanced tools
Comparing version 3.13.0 to 3.13.1
@@ -6,2 +6,10 @@ # Change Log | ||
## [3.13.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.13.0...v3.13.1) (2021-04-22) | ||
**Note:** Version bump only for package @aws-sdk/credential-provider-node | ||
# [3.13.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.12.0...v3.13.0) (2021-04-15) | ||
@@ -8,0 +16,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { __assign, __read, __spread } from "tslib"; | ||
import { __assign, __read, __spreadArray } from "tslib"; | ||
import { fromEnv } from "@aws-sdk/credential-provider-env"; | ||
@@ -48,3 +48,3 @@ import { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata, } from "@aws-sdk/credential-provider-imds"; | ||
providers.unshift(fromEnv()); | ||
var providerChain = chain.apply(void 0, __spread(providers)); | ||
var providerChain = chain.apply(void 0, __spreadArray([], __read(providers))); | ||
return memoize(providerChain, function (credentials) { return credentials.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000; }, function (credentials) { return credentials.expiration !== undefined; }); | ||
@@ -61,2 +61,2 @@ }; | ||
}; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUMzRCxPQUFPLEVBQ0wsaUJBQWlCLEVBQ2pCLHFCQUFxQixFQUNyQixxQkFBcUIsRUFDckIsb0JBQW9CLEdBRXJCLE1BQU0sbUNBQW1DLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxPQUFPLEVBQWUsTUFBTSxrQ0FBa0MsQ0FBQztBQUNyRixP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HBpcmF0aW9uICE9PSB1bmRlZmluZWQgJiYgY3JlZGVudGlhbHMuZXhwaXJhdGlvbi5nZXRUaW1lKCkgLSBEYXRlLm5vdygpIDwgMzAwMDAwLFxuICAgIChjcmVkZW50aWFscykgPT4gY3JlZGVudGlhbHMuZXhwaXJhdGlvbiAhPT0gdW5kZWZpbmVkXG4gICk7XG59O1xuXG5jb25zdCByZW1vdGVQcm92aWRlciA9IChpbml0OiBSZW1vdGVQcm92aWRlckluaXQpOiBDcmVkZW50aWFsUHJvdmlkZXIgPT4ge1xuICBpZiAocHJvY2Vzcy5lbnZbRU5WX0NNRFNfUkVMQVRJVkVfVVJJXSB8fCBwcm9jZXNzLmVudltFTlZfQ01EU19GVUxMX1VSSV0pIHtcbiAgICByZXR1cm4gZnJvbUNvbnRhaW5lck1ldGFkYXRhKGluaXQpO1xuICB9XG5cbiAgaWYgKHByb2Nlc3MuZW52W0VOVl9JTURTX0RJU0FCTEVEXSkge1xuICAgIHJldHVybiAoKSA9PiBQcm9taXNlLnJlamVjdChuZXcgUHJvdmlkZXJFcnJvcihcIkVDMiBJbnN0YW5jZSBNZXRhZGF0YSBTZXJ2aWNlIGFjY2VzcyBkaXNhYmxlZFwiKSk7XG4gIH1cblxuICByZXR1cm4gZnJvbUluc3RhbmNlTWV0YWRhdGEoaW5pdCk7XG59O1xuIl19 |
{ | ||
"name": "@aws-sdk/credential-provider-node", | ||
"version": "3.13.0", | ||
"version": "3.13.1", | ||
"description": "AWS credential provider that sources credentials from a Node.JS environment. ", | ||
@@ -27,11 +27,11 @@ "engines": { | ||
"dependencies": { | ||
"@aws-sdk/credential-provider-env": "3.12.0", | ||
"@aws-sdk/credential-provider-imds": "3.12.0", | ||
"@aws-sdk/credential-provider-ini": "3.13.0", | ||
"@aws-sdk/credential-provider-process": "3.13.0", | ||
"@aws-sdk/credential-provider-sso": "3.13.0", | ||
"@aws-sdk/property-provider": "3.12.0", | ||
"@aws-sdk/shared-ini-file-loader": "3.12.0", | ||
"@aws-sdk/types": "3.12.0", | ||
"tslib": "^1.8.0" | ||
"@aws-sdk/credential-provider-env": "3.13.1", | ||
"@aws-sdk/credential-provider-imds": "3.13.1", | ||
"@aws-sdk/credential-provider-ini": "3.13.1", | ||
"@aws-sdk/credential-provider-process": "3.13.1", | ||
"@aws-sdk/credential-provider-sso": "3.13.1", | ||
"@aws-sdk/property-provider": "3.13.1", | ||
"@aws-sdk/shared-ini-file-loader": "3.13.1", | ||
"@aws-sdk/types": "3.13.1", | ||
"tslib": "^2.0.0" | ||
}, | ||
@@ -42,3 +42,3 @@ "devDependencies": { | ||
"jest": "^26.1.0", | ||
"typescript": "~4.1.2" | ||
"typescript": "~4.2.4" | ||
}, | ||
@@ -45,0 +45,0 @@ "types": "./dist/types/index.d.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
71666
+ Added@aws-sdk/abort-controller@3.13.1(transitive)
+ Added@aws-sdk/client-sso@3.13.1(transitive)
+ Added@aws-sdk/config-resolver@3.13.1(transitive)
+ Added@aws-sdk/credential-provider-env@3.13.1(transitive)
+ Added@aws-sdk/credential-provider-imds@3.13.1(transitive)
+ Added@aws-sdk/credential-provider-ini@3.13.1(transitive)
+ Added@aws-sdk/credential-provider-process@3.13.1(transitive)
+ Added@aws-sdk/credential-provider-sso@3.13.1(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.13.1(transitive)
+ Added@aws-sdk/fetch-http-handler@3.13.1(transitive)
+ Added@aws-sdk/hash-node@3.13.1(transitive)
+ Added@aws-sdk/invalid-dependency@3.13.1(transitive)
+ Added@aws-sdk/is-array-buffer@3.13.1(transitive)
+ Added@aws-sdk/middleware-content-length@3.13.1(transitive)
+ Added@aws-sdk/middleware-host-header@3.13.1(transitive)
+ Added@aws-sdk/middleware-logger@3.13.1(transitive)
+ Added@aws-sdk/middleware-retry@3.13.1(transitive)
+ Added@aws-sdk/middleware-serde@3.13.1(transitive)
+ Added@aws-sdk/middleware-stack@3.13.1(transitive)
+ Added@aws-sdk/middleware-user-agent@3.13.1(transitive)
+ Added@aws-sdk/node-config-provider@3.13.1(transitive)
+ Added@aws-sdk/node-http-handler@3.13.1(transitive)
+ Added@aws-sdk/property-provider@3.13.1(transitive)
+ Added@aws-sdk/protocol-http@3.13.1(transitive)
+ Added@aws-sdk/querystring-builder@3.13.1(transitive)
+ Added@aws-sdk/querystring-parser@3.13.1(transitive)
+ Added@aws-sdk/service-error-classification@3.13.1(transitive)
+ Added@aws-sdk/shared-ini-file-loader@3.13.1(transitive)
+ Added@aws-sdk/signature-v4@3.13.1(transitive)
+ Added@aws-sdk/smithy-client@3.13.1(transitive)
+ Added@aws-sdk/types@3.13.1(transitive)
+ Added@aws-sdk/url-parser@3.13.1(transitive)
+ Added@aws-sdk/util-base64-browser@3.13.1(transitive)
+ Added@aws-sdk/util-base64-node@3.13.1(transitive)
+ Added@aws-sdk/util-body-length-browser@3.13.1(transitive)
+ Added@aws-sdk/util-body-length-node@3.13.1(transitive)
+ Added@aws-sdk/util-buffer-from@3.13.1(transitive)
+ Added@aws-sdk/util-hex-encoding@3.13.1(transitive)
+ Added@aws-sdk/util-uri-escape@3.13.1(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.13.1(transitive)
+ Added@aws-sdk/util-user-agent-node@3.13.1(transitive)
+ Added@aws-sdk/util-utf8-browser@3.13.1(transitive)
+ Added@aws-sdk/util-utf8-node@3.13.1(transitive)
- Removed@aws-sdk/abort-controller@3.12.0(transitive)
- Removed@aws-sdk/client-sso@3.13.0(transitive)
- Removed@aws-sdk/config-resolver@3.12.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.12.0(transitive)
- Removed@aws-sdk/credential-provider-imds@3.12.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.13.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.13.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.13.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.12.0(transitive)
- Removed@aws-sdk/fetch-http-handler@3.12.0(transitive)
- Removed@aws-sdk/hash-node@3.12.0(transitive)
- Removed@aws-sdk/invalid-dependency@3.12.0(transitive)
- Removed@aws-sdk/is-array-buffer@3.12.0(transitive)
- Removed@aws-sdk/middleware-content-length@3.12.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.12.0(transitive)
- Removed@aws-sdk/middleware-logger@3.12.0(transitive)
- Removed@aws-sdk/middleware-retry@3.12.0(transitive)
- Removed@aws-sdk/middleware-serde@3.12.0(transitive)
- Removed@aws-sdk/middleware-stack@3.12.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.12.0(transitive)
- Removed@aws-sdk/node-config-provider@3.12.0(transitive)
- Removed@aws-sdk/node-http-handler@3.12.0(transitive)
- Removed@aws-sdk/property-provider@3.12.0(transitive)
- Removed@aws-sdk/protocol-http@3.12.0(transitive)
- Removed@aws-sdk/querystring-builder@3.12.0(transitive)
- Removed@aws-sdk/querystring-parser@3.12.0(transitive)
- Removed@aws-sdk/service-error-classification@3.12.0(transitive)
- Removed@aws-sdk/shared-ini-file-loader@3.12.0(transitive)
- Removed@aws-sdk/signature-v4@3.12.0(transitive)
- Removed@aws-sdk/smithy-client@3.12.0(transitive)
- Removed@aws-sdk/types@3.12.0(transitive)
- Removed@aws-sdk/url-parser@3.12.0(transitive)
- Removed@aws-sdk/util-base64-browser@3.12.0(transitive)
- Removed@aws-sdk/util-base64-node@3.12.0(transitive)
- Removed@aws-sdk/util-body-length-browser@3.12.0(transitive)
- Removed@aws-sdk/util-body-length-node@3.12.0(transitive)
- Removed@aws-sdk/util-buffer-from@3.12.0(transitive)
- Removed@aws-sdk/util-hex-encoding@3.12.0(transitive)
- Removed@aws-sdk/util-uri-escape@3.12.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.12.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.12.0(transitive)
- Removed@aws-sdk/util-utf8-browser@3.12.0(transitive)
- Removed@aws-sdk/util-utf8-node@3.12.0(transitive)
Updated@aws-sdk/types@3.13.1
Updatedtslib@^2.0.0