Releases: hildjj/node-cbor
Releases · hildjj/node-cbor
v7.0.4
Add omitUndefinedProperties, RFC 8746
When encoding objects or Maps, and the option omitUndefinedProperties
is given, omit properties whose value is `undefined. Also added partial support for RFC 8746.
Lint fixes found a few minor issues
When migrating to a shared, more-comprehensive set of lint rules (see repo), I found a few very minor issues (e.g. places where I was using ==
and meant ===
). Hopefully no impactful changes here.
cbor-web and a monorepo
For most of you trying to use cbor
on the web, you should now depend on cbor-web
instead. It's pre-minified, batteries-included. If you are using some of the other pre-reqs that cbor-web
does (buffer, process, etc.), then you can look at the examples in the repo to get ideas of how to include cbor
directly.