schemaglobin
Advanced tools
Comparing version 4.6.0 to 4.7.0
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.isSchema = void 0; | ||
const object_1 = require("./object"); | ||
/** | ||
@@ -8,2 +9,2 @@ * Is a given value a valid schema? | ||
*/ | ||
exports.isSchema = (schema) => schema instanceof Object && typeof schema.validate === "function"; | ||
exports.isSchema = (schema) => object_1.isObject(schema) && schema.validate === "function"; |
{ | ||
"name": "schemaglobin", | ||
"description": "Validate user-entered data.", | ||
"version": "4.6.0", | ||
"version": "4.7.0", | ||
"repository": "https://github.com/dhoulb/schemaglobin", | ||
@@ -6,0 +6,0 @@ "author": "Dave Houlbrooke <dave@shax.com>", |
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
137495
2532