cbor-x icon indicating copy to clipboard operation
cbor-x copied to clipboard

Ultra-fast CBOR encoder/decoder with extensions for records and structural cloning

Results 45 cbor-x issues
Sort by recently updated
recently updated
newest added

Hello! When building a project I am seeing the following compiler issues from TS: ``` node_modules/cbor-x/index.d.ts:1:58 - error TS2305: Module '"./decode.js"' has no exported member 'clearSource'. 1 export { Decoder,...

Hello! Thank you for the great library! I am seeing the following warning in NodeJS: ``` console.warn For browser usage, directly use cbor-x/decode or cbor-x/encode modules. The argument 'filename' must...

Is the `esbuild` package used? If not, I guess we might want to remove it from package.json/dependencies as it's size is about 8MB in the production image.

Decoding currently errors out on Safari 14 and below because they don't have `BigUint64Array`

Do you have any plans to support this? https://datatracker.ietf.org/doc/draft-ietf-cbor-packed/ I could be up for contributing this, WDYT?

`cbor-x` Decoder stream will happily decode and push a `null` value in to the decoder stream, causing the stream to terminate. This can create nasty edge cases where users might...

Hi again, There is a strange error when I'm using CBOR. But the error is not consistent and I can't reproduce it in my env, only on Github Actions CI....

Currently ```javascript const obj1 = { a: "A", b: "B", c: "C" }; const obj2 = { c: "C", b: "B", a: "A" }; ``` serialize to different CBOR bytes...

Hi @kriszyp I am trying to use this package on env other than node and browser which doesn't have global or any browser/node based functions. Executing on V8 gives undefined...