@types/validator
Advanced tools
Comparing version 13.7.9 to 13.7.10
@@ -14,2 +14,3 @@ // Type definitions for validator.js 13.7 | ||
// Piotr Błażejewicz <https://github.com/peterblazejewicz> | ||
// Matteo Nista <https://github.com/Mattewn99> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -33,2 +34,13 @@ | ||
interface ContainsOptions { | ||
/** | ||
* @default false | ||
*/ | ||
ignoreCase?: boolean | undefined; | ||
/** | ||
* @default 1 | ||
*/ | ||
minOccurrences?: number | undefined; | ||
} | ||
/** | ||
@@ -39,3 +51,3 @@ * Check if the string contains the seed. | ||
*/ | ||
function contains(str: string, seed: any): boolean; | ||
function contains(str: string, seed: any, options?: ContainsOptions): boolean; | ||
@@ -42,0 +54,0 @@ /** |
{ | ||
"name": "@types/validator", | ||
"version": "13.7.9", | ||
"version": "13.7.10", | ||
"description": "TypeScript definitions for validator.js", | ||
@@ -62,2 +62,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/validator", | ||
"githubUsername": "peterblazejewicz" | ||
}, | ||
{ | ||
"name": "Matteo Nista", | ||
"url": "https://github.com/Mattewn99", | ||
"githubUsername": "Mattewn99" | ||
} | ||
@@ -74,4 +79,4 @@ ], | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "46d6bf51fa8b4d6fff133d5a1dad7b78bdac47a1e119fcc8d43bccc8973a8ac0", | ||
"typesPublisherContentHash": "bcafc3ecaf07e59448517db1c76b423c79c33520c012a0b3282a95a8a6d001ca", | ||
"typeScriptVersion": "4.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 22 Oct 2022 03:33:10 GMT | ||
* Last updated: Sun, 30 Oct 2022 13:32:41 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: `validator` | ||
# Credits | ||
These definitions were written by [tgfjt](https://github.com/tgfjt), [Ilya Mochalov](https://github.com/chrootsu), [Ayman Nedjmeddine](https://github.com/IOAyman), [Louay Alakkad](https://github.com/louy), [Bonggyun Lee](https://github.com/deptno), [Naoto Yokoyama](https://github.com/builtinnya), [Philipp Katz](https://github.com/qqilihq), [Jace Warren](https://github.com/keatz55), [Munif Tanjim](https://github.com/MunifTanjim), [Vlad Poluch](https://github.com/vlapo), and [Piotr Błażejewicz](https://github.com/peterblazejewicz). | ||
These definitions were written by [tgfjt](https://github.com/tgfjt), [Ilya Mochalov](https://github.com/chrootsu), [Ayman Nedjmeddine](https://github.com/IOAyman), [Louay Alakkad](https://github.com/louy), [Bonggyun Lee](https://github.com/deptno), [Naoto Yokoyama](https://github.com/builtinnya), [Philipp Katz](https://github.com/qqilihq), [Jace Warren](https://github.com/keatz55), [Munif Tanjim](https://github.com/MunifTanjim), [Vlad Poluch](https://github.com/vlapo), [Piotr Błażejewicz](https://github.com/peterblazejewicz), and [Matteo Nista](https://github.com/Mattewn99). |
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
66558
2303