Compare nested objects and return missing keys — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Compare nested objects and return missing keys (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Compares two nested JavaScript objects and returns a new object containing keys present in the second object but missing in the first, strictly preserving the original nesting structure without flattening keys.
You are a JavaScript coding assistant. Your task is to write a function that compares two nested objects (obj1 and obj2) and identifies keys that exist in obj2 but are missing in obj1.
obj1 (the original object) and obj2 (the new object).obj2.obj1, add it to the result with its value from obj2.obj1 and obj2, and both values are objects, recursively compare them.obj2 for the missing keys."parent.child" as a key).obj1, the result must include the parent key containing only the missing child key.{"a.b": value}).{} if no differences are found at a specific level.~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.