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

Bumps [terser](https://github.com/terser/terser) from 4.8.0 to 4.8.1. Changelog Sourced from terser's changelog. v4.8.1 (backport) Security fix for RegExps that should not be evaluated (regexp DDOS) Commits See full diff in compare...

dependencies

Recent benchmarks against a similar library, [devalue](https://github.com/Rich-Harris/devalue), read as follows: ``` superjson output: 179 bytes devalue output: 116 bytes () => superjson.stringify(obj) 1000000 iterations in 21005ms () => devalue(obj) 1000000...

Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0. Release notes Sourced from jsdom's releases. Version 16.7.0 Added AbortSignal.abort(). (ninevra) Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)...

dependencies

The goal is to register a class via superJson on the server and then use it in the client. I have registered the error class via superJson in the _app...

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

Add @donavon as a contributor for doc. This was requested by donavon [in this comment](https://github.com/blitz-js/superjson/pull/174#issuecomment-1066169283)

this allows the creation of individual superjson instances, so there can be multiple different configurations. it keeps the global instance in place for backwards compatibility, and b/c most users will...

Superjson is right now in a global scope - is there a design reason for this? I'd see useage being like this ```ts // utils/sj.ts import {superjson} from 'superjson' export...

I am working with Next.js, after adding `["superjson-next"]` All hooks that uses default exports, will result in error, when imported in page components. ``` TSX // ./pages/somepage.tsx import useCustomHook from...