breaking: now requires node 12+
breaking: removed bigfloat and bigdecimal support. Moved to cbor-bigdecimal package
minor: upgrade to ava 4. Biggest issue was removal of .cb() tests in favor of promises, which added a p-event dependency.
minor: updated and improved typescript type definitions
minor: removed all uses of util and node-inspect-extracted from the library and dependents
minor: make all tests run on Windows, build steps run on Windows
minor: bring lint rules up to date
v7.0.4
Works on Safari
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.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps cbor from 5.2.0 to 8.0.0.
Release notes
Sourced from cbor's releases.
Commits
93d1147
v8.0.086696c1
Require node 12 (#150)e3b17d1
v7.0.62dc5fa6
Lintb6eb9f1
Add more docs on replacing tag decoders. Fixes #146.2829571
Update dependencies. Remove checkversion.2613cbc
v7.0.5f50d4d2
Update README, remove david-dm because it's downaa0ec1f
Add test, web compile605f46b
Switch to Map rather than Object for edge caseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)