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

enjoi

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

enjoi - npm Package Compare versions

Comparing version

to
0.2.2

4

lib/enjoi.js

@@ -36,6 +36,6 @@ 'use strict';

if (id && id.length > 1 && subSchemas) {
if (id && subSchemas) {
refschema = subSchemas[id] || subSchemas[id.substr(0, id.length - 1)];
}
else {
if (!refschema) {
refschema = schema;

@@ -42,0 +42,0 @@ }

{
"name": "enjoi",
"version": "0.2.1",
"version": "0.2.2",
"description": "Converts json-schema to Joi schema for validation.",

@@ -5,0 +5,0 @@ "main": "lib/enjoi.js",