@types/validator
Advanced tools
Comparing version 13.9.0 to 13.11.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for validator.js 13.9 | ||
// Type definitions for validator.js 13.11 | ||
// Project: https://github.com/validatorjs/validator.js | ||
@@ -441,2 +441,9 @@ // Definitions by: tgfjt <https://github.com/tgfjt> | ||
/** | ||
* check if the string is a [Magnet URI format][Mailto URI Format].<br/><br/>`options` is an object of validating emails inside the URI (check `isEmail`s options for details). | ||
* @param str | ||
* @param [options] | ||
*/ | ||
function isMailtoURI(str: string, options?: IsEmailOptions): boolean; | ||
interface IsEmptyOptions { | ||
@@ -702,2 +709,13 @@ /** | ||
/** | ||
* check if the string is a valid [ISO 6346](https://en.wikipedia.org/wiki/ISO_6346) shipping container identification. | ||
* @param str | ||
*/ | ||
function isISO6346(str: string): boolean; | ||
/** | ||
* alias for `isISO6346`, check if the string is a valid [ISO 6346](https://en.wikipedia.org/wiki/ISO_6346) shipping container identification. | ||
*/ | ||
const isFreightContainerID: typeof isISO6346; | ||
/** | ||
* Check if the string is a valid [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) officially assigned language code. | ||
@@ -704,0 +722,0 @@ */ |
{ | ||
"name": "@types/validator", | ||
"version": "13.9.0", | ||
"version": "13.11.0", | ||
"description": "TypeScript definitions for validator.js", | ||
@@ -88,4 +88,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/validator", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "1e17647c9b7bda72ab725c8ed85bfcb8a3c08e2d5d52f5cb9d40a37d67009aa6", | ||
"typesPublisherContentHash": "005a22ef05073033a4f72bfbb7f2b08c26258685c7dd89c3b62074a0fcf1504f", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Mon, 31 Jul 2023 20:32:48 GMT | ||
* Last updated: Mon, 07 Aug 2023 19:32:39 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `validator` |
70401
195
2390