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

ajv

Package Overview
Dependencies
Maintainers
2
Versions
355
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ajv - npm Package Compare versions

Comparing version 7.0.0-rc.0 to 7.0.0-rc.1

2

dist/2019.d.ts

@@ -1,2 +0,2 @@

export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, } from "./types";
export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";

@@ -3,0 +3,0 @@ export { SchemaCxt, SchemaObjCxt } from "./compile";

@@ -1,2 +0,2 @@

export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, } from "./types";
export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
export { Plugin, Options, CodeOptions, InstanceOptions, Logger, ErrorsTextOptions } from "./core";

@@ -3,0 +3,0 @@ export { SchemaCxt, SchemaObjCxt } from "./compile";

@@ -1,2 +0,2 @@

export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, AnyValidateFunction, ErrorObject, } from "./types";
export { Format, FormatDefinition, AsyncFormatDefinition, KeywordDefinition, KeywordErrorDefinition, CodeKeywordDefinition, MacroKeywordDefinition, FuncKeywordDefinition, Vocabulary, Schema, SchemaObject, AnySchemaObject, AsyncSchema, AnySchema, ValidateFunction, AsyncValidateFunction, AnyValidateFunction, ErrorObject, ErrorNoParams, } from "./types";
export { SchemaCxt, SchemaObjCxt } from "./compile";

@@ -3,0 +3,0 @@ export interface Plugin<Opts> {

@@ -66,3 +66,3 @@ import type { CodeGen, Code, Name, ScopeValueSets } from "../compile/codegen";

export declare type AnyValidateFunction<T = any> = ValidateFunction<T> | AsyncValidateFunction<T>;
export interface ErrorObject<K = string, P = Record<string, any>> {
export interface ErrorObject<K extends string = string, P = Record<string, any>, S = unknown> {
keyword: K;

@@ -74,6 +74,7 @@ dataPath: string;

message?: string;
schema?: unknown;
schema?: S;
parentSchema?: AnySchemaObject;
data?: unknown;
}
export declare type ErrorNoParams<K extends string, S = unknown> = ErrorObject<K, Record<string, never>, S>;
interface _KeywordDef {

@@ -80,0 +81,0 @@ keyword: string | string[];

@@ -1,6 +0,6 @@

import type { CodeKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type AdditionalItemsError = ErrorObject<"additionalItems", {
limit: number;
}>;
}, AnySchema>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,6 +0,6 @@

import type { CodeKeywordDefinition, AddedKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, AddedKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type AdditionalPropertiesError = ErrorObject<"additionalProperties", {
additionalProperty: string;
}>;
}, AnySchema>;
declare const def: CodeKeywordDefinition & AddedKeywordDefinition;
export default def;

@@ -1,3 +0,4 @@

import type { CodeKeywordDefinition } from "../../types";
import type { CodeKeywordDefinition, ErrorNoParams, AnySchema } from "../../types";
export declare type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,7 +0,7 @@

import type { CodeKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type ContainsError = ErrorObject<"contains", {
minContains: number;
maxContains?: number;
}>;
}, AnySchema>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,4 +0,7 @@

import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaMap } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition, SchemaMap, AnySchema } from "../../types";
import type KeywordCxt from "../../compile/context";
export declare type DependenciesError = ErrorObject<"dependencies", {
export declare type PropertyDependencies = {
[K in string]?: string[];
};
export interface DependenciesErrorParams {
property: string;

@@ -8,2 +11,5 @@ missingProperty: string;

deps: string;
}
export declare type DependenciesError = ErrorObject<"dependencies", DependenciesErrorParams, {
[K in string]?: string[] | AnySchema;
}>;

@@ -10,0 +16,0 @@ export declare const error: KeywordErrorDefinition;

@@ -1,6 +0,6 @@

import type { CodeKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type IfKeywordError = ErrorObject<"if", {
failingKeyword: string;
}>;
}, AnySchema>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,2 +0,2 @@

import type { ErrorObject, Vocabulary } from "../../types";
import type { ErrorNoParams, Vocabulary } from "../../types";
import { AdditionalItemsError } from "./additionalItems";

@@ -7,2 +7,4 @@ import { ContainsError } from "./contains";

import { AdditionalPropertiesError } from "./additionalProperties";
import { NotKeywordError } from "./not";
import { AnyOfError } from "./anyOf";
import { OneOfError } from "./oneOf";

@@ -12,3 +14,2 @@ import { IfKeywordError } from "./if";

export default applicator;
export declare type ApplicatorKeywordError = ErrorWithoutParams | AdditionalItemsError | ContainsError | AdditionalPropertiesError | DependenciesError | IfKeywordError | OneOfError | PropertyNamesError;
export declare type ErrorWithoutParams = ErrorObject<"anyOf" | "not" | "false schema", Record<string, never>>;
export declare type ApplicatorKeywordError = ErrorNoParams<"false schema"> | AdditionalItemsError | ContainsError | AdditionalPropertiesError | DependenciesError | IfKeywordError | AnyOfError | OneOfError | NotKeywordError | PropertyNamesError;

@@ -1,3 +0,4 @@

import type { CodeKeywordDefinition } from "../../types";
import type { CodeKeywordDefinition, ErrorNoParams, AnySchema } from "../../types";
export declare type NotKeywordError = ErrorNoParams<"not", AnySchema>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,6 +0,6 @@

import type { CodeKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type OneOfError = ErrorObject<"oneOf", {
passingSchemas: [number, number];
}>;
}, AnySchema[]>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,6 +0,6 @@

import type { CodeKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type PropertyNamesError = ErrorObject<"propertyNames", {
propertyName: string;
}>;
}, AnySchema>;
declare const def: CodeKeywordDefinition;
export default def;
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
export declare type FormatError = ErrorObject<"format", {
format: string;
}, string | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,6 +0,6 @@

import type { CodeKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type UnevaluatedItemsError = ErrorObject<"unevaluatedItems", {
limit: number;
}>;
}, AnySchema>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -1,6 +0,6 @@

import type { CodeKeywordDefinition, ErrorObject } from "../../types";
import type { CodeKeywordDefinition, ErrorObject, AnySchema } from "../../types";
export declare type UnevaluatedPropertiesError = ErrorObject<"unevaluatedProperties", {
unevaluatedProperty: string;
}>;
}, AnySchema>;
declare const def: CodeKeywordDefinition;
export default def;
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
export declare type DependentRequiredError = ErrorObject<"dependentRequired", {
property: string;
missingProperty: string;
depsCount: number;
deps: string;
}>;
import { DependenciesErrorParams, PropertyDependencies } from "../applicator/dependencies";
export declare type DependentRequiredError = ErrorObject<"dependentRequired", DependenciesErrorParams, PropertyDependencies>;
declare const def: CodeKeywordDefinition;
export default def;
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
export declare type EnumError = ErrorObject<"enum", {
allowedValues: any[];
}, any[] | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -13,3 +13,5 @@ import type { ErrorObject, Vocabulary } from "../../types";

limit: number;
}, number | {
$data: string;
}>;
export declare type ValidationKeywordError = LimitError | LimitNumberError | MultipleOfError | PatternError | RequiredError | UniqueItemsError | ConstError | EnumError;

@@ -7,4 +7,6 @@ import type { CodeKeywordDefinition, ErrorObject } from "../../types";

comparison: Comparison;
}, number | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
export declare type MultipleOfError = ErrorObject<"multipleOf", {
multipleOf: number;
}, number | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
export declare type PatternError = ErrorObject<"pattern", {
pattern: string;
}, string | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;
import type { CodeKeywordDefinition, ErrorObject } from "../../types";
export declare type RequiredError = ErrorObject<"required", {
missingProperty: string;
}, string[] | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -5,4 +5,6 @@ import type { CodeKeywordDefinition, ErrorObject } from "../../types";

j: number;
}, boolean | {
$data: string;
}>;
declare const def: CodeKeywordDefinition;
export default def;

@@ -19,2 +19,3 @@ export {

ErrorObject,
ErrorNoParams,
} from "./types"

@@ -21,0 +22,0 @@

@@ -19,2 +19,3 @@ export {

ErrorObject,
ErrorNoParams,
} from "./types"

@@ -21,0 +22,0 @@

@@ -20,2 +20,3 @@ export {

ErrorObject,
ErrorNoParams,
} from "./types"

@@ -22,0 +23,0 @@

@@ -76,3 +76,3 @@ import type {CodeGen, Code, Name, ScopeValueSets} from "../compile/codegen"

export interface ErrorObject<K = string, P = Record<string, any>> {
export interface ErrorObject<K extends string = string, P = Record<string, any>, S = unknown> {
keyword: K

@@ -87,3 +87,3 @@ dataPath: string

// These are added with the `verbose` option.
schema?: unknown
schema?: S
parentSchema?: AnySchemaObject

@@ -93,2 +93,4 @@ data?: unknown

export type ErrorNoParams<K extends string, S = unknown> = ErrorObject<K, Record<string, never>, S>
interface _KeywordDef {

@@ -95,0 +97,0 @@ keyword: string | string[]

@@ -1,2 +0,7 @@

import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
import type {
CodeKeywordDefinition,
ErrorObject,
KeywordErrorDefinition,
AnySchema,
} from "../../types"
import type KeywordCxt from "../../compile/context"

@@ -8,3 +13,3 @@ import {_, str, not, Name} from "../../compile/codegen"

export type AdditionalItemsError = ErrorObject<"additionalItems", {limit: number}>
export type AdditionalItemsError = ErrorObject<"additionalItems", {limit: number}, AnySchema>

@@ -11,0 +16,0 @@ const error: KeywordErrorDefinition = {

@@ -6,2 +6,3 @@ import type {

KeywordErrorDefinition,
AnySchema,
} from "../../types"

@@ -16,3 +17,4 @@ import {allSchemaProperties, usePattern} from "../code"

"additionalProperties",
{additionalProperty: string}
{additionalProperty: string},
AnySchema
>

@@ -19,0 +21,0 @@

@@ -1,2 +0,2 @@

import type {CodeKeywordDefinition, AnySchema} from "../../types"
import type {CodeKeywordDefinition, ErrorNoParams, AnySchema} from "../../types"
import type KeywordCxt from "../../compile/context"

@@ -6,2 +6,4 @@ import {_, not} from "../../compile/codegen"

export type AnyOfError = ErrorNoParams<"anyOf", AnySchema[]>
const def: CodeKeywordDefinition = {

@@ -8,0 +10,0 @@ keyword: "anyOf",

@@ -1,2 +0,7 @@

import type {CodeKeywordDefinition, KeywordErrorDefinition, ErrorObject} from "../../types"
import type {
CodeKeywordDefinition,
KeywordErrorDefinition,
ErrorObject,
AnySchema,
} from "../../types"
import type KeywordCxt from "../../compile/context"

@@ -8,3 +13,7 @@ import {_, str, Name} from "../../compile/codegen"

export type ContainsError = ErrorObject<"contains", {minContains: number; maxContains?: number}>
export type ContainsError = ErrorObject<
"contains",
{minContains: number; maxContains?: number},
AnySchema
>

@@ -11,0 +20,0 @@ const error: KeywordErrorDefinition = {

@@ -13,4 +13,11 @@ import type {

type PropertyDependencies = {[K in string]?: string[]}
export type PropertyDependencies = {[K in string]?: string[]}
export interface DependenciesErrorParams {
property: string
missingProperty: string
depsCount: number
deps: string // TODO change to string[]
}
type SchemaDependencies = SchemaMap

@@ -20,8 +27,4 @@

"dependencies",
{
property: string
missingProperty: string
depsCount: number
deps: string // TODO change to string[]
}
DependenciesErrorParams,
{[K in string]?: string[] | AnySchema}
>

@@ -28,0 +31,0 @@

@@ -1,2 +0,7 @@

import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
import type {
CodeKeywordDefinition,
ErrorObject,
KeywordErrorDefinition,
AnySchema,
} from "../../types"
import type {SchemaObjCxt} from "../../compile"

@@ -8,3 +13,3 @@ import type KeywordCxt from "../../compile/context"

export type IfKeywordError = ErrorObject<"if", {failingKeyword: string}>
export type IfKeywordError = ErrorObject<"if", {failingKeyword: string}, AnySchema>

@@ -11,0 +16,0 @@ const error: KeywordErrorDefinition = {

@@ -1,2 +0,2 @@

import type {ErrorObject, Vocabulary} from "../../types"
import type {ErrorNoParams, Vocabulary} from "../../types"
import additionalItems, {AdditionalItemsError} from "./additionalItems"

@@ -10,4 +10,4 @@ import items from "./items"

import patternProperties from "./patternProperties"
import notKeyword from "./not"
import anyOf from "./anyOf"
import notKeyword, {NotKeywordError} from "./not"
import anyOf, {AnyOfError} from "./anyOf"
import oneOf, {OneOfError} from "./oneOf"

@@ -41,3 +41,3 @@ import allOf from "./allOf"

export type ApplicatorKeywordError =
| ErrorWithoutParams
| ErrorNoParams<"false schema">
| AdditionalItemsError

@@ -48,8 +48,5 @@ | ContainsError

| IfKeywordError
| AnyOfError
| OneOfError
| NotKeywordError
| PropertyNamesError
export type ErrorWithoutParams = ErrorObject<
"anyOf" | "not" | "false schema",
Record<string, never>
>

@@ -1,5 +0,7 @@

import type {CodeKeywordDefinition} from "../../types"
import type {CodeKeywordDefinition, ErrorNoParams, AnySchema} from "../../types"
import type KeywordCxt from "../../compile/context"
import {alwaysValidSchema} from "../../compile/util"
export type NotKeywordError = ErrorNoParams<"not", AnySchema>
const def: CodeKeywordDefinition = {

@@ -6,0 +8,0 @@ keyword: "not",

@@ -12,3 +12,3 @@ import type {

export type OneOfError = ErrorObject<"oneOf", {passingSchemas: [number, number]}>
export type OneOfError = ErrorObject<"oneOf", {passingSchemas: [number, number]}, AnySchema[]>

@@ -15,0 +15,0 @@ const error: KeywordErrorDefinition = {

@@ -1,2 +0,7 @@

import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
import type {
CodeKeywordDefinition,
ErrorObject,
KeywordErrorDefinition,
AnySchema,
} from "../../types"
import type KeywordCxt from "../../compile/context"

@@ -6,3 +11,3 @@ import {_, str, not} from "../../compile/codegen"

export type PropertyNamesError = ErrorObject<"propertyNames", {propertyName: string}>
export type PropertyNamesError = ErrorObject<"propertyNames", {propertyName: string}, AnySchema>

@@ -9,0 +14,0 @@ const error: KeywordErrorDefinition = {

@@ -21,3 +21,3 @@ import type {

export type FormatError = ErrorObject<"format", {format: string}>
export type FormatError = ErrorObject<"format", {format: string}, string | {$data: string}>

@@ -24,0 +24,0 @@ const error: KeywordErrorDefinition = {

@@ -1,2 +0,7 @@

import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"
import type {
CodeKeywordDefinition,
ErrorObject,
KeywordErrorDefinition,
AnySchema,
} from "../../types"
import type KeywordCxt from "../../compile/context"

@@ -7,3 +12,3 @@ import {_, str, not, Name} from "../../compile/codegen"

export type UnevaluatedItemsError = ErrorObject<"unevaluatedItems", {limit: number}>
export type UnevaluatedItemsError = ErrorObject<"unevaluatedItems", {limit: number}, AnySchema>

@@ -10,0 +15,0 @@ const error: KeywordErrorDefinition = {

@@ -1,2 +0,7 @@

import type {CodeKeywordDefinition, KeywordErrorDefinition, ErrorObject} from "../../types"
import type {
CodeKeywordDefinition,
KeywordErrorDefinition,
ErrorObject,
AnySchema,
} from "../../types"
import {_, not, and, Name, Code} from "../../compile/codegen"

@@ -9,3 +14,4 @@ import {alwaysValidSchema} from "../../compile/util"

"unevaluatedProperties",
{unevaluatedProperty: string}
{unevaluatedProperty: string},
AnySchema
>

@@ -12,0 +18,0 @@

import type {CodeKeywordDefinition, ErrorObject} from "../../types"
import {validatePropertyDeps, error} from "../applicator/dependencies"
import {
validatePropertyDeps,
error,
DependenciesErrorParams,
PropertyDependencies,
} from "../applicator/dependencies"
export type DependentRequiredError = ErrorObject<
"dependentRequired",
{
property: string
missingProperty: string
depsCount: number
deps: string // TODO change to string[]
}
DependenciesErrorParams,
PropertyDependencies
>

@@ -13,0 +14,0 @@

@@ -6,3 +6,3 @@ import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"

export type EnumError = ErrorObject<"enum", {allowedValues: any[]}>
export type EnumError = ErrorObject<"enum", {allowedValues: any[]}, any[] | {$data: string}>

@@ -9,0 +9,0 @@ const error: KeywordErrorDefinition = {

@@ -36,3 +36,4 @@ import type {ErrorObject, Vocabulary} from "../../types"

"maxItems" | "minItems" | "minProperties" | "maxProperties" | "minLength" | "maxLength",
{limit: number}
{limit: number},
number | {$data: string}
>

@@ -39,0 +40,0 @@

@@ -18,3 +18,7 @@ import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"

export type LimitNumberError = ErrorObject<Kwd, {limit: number; comparison: Comparison}>
export type LimitNumberError = ErrorObject<
Kwd,
{limit: number; comparison: Comparison},
number | {$data: string}
>

@@ -21,0 +25,0 @@ const error: KeywordErrorDefinition = {

@@ -5,3 +5,7 @@ import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"

export type MultipleOfError = ErrorObject<"multipleOf", {multipleOf: number}>
export type MultipleOfError = ErrorObject<
"multipleOf",
{multipleOf: number},
number | {$data: string}
>

@@ -8,0 +12,0 @@ const error: KeywordErrorDefinition = {

@@ -6,3 +6,3 @@ import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"

export type PatternError = ErrorObject<"pattern", {pattern: string}>
export type PatternError = ErrorObject<"pattern", {pattern: string}, string | {$data: string}>

@@ -9,0 +9,0 @@ const error: KeywordErrorDefinition = {

@@ -12,3 +12,7 @@ import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"

export type RequiredError = ErrorObject<"required", {missingProperty: string}>
export type RequiredError = ErrorObject<
"required",
{missingProperty: string},
string[] | {$data: string}
>

@@ -15,0 +19,0 @@ const error: KeywordErrorDefinition = {

@@ -7,3 +7,7 @@ import type {CodeKeywordDefinition, ErrorObject, KeywordErrorDefinition} from "../../types"

export type UniqueItemsError = ErrorObject<"uniqueItems", {i: number; j: number}>
export type UniqueItemsError = ErrorObject<
"uniqueItems",
{i: number; j: number},
boolean | {$data: string}
>

@@ -10,0 +14,0 @@ const error: KeywordErrorDefinition = {

{
"name": "ajv",
"version": "7.0.0-rc.0",
"version": "7.0.0-rc.1",
"description": "Another JSON Schema Validator",

@@ -71,3 +71,3 @@ "main": "dist/ajv.js",

"devDependencies": {
"@ajv-validator/config": "^0.2.3",
"@ajv-validator/config": "^0.3.0",
"@types/chai": "^4.2.12",

@@ -74,0 +74,0 @@ "@types/mocha": "^8.0.3",

@@ -9,3 +9,3 @@ <img align="right" alt="Ajv logo" width="160" src="https://ajv.js.org/images/ajv_logo.png">

[![npm](https://img.shields.io/npm/v/ajv.svg)](https://www.npmjs.com/package/ajv)
[![npm (beta)](https://img.shields.io/npm/v/ajv/beta)](https://www.npmjs.com/package/ajv/v/7.0.0-rc.0)
[![npm (beta)](https://img.shields.io/npm/v/ajv/beta)](https://www.npmjs.com/package/ajv/v/7.0.0-rc.1)
[![npm downloads](https://img.shields.io/npm/dm/ajv.svg)](https://www.npmjs.com/package/ajv)

@@ -12,0 +12,0 @@ [![Coverage Status](https://coveralls.io/repos/github/ajv-validator/ajv/badge.svg?branch=master)](https://coveralls.io/github/ajv-validator/ajv?branch=master)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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