Socket
Socket
Sign inDemoInstall

joi

Package Overview
Dependencies
Maintainers
4
Versions
238
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi - npm Package Compare versions

Comparing version 13.5.2 to 13.6.0

2

lib/types/alternatives/index.js

@@ -153,3 +153,3 @@ 'use strict';

const description = Any.prototype.describe.call(this);
const description = super.describe();
const alternatives = [];

@@ -156,0 +156,0 @@ for (let i = 0; i < this._inner.matches.length; ++i) {

@@ -314,3 +314,3 @@ 'use strict';

const description = Any.prototype.describe.call(this);
const description = super.describe();

@@ -317,0 +317,0 @@ if (this._inner.ordereds.length) {

@@ -90,3 +90,3 @@ 'use strict';

const description = Any.prototype.describe.call(this);
const description = super.describe();
description.truthy = [true].concat(this._inner.truthySet.values());

@@ -93,0 +93,0 @@ description.falsy = [false].concat(this._inner.falsySet.values());

@@ -50,3 +50,3 @@ 'use strict';

result.errors = isNumber ? null : this.createError('number.base', null, state, options);
result.errors = isNumber ? null : this.createError('number.base', { value }, state, options);
return result;

@@ -53,0 +53,0 @@ }

@@ -618,3 +618,3 @@ 'use strict';

const description = Any.prototype.describe.call(this);
const description = super.describe();

@@ -621,0 +621,0 @@ if (description.rules) {

{
"name": "joi",
"description": "Object schema validation",
"version": "13.5.2",
"version": "13.6.0",
"homepage": "https://github.com/hapijs/joi",

@@ -6,0 +6,0 @@ "repository": "git://github.com/hapijs/joi",

@@ -19,3 +19,3 @@ ![joi Logo](https://raw.github.com/hapijs/joi/master/images/joi.png)

# API
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v13.5.2/API.md).
See the detailed [API Reference](https://github.com/hapijs/joi/blob/v13.6.0/API.md).

@@ -22,0 +22,0 @@ # Example

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