@agnostack/env 2.0.0-canary.4 → 2.0.0-canary.5
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 +7 -0
- package/dist/env.js +1 -1
- package/dist/esm/env.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [2.0.0-canary.5](https://github.com/[secure]/env/compare/v2.0.0-canary.4...v2.0.0-canary.5) (2026-08-30)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* read the env cleanLowerEnv is given instead of process.env ([b9afcdc](https://github.com/[secure]/env/commit/b9afcdc27f3292d3b7e6030376a3eba25df787b3))
|
|
7
|
+
|
|
1
8
|
# [2.0.0-canary.4](https://github.com/[secure]/env/compare/v2.0.0-canary.3...v2.0.0-canary.4) (2026-08-28)
|
|
2
9
|
|
|
3
10
|
|
package/dist/env.js
CHANGED
|
@@ -52,7 +52,7 @@ const cleanEnv = (_env, keyValidator = exports.nextKeyValidator) => (Object.entr
|
|
|
52
52
|
* @param {(envKey: string) => boolean} [keyValidator]
|
|
53
53
|
* @returns {Record<string, string | undefined>}
|
|
54
54
|
*/
|
|
55
|
-
const cleanLowerEnv = (_env, keyValidator = exports.lowerKeyValidator) => (cleanEnv(
|
|
55
|
+
const cleanLowerEnv = (_env, keyValidator = exports.lowerKeyValidator) => (cleanEnv(_env, keyValidator));
|
|
56
56
|
exports.cleanLowerEnv = cleanLowerEnv;
|
|
57
57
|
/**
|
|
58
58
|
* @param {Record<string, string | undefined> | undefined} _env
|
package/dist/esm/env.js
CHANGED
|
@@ -46,7 +46,7 @@ const cleanEnv = (_env, keyValidator = nextKeyValidator) => (Object.entries(_env
|
|
|
46
46
|
* @param {(envKey: string) => boolean} [keyValidator]
|
|
47
47
|
* @returns {Record<string, string | undefined>}
|
|
48
48
|
*/
|
|
49
|
-
export const cleanLowerEnv = (_env, keyValidator = lowerKeyValidator) => (cleanEnv(
|
|
49
|
+
export const cleanLowerEnv = (_env, keyValidator = lowerKeyValidator) => (cleanEnv(_env, keyValidator));
|
|
50
50
|
/**
|
|
51
51
|
* @param {Record<string, string | undefined> | undefined} _env
|
|
52
52
|
* @param {(envKey: string) => boolean} [keyValidator]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnostack/env",
|
|
3
|
-
"version": "2.0.0-canary.
|
|
3
|
+
"version": "2.0.0-canary.5",
|
|
4
4
|
"author": "agnoStack Dev <developers@agnostack.com> (https://agnostack.com)",
|
|
5
5
|
"owner": "agnoStack",
|
|
6
6
|
"description": "Please contact agnoStack via info@agnostack.com for any questions",
|