@aws-sdk/util-middleware
Advanced tools
Comparing version 3.186.0 to 3.188.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.188.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.187.0...v3.188.0) (2022-10-13) | ||
**Note:** Version bump only for package @aws-sdk/util-middleware | ||
# [3.186.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.185.0...v3.186.0) (2022-10-06) | ||
@@ -8,0 +16,0 @@ |
@@ -1,6 +0,6 @@ | ||
export var normalizeProvider = function (input) { | ||
export const normalizeProvider = (input) => { | ||
if (typeof input === "function") | ||
return input; | ||
var promisified = Promise.resolve(input); | ||
return function () { return promisified; }; | ||
const promisified = Promise.resolve(input); | ||
return () => promisified; | ||
}; |
{ | ||
"name": "@aws-sdk/util-middleware", | ||
"version": "3.186.0", | ||
"version": "3.188.0", | ||
"description": "Shared utilities for to be used in middleware packages.", | ||
@@ -30,3 +30,3 @@ "main": "./dist-cjs/index.js", | ||
"devDependencies": { | ||
"@aws-sdk/types": "3.186.0", | ||
"@aws-sdk/types": "3.188.0", | ||
"@tsconfig/recommended": "1.0.1", | ||
@@ -33,0 +33,0 @@ "@types/node": "^10.0.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
17470