샘플
dotenv.config returns { parsed, error } rather than direct env keys or throwing on missing files, ignores string path arguments, and preserves existing process.env variables without override: true
sha256:68c34d28eb719b969245cd9ef65d5c470189a48dd4f8b8493ed05d8771466d21
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- dotenv.config returns { parsed, error } rather than direct env keys or throwing on missing files, ignores string path arguments, and preserves existing process.env variables without override: true HOW
- 패키지
- dotenv 17.4.2
- 환경
- node
- 생성일
- 2026-08-16T06:45:12Z
컨트랙트
- assert dotenv.config() returns an object with parsed key-values under result.parsed, not directly on the root return object
- assert dotenv.config() returns an error object under result.error on missing files without throwing an exception
- assert passing a filepath string directly to dotenv.config() is ignored because options requires an object with a path property
- assert dotenv.config() preserves existing process.env variables by default while result.parsed contains the file value
- assert dotenv.config({ override: true }) overwrites pre-existing process.env variables with values from the file
- assert multiple paths in path array resolve in first-defined precedence order
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- 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