Skip to content

Releases: samclarke/robots-parser

Version 3.0.1

21 Feb 18:59
Compare
Choose a tag to compare

This version fixes a bug with https: URLs defaulting to port 80 instead of 443 when no port is specified. Thanks to @dskvr for reporting

This bug 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. The bug does not affect comparing URLs without the default port to other URLs without it.

Version 3.0.0

07 Jan 23:17
Compare
Choose a tag to compare

The parser has been updated to use the global URL object instead of importing it, simplifying some use cases like browser bundling. Thanks to @brendankenny.

The global URL object is not supported in Node < 10 making this is a breaking change.

The README and LICENSE files have also been renamed to be in upper case to make them easier to spot.

There are no other changes in this release, so there is no need to upgrade unless using the global URL object is helpful.

Version 2.4.0

20 Dec 16:53
5c6f0d7
Compare
Choose a tag to compare

This version adds Typescript definitions (thanks to @danhab99 for creating).

A SECURITy.md policy has also been added along with CodeQL scanning of all commits and PRs.

There are no code changes in this release so unless you need Typescript support there is no need to upgrade.