This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
hibp@14.1.0
Minor Changes
#462b6076f2 Thanks @wKovacs64! - Add the timeoutMs option to all modules, allowing the consumer to specify a timeout for the underlying network request (in milliseconds). Requests that take longer than the sppecified timeout period will throw/reject. There is no default timeout, as fetch itself has no timeout by default and providing one would be arbitrary, unexpected, and a breaking change.
#4580a82b8d Thanks @wKovacs64! - Only polyfill global fetch on Node.js v18, and use undici instead of @remix-run/web-fetch. This also enables use of hibp in web workers and extension background threads.
Patch Changes
#461aa90167 Thanks @wKovacs64! - Fix a bug in pwnedPassword and pwnedPasswordRange modules where the addPadding and userAgent options could not be used simultaneously.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
hibp@14.1.0
Minor Changes
#462
b6076f2
Thanks @wKovacs64! - Add thetimeoutMs
option to all modules, allowing the consumer to specify a timeout for the underlying network request (in milliseconds). Requests that take longer than the sppecified timeout period will throw/reject. There is no default timeout, asfetch
itself has no timeout by default and providing one would be arbitrary, unexpected, and a breaking change.#458
0a82b8d
Thanks @wKovacs64! - Only polyfill globalfetch
on Node.js v18, and useundici
instead of@remix-run/web-fetch
. This also enables use ofhibp
in web workers and extension background threads.Patch Changes
aa90167
Thanks @wKovacs64! - Fix a bug inpwnedPassword
andpwnedPasswordRange
modules where theaddPadding
anduserAgent
options could not be used simultaneously.