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.
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:
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.