Skip to content

Releases: wKovacs64/hibp

v14.1.2

17 Jul 18:35
df69f00
Compare
Choose a tag to compare

Patch Changes

v14.1.1

29 Apr 15:20
8277e59
Compare
Choose a tag to compare

Patch Changes

v14.1.0

28 Apr 02:47
6b4a04c
Compare
Choose a tag to compare

Minor Changes

  • #462 b6076f2 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.

  • #458 0a82b8d 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

  • #461 aa90167 Thanks @wKovacs64! - Fix a bug in pwnedPassword and pwnedPasswordRange modules where the addPadding and userAgent options could not be used simultaneously.

v14.0.3

08 Jan 03:59
4365283
Compare
Choose a tag to compare

Patch Changes

v14.0.2

08 Jan 03:13
0b5059c
Compare
Choose a tag to compare

Patch Changes

  • #436 961d6e0 Thanks @wKovacs64! - Fix CommonJS exports that broke in v14.0.0.

    CommonJS consumers were getting an ERR_REQUIRE_ESM error as of v14.0.0 due to changing the project source to ESM in PR #420. This change resolves that by publishing the CommonJS files in dist/cjs with a .cjs file extension and the ESM files in dist/esm with the .js file extension.

v14.0.1

08 Jan 01:44
d36eeb4
Compare
Choose a tag to compare

Patch Changes

v14.0.0

06 Nov 07:17
df5b849
Compare
Choose a tag to compare

Major Changes

  • #410 2643a0c Thanks @wKovacs64! - Drop support for Node.js 16 as it is end-of-life, making the new minimum Node.js runtime v18.0.0. Please upgrade your Node.js environment if necessary, or continue using a previous release if you are unable to upgrade your environment.

Minor Changes

Patch Changes

  • #427 173a615 Thanks @wKovacs64! - Fix the subscriptionStatus implementation from PR #425 so that it supports a proxy that inserts the HIBP-API-Key header (via the baseUrl option) in the case where the consumer doesn't have direct access to the API key.

  • #424 a512452 Thanks @wKovacs64! - Properly merge consumer-provided options with internal defaults.

  • #419 799669b Thanks @wKovacs64! - Update the Breach model to include the IsMalware and IsSubscriptionFree fields.

v13.0.0

06 May 18:43
1ae9487
Compare
Choose a tag to compare

Major Changes

  • #383 b837a57 Thanks @wKovacs64! - Drop support for Node.js 14 as it is end-of-life, making the new minimum Node.js runtime v16.0.0. Please upgrade your Node.js environment if necessary, or continue using a previous release if you are unable to upgrade your environment.

  • #381 6711b59 Thanks @wKovacs64! - Drop support for browsers without native Promise implementations. In reality, this likely didn't change anything.

v12.0.1

14 Mar 16:21
c2659d2
Compare
Choose a tag to compare

Patch Changes

v12.0.0

30 Jan 02:37
cea2495
Compare
Choose a tag to compare

Major Changes

  • #368 91909c1 Thanks @wKovacs64! - Drop support for Node.js 12 as it is end-of-life, making the new minimum Node.js runtime v14.13.1. Please upgrade your Node.js environment if necessary, or continue using a previous release if you are unable to upgrade your environment.

Patch Changes

  • #367 95d6217 Thanks @wKovacs64! - Replace the underlying fetch library. This shouldn't be noticeable to consumers, but replacing isomorphic-unfetch with our own conditional wrapper around @remix-run/web-fetch resolves a few compatibility issues the project has been facing.