digitalbazaar / cborld

A Javascript CBOR-LD processor for web browsers and Node.js apps.
https://json-ld.github.io/cbor-ld-spec/
BSD 3-Clause "New" or "Revised" License
21 stars 17 forks source link

TypeError: BigNumber is not a constructor #28

Closed OR13 closed 3 years ago

OR13 commented 3 years ago

Steps to reproduce:

npm i @digitalbazaar/cborld@3.1.1

https://github.com/digitalbazaar/cborld#encode-to-cbor-ld

On node v14.15.5

Appears to be thrown by your wrapper around cbor.... node_modules/@digitalbazaar/cbor/lib/util.js:1

OR13 commented 3 years ago

sigh, appears to be caused by jest.