@types/validator
Advanced tools
Comparing version 13.7.6 to 13.7.7
@@ -1053,3 +1053,3 @@ // Type definitions for validator.js 13.7 | ||
interface strongPasswordOptions { | ||
interface StrongPasswordOptions { | ||
minLength?: number | undefined; | ||
@@ -1068,7 +1068,8 @@ minLowercase?: number | undefined; | ||
} | ||
function isStrongPassword( | ||
str: string, | ||
options?: strongPasswordOptions & { returnScore: false | undefined }, | ||
options?: StrongPasswordOptions & { returnScore?: false | undefined }, | ||
): boolean; | ||
function isStrongPassword(str: string, options?: strongPasswordOptions & { returnScore: true }): number; | ||
function isStrongPassword(str: string, options: StrongPasswordOptions & { returnScore: true }): number; | ||
@@ -1075,0 +1076,0 @@ /** |
{ | ||
"name": "@types/validator", | ||
"version": "13.7.6", | ||
"version": "13.7.7", | ||
"description": "TypeScript definitions for validator.js", | ||
@@ -73,4 +73,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/validator", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "4c47d1d53cb5687c870867249f39d1946cda588a4865bfe3790e42fef2902251", | ||
"typeScriptVersion": "4.0" | ||
"typesPublisherContentHash": "e00674af07b54a9ef771f3546ae8f4e8c1b392b8bbfe71298144787aa3089dd7", | ||
"typeScriptVersion": "4.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Sat, 27 Aug 2022 14:43:05 GMT | ||
* Last updated: Sat, 24 Sep 2022 20:32:57 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `validator` |
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
62945