Releases: wKovacs64/hibp
Releases · wKovacs64/hibp
v12.0.0
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 underlyingfetch
library. This shouldn't be noticeable to consumers, but replacingisomorphic-unfetch
with our own conditional wrapper around@remix-run/web-fetch
resolves a few compatibility issues the project has been facing.
v11.1.1
Patch Changes
- #365
ec26254
Thanks @wKovacs64! - Addtypes
to theexports
map inpackage.json
to fix ESM consumers.
v11.1.0
v11.0.0
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
v10.0.0
10.0.0 (2020-12-08)
Features
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
anddist/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.js
→dist/browser/hibp.module.js
- UMD
dist/browser/hibp.umd.min.js
→dist/browser/hibp.umd.js
- ESM for Browsers (
v9.0.3
v9.0.2
v9.0.1
v9.0.0
9.0.0 (2020-03-19)
Build System
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.js
→dist/cjs/hibp.js
- ECMAScript Modules
es/hibp.js
→dist/esm/hibp.js
- ECMAScript Modules for Browsers (development)
dist/hibp.mjs
→dist/browser/hibp.esm.js
- ECMAScript Modules for Browsers (production)
dist/hibp.min.mjs
→dist/browser/hibp.esm.min.js
- UMD (development)
dist/hibp.js
→dist/browser/hibp.umd.js
- UMD (production)
dist/hibp.min.js
→dist/browser/hibp.umd.min.js
- TypeScript Declarations
types/hibp.d.ts
→dist/hibp.d.ts
- CommonJS
- node: Support for Node.js version 8.x has been dropped.