- Drops support for Node 16. As before, I'm cutting down the dependency footprint to lower the maintenance burden.
- Drops support for Node 14. I'm trying to cut down the footprint of all my packages to lower the dependency maintenance burden.
- Fixes and adds back TypeScript declaration file.
- Adds a check for null body when handling responses. This is a precaution since node-fetch doesn't appear to produce them.
- Unused files no longer make it to the package on npm, lowering download size.
- Adds support for grabbing the title as an extended attribute from headers.
- Lessens the node_modules footprint a little.
- Drops support for Node 12.
- Now an ES module.
- Drops support for Node 10.
- Drops use of the deprecated
url.resolve
method.
- Bumps node-fetch to 2.6.1.
- Bump of parse5-sax-parser to address a security advisory.
- Stable.
BREAKING CHANGE.
- May now be called with a WHATWG object (a string URL will still work).
- Results no longer have a
uri
field. This has been replaced with aurl
field containing a WHATWG URL object. - Fixes TypeScript declaration file.
- Bumps
node-fetch
from^2.0.0
to^2.2.0
. - Replaces
parse5
withparse5-sax-parser
. - Corrects usage infomation in the readme.
- A URL with an unsupported protocol, which includes HTTP when not setting
allowHttp
to true and no protocol, will now throw an error. - A TypeScript definition file is now included.