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

superjson

Package Overview
Dependencies
Maintainers
1
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 0.0.1 to 0.0.2

5

History.md
0.0.2 / 2014-12-30
==================
* fix missing dependencies
0.0.1 / 2010-01-03

@@ -3,0 +8,0 @@ ==================

4

index.js

@@ -0,1 +1,5 @@

/**
* Module Dependencies
*/
var type = require('component-type');

@@ -2,0 +6,0 @@ var isArray = Array.isArray;

12

package.json
{
"name": "superjson",
"version": "0.0.1",
"version": "0.0.2",
"description": "extends JSON.stringify and JSON.parse to support additional JS types (Dates, RegExps, Functions, etc.)",
"keywords": [],
"author": "Matthew Mueller <matt@lapwinglabs.com>",
"repository": { "type": "git", "url": "git://github.com/lapwinglabs/superjson.git" },
"dependencies": {},
"repository": {
"type": "git",
"url": "git://github.com/lapwinglabs/superjson.git"
},
"dependencies": {
"component-type": "^1.1.0",
"json3": "^3.3.2"
},
"devDependencies": {

@@ -10,0 +16,0 @@ "mocha": "*",

@@ -29,7 +29,7 @@

json.parse(str)
var obj = json.parse(str)
{
date: date, // date instance
regexp: /[abc]d/, // regexp instance
fn: [Function foo] // foo function
fn: function foo() {} // foo function
}

@@ -36,0 +36,0 @@ ```

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