superjson icon indicating copy to clipboard operation
superjson copied to clipboard

Safely serialize JavaScript expressions to a superset of JSON, which includes Dates, BigInts, and more.

Results 45 superjson issues
Sort by recently updated
recently updated
newest added

According to the resolution of https://github.com/blitz-js/superjson/issues/144 sending binary data as base64 is supported by superjson. However, I could not find this mentioned anywhere in the documentation. It would be good...

when i stringify anything i get `json` and `meta` (or sometimes just `json`) like this ```ts stringify({ flasjhdfojha: 45234524, fadsfasd: { fasfd: { dfasdfasdf: { fasdfasd: 341234123, date: new Date()...

Resolves https://github.com/blitz-js/superjson/pull/247#discussion_r1263815919 Not sure how you wanna do regarding semver?

This is your biweekly update of **all** Yarn dependencies. Please take a good look at what changed and the test results before merging this pull request. ### What changed? ✳️...

depfu

Like PlainDate and more https://tc39.es/proposal-temporal/docs/plaindate.html

Currently superjson does not export commonjs, only ESM. It would be great to support both formats. Our package that we use superjson in supports both formats and having superjson be...

Cross-posting https://github.com/t3-oss/create-t3-turbo/issues/1110 to get your eyes on it 😉 It looks like superjson silently fails to deserialize `Date` objects in edge runtimes, only in TRPC mutations (not queries). More details...

It doesn't take much to support CJS, and it really helps the community with large applications and projects that continue to use this package. #### Explanation I'm not going to...

First off this is a great library, has been a huge help for working with electron-trpc. One thing I noticed recently was that when we pass `Error` objects through the...

`Float64Array` accepts only numbers, `null` is not a valid value for this type. Unfortunatelly `NaN` values within the array are serialised as `null`, which then naturally comes back after deserialising...