@types/validator
Advanced tools
Comparing version 13.11.9 to 13.11.10
@@ -812,2 +812,26 @@ import * as _isBoolean from "./lib/isBoolean"; | ||
/** | ||
* Check if the string matches the format of a country's license plate. | ||
*/ | ||
export function isLicensePlate( | ||
str: string, | ||
locale: | ||
| "cs-CZ" | ||
| "de-DE" | ||
| "de-LI" | ||
| "en-IN" | ||
| "es-AR" | ||
| "hu-HU" | ||
| "pt-BR" | ||
| "pt-PT" | ||
| "sq-AL" | ||
| "sv-SE" | ||
| "any", | ||
): boolean; | ||
/** | ||
* Check if the string passes the [Luhn algorithm check](https://en.m.wikipedia.org/wiki/Luhn_algorithm). | ||
*/ | ||
export function isLuhnNumber(str: string): boolean; | ||
/** | ||
* Check if the string is a locale. | ||
@@ -814,0 +838,0 @@ */ |
{ | ||
"name": "@types/validator", | ||
"version": "13.11.9", | ||
"version": "13.11.10", | ||
"description": "TypeScript definitions for validator", | ||
@@ -88,4 +88,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/validator", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "28e1576d534bb6bf79f6e661394835ea3f041a9931979c0be0c7645a3ff1a267", | ||
"typeScriptVersion": "4.6" | ||
"typesPublisherContentHash": "5a6c0f17989fb722d0523a1922e2e0b2fb343e59bc934e5df5eb91fde3c11f68", | ||
"typeScriptVersion": "4.7" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 05 Feb 2024 22:35:26 GMT | ||
* Last updated: Sat, 11 May 2024 09:35:43 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
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
72388
2442