Skip to content

miniscore _.defaults works bad with nulls #41

Open
@0xF013

Description

@0xF013

https://github.com/weluse/hyperagent/blob/master/lib/hyperagent/miniscore.js#L76
this line causes null properties returned after a forces fetch to not overwrite the old value. Lodash's _.defaults only checks for undefined and has nulls as acceptable values

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions