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

jsonpolice

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsonpolice - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

5

lib/index.js

@@ -800,3 +800,6 @@ 'use strict';

} else if (_typeof(this.data.additionalProperties) === 'object') {
data[k] = this.data.additionalProperties[__schema].validate(data[k], path + '/' + k);
var s = this.data.additionalProperties[__schema];
if (s) {
data[k] = s.validate(data[k], path + '/' + k);
}
}

@@ -803,0 +806,0 @@ }

2

package.json
{
"name": "jsonpolice",
"version": "3.2.0",
"version": "3.2.1",
"description": "JSON Schema parser and validator",

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

@@ -652,3 +652,6 @@ import _ from 'lodash';

} else if (typeof this.data.additionalProperties === 'object') {
data[k] = this.data.additionalProperties[__schema].validate(data[k], path + '/' + k);
let s = this.data.additionalProperties[__schema];
if(s) {
data[k] = s.validate(data[k], path + '/' + k);
}
}

@@ -655,0 +658,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