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.9 to 13.7.10

14

validator/index.d.ts

@@ -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 @@ /**

9

validator/package.json
{
"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).
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