libphonenumber-js 1.10.59 → 1.10.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libphonenumber-js",
3
- "version": "1.10.59",
3
+ "version": "1.10.61",
4
4
  "description": "A simpler (and smaller) rewrite of Google Android's libphonenumber library in javascript",
5
5
  "main": "index.cjs",
6
6
  "module": "index.js",
package/source/isValid.js CHANGED
@@ -44,15 +44,6 @@ export default function isValidNumber(input, options, metadata)
44
44
 
45
45
  metadata = new Metadata(metadata)
46
46
 
47
- /**
48
- * Checks if a phone number is "possible" (basically just checks its length).
49
- *
50
- * @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: '...' }`.
51
- * @param {object} [options]
52
- * @param {object} metadata
53
- * @return {string}
54
- */
55
-
56
47
  metadata.selectNumberingPlan(input.country, input.countryCallingCode)
57
48
 
58
49
  // By default, countries only have type regexps when it's required for