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

@salesflare/joi

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@salesflare/joi - npm Package Compare versions

Comparing version 1.0.8 to 2.0.0

2

lib/__tests__/joi.test.js
const Joi = require('../index.js');
describe('joi', function () {
it('is our custom Joi', function () {
it('has the phonenumber rule', function () {
expect(Joi.string().phoneNumber).toBeInstanceOf(Function);
});
});
{
"name": "@salesflare/joi",
"version": "1.0.8",
"version": "2.0.0",
"description": "Salesflare's Joi",

@@ -42,3 +42,3 @@ "homepage": "https://github.com/Salesflare/joi",

"dependencies": {
"joi": "11.3.4",
"joi": "12.0.0",
"joi-phone-number": "1.0.6"

@@ -48,8 +48,8 @@ },

"coveralls": "^3.0.0",
"eslint": "^4.1.0",
"eslint": "^4.9.0",
"eslint-config-xo-space": "^0.16.0",
"jest": "^21.0.0",
"jest-cli": "^21.0.0",
"nsp": "^2.8.0"
"nsp": "^2.8.1"
}
}
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