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.1.4 to 13.6.0

validator/es/lib/isBase58.d.ts

22

validator/index.d.ts

@@ -1,2 +0,2 @@

// Type definitions for validator.js 13.1
// Type definitions for validator.js 13.6
// Project: https://github.com/validatorjs/validator.js

@@ -14,4 +14,4 @@ // Definitions by: tgfjt <https://github.com/tgfjt>

// Vlad Poluch <https://github.com/vlapo>
// Piotr Błażejewicz <https://github.com/peterblazejewicz>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1

@@ -53,2 +53,3 @@ declare namespace validator {

| 'el-GR'
| 'es-AR'
| 'es-ES'

@@ -118,2 +119,3 @@ | 'fr-FR'

| 'el-GR'
| 'es-AR'
| 'es-ES'

@@ -185,2 +187,6 @@ | 'fr-FR'

function isBase32(str: string): boolean;
/**
* check if a string is base58 encoded
*/
function isBase58(str: string): boolean;

@@ -1105,2 +1111,7 @@ interface IsBase64Options {

/**
* if set as true isURL will check if port is present in the URL
* @default false
*/
require_port?: boolean;
/**
* @default true

@@ -1161,2 +1172,7 @@ */

/**
* Checks that the string is a [valid VAT number
*/
function isVAT(str: string, countryCode: string): boolean;
/**
* Checks characters if they appear in the whitelist.

@@ -1364,1 +1380,3 @@ *

export default validator;
export as namespace validator;

9

validator/package.json
{
"name": "@types/validator",
"version": "13.1.4",
"version": "13.6.0",
"description": "TypeScript definitions for validator.js",

@@ -62,2 +62,7 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/validator",

"githubUsername": "vlapo"
},
{
"name": "Piotr Błażejewicz",
"url": "https://github.com/peterblazejewicz",
"githubUsername": "peterblazejewicz"
}

@@ -74,4 +79,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "04e2994e6088aa9a5ee4efbf27202d8fd89cb209e1191c15ee465fec332bcb20",
"typesPublisherContentHash": "37359fd03166cd6cb6e4ea3eb8fe9018e2572372462c4185a1376c166f827835",
"typeScriptVersion": "3.6"
}

@@ -11,7 +11,7 @@ # Installation

### Additional Details
* Last updated: Tue, 08 Jun 2021 20:01:25 GMT
* Last updated: Thu, 01 Jul 2021 20:31:27 GMT
* Dependencies: none
* Global values: none
* 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), [Kacper Polak](https://github.com/kacepe), [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), and [Vlad Poluch](https://github.com/vlapo).
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), [Kacper Polak](https://github.com/kacepe), [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).
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