Skip to content

Commit

Permalink
Add missing props to IsURLOptions interface (#1259)
Browse files Browse the repository at this point in the history
Co-authored-by: Kirill Makarov <kirill.makarov@visitech.ru>
  • Loading branch information
Makarovks320 and Kirill Makarov committed May 18, 2024
1 parent ce3a4a3 commit 57a0a15
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -996,17 +996,14 @@ export interface IsStrongPasswordOptions {
* allow_query_components: true
* }
*/
export interface IsURLOptions {
export interface IsURLOptions extends IsFQDNOptions {
protocols?: URLProtocol[];
require_tld?: boolean;
require_protocol?: boolean;
require_host?: boolean;
require_port?: boolean;
require_valid_protocol?: boolean;
allow_underscores?: boolean;
host_whitelist?: (string | RegExp)[];
host_blacklist?: (string | RegExp)[];
allow_trailing_dot?: boolean;
allow_protocol_relative_urls?: boolean;
disallow_auth?: boolean;
validate_length?: boolean;
Expand Down

0 comments on commit 57a0a15

Please sign in to comment.