@agnostack/env 2.0.0-canary.4 → 2.0.0-canary.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 CHANGED
@@ -1,65 +1,3 @@
1
- # [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
-
3
-
4
- ### Bug Fixes
5
-
6
- * anchor the flag-marker strip so only a leading -- is removed ([ad48341](https://github.com/[secure]/env/commit/ad4834116a15eafec33414f9b16acd669c212d64))
7
-
8
- # [2.0.0-canary.3](https://github.com/[secure]/env/compare/v2.0.0-canary.2...v2.0.0-canary.3) (2026-08-28)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * updated to test pin appName derivation on the first hyphen and override ([d83c6b5](https://github.com/[secure]/env/commit/d83c6b5c41d2a4b7135bfa8dd7dad65b083f2805))
14
-
15
-
16
- ### Features
17
-
18
- * return argEntries so callers can forward what they did not consume ([b9dba14](https://github.com/[secure]/env/commit/b9dba140330bb2684f91911512556bbcd355942a))
19
-
20
- # [2.0.0-canary.2](https://github.com/[secure]/env/compare/v2.0.0-canary.1...v2.0.0-canary.2) (2026-08-16)
21
-
22
-
23
- ### Bug Fixes
24
-
25
- * drop the deprecated dependency tail from the release toolchain ([d9dcd27](https://github.com/[secure]/env/commit/d9dcd27e191f9420db8eb4b081899692fa6b6f29))
26
- * pin peer installs off and stop typecheck from being able to emit ([0c66682](https://github.com/[secure]/env/commit/0c666829b8174cdccad42c43c453a531a14873cc))
27
-
28
-
29
- ### Features
30
-
31
- * migrate from yarn to pnpm ([faedf1c](https://github.com/[secure]/env/commit/faedf1cfdbd82910cec5acd264a53fa0e1028b21))
32
-
33
- # [2.0.0-canary.1](https://github.com/[secure]/env/compare/v1.3.0...v2.0.0-canary.1) (2026-08-16)
34
-
35
-
36
- ### Bug Fixes
37
-
38
- * check every exports target exists in verify:dist ([3cab3fa](https://github.com/[secure]/env/commit/3cab3fad76ab00c0acfc513f73e899f4707f246b))
39
- * drop rimraf for node's built-in recursive delete ([c8f99f9](https://github.com/[secure]/env/commit/c8f99f931d908a94febdb5a34b0f1c66a2d7c97c))
40
- * enable composite builds to match verifyd ([695de68](https://github.com/[secure]/env/commit/695de68d2e7142c43d0ac84a6c0cfcf05ee00249))
41
- * enable strict type checking and remove any from published types ([fa48be5](https://github.com/[secure]/env/commit/fa48be5c61d0842ea4e2b8fb150b39a5cf697cec))
42
- * enforce the ^_ unused-arg convention ([231ab05](https://github.com/[secure]/env/commit/231ab05e0c54b6775fd01ed4caf757569659dcd6))
43
- * keep argv values containing "=" intact ([0d0c656](https://github.com/[secure]/env/commit/0d0c6561755c17a40ad98836f0e7433c95de98c4))
44
- * make tsconfig.json the check config so editors cover the specs ([bd1c2fa](https://github.com/[secure]/env/commit/bd1c2fae335e752ae86a94720e8598bcc8be70cd))
45
- * resolve modules with node16 ([72da476](https://github.com/[secure]/env/commit/72da476837def9b5f6148673be21fa0e51f4648e))
46
- * run clean without depending on node_modules ([18dcbfe](https://github.com/[secure]/env/commit/18dcbfe6fb2ab19e1e63d449e2c8deff8a40e217))
47
-
48
-
49
- ### Features
50
-
51
- * add ./esm subpath export ([b8a9732](https://github.com/[secure]/env/commit/b8a9732800af1977598a906b35672366658bb25f))
52
- * declare the package side-effect free ([0a18234](https://github.com/[secure]/env/commit/0a18234a5ba2096783592fd79a51dc598f569f81))
53
- * guard publishes against source leaks and unloadable ESM ([dce6d83](https://github.com/[secure]/env/commit/dce6d837b4fe5151fa3d508aa1f1fe2b6e163a3b))
54
- * migrate eslint to v9 flat config ([eecca88](https://github.com/[secure]/env/commit/eecca88c9cd95cd792cd1d989cedf881affdeaaa))
55
- * migrate the test suite from jest to vitest ([1e49534](https://github.com/[secure]/env/commit/1e49534005201926aba758efb9314534bcc383a8))
56
- * require node 22 ([9c3f0d9](https://github.com/[secure]/env/commit/9c3f0d9eba1cf18356570bcc2897642ff065c0ce))
57
-
58
-
59
- ### BREAKING CHANGES
60
-
61
- * the minimum supported node is now 22.
62
-
63
1
  # [1.3.0](https://github.com/agnostack/env/compare/v1.2.6...v1.3.0) (2025-08-20)
64
2
 
65
3
 
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(process.env, keyValidator));
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(process.env, keyValidator));
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.4",
3
+ "version": "2.0.0-canary.7",
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",