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.11.9 to 13.11.10

24

validator/index.d.ts

@@ -812,2 +812,26 @@ import * as _isBoolean from "./lib/isBoolean";

/**
* Check if the string matches the format of a country's license plate.
*/
export function isLicensePlate(
str: string,
locale:
| "cs-CZ"
| "de-DE"
| "de-LI"
| "en-IN"
| "es-AR"
| "hu-HU"
| "pt-BR"
| "pt-PT"
| "sq-AL"
| "sv-SE"
| "any",
): boolean;
/**
* Check if the string passes the [Luhn algorithm check](https://en.m.wikipedia.org/wiki/Luhn_algorithm).
*/
export function isLuhnNumber(str: string): boolean;
/**
* Check if the string is a locale.

@@ -814,0 +838,0 @@ */

6

validator/package.json
{
"name": "@types/validator",
"version": "13.11.9",
"version": "13.11.10",
"description": "TypeScript definitions for validator",

@@ -88,4 +88,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/validator",

"dependencies": {},
"typesPublisherContentHash": "28e1576d534bb6bf79f6e661394835ea3f041a9931979c0be0c7645a3ff1a267",
"typeScriptVersion": "4.6"
"typesPublisherContentHash": "5a6c0f17989fb722d0523a1922e2e0b2fb343e59bc934e5df5eb91fde3c11f68",
"typeScriptVersion": "4.7"
}

@@ -11,3 +11,3 @@ # Installation

### Additional Details
* Last updated: Mon, 05 Feb 2024 22:35:26 GMT
* Last updated: Sat, 11 May 2024 09:35:43 GMT
* Dependencies: none

@@ -14,0 +14,0 @@

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