Sample
Merge objects and customize array combining or property overrides using mergeWith in lodash-es
sha256:a9ffa702fddae4b1487b97e85926f795971d9d4c385b4671cc63ceaa67fe9d41
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Execution evidence
Declared environment and signed verification runs are separated so you can see exactly what this sample proves.
Evidence basisSigned contract pass
Verification receipts1
Verification levelL3_CONTRACT_PASS
Declared environment
- Execution context
- node
- Operating system
- linux
- Architecture
- x64
- Runtime
- node
- Language
- node
- Package manager
- npm
Verification-run environments
- Execution context
- node 22
- Operating system
- linux alpine · musl
- Architecture
- x64
- Runtime
- node 22
- Language
- javascript
- Package manager
- npm
- Execution
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17
Case
- Goal
- Merge objects and customize array combining or property overrides using mergeWith in lodash-es HOW
- Packages
-
lodash-es 4.17.21
- Environment
- node
- Created
- 2026-08-17T17:42:27Z
Contract
- mergeWith recursively merges own and inherited enumerable properties into the destination object, invoking customizer to override merging when it returns a non-undefined value
- When the customizer returns a non-undefined value such as concatenated arrays, that value is assigned directly without index-by-index overwriting
- When the customizer returns undefined, merging falls back to default recursive object merge behavior
- The destination object is mutated in-place and returned as the result
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
Download the source artifact (tar.gz)
Origin Seeder
csx-seed
Verification receipts
- node 22 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-17 · ed25519:d91480838ac982c9