Skip to content

Commit

Permalink
[doc] Document that url.hostname might be an invalid hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Feb 11, 2022
1 parent f7774f6 commit e5e1d60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -81,7 +81,7 @@ The returned `url` instance contains the following properties:
- `username`: Username of basic authentication.
- `password`: Password of basic authentication.
- `host`: Host name with port number.
- `hostname`: Host name without port number.
- `hostname`: Host name without port number. This might be an invalid hostname.
- `port`: Optional port number.
- `pathname`: URL path.
- `query`: Parsed object containing query string, unless parsing is set to false.
Expand Down

0 comments on commit e5e1d60

Please sign in to comment.