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

z-schema

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

z-schema - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

4

package.json
{
"name": "z-schema",
"version": "4.2.2",
"version": "4.2.3",
"engines": {

@@ -71,3 +71,3 @@ "node": ">=6.0.0"

"lodash.isequal": "^4.5.0",
"validator": "^11.0.0"
"validator": "^12.0.0"
},

@@ -74,0 +74,0 @@ "optionalDependencies": {

@@ -84,3 +84,3 @@ "use strict";

var valid = self.errors.length === 0,
err = valid ? undefined : self.errors;
err = valid ? null : self.errors;
callback(err, valid);

@@ -87,0 +87,0 @@ });

@@ -57,3 +57,3 @@ "use strict";

breakOnFirstError: true,
// check if schema follow best practices and common sence
// check if schema follows best practices and common sense
pedanticCheck: false,

@@ -268,3 +268,3 @@ // ignore unknown formats (do not report them as an error)

ZSchema.prototype.getLastErrors = function () {
return this.lastReport && this.lastReport.errors.length > 0 ? this.lastReport.errors : undefined;
return this.lastReport && this.lastReport.errors.length > 0 ? this.lastReport.errors : null;
};

@@ -271,0 +271,0 @@ ZSchema.prototype.getMissingReferences = function (arr) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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