@types/validator
Advanced tools
| import validator from "../../"; | ||
| export type IsDateOptions = validator.IsDateOptions; | ||
| export default validator.isDate; |
| import validator from "../../"; | ||
| export type IsRgbColorOptions = validator.IsRgbColorOptions; | ||
| export default validator.isRgbColor; |
@@ -420,3 +420,4 @@ import * as _isBoolean from "./lib/isBoolean"; | ||
| */ | ||
| export function isDate(str: string, options?: IsDateOptions): boolean; | ||
| export function isDate(input: Date, formatOrOptions: IsDateOptions & { strictMode: true }): false; | ||
| export function isDate(input: string | Date, formatOrOptions?: string | IsDateOptions): boolean; | ||
@@ -635,3 +636,3 @@ export type DecimalLocale = FloatLocale; | ||
| */ | ||
| export function isRgbColor(str: string, options?: IsRgbColorOptions): boolean; | ||
| export function isRgbColor(str: string, includePercentValuesOrOptions?: boolean | IsRgbColorOptions): boolean; | ||
@@ -887,3 +888,3 @@ export type IdentityCardLocale = | ||
| */ | ||
| discreteLengths?: number | Array<number> | undefined; | ||
| discreteLengths?: Array<number> | undefined; | ||
| } | ||
@@ -898,3 +899,4 @@ | ||
| */ | ||
| export function isLength(str: string, options?: IsLengthOptions): boolean; | ||
| export function isLength(str: string, minOrOptions?: number | IsLengthOptions): boolean; | ||
| export function isLength(str: string, min: number, max: number): boolean; | ||
@@ -901,0 +903,0 @@ export type LicensePlateLocale = |
| import validator from "../"; | ||
| export type IsDateOptions = validator.IsDateOptions; | ||
| export default validator.isDate; |
| import validator from "../"; | ||
| export type IsRgbColorOptions = validator.IsRgbColorOptions; | ||
| export default validator.isRgbColor; |
| { | ||
| "name": "@types/validator", | ||
| "version": "13.15.9", | ||
| "version": "13.15.10", | ||
| "description": "TypeScript definitions for validator", | ||
@@ -84,4 +84,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/validator", | ||
| "peerDependencies": {}, | ||
| "typesPublisherContentHash": "b4eb26b65b7f92dc2a767ffaecabbc1296c799a33fad4ee317173b596f04829c", | ||
| "typesPublisherContentHash": "5f7b50fa2d47d206fa5f2c3d027a72996c5b3919a0774e1b2e9ac453b1a36cd1", | ||
| "typeScriptVersion": "5.2" | ||
| } |
@@ -11,3 +11,3 @@ # Installation | ||
| ### Additional Details | ||
| * Last updated: Fri, 14 Nov 2025 18:02:08 GMT | ||
| * Last updated: Mon, 17 Nov 2025 21:33:59 GMT | ||
| * Dependencies: none | ||
@@ -14,0 +14,0 @@ |
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
82706
0.58%2793
0.22%