Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

dottie.paths fails on empty objects #34

@papb

Description

@papb

Currently dottie.paths is not working properly with nested empty objects:

console.log(dottie.paths({ a: 1, b: {} }));

Expected: ['a', 'b']
Actual: ['a']

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions