Comparing version 8.11.0 to 8.11.1
@@ -18,1 +18,3 @@ import type { AnySchemaObject } from "./types"; | ||
export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen"; | ||
export { default as ValidationError } from "./runtime/validation_error"; | ||
export { default as MissingRefError } from "./compile/ref_error"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
const core_1 = require("./core"); | ||
@@ -55,2 +55,6 @@ const draft7_1 = require("./vocabularies/draft7"); | ||
Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } }); | ||
var validation_error_1 = require("./runtime/validation_error"); | ||
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return validation_error_1.default; } }); | ||
var ref_error_1 = require("./compile/ref_error"); | ||
Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: function () { return ref_error_1.default; } }); | ||
//# sourceMappingURL=2019.js.map |
@@ -18,1 +18,3 @@ import type { AnySchemaObject } from "./types"; | ||
export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen"; | ||
export { default as ValidationError } from "./runtime/validation_error"; | ||
export { default as MissingRefError } from "./compile/ref_error"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
const core_1 = require("./core"); | ||
@@ -49,2 +49,6 @@ const draft2020_1 = require("./vocabularies/draft2020"); | ||
Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } }); | ||
var validation_error_1 = require("./runtime/validation_error"); | ||
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return validation_error_1.default; } }); | ||
var ref_error_1 = require("./compile/ref_error"); | ||
Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: function () { return ref_error_1.default; } }); | ||
//# sourceMappingURL=2020.js.map |
@@ -17,1 +17,3 @@ import type { AnySchemaObject } from "./types"; | ||
export { _, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions } from "./compile/codegen"; | ||
export { default as ValidationError } from "./runtime/validation_error"; | ||
export { default as MissingRefError } from "./compile/ref_error"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
const core_1 = require("./core"); | ||
@@ -44,2 +44,6 @@ const draft7_1 = require("./vocabularies/draft7"); | ||
Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } }); | ||
var validation_error_1 = require("./runtime/validation_error"); | ||
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return validation_error_1.default; } }); | ||
var ref_error_1 = require("./compile/ref_error"); | ||
Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: function () { return ref_error_1.default; } }); | ||
//# sourceMappingURL=ajv.js.map |
@@ -46,1 +46,3 @@ import type { AnySchemaObject, SchemaObject, JTDParser } from "./types"; | ||
export { JTDOptions }; | ||
export { default as ValidationError } from "./runtime/validation_error"; | ||
export { default as MissingRefError } from "./compile/ref_error"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
exports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0; | ||
const core_1 = require("./core"); | ||
@@ -66,2 +66,6 @@ const jtd_1 = require("./vocabularies/jtd"); | ||
Object.defineProperty(exports, "CodeGen", { enumerable: true, get: function () { return codegen_1.CodeGen; } }); | ||
var validation_error_1 = require("./runtime/validation_error"); | ||
Object.defineProperty(exports, "ValidationError", { enumerable: true, get: function () { return validation_error_1.default; } }); | ||
var ref_error_1 = require("./compile/ref_error"); | ||
Object.defineProperty(exports, "MissingRefError", { enumerable: true, get: function () { return ref_error_1.default; } }); | ||
//# sourceMappingURL=jtd.js.map |
@@ -120,2 +120,3 @@ declare type StrictNullChecksWrapper<Name extends string, Type> = undefined extends null ? `strictNullChecks must be true in tsconfig to use ${Name}` : Type; | ||
} : { | ||
nullable?: false; | ||
const?: T; | ||
@@ -122,0 +123,0 @@ enum?: Readonly<T[]>; |
@@ -79,1 +79,3 @@ import type {AnySchemaObject} from "./types" | ||
export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen" | ||
export {default as ValidationError} from "./runtime/validation_error" | ||
export {default as MissingRefError} from "./compile/ref_error" |
@@ -73,1 +73,3 @@ import type {AnySchemaObject} from "./types" | ||
export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen" | ||
export {default as ValidationError} from "./runtime/validation_error" | ||
export {default as MissingRefError} from "./compile/ref_error" |
@@ -68,1 +68,3 @@ import type {AnySchemaObject} from "./types" | ||
export {_, str, stringify, nil, Name, Code, CodeGen, CodeGenOptions} from "./compile/codegen" | ||
export {default as ValidationError} from "./runtime/validation_error" | ||
export {default as MissingRefError} from "./compile/ref_error" |
@@ -130,1 +130,3 @@ import type {AnySchemaObject, SchemaObject, JTDParser} from "./types" | ||
export {JTDOptions} | ||
export {default as ValidationError} from "./runtime/validation_error" | ||
export {default as MissingRefError} from "./compile/ref_error" |
@@ -183,2 +183,3 @@ /* eslint-disable @typescript-eslint/no-empty-interface */ | ||
: { | ||
nullable?: false | ||
const?: T | ||
@@ -185,0 +186,0 @@ enum?: Readonly<T[]> |
{ | ||
"name": "ajv", | ||
"version": "8.11.0", | ||
"version": "8.11.1", | ||
"description": "Another JSON Schema Validator", | ||
@@ -68,9 +68,9 @@ "main": "dist/ajv.js", | ||
"@ajv-validator/config": "^0.3.0", | ||
"@rollup/plugin-commonjs": "^21.0.0", | ||
"@rollup/plugin-commonjs": "^23.0.2", | ||
"@rollup/plugin-json": "^4.1.0", | ||
"@rollup/plugin-node-resolve": "^13.0.0", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-typescript": "^8.2.1", | ||
"@types/chai": "^4.2.12", | ||
"@types/mocha": "^9.0.0", | ||
"@types/node": "^17.0.0", | ||
"@types/node": "^18.11.9", | ||
"@types/require-from-string": "^1.2.0", | ||
@@ -87,5 +87,5 @@ "@typescript-eslint/eslint-plugin": "^3.8.0", | ||
"eslint-config-prettier": "^7.0.0", | ||
"fast-uri": "^1.0.0", | ||
"glob": "^7.0.0", | ||
"husky": "^7.0.1", | ||
"fast-uri": "^2.1.0", | ||
"glob": "^8.0.2", | ||
"husky": "^8.0.2", | ||
"if-node-version": "^1.0.0", | ||
@@ -98,4 +98,4 @@ "jimp": "^0.16.1", | ||
"karma-mocha": "^2.0.0", | ||
"lint-staged": "^12.1.1", | ||
"mocha": "^9.0.2", | ||
"lint-staged": "^13.0.3", | ||
"mocha": "^10.0.0", | ||
"module-from-string": "^3.1.3", | ||
@@ -110,3 +110,3 @@ "node-fetch": "^3.0.0", | ||
"tsify": "^5.0.2", | ||
"typescript": "^4.2.0" | ||
"typescript": "^4.8.0" | ||
}, | ||
@@ -113,0 +113,0 @@ "collective": { |
@@ -56,3 +56,3 @@ <img align="right" alt="Ajv logo" width="160" src="https://ajv.js.org/img/ajv.svg"> | ||
- [GitHub sponsors page](https://github.com/sponsors/epoberezkin) (GitHub will match it) | ||
- [Ajv Open Collective️](https://opencollective.com/ajv) | ||
- [Ajv Open Collective](https://opencollective.com/ajv) | ||
@@ -77,2 +77,15 @@ Thank you. | ||
<a href="https://opencollective.com/ajv/organization/11/website"><img src="https://opencollective.com/ajv/organization/11/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/12/website"><img src="https://opencollective.com/ajv/organization/12/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/13/website"><img src="https://opencollective.com/ajv/organization/13/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/14/website"><img src="https://opencollective.com/ajv/organization/14/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/15/website"><img src="https://opencollective.com/ajv/organization/15/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/16/website"><img src="https://opencollective.com/ajv/organization/16/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/17/website"><img src="https://opencollective.com/ajv/organization/17/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/18/website"><img src="https://opencollective.com/ajv/organization/18/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/19/website"><img src="https://opencollective.com/ajv/organization/19/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/20/website"><img src="https://opencollective.com/ajv/organization/20/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/21/website"><img src="https://opencollective.com/ajv/organization/21/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/22/website"><img src="https://opencollective.com/ajv/organization/22/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/23/website"><img src="https://opencollective.com/ajv/organization/23/avatar.svg"></a> | ||
<a href="https://opencollective.com/ajv/organization/24/website"><img src="https://opencollective.com/ajv/organization/24/avatar.svg"></a> | ||
@@ -79,0 +92,0 @@ ## Performance |
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
1021810
19896
207