@aws-sdk/endpoint-cache
Advanced tools
Comparing version 3.23.0 to 3.29.0
@@ -6,2 +6,10 @@ # Change Log | ||
# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02) | ||
**Note:** Version bump only for package @aws-sdk/endpoint-cache | ||
# [3.23.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.22.0...v3.23.0) (2021-07-23) | ||
@@ -8,0 +16,0 @@ |
@@ -5,3 +5,3 @@ "use strict"; | ||
const tslib_1 = require("tslib"); | ||
const lru_cache_1 = tslib_1.__importDefault(require("mnemonist/lru-cache")); | ||
const lru_cache_1 = (0, tslib_1.__importDefault)(require("mnemonist/lru-cache")); | ||
class EndpointCache { | ||
@@ -100,2 +100,2 @@ constructor(capacity) { | ||
exports.EndpointCache = EndpointCache; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW5kcG9pbnRDYWNoZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9FbmRwb2ludENhY2hlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSw0RUFBMkM7QUFRM0MsTUFBYSxhQUFhO0lBR3hCLFlBQVksUUFBZ0I7UUFDMUIsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLG1CQUFRLENBQUMsUUFBUSxDQUFDLENBQUM7SUFDdEMsQ0FBQztJQUVEOzs7OztPQUtHO0lBQ0gsV0FBVyxDQUFDLEdBQVc7UUFDckIsTUFBTSxtQkFBbUIsR0FBRyxJQUFJLENBQUMsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQzFDLElBQUksQ0FBQyxtQkFBbUIsSUFBSSxtQkFBbUIsQ0FBQyxNQUFNLEtBQUssQ0FBQyxFQUFFO1lBQzVELE9BQU8sU0FBUyxDQUFDO1NBQ2xCO1FBQ0QsTUFBTSxTQUFTLEdBQUcsbUJ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3RyaW5nfSBrZXlcbiAgICogQHJldHVybnMge2Jvb2xlYW59XG4gICAqL1xuICBoYXMoa2V5OiBzdHJpbmcpOiBib29sZWFuIHtcbiAgICBpZiAoIXRoaXMuY2FjaGUuaGFzKGtleSkpIHtcbiAgICAgIHJldHVybiBmYWxzZTtcbiAgICB9XG5cbiAgICAvLyBSZW1vdmUgY2FsbCBmb3IgcGVlaywgb25jZSByZW1vdmUvZGVsZXRlIHN1cHBvcnQgaXMgYWRkZWQgdXBzdHJlYW1cbiAgICAvLyBSZWZzOiBodHRwczovL2dpdGh1Yi5jb20vWW9tZ3VpdGhlcmVhbC9tbmVtb25pc3QvaXNzdWVzLzE0M1xuICAgIGNvbnN0IGVuZHBvaW50cyA9IHRoaXMuY2FjaGUucGVlayhrZXkpO1xuICAgIGlmICghZW5kcG9pbnRzKSB7XG4gICAgICByZXR1cm4gZmFsc2U7XG4gICAgfVxuICAgIHJldHVybiBlbmRwb2ludHMubGVuZ3RoID4gMDtcbiAgfVxuXG4gIC8qKlxuICAgKiBDbGVhcnMgdGhlIGNhY2hlLlxuICAgKi9cbiAgY2xlYXIoKSB7XG4gICAgdGhpcy5jYWNoZS5jbGVhcigpO1xuICB9XG59XG4iXX0= |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
tslib_1.__exportStar(require("./Endpoint"), exports); | ||
tslib_1.__exportStar(require("./EndpointCache"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEscURBQTJCO0FBQzNCLDBEQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL0VuZHBvaW50XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9FbmRwb2ludENhY2hlXCI7XG4iXX0= | ||
(0, tslib_1.__exportStar)(require("./Endpoint"), exports); | ||
(0, tslib_1.__exportStar)(require("./EndpointCache"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQTJCO0FBQzNCLCtEQUFnQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gXCIuL0VuZHBvaW50XCI7XG5leHBvcnQgKiBmcm9tIFwiLi9FbmRwb2ludENhY2hlXCI7XG4iXX0= |
{ | ||
"name": "@aws-sdk/endpoint-cache", | ||
"version": "3.23.0", | ||
"version": "3.29.0", | ||
"scripts": { | ||
@@ -27,3 +27,3 @@ "build:cjs": "tsc -p tsconfig.cjs.json", | ||
"jest": "^26.1.0", | ||
"typescript": "~4.3.2" | ||
"typescript": "~4.4.2" | ||
}, | ||
@@ -30,0 +30,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
82027