@63klabs/cache-data 1.2.6 → 1.2.7
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/CHANGELOG.md +2 -1
- package/package.json +1 -1
- package/src/lib/dao-cache.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,7 @@ Report all vulnerabilities under the [Security menu](https://github.com/63Klabs/
|
|
|
8
8
|
|
|
9
9
|
> Note: This project is still in beta. Even though changes are tested and breaking changes are avoided, things may break.
|
|
10
10
|
|
|
11
|
-
## 1.2.
|
|
11
|
+
## 1.2.7 (2025-07-15)
|
|
12
12
|
|
|
13
13
|
### Enhancements
|
|
14
14
|
|
|
@@ -17,6 +17,7 @@ Report all vulnerabilities under the [Security menu](https://github.com/63Klabs/
|
|
|
17
17
|
|
|
18
18
|
### Fixes
|
|
19
19
|
|
|
20
|
+
- Fixed variable misname in cache S3 init from v1.2.6
|
|
20
21
|
- Addressed deprecation warnings (handled by Amazon Q Developer):
|
|
21
22
|
- Eliminated Warnings:
|
|
22
23
|
- @extra-number/significant-digits@1.3.9 - REMOVED by eliminating lambda-tester
|
package/package.json
CHANGED
package/src/lib/dao-cache.js
CHANGED
|
@@ -68,7 +68,7 @@ class S3Cache {
|
|
|
68
68
|
|
|
69
69
|
static init(bucket = null) {
|
|
70
70
|
if ( S3Cache.getBucket() === null ) {
|
|
71
|
-
bucket = (bucket === null) ? process.env?.
|
|
71
|
+
bucket = (bucket === null) ? process.env?.CACHE_DATA_S3_BUCKET || null : bucket;
|
|
72
72
|
if (bucket === null || bucket === "") {
|
|
73
73
|
tools.DebugAndLog.error("Unable to initialize S3 Bucket for Cache. No bucket name provided.");
|
|
74
74
|
throw new Error("Unable to initialize S3 Cache. No bucket name provided. Please set the CACHE_DATA_S3_BUCKET environment variable or pass a bucket name to S3Cache.init().");
|