Skip to content

crash when parsing array of timestamps #10

@dorzechowski-r7

Description

@dorzechowski-r7

I receive the error RangeError: Invalid array length when attempting to parse this object:

{ foo: [ Date.now() ] }

this is because milliseconds since epoch is > 2**32 - 1, and Array.apply(null, object) (line 44) doesn't seem to like that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions