@kubernetes-models/validate
Advanced tools
Comparing version 0.1.2 to 1.0.0
import Ajv from "ajv"; | ||
export declare const ajv: Ajv.Ajv; | ||
export declare function register(id: string, schema: any): void; | ||
export declare function register(id: string, schema: object): void; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.register = exports.ajv = void 0; | ||
const tslib_1 = require("tslib"); | ||
@@ -12,2 +13,3 @@ const ajv_1 = tslib_1.__importDefault(require("ajv")); | ||
}); | ||
// eslint-disable-next-line @typescript-eslint/ban-types | ||
function register(id, schema) { | ||
@@ -14,0 +16,0 @@ if (!exports.ajv.getSchema(id)) { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validate = exports.register = void 0; | ||
var ajv_1 = require("./ajv"); | ||
exports.register = ajv_1.register; | ||
Object.defineProperty(exports, "register", { enumerable: true, get: function () { return ajv_1.register; } }); | ||
var validate_1 = require("./validate"); | ||
exports.validate = validate_1.validate; | ||
Object.defineProperty(exports, "validate", { enumerable: true, get: function () { return validate_1.validate; } }); | ||
//# sourceMappingURL=index.js.map |
@@ -1,1 +0,1 @@ | ||
export declare function validate(id: string, data: any): void; | ||
export declare function validate(id: string, data: unknown): void; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.validate = void 0; | ||
const ajv_1 = require("ajv"); | ||
@@ -4,0 +5,0 @@ const ajv_2 = require("./ajv"); |
{ | ||
"name": "@kubernetes-models/validate", | ||
"version": "0.1.2", | ||
"version": "1.0.0", | ||
"main": "dist", | ||
@@ -19,8 +19,11 @@ "description": "Validation library for Kubernetes models.", | ||
], | ||
"engines": { | ||
"node": ">=10" | ||
}, | ||
"dependencies": { | ||
"ajv": "^6.10.2", | ||
"big-integer": "^1.6.44", | ||
"tslib": "^1.10.0" | ||
"ajv": "^6.12.6", | ||
"big-integer": "^1.6.48", | ||
"tslib": "^2.0.3" | ||
}, | ||
"gitHead": "407e0c88d951527659537da86cb97dc829e445da" | ||
"gitHead": "2af03bcfc07a14ac897a88e12c11716758a4b8c6" | ||
} |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
6353
77
0
+ Addedtslib@2.8.1(transitive)
- Removedtslib@1.14.1(transitive)
Updatedajv@^6.12.6
Updatedbig-integer@^1.6.48
Updatedtslib@^2.0.3