Socket
Socket
Sign inDemoInstall

is-my-json-valid

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-my-json-valid - npm Package Compare versions

Comparing version 2.2.1 to 2.3.0

2

index.js

@@ -485,4 +485,2 @@ var genobj = require('generate-object-property')

visit(genobj(name, p), properties[p], reporter)
var def = properties[p].default
if (def !== undefined) validate('if (%s === undefined) %s = %s', genobj(name, p), genobj(name, p), JSON.stringify(def))
})

@@ -489,0 +487,0 @@ }

2

package.json
{
"name": "is-my-json-valid",
"version": "2.2.1",
"version": "2.3.0",
"description": "A JSONSchema validator that uses code generation to be extremely fast",

@@ -5,0 +5,0 @@ "main": "index.js",

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