Comparing version 1.12.0 to 1.12.1
@@ -32,1 +32,5 @@ import { SuperJSONResult, SuperJSONValue, Class, JSONValue } from './types'; | ||
export declare const parse: <T = unknown>(string: string) => T; | ||
export declare const registerClass: (v: Class, options?: string | RegisterOptions | undefined) => void; | ||
export declare const registerCustom: <I, O extends JSONValue>(transformer: Omit<CustomTransfomer<I, O>, "name">, name: string) => void; | ||
export declare const registerSymbol: (v: Symbol, identifier?: string | undefined) => void; | ||
export declare const allowErrorProps: (...props: string[]) => void; |
@@ -110,2 +110,6 @@ var __assign = (this && this.__assign) || function () { | ||
export var parse = SuperJSON.parse; | ||
export var registerClass = SuperJSON.registerClass; | ||
export var registerCustom = SuperJSON.registerCustom; | ||
export var registerSymbol = SuperJSON.registerSymbol; | ||
export var allowErrorProps = SuperJSON.allowErrorProps; | ||
//# sourceMappingURL=index.js.map |
@@ -32,1 +32,5 @@ import { SuperJSONResult, SuperJSONValue, Class, JSONValue } from './types'; | ||
export declare const parse: <T = unknown>(string: string) => T; | ||
export declare const registerClass: (v: Class, options?: string | RegisterOptions | undefined) => void; | ||
export declare const registerCustom: <I, O extends JSONValue>(transformer: Omit<CustomTransfomer<I, O>, "name">, name: string) => void; | ||
export declare const registerSymbol: (v: Symbol, identifier?: string | undefined) => void; | ||
export declare const allowErrorProps: (...props: string[]) => void; |
@@ -35,3 +35,3 @@ "use strict"; | ||
exports.__esModule = true; | ||
exports.parse = exports.stringify = exports.deserialize = exports.serialize = void 0; | ||
exports.allowErrorProps = exports.registerSymbol = exports.registerCustom = exports.registerClass = exports.parse = exports.stringify = exports.deserialize = exports.serialize = void 0; | ||
var class_registry_1 = require("./class-registry"); | ||
@@ -114,2 +114,6 @@ var registry_1 = require("./registry"); | ||
exports.parse = SuperJSON.parse; | ||
exports.registerClass = SuperJSON.registerClass; | ||
exports.registerCustom = SuperJSON.registerCustom; | ||
exports.registerSymbol = SuperJSON.registerSymbol; | ||
exports.allowErrorProps = SuperJSON.allowErrorProps; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"version": "1.12.0", | ||
"version": "1.12.1", | ||
"license": "MIT", | ||
@@ -4,0 +4,0 @@ "main": "dist/index.js", |
@@ -45,2 +45,6 @@ <p align="center"> | ||
## Sponsors | ||
[<img src="https://user-images.githubusercontent.com/3496193/206313745-11f25f7b-2540-4a4c-86c0-d085e38b0b45.png" alt="Flightcontrol Logo" style="width: 400px;"/>](https://www.flightcontrol.dev/?ref=superjson) | ||
## Getting started | ||
@@ -47,0 +51,0 @@ |
@@ -129,1 +129,6 @@ import { SuperJSONResult, SuperJSONValue, Class, JSONValue } from './types'; | ||
export const parse = SuperJSON.parse; | ||
export const registerClass = SuperJSON.registerClass; | ||
export const registerCustom = SuperJSON.registerCustom; | ||
export const registerSymbol = SuperJSON.registerSymbol; | ||
export const allowErrorProps = SuperJSON.allowErrorProps; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
227190
4442
334