@kubernetes-models/validate
Advanced tools
Comparing version 0.1.1 to 0.1.2
import Ajv from "ajv"; | ||
export declare const ajv: Ajv.Ajv; | ||
export declare function register(id: string, schema: any): void; |
@@ -7,3 +7,3 @@ "use strict"; | ||
// From: https://github.com/miguelmota/is-base64/blob/0702e189090921a2f11b4342f27906ff8c43d7ec/is-base64.js#L15 | ||
const rBase64 = /^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+/]{3}=)?$/; | ||
const rBase64 = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/; | ||
exports.ajv = new ajv_1.default({ | ||
@@ -10,0 +10,0 @@ extendRefs: "fail", |
export { register } from "./ajv"; | ||
export { validate } from "./validate"; |
@@ -0,0 +0,0 @@ "use strict"; |
export declare function validate(id: string, data: any): void; |
@@ -0,0 +0,0 @@ "use strict"; |
{ | ||
"name": "@kubernetes-models/validate", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "dist", | ||
@@ -24,3 +24,3 @@ "description": "Validation library for Kubernetes models.", | ||
}, | ||
"gitHead": "ac2456d7b8d4261a3fbb59a756d47d8059c35c68" | ||
"gitHead": "407e0c88d951527659537da86cb97dc829e445da" | ||
} |
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
5969