Skip to content

v10.0.0

Compare
Choose a tag to compare
@wKovacs64 wKovacs64 released this 08 Dec 16:23
24f6b3c

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