@aws-sdk/endpoint-cache 3.693.0 → 3.804.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +8 -6
- package/dist-es/EndpointCache.js +1 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -29,15 +29,19 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
29
29
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
30
|
|
|
31
31
|
// src/index.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
32
|
+
var index_exports = {};
|
|
33
|
+
__export(index_exports, {
|
|
34
34
|
EndpointCache: () => EndpointCache
|
|
35
35
|
});
|
|
36
|
-
module.exports = __toCommonJS(
|
|
36
|
+
module.exports = __toCommonJS(index_exports);
|
|
37
37
|
|
|
38
38
|
// src/EndpointCache.ts
|
|
39
39
|
var import_lru_cache = __toESM(require("mnemonist/lru-cache"));
|
|
40
|
-
var
|
|
40
|
+
var EndpointCache = class {
|
|
41
|
+
static {
|
|
42
|
+
__name(this, "EndpointCache");
|
|
43
|
+
}
|
|
44
|
+
cache;
|
|
41
45
|
constructor(capacity) {
|
|
42
46
|
this.cache = new import_lru_cache.default(capacity);
|
|
43
47
|
}
|
|
@@ -128,8 +132,6 @@ var _EndpointCache = class _EndpointCache {
|
|
|
128
132
|
this.cache.clear();
|
|
129
133
|
}
|
|
130
134
|
};
|
|
131
|
-
__name(_EndpointCache, "EndpointCache");
|
|
132
|
-
var EndpointCache = _EndpointCache;
|
|
133
135
|
// Annotate the CommonJS export names for ESM import in node:
|
|
134
136
|
|
|
135
137
|
0 && (module.exports = {
|
package/dist-es/EndpointCache.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/endpoint-cache",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.804.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
6
6
|
"build:cjs": "node ../../scripts/compilation/inline endpoint-cache",
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@tsconfig/recommended": "1.0.1",
|
|
29
|
-
"@types/node": "^
|
|
29
|
+
"@types/node": "^18.19.69",
|
|
30
30
|
"concurrently": "7.0.0",
|
|
31
31
|
"downlevel-dts": "0.10.1",
|
|
32
32
|
"rimraf": "3.0.2",
|
|
33
|
-
"typescript": "~
|
|
33
|
+
"typescript": "~5.8.3"
|
|
34
34
|
},
|
|
35
35
|
"engines": {
|
|
36
|
-
"node": ">=
|
|
36
|
+
"node": ">=18.0.0"
|
|
37
37
|
},
|
|
38
38
|
"typesVersions": {
|
|
39
39
|
"<4.0": {
|