Skip to content

Releases: wKovacs64/hibp

v11.1.1

29 Jan 21:05
6827054
Compare
Choose a tag to compare

Patch Changes

v11.1.0

15 May 00:44
Compare
Choose a tag to compare

11.1.0 (2022-05-15)

Features

  • add retryAfterSeconds property to thrown rate limit errors (#310) (820a90e)

v11.0.0

15 Apr 04:41
Compare
Choose a tag to compare

11.0.0 (2021-04-15)

Features

BREAKING CHANGES

  • pwnedPasswordRange now returns an object mapping the matching suffix to a count representing the number of occurrences, rather than an array of objects each containing a matching suffix and its count. Code dependent on parsing the response text will need updated to deal with the new data format.

v10.0.1

26 Dec 19:19
Compare
Choose a tag to compare

10.0.1 (2020-12-26)

Bug Fixes

  • build: update @rollup/plugin-babel usage to fix UMD build (#199) (6d90a20)

v10.0.0

08 Dec 16:23
24f6b3c
Compare
Choose a tag to compare

10.0.0 (2020-12-08)

Features

  • update build output and add exports map (#193) (c0ba2b6)

BREAKING CHANGES

  • Support for Node.js version 10.x has been dropped.
  • Node.js >= 12.16.0 respects the exports map and prevents access to any files not
    explicitly exposed therein. If you are in such an environment and accessing specific files via deep
    imports, you may be affected. Please open an issue if this is a problem for you.
  • The internal directory structure of the module is now being preserved in the CJS
    and ESM for bundlers build outputs (dist/cjs and dist/esm). If you were deep importing anything
    you probably shouldn't have been (:wink:), you may need to update your imports.
  • The development/non-minified versions of the UMD and ESM for browsers build targets
    have been removed. As far as I can tell, nobody cares about these. If you do, please open an issue
    and I'll bring them back.
  • The production/minified versions of the browser build targets have been renamed:
    • ESM for Browsers (<script type="module">)
      • dist/browser/hibp.esm.min.jsdist/browser/hibp.module.js
    • UMD
      • dist/browser/hibp.umd.min.jsdist/browser/hibp.umd.js

v9.0.3

06 Dec 19:42
Compare
Choose a tag to compare

9.0.3 (2020-12-06)

Documentation

  • docs: update list of projects using hibp (#190) (e0528dc0)
  • docs: add Skypack URL for usage in Deno (ff241074)
  • docs: rephrase browser teaser (9b278d88)

v9.0.2

04 Dec 23:34
3850e71
Compare
Choose a tag to compare

9.0.2 (2020-12-04)

Bug Fixes

v9.0.1

04 Dec 22:54
Compare
Choose a tag to compare

9.0.1 (2020-12-04)

Bug Fixes

  • deps: update isomorphic-unfech to v3.1.0 (a63531f)
  • deps: update jssha to v3 (#143) (3d960a1)
  • deps: update jssha to v3.1.2 (8e1668b)

v9.0.0

19 Mar 06:59
Compare
Choose a tag to compare

9.0.0 (2020-03-19)

Build System

  • consolidate all build output under the dist directory (#138) (a7d0439)

chore

Reverts

  • enable skipLibCheck hack to avoid issues with Cypress types (db4e5cb)

BREAKING CHANGES

  • Output files for all build targets have been consolidated under the dist
    directory. This should be transparent if you followed the documentation, but
    the changes are as follows:
    • CommonJS
      • lib/hibp.jsdist/cjs/hibp.js
    • ECMAScript Modules
      • es/hibp.jsdist/esm/hibp.js
    • ECMAScript Modules for Browsers (development)
      • dist/hibp.mjsdist/browser/hibp.esm.js
    • ECMAScript Modules for Browsers (production)
      • dist/hibp.min.mjsdist/browser/hibp.esm.min.js
    • UMD (development)
      • dist/hibp.jsdist/browser/hibp.umd.js
    • UMD (production)
      • dist/hibp.min.jsdist/browser/hibp.umd.min.js
    • TypeScript Declarations
      • types/hibp.d.tsdist/hibp.d.ts
  • node: Support for Node.js version 8.x has been dropped.

v8.0.1

18 Mar 20:32
754a5e9
Compare
Choose a tag to compare

8.0.1 (2020-03-18)

Performance Improvements

  • replace axios with isomorphic-unfetch (#136) (754a5e9)

Build Output

  • improve dead code elimination with #__PURE__ annotations (#121) (a6b7b57)
  • cjs: output multiple files for consistency with ESM build (#122) (edd6ed0)