New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@apigames/json-schema

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apigames/json-schema - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

3

lib/validator/json.schema.validator.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const jsonschema_1 = require("jsonschema");
const json_1 = require("@apigames/json");
class JsonSchemaValidator {

@@ -31,3 +32,3 @@ constructor() {

this._validationErrors = undefined;
if (!payloadDocument) {
if (json_1.isUndefined(payloadDocument)) {
this._validationErrors = [new jsonschema_1.ValidationError('The payload was empty.')];

@@ -34,0 +35,0 @@ return false;

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "1.0.11",
"version": "1.0.12",
"main": "lib/index.js",

@@ -9,0 +9,0 @@ "types": "lib/index.d.ts",

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