Socket
Socket
Sign inDemoInstall

@types/validator

Package Overview
Dependencies
0
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.9.0 to 10.11.0

11

validator/index.d.ts

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

// Type definitions for validator.js v10.9.0
// Type definitions for validator.js v10.11.0
// Project: https://github.com/chriso/validator.js

@@ -11,2 +11,3 @@ // Definitions by: tgfjt <https://github.com/tgfjt>

// Philipp Katz <https://github.com/qqilihq>
// Jace Warren <https://github.com/keatz55>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -144,2 +145,5 @@

// check if the string is valid JWT token.
isJWT(str: string): boolean;
// check if the string is a valid latitude-longitude coordinate in the format lat,long or lat, long.

@@ -594,2 +598,7 @@ isLatLong(str: string): boolean;

declare module "validator/lib/isJWT" {
const isJWT: typeof validator.isJWT;
export = isJWT;
}
declare module "validator/lib/isLatLong" {

@@ -596,0 +605,0 @@ const isLatLong: typeof validator.isLatLong;

12

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

@@ -46,2 +46,7 @@ "license": "MIT",

"githubUsername": "qqilihq"
},
{
"name": "Jace Warren",
"url": "https://github.com/keatz55",
"githubUsername": "keatz55"
}

@@ -53,8 +58,9 @@ ],

"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/validator"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "9539040ae37579a8640048d69ed0af1d2ed39050d843f5db211bfec9d2b24226",
"typesPublisherContentHash": "7283895948dee7efe2b7ee36842cd6fc36f80c48e84ee52367c285dc54a76f9b",
"typeScriptVersion": "2.0"
}

@@ -5,3 +5,3 @@ # Installation

# Summary
This package contains type definitions for validator.js (https://github.com/chriso/validator.js).
This package contains type definitions for validator.js ( https://github.com/chriso/validator.js ).

@@ -12,3 +12,3 @@ # Details

Additional Details
* Last updated: Wed, 19 Dec 2018 17:35:51 GMT
* Last updated: Fri, 29 Mar 2019 18:34:38 GMT
* Dependencies: none

@@ -18,2 +18,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>, Louy 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>.
These definitions were written by tgfjt <https://github.com/tgfjt>, Ilya Mochalov <https://github.com/chrootsu>, Ayman Nedjmeddine <https://github.com/IOAyman>, Louy 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>.
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc