Socket
Socket
Sign inDemoInstall

@types/validator

Package Overview
Dependencies
0
Maintainers
1
Versions
80
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.11.2 to 10.11.3

6

validator/index.d.ts

@@ -171,3 +171,3 @@ // Type definitions for validator.js v10.11.0

// check if the string is a mobile phone number, (locale is one of
// check if the string is a mobile phone number, (locale is either an array of locales or one of
// ['ar-AE', ar-DZ', 'ar-EG', 'ar-JO', 'ar-SA', 'ar-SY', 'be-BY', 'bg-BG', 'cs-CZ', 'de-DE',

@@ -178,4 +178,4 @@ // 'da-DK', 'el-GR', 'en-AU', 'en-GB', 'en-HK', 'en-IN', 'en-KE', 'en-NG', 'en-NZ', 'en-UG',

// 'ko-KR', 'lt-LT', 'ms-MY', 'nb-NO', 'nn-NO', 'pl-PL', 'pt-PT', 'ro-RO', 'ru-RU', 'sk-SK',
// 'sr-RS', 'th-TH', 'tr-TR', 'uk-UA', 'vi-VN', 'zh-CN', 'zh-HK', 'zh-TW']).
isMobilePhone(str: string, locale: MobilePhoneLocale, options?: IsMobilePhoneOptions): boolean;
// 'sr-RS', 'th-TH', 'tr-TR', 'uk-UA', 'vi-VN', 'zh-CN', 'zh-HK', 'zh-TW'] or defaults to 'any').
isMobilePhone(str: string, locale?: MobilePhoneLocale | MobilePhoneLocale[], options?: IsMobilePhoneOptions): boolean;

@@ -182,0 +182,0 @@ // check if the string is a valid hex-encoded representation of a MongoDB ObjectId

{
"name": "@types/validator",
"version": "10.11.2",
"version": "10.11.3",
"description": "TypeScript definitions for validator.js",

@@ -62,4 +62,4 @@ "license": "MIT",

"dependencies": {},
"typesPublisherContentHash": "6bd9a2a8ae4b60a89c040acd08d80da5e8075b2f38925e2de63c99ba30b16ff7",
"typesPublisherContentHash": "32d9507af3829a8601aa72c9c1e9471b3c8cf45d30c1fe42146bcb836ad17fc9",
"typeScriptVersion": "2.0"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Tue, 23 Jul 2019 20:10:31 GMT
* Last updated: Mon, 19 Aug 2019 17:42:03 GMT
* Dependencies: none

@@ -14,0 +14,0 @@ * Global values: validator

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc