Socket
Socket
Sign inDemoInstall

ajv

Package Overview
Dependencies
5
Maintainers
2
Versions
350
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.8.0 to 8.8.1

12

dist/vocabularies/applicator/contains.js

@@ -53,10 +53,10 @@ "use strict";

}
else if (min === 0) {
gen.let(valid, true);
if (max !== undefined)
gen.if((0, codegen_1._) `${data}.length > 0`, validateItemsWithCount);
}
else {
gen.let(valid, false);
if (min === 0) {
gen.if((0, codegen_1._) `${data}.length > 0`, validateItemsWithCount, () => gen.assign(valid, true));
}
else {
validateItemsWithCount();
}
validateItemsWithCount();
}

@@ -63,0 +63,0 @@ cxt.result(valid, () => cxt.reset());

@@ -66,9 +66,8 @@ import type {

validateItems(valid, () => gen.if(valid, () => gen.break()))
} else if (min === 0) {
gen.let(valid, true)
if (max !== undefined) gen.if(_`${data}.length > 0`, validateItemsWithCount)
} else {
gen.let(valid, false)
if (min === 0) {
gen.if(_`${data}.length > 0`, validateItemsWithCount, () => gen.assign(valid, true))
} else {
validateItemsWithCount()
}
validateItemsWithCount()
}

@@ -75,0 +74,0 @@ cxt.result(valid, () => cxt.reset())

{
"name": "ajv",
"version": "8.8.0",
"version": "8.8.1",
"description": "Another JSON Schema Validator",

@@ -5,0 +5,0 @@ "main": "dist/ajv.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc