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.12.3 to 1.12.4

3

dist/esm/is.js

@@ -15,4 +15,3 @@ var getType = function (payload) {

return true;
return (payload.constructor === Object &&
Object.getPrototypeOf(payload) === Object.prototype);
return Object.getPrototypeOf(payload) === Object.prototype;
};

@@ -19,0 +18,0 @@ export var isEmptyObject = function (payload) {

@@ -20,4 +20,3 @@ "use strict";

return true;
return (payload.constructor === Object &&
Object.getPrototypeOf(payload) === Object.prototype);
return Object.getPrototypeOf(payload) === Object.prototype;
};

@@ -24,0 +23,0 @@ exports.isPlainObject = isPlainObject;

{
"version": "1.12.3",
"version": "1.12.4",
"license": "MIT",

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

@@ -11,3 +11,3 @@ <p align="center">

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<a href="#contributors"><img src="https://img.shields.io/badge/all_contributors-26-orange.svg?style=flat-square" alt="All Contributors"/></a>
<a href="#contributors"><img src="https://img.shields.io/badge/all_contributors-28-orange.svg?style=flat-square" alt="All Contributors"/></a>
<!-- ALL-CONTRIBUTORS-BADGE:END -->

@@ -107,3 +107,3 @@ <a href="https://www.npmjs.com/package/superjson">

values: {
timestamp: ['date'],
timestamp: ['Date'],
test: ['regexp'],

@@ -121,3 +121,3 @@ }

### Next.js SWC Plugin (experimental, v12.2 or above)
### Next.js SWC Plugin (experimental, v13 or above)

@@ -322,2 +322,4 @@ Next.js SWC plugins are [experimental](https://nextjs.org/docs/advanced-features/compiler#swc-plugins-experimental), but promise a significant speedup.

<td align="center" valign="top" width="14.28%"><a href="https://gw2treasures.com/"><img src="https://avatars.githubusercontent.com/u/2511547?v=4?s=100" width="100px;" alt="darthmaim"/><br /><sub><b>darthmaim</b></sub></a><br /><a href="https://github.com/blitz-js/superjson/commits?author=darthmaim" title="Code">πŸ’»</a></td>
<td align="center" valign="top" width="14.28%"><a href="http://www.maxmalm.se"><img src="https://avatars.githubusercontent.com/u/430872?v=4?s=100" width="100px;" alt="Max Malm"/><br /><sub><b>Max Malm</b></sub></a><br /><a href="https://github.com/blitz-js/superjson/commits?author=benjick" title="Documentation">πŸ“–</a></td>
<td align="center" valign="top" width="14.28%"><a href="https://github.com/tylercollier"><img src="https://avatars.githubusercontent.com/u/366538?v=4?s=100" width="100px;" alt="Tyler Collier"/><br /><sub><b>Tyler Collier</b></sub></a><br /><a href="https://github.com/blitz-js/superjson/commits?author=tylercollier" title="Documentation">πŸ“–</a></td>
</tr>

@@ -324,0 +326,0 @@ </tbody>

@@ -16,6 +16,3 @@ const getType = (payload: any): string =>

return (
payload.constructor === Object &&
Object.getPrototypeOf(payload) === Object.prototype
);
return Object.getPrototypeOf(payload) === Object.prototype;
};

@@ -22,0 +19,0 @@

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