Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Releases: wKovacs64/hibp

v15.1.0

05 Oct 23:17
402c6ce

Choose a tag to compare

Minor Changes

Patch Changes

  • #535 d47d462 Thanks @wKovacs64! - Add IncludesStealerLogs field to SubscriptionStatus interface and docs.

v15.0.1

23 Mar 21:46
8e642c1

Choose a tag to compare

Patch Changes

v15.0.0

23 Mar 18:15
f87eaaa

Choose a tag to compare

Major Changes

  • #509 e8d4986 Thanks @wKovacs64! - Drop support for Node 18 and remove the CommonJS and UMD builds:

    • Drop support for Node.js 18 as it is end-of-life, making the new minimum Node.js runtime v20.19.0. Please upgrade your Node.js environment if necessary, or continue using a previous release if you are unable to upgrade your environment.

      • This also allowed us to drop the fetch polyfill that was only necessary in Node 18, which reduced the bundle size by approximately 33%! 📉 The library now officially has zero dependencies. 🎉
    • Remove the CommonJS build since you can now require() ESM as of Node v20.19.0. Consumers in a CommonJS environment should still be able to use the library as before (given the appropriate Node.js version).

    • Remove the UMD build as all modern browsers support importing ESM via <script type="module"> tags. See the "Using in the browser" section of the README for more details.

Minor Changes

  • #506 56fdf38 Thanks @wKovacs64! - Drop JSSHA dependency in favor of a native Web Crypto API SHA-1 hashing implementation. This change reduces the size of the library by approximately 30%! 📉

v14.1.3

21 Jan 22:17
33fe6b6

Choose a tag to compare

Patch Changes

v14.1.2

17 Jul 18:35
df69f00

Choose a tag to compare

Patch Changes

v14.1.1

29 Apr 15:20
8277e59

Choose a tag to compare

Patch Changes

v14.1.0

28 Apr 02:47
6b4a04c

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 specified 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

Choose a tag to compare

Patch Changes

v14.0.2

08 Jan 03:13
0b5059c

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

Choose a tag to compare

Patch Changes