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

@everymundo/json-utils

Package Overview
Dependencies
Maintainers
25
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@everymundo/json-utils - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

4

index.js
'use strict'
const parseJson = (json) => {
const parseJson = (json, customFunction) => {
try {
return JSON.parse(json)
return JSON.parse(json, customFunction)
} catch (e) {

@@ -7,0 +7,0 @@ return e

{
"name": "@everymundo/json-utils",
"version": "1.0.1",
"version": "1.1.0",
"description": "JSON Utilities such as safe JSON parser and pretty JSON stringifier.",

@@ -9,4 +9,4 @@ "main": "index.js",

"check-coverage": "nyc check-coverage --statements 100 --branches 100 --functions 100 --lines 100",
"check-lint": "standard *.js lib/*.js spec/*.js spec/lib/*.js",
"fix-lint": "standard --fix *.js lib/*.js test/*.js",
"check-lint": "standard --env=mocha *.js lib/*.js spec/*.js spec/lib/*.js",
"fix-lint": "standard --env=mocha --fix *.js lib/*.js test/*.js",
"test": "mocha $@"

@@ -35,6 +35,6 @@ },

"chai": "^4.2.0",
"mocha": "^6.1.4",
"nyc": "^14.1.1",
"standard": "^12.0.1"
"mocha": "^7.1.1",
"nyc": "^15.0.0",
"standard": "^14.3.3"
}
}
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