Skip to content

Doesn't support async functions #67

@wessberg

Description

@wessberg

Consider:

const objectHash = require("object-hash");
objectHash(async function foo () {}); // Error: Unknown object type "asyncfunction"

This breaks usage with untranspiled code (node v7.4.0 and above as well as any ES2017+ compatible browser)

I've added a PR: #68

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions