Skip to content

The 0.1.1 version on npm is not the same as v0.1.1 on GitHub #16

@kensnyder

Description

@kensnyder

I installed via npm and see that the source code is different from the current master which shows a value of 0.1.1 in the package.json file.

I prefer the GitHub version because it ignores undefined values instead of the npm version which throws exceptions:

            undefined: function (x) {
                throw new Error("rison can't encode the undefined value");
            }

I don't know if the npm version is older or newer. I don't know if the behavior of ignoring undefined values is what you want moving forward. So for now, I'm going to put the GitHub repo and commit version in my own package.json.

It would be great to have the two sync'ed, and, if possible, keep the behavior of ignoring undefined values. It is not a simple task to recursively remove all the undefined values by hand. Ignoring in the parser makes the most sense.

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