Skip to content

latest version not published to NPM despite NPM saying v1.4.0 #129

Closed
@Zireael

Description

@Zireael

Hi,
I see saveOffset() is missing in source code. Latest documentation for 1.4.0 reads that skip() was replaced by seek() but this is not correct.
I have "binary-parser": "^1.4.0" installed through Yarn/NPM in my project and was getting error that seek() is not a function. Renamed to skip() and I have working code.

image

Edit: looks like .saveOffset() is missing too. Seems that the package published for NPM https://www.npmjs.com/package/binary-parser is for an older version that is missing several functions mentioned in documentation..

Please push the package to NPM to align documentation with code. Several reported bugs here might have been caused by this issue.

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