@63klabs/cache-data 1.2.9 → 1.2.10
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 +1 -1
- package/package.json +1 -1
- package/src/lib/tools/AWS.classes.js +3 -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.10 (2025-07-15)
|
|
12
12
|
|
|
13
13
|
### Enhancements
|
|
14
14
|
|
package/package.json
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
const isTrue = (value) => {
|
|
2
|
-
return (value !== null && typeof value !== 'undefined' &&
|
|
2
|
+
return (value !== null && typeof value !== 'undefined' &&
|
|
3
|
+
(value === true || value === 1 || value === "1" ||
|
|
4
|
+
(typeof value === 'string' && value.toLowerCase() === "true")));
|
|
3
5
|
};
|
|
4
6
|
|
|
5
7
|
const AWSXRay = (isTrue(process.env?.CacheData_AWSXRayOn) || isTrue(process.env?.CACHE_DATA_AWS_X_RAY_ON) ) ? require("aws-xray-sdk-core") : null;
|