Socket
Socket
Sign inDemoInstall

tv4

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tv4 - npm Package Compare versions

Comparing version 1.0.15 to 1.0.16

2

package.json
{
"name": "tv4",
"version": "1.0.15",
"version": "1.0.16",
"author": "Geraint Luff",

@@ -5,0 +5,0 @@ "description": "A public domain JSON Schema validator for JavaScript",

@@ -337,3 +337,3 @@ /*

var frozenIndex, scannedFrozenSchemaIndex = null, scannedSchemasIndex = null;
if (this.checkRecursive && (typeof data) === 'object') {
if (this.checkRecursive && data && typeof data === 'object') {
topLevel = !this.scanned.length;

@@ -1083,3 +1083,3 @@ if (data[this.validatedSchemasKey]) {

// Schema structure
CIRCULAR_REFERENCE: 500,
CIRCULAR_REFERENCE: 600,
// Non-standard validation options

@@ -1086,0 +1086,0 @@ UNKNOWN_PROPERTY: 1000

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