class-validator
Advanced tools
Comparing version 0.12.0-refactor.2 to 0.12.0-refactor.3
import { buildMessage, ValidateBy } from "../common/ValidateBy"; | ||
import * as libphonenumber from "google-libphonenumber"; | ||
const phoneUtil = libphonenumber.PhoneNumberUtil.getInstance(); | ||
const phoneUtil = require("google-libphonenumber").PhoneNumberUtil.getInstance(); | ||
export const IS_PHONE_NUMBER = "isPhoneNumber"; | ||
@@ -5,0 +4,0 @@ /** |
import { buildMessage, ValidateBy } from "../common/ValidateBy"; | ||
import * as libphonenumber from "google-libphonenumber"; | ||
var phoneUtil = libphonenumber.PhoneNumberUtil.getInstance(); | ||
var phoneUtil = require("google-libphonenumber").PhoneNumberUtil.getInstance(); | ||
export var IS_PHONE_NUMBER = "isPhoneNumber"; | ||
@@ -5,0 +4,0 @@ /** |
{ | ||
"name": "class-validator", | ||
"private": false, | ||
"version": "0.12.0-refactor.2", | ||
"version": "0.12.0-refactor.3", | ||
"description": "Class-based validation with Typescript / ES6 / ES5 using decorators or validation schemas. Supports both node.js and browser", | ||
@@ -32,3 +32,3 @@ "license": "MIT", | ||
"@types/validator": "12.0.1", | ||
"google-libphonenumber": "^3.1.6", | ||
"google-libphonenumber": "^3.2.8", | ||
"validator": "12.2.0" | ||
@@ -40,3 +40,2 @@ }, | ||
"@types/del": "^4.0.0", | ||
"@types/google-libphonenumber": "^7.4.17", | ||
"@types/gulp": "^4.0.2", | ||
@@ -43,0 +42,0 @@ "@types/gulp-istanbul": "^0.9.32", |
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 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 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
47
2334363
19083
Updatedgoogle-libphonenumber@^3.2.8