Skip to content

miniscore _.defaults works bad with nulls #41

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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