Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

superjson

Package Overview
Dependencies
Maintainers
4
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

superjson - npm Package Compare versions

Comparing version 1.6.0 to 1.6.1

2

dist/index.d.ts

@@ -12,3 +12,3 @@ import { SuperJSONResult, SuperJSONValue, Class, JSONValue } from './types';

deserialize: <T_1 = unknown>(payload: SuperJSONResult) => T_1;
registerClass: (v: Class, options?: RegisterOptions | undefined) => void;
registerClass: (v: Class, options?: string | RegisterOptions | undefined) => void;
registerSymbol: (v: Symbol, identifier?: string | undefined) => void;

@@ -15,0 +15,0 @@ registerCustom: <I, O extends JSONValue>(transformer: Pick<CustomTransfomer<I, O>, "isApplicable" | "serialize" | "deserialize">, name: string) => void;

{
"version": "1.6.0",
"version": "1.6.1",
"license": "MIT",

@@ -4,0 +4,0 @@ "main": "dist/index.js",

@@ -55,3 +55,3 @@ import { applyAnnotations, makeAnnotator } from './annotator';

const registerClass = (v: Class, options?: RegisterOptions) =>
const registerClass = (v: Class, options?: RegisterOptions | string) =>
ClassRegistry.register(v, options);

@@ -58,0 +58,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc