libphonenumber-js
Advanced tools
Comparing version 1.10.60 to 1.10.61
@@ -55,11 +55,2 @@ "use strict"; | ||
metadata = new _metadata["default"](metadata); | ||
/** | ||
* Checks if a phone number is "possible" (basically just checks its length). | ||
* | ||
* @param {object|PhoneNumber} input — If `options.v2: true` flag is passed, the `input` should be a `PhoneNumber` instance. Otherwise, it should be an object of shape `{ phone: '...', country: '...' }`. | ||
* @param {object} [options] | ||
* @param {object} metadata | ||
* @return {string} | ||
*/ | ||
metadata.selectNumberingPlan(input.country, input.countryCallingCode); // By default, countries only have type regexps when it's required for | ||
@@ -66,0 +57,0 @@ // distinguishing different countries having the same `countryCallingCode`. |
@@ -44,11 +44,2 @@ import Metadata from './metadata.js'; | ||
metadata = new Metadata(metadata); | ||
/** | ||
* Checks if a phone number is "possible" (basically just checks its length). | ||
* | ||
* @param {object|PhoneNumber} input — If `options.v2: true` flag is passed, the `input` should be a `PhoneNumber` instance. Otherwise, it should be an object of shape `{ phone: '...', country: '...' }`. | ||
* @param {object} [options] | ||
* @param {object} metadata | ||
* @return {string} | ||
*/ | ||
metadata.selectNumberingPlan(input.country, input.countryCallingCode); // By default, countries only have type regexps when it's required for | ||
@@ -55,0 +46,0 @@ // distinguishing different countries having the same `countryCallingCode`. |
{ | ||
"name": "libphonenumber-js", | ||
"version": "1.10.60", | ||
"version": "1.10.61", | ||
"description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript", | ||
@@ -5,0 +5,0 @@ "main": "index.cjs", |
@@ -47,11 +47,2 @@ import Metadata from './metadata.js' | ||
/** | ||
* Checks if a phone number is "possible" (basically just checks its length). | ||
* | ||
* @param {object|PhoneNumber} input — If `options.v2: true` flag is passed, the `input` should be a `PhoneNumber` instance. Otherwise, it should be an object of shape `{ phone: '...', country: '...' }`. | ||
* @param {object} [options] | ||
* @param {object} metadata | ||
* @return {string} | ||
*/ | ||
metadata.selectNumberingPlan(input.country, input.countryCallingCode) | ||
@@ -58,0 +49,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8271785
42835