Socket
Socket
Sign inDemoInstall

ajv

Package Overview
Dependencies
5
Maintainers
2
Versions
351
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.2.3 to 7.2.4

2

dist/compile/util.js

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

mergeNames: (gen, from, to) => gen.if(codegen_1._ `${to} !== true && ${from} !== undefined`, () => {
gen.if(codegen_1._ `${from} === true`, () => gen.assign(to, true), () => gen.code(codegen_1._ `Object.assign(${to}, ${from})`));
gen.if(codegen_1._ `${from} === true`, () => gen.assign(to, true), () => gen.assign(to, codegen_1._ `${to} || {}`).code(codegen_1._ `Object.assign(${to}, ${from})`));
}),

@@ -110,0 +110,0 @@ mergeToName: (gen, from, to) => gen.if(codegen_1._ `${to} !== true`, () => {

@@ -131,3 +131,3 @@ import type {AnySchema, EvaluatedProperties, EvaluatedItems} from "../types"

() => gen.assign(to, true),
() => gen.code(_`Object.assign(${to}, ${from})`)
() => gen.assign(to, _`${to} || {}`).code(_`Object.assign(${to}, ${from})`)
)

@@ -134,0 +134,0 @@ }),

{
"name": "ajv",
"version": "7.2.3",
"version": "7.2.4",
"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