Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

joi-strict

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi-strict - npm Package Compare versions

Comparing version 1.2.11 to 2.0.0

2

lib/index.js
"use strict";
const Joi = require('@hapi/joi').defaults(schema => schema.options({
const Joi = require('joi').defaults(schema => schema.options({
presence: 'required',

@@ -5,0 +5,0 @@ convert: true

{
"name": "joi-strict",
"version": "1.2.11",
"version": "2.0.0",
"description": "Thin wrapper around joi that defaults to stricter validation.",

@@ -44,4 +44,4 @@ "main": "lib/index.js",

"@babel/register": "7.13.8",
"@blackflux/eslint-plugin-rules": "1.3.46",
"@blackflux/robo-config-plugin": "4.1.4",
"@blackflux/eslint-plugin-rules": "1.3.47",
"@blackflux/robo-config-plugin": "5.0.0",
"babel-eslint": "10.1.0",

@@ -57,5 +57,5 @@ "babel-preset-latest-node": "5.4.0",

"eslint-plugin-mocha": "8.1.0",
"js-gardener": "2.0.187",
"js-gardener": "2.0.188",
"nyc": "15.1.0",
"semantic-release": "17.4.1"
"semantic-release": "17.4.2"
},

@@ -69,3 +69,3 @@ "licenses": [

"engines": {
"node": ">= 10"
"node": ">= 12"
},

@@ -106,4 +106,4 @@ "files": [

"dependencies": {
"@hapi/joi": "17.1.1"
"joi": "17.4.0"
}
}
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