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

schemaglobin

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

schemaglobin - npm Package Compare versions

Comparing version 4.6.0 to 4.7.0

3

dist/helpers/schema.js
"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>",

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