Socket
Socket
Sign inDemoInstall

@types/validator

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/validator - npm Package Compare versions

Comparing version 13.7.6 to 13.7.7

7

validator/index.d.ts

@@ -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`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc