Socket
Socket
Sign inDemoInstall

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.13.0 to 1.13.1

1

dist/esm/index.d.ts

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

}
export { SuperJSON };
export declare const serialize: (object: SuperJSONValue) => SuperJSONResult;

@@ -40,0 +41,0 @@ export declare const deserialize: <T = unknown>(payload: SuperJSONResult) => T;

@@ -111,2 +111,3 @@ var __assign = (this && this.__assign) || function () {

export default SuperJSON;
export { SuperJSON };
export var serialize = SuperJSON.serialize;

@@ -113,0 +114,0 @@ export var deserialize = SuperJSON.deserialize;

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

}
export { SuperJSON };
export declare const serialize: (object: SuperJSONValue) => SuperJSONResult;

@@ -40,0 +41,0 @@ export declare const deserialize: <T = unknown>(payload: SuperJSONResult) => T;

3

dist/index.js

@@ -35,3 +35,3 @@ "use strict";

exports.__esModule = true;
exports.allowErrorProps = exports.registerSymbol = exports.registerCustom = exports.registerClass = 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 = exports.SuperJSON = void 0;
var class_registry_1 = require("./class-registry");

@@ -114,2 +114,3 @@ var registry_1 = require("./registry");

}());
exports.SuperJSON = SuperJSON;
exports["default"] = SuperJSON;

@@ -116,0 +117,0 @@ exports.serialize = SuperJSON.serialize;

{
"version": "1.13.0",
"version": "1.13.1",
"license": "MIT",

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

@@ -140,2 +140,4 @@ import { Class, JSONValue, SuperJSONResult, SuperJSONValue } from './types';

export { SuperJSON };
export const serialize = SuperJSON.serialize;

@@ -142,0 +144,0 @@ export const deserialize = SuperJSON.deserialize;

Sorry, the diff of this file is not supported yet

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