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 24.1.2 to 24.1.3

8

lib/validator/json.schema.validator.js

@@ -10,5 +10,7 @@ "use strict";

this.SetupSchemaDependencies = (schemaDefinition, context) => {
this.CallSchemaDefinitionsSetupSchemaDependencies(schemaDefinition, context);
const _schemaDefinition = schemaDefinition.SchemaDefinition(context);
this.validator.addSchema(_schemaDefinition, schemaDefinition.SchemaName(context));
if ((0, json_1.isFalse)((0, json_1.hasProperty)(this.validator.schemas, schemaDefinition.SchemaName(context)))) {
const _schemaDefinition = schemaDefinition.SchemaDefinition(context);
this.validator.addSchema(_schemaDefinition, schemaDefinition.SchemaName(context));
this.CallSchemaDefinitionsSetupSchemaDependencies(schemaDefinition, context);
}
};

@@ -15,0 +17,0 @@ this.SetupSchema = (schemaDefinition, context) => {

@@ -16,3 +16,3 @@ {

"license": "MIT",
"version": "24.1.2",
"version": "24.1.3",
"main": "lib/index.js",

@@ -19,0 +19,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