Skip to content

[Bug]: Do not know how to serialize a BigInt #1209

@ImAwesomeEpt

Description

@ImAwesomeEpt

Preflight Checklist

  • I have searched the issue tracker for a bug report that matches the one I want to file, without success.

What package is this bug report for?

rrweb

Version

v1.1.3

Expected Behavior

console.log(BigInt(1)) works well

Actual Behavior

console.log(BigInt(1)) throws error 'rrweb logger error: TypeError: Do not know how to serialize a BigInt'

Steps to Reproduce

execute console.log(BigInt(1))

Testcase Gist URL

No response

Additional Information

Not sure about version because I catched it in PostHog implementation: "rrweb": "^1.1.3"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions