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

joi-phone-number

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

joi-phone-number - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

7

lib/index.js
'use strict';
const Joi = require('joi');
const PhoneUtil = require('google-libphonenumber').PhoneNumberUtil.getInstance();

@@ -9,4 +8,4 @@

*/
module.exports = {
base: Joi.string(),
module.exports = joi => ({
base: joi.string(),
name: 'string',

@@ -35,2 +34,2 @@ language: {

}]
};
});
{
"name": "joi-phone-number",
"version": "1.0.4",
"version": "1.0.5",
"description": "Phone number validation rule for Joi",

@@ -60,6 +60,3 @@ "homepage": "https://github.com/Salesflare/joi-phone-number",

"nsp": "^2.8.0"
},
"peerDependencies": {
"joi": "^11.0.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