libphonenumber-js
Advanced tools
Comparing version 0.2.29 to 0.2.30
@@ -1,5 +0,1 @@ | ||
// Strict mode here is required for older browsers like Safari 9 | ||
// because of using `const`. | ||
'use strict' | ||
import metadata from './metadata.min' | ||
@@ -16,9 +12,13 @@ | ||
export const parse = _parse.bind({ metadata }) | ||
export const format = _format.bind({ metadata }) | ||
// `const` is not supported in Internet Explorer 10 | ||
export const is_valid_number = _is_valid_number.bind({ metadata }) | ||
export const isValidNumber = is_valid_number | ||
var context = { metadata: metadata } | ||
export const as_you_type = _as_you_type(metadata) | ||
export const asYouType = as_you_type | ||
export var parse = _parse.bind(context) | ||
export var format = _format.bind(context) | ||
export var is_valid_number = _is_valid_number.bind(context) | ||
export var isValidNumber = is_valid_number | ||
export var as_you_type = _as_you_type(metadata) | ||
export var asYouType = as_you_type |
{ | ||
"name": "libphonenumber-js", | ||
"version": "0.2.29", | ||
"version": "0.2.30", | ||
"description": "A simpler (and smaller) rewrite of Google Android's popular libphonenumber library", | ||
@@ -5,0 +5,0 @@ "main": "index.common.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1358838
7064