glifio / wallet

Glif Wallet
https://wallet.glif.io
80 stars 32 forks source link

Bump cbor from 5.2.0 to 8.0.2 #882

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps cbor from 5.2.0 to 8.0.2.

Release notes

Sourced from cbor's releases.

Fix MIN_SAFE_INTEGER

Bugs:

  • Fixed #151: Update RFC link in readme
  • Fixed #155: The number -2^53 should be encoded as a float, not an integer

Minor:

  • Update dependencies
  • Linting updates

Features:

v8.0.0

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.

Commits


Dependabot compatibility score

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)
dependabot[bot] commented 2 years ago

Superseded by #900.