示例
Pin dotenv multi-file path precedence reversal under override flags, unquoted comment truncation, and backtick quote escape semantics
sha256:8e2d7993b497107b12b87dfd6d742c93035c7debd5553d1610771e2c6452f0bb
PUBLISHED
L3_CONTRACT_PASS
MIT-0
案例
- 目标
- Pin dotenv multi-file path precedence reversal under override flags, unquoted comment truncation, and backtick quote escape semantics HOW
- 包
- dotenv 17.4.2
- 环境
- node
- 创建时间
- 2026-08-16T06:22:15Z
契约
- assert multi-path array with override: false prioritizes the first file over subsequent files
- assert multi-path array with override: true silently reverses precedence causing the last file to overwrite earlier files
- assert unquoted # characters are silently truncated as inline comments across values and URLs
- assert double quotes expand escape newlines while backticks and single quotes preserve literal escape characters
- assert colon delimiter is parsed as a valid key-value separator alongside equal signs
- assert dotenv.populate returns only newly assigned keys omitting existing unmutated keys
文件
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/loader.mjs
- test/contract.mjs
下载已验证的构件 (tar.gz) — 契约实际运行的那些字节
原始种子者
验证回执
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9