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

joi-to-json

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi-to-json - npm Package Compare versions

Comparing version 2.5.0 to 2.6.0

0

index.d.ts

@@ -0,0 +0,0 @@ import Joi from 'joi-17';

2

index.js

@@ -20,3 +20,3 @@ const cmp = require('semver-compare')

'json-draft-2019-09': JoiJsonDraftSchemaParser19,
'json-draft-4': JoiJsonDraftSchemaParser,
'json-draft-04': JoiJsonDraftSchemaParser,
json: JoiJsonSchemaParser,

@@ -23,0 +23,0 @@ 'open-api': JoiOpenApiSchemaParser

@@ -0,0 +0,0 @@ /* eslint no-use-before-define: 'off' */

@@ -45,3 +45,3 @@ const _ = require('lodash')

_.each(meta, (value, key) => {
if (key.startsWith('x-') || key === 'deprecated') {
if (key.startsWith('x-') || key === 'deprecated' || key === 'readOnly' || key === 'writeOnly') {
schema[key] = value

@@ -48,0 +48,0 @@ }

{
"name": "joi-to-json",
"version": "2.5.0",
"version": "2.6.0",
"description": "joi to JSON / OpenAPI Schema Converter",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,0 +0,0 @@ # joi-to-json

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