Skip to content

Commit

Permalink
Release version 3.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
samclarke committed Feb 21, 2023
1 parent 2957d9d commit dd032ec
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## Version 3.0.1

- Fixed bug with `https:` URLs defaulting to port `80` instead of `443` if no port is specified.
Thanks to @dskvr for reporting

This affects comparing URLs with the default HTTPs port to URLs without it.
For example, comparing `https://example.com/` to `https://example.com:443/` or vice versa.

They should be treated as equivalent but weren't due to the incorrect port
being used for `https:`.

## Version 3.0.0

- Changed to using global URL object instead of importing. – Thanks to @brendankenny
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,17 @@ Returns the preferred host name specified by the `host:` directive or null if th

# Changes

### Version 3.0.1

- Fixed bug with `https:` URLs defaulting to port `80` instead of `443` if no port is specified.
Thanks to @dskvr for reporting

This affects comparing URLs with the default HTTPs port to URLs without it.
For example, comparing `https://example.com/` to `https://example.com:443/` or vice versa.

They should be treated as equivalent but weren't due to the incorrect port
being used for `https:`.

### Version 3.0.0

- Changed to using global URL object instead of importing. – Thanks to @brendankenny
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "robots-parser",
"version": "3.0.0",
"version": "3.0.1",
"description": "A specification compliant robots.txt parser with wildcard (*) matching support.",
"keywords": [
"robots.txt",
Expand Down

0 comments on commit dd032ec

Please sign in to comment.