@aws-sdk/shared-ini-file-loader
Advanced tools
Comparing version 1.0.0-beta.4 to 1.0.0-gamma.1
@@ -19,5 +19,3 @@ "use strict"; | ||
.catch(swallowError), | ||
slurpFile(filepath) | ||
.then(parseIni) | ||
.catch(swallowError) | ||
slurpFile(filepath).then(parseIni).catch(swallowError) | ||
]).then(function (parsedFiles) { | ||
@@ -92,2 +90,2 @@ var configFile = parsedFiles[0], credentialsFile = parsedFiles[1]; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiLi9zcmMvIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLHlCQUE2QjtBQUM3Qiw2QkFBaUM7QUFDakMseUJBQThCO0FBRWpCLFFBQUEsb0JBQW9CLEdBQUcsNkJBQTZCLENBQUM7QUFDckQsUUFBQSxlQUFlLEdBQUcsaUJBQWlCLENBQUM7QUErQmpELElBQU0sWUFBWSxHQUFHLGNBQU0sT0FBQSxDQUFDLEVBQUUsQ0FBQyxFQUFKLENBQUksQ0FBQztBQUVoQyxTQUFnQixxQkFBcUIsQ0FDbkMsSUFBMkI7SUFBM0IscUJBQUEsRUFBQSxTQUEyQjtJQUd6QixJQUFBLGtCQUMyQyxFQUQzQzs2REFDMkMsRUFDM0Msd0JBQ3NDLEVBRHRDO3dEQUNzQyxDQUMvQjtJQUVULE9BQU8sT0FBTyxDQUFDLEdBQUcsQ0FBQztRQUNqQixTQUFTLENBQUMsY0FBYyxDQUFDO2FBQ3RCLElBQUksQ0FBQyxRQUFRLENBQUM7YUFDZCxJQUFJLENBQUMsbUJBQW1CLENBQUM7YUFDekIsS0FBSyxDQUFDLFlBQVksQ0FBQztRQUN0QixTQUFTLENBQUMsUUFBUSxDQUFDO2FBQ2hCLElBQUksQ0FBQyxRQUFRLENBQUM7YUFDZCxLQUFLLENBQUMsWUFBWSxDQUFDO0t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lBST0ZJTEU7XG4gIGlmIChIT01FUEFUSCkgcmV0dXJuIGAke0hPTUVEUklWRX0ke0hPTUVQQVRIfWA7XG5cbiAgcmV0dXJuIGhvbWVkaXIoKTtcbn1cbiJdfQ== |
@@ -6,2 +6,57 @@ # Change Log | ||
# [1.0.0-gamma.1](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/shared-ini-file-loader@0.1.0-preview.1...@aws-sdk/shared-ini-file-loader@1.0.0-gamma.1) (2020-05-21) | ||
### Features | ||
* bump up to gamma version ([#1192](https://github.com/aws/aws-sdk-js-v3/issues/1192)) ([a609075](https://github.com/aws/aws-sdk-js-v3/commit/a6090754f2a6c21e5b70bf0c8782cc0fbe59ee12)) | ||
# 1.0.0-beta.4 (2020-04-25) | ||
# 1.0.0-beta.2 (2020-03-28) | ||
# 1.0.0-beta.1 (2020-03-25) | ||
### Features | ||
* bump packages to beta ([#1050](https://github.com/aws/aws-sdk-js-v3/issues/1050)) ([40501d4](https://github.com/aws/aws-sdk-js-v3/commit/40501d4394d04bc1bc91c10136fa48b1d3a67d8f)) | ||
# 1.0.0-alpha.28 (2020-03-20) | ||
# 0.9.0 (2020-01-09) | ||
# 0.3.0 (2019-09-09) | ||
### Features | ||
* commit all clients ([#324](https://github.com/aws/aws-sdk-js-v3/issues/324)) ([cb268ed](https://github.com/aws/aws-sdk-js-v3/commit/cb268ed45fd5580ef9633da78f13aaa6aa472805)) | ||
# 0.2.0 (2019-07-12) | ||
### Features | ||
* add npm badges for individual packages ([#251](https://github.com/aws/aws-sdk-js-v3/issues/251)) ([8adc10c](https://github.com/aws/aws-sdk-js-v3/commit/8adc10cb6b0ebc32004b797556bfc171c96bbf16)) | ||
* update jest v20 to v24 ([#243](https://github.com/aws/aws-sdk-js-v3/issues/243)) ([1e156ab](https://github.com/aws/aws-sdk-js-v3/commit/1e156ab4ac5343058eaf7d448a428d8c4b72c844)) | ||
# [1.0.0-beta.4](https://github.com/aws/aws-sdk-js-v3/compare/@aws-sdk/shared-ini-file-loader@0.1.0-preview.1...@aws-sdk/shared-ini-file-loader@1.0.0-beta.4) (2020-04-27) | ||
@@ -8,0 +63,0 @@ |
{ | ||
"name": "@aws-sdk/shared-ini-file-loader", | ||
"version": "1.0.0-beta.4", | ||
"version": "1.0.0-gamma.1", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "tslib": "^1.8.0" |
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
36634
134