superjson
superjson copied to clipboard
JSON serializer with support for custom Classes and more JavaScript built-in objects.
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.3 to 4.7.7. Changelog Sourced from handlebars's changelog. v4.7.7 - February 15th, 2021 fix weird error in integration tests - eb860c0 fix: check prototype property access in...
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. Changelog Sourced from ssri's changelog. 6.0.2 (2021-04-07) Bug Fixes backport regex change from 8.0.1 (b30dfdb), closes #19 Commits b7c8c7c chore(release): 6.0.2 b30dfdb fix: backport...
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. Commits c74c8af 1.3.7 024b8b5 update deps, add linting 032fbaf Use Object.create(null) to avoid default object property hazards 2da9039 1.3.6 cfea636 better git push script,...
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.15.8 to 9.18.5. Release notes Sourced from highlight.js's releases. 10.3.2 - Oops, "Javascript". Tiny tiny release, just to fix the website incorrectly not listing Javascript in the...
Adds SuperJSON to Axios for working with APIs easier. Proposed Usage: ```typescript import axios from 'axios' import { requestInterceptor, responseInterceptor } from '@onedeadpixel/superjson-axios' axios.interceptors.request.use(requestInterceptor) axios.interceptors.response.use(requestInterceptor) // or import '@onedeadpixel/superjson-axios/register' ```
This middleware will allow for SuperJSON to be used as part of an API server. Intial plan is to support Koa and Express. Proposed Usage ```typescript import Koa from 'koa'...
The synchronize utility would make working with state synchronization easier by preserving unchanged instances while replacing updated ones. It would follow the pure update style causing parents to be updated...
This would add support for [Immutable.js](https://immutable-js.github.io/immutable-js/) types as values. Proposed usage: ```typescript import SJSON from '@onedeadpixel/superjson' import * as Immutable from 'immutable' // In application setup import '@onedeadpixel/superjson-type-immutable-js/register' const data...
This would add support for Buffers as values. These would work like the Map, Set, and Date with no additional code for SJSON. Possible Issues: - Buffers are a Node...
This would add support for Symbols for both keys and values. Proposed usage: ```typescript import SJSON from '@onedeadpixel/superjson' import { CriticalSymbol } from 'some-package' // In application setup SJSON.symbols.add(CriticalSymbol) const...