Skip to content

v6.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 11 Sep 12:06
· 3 commits to main since this release

Breaking

  • Require Node.js 20 a6080b1
  • This package is now pure ESM. Please read this.
  • It now allows any HTTP status code by default b5b3ac7
    • Set {requireHttpSuccess: true} option to get old behavior.

Improvements

  • Add requireHttpSuccess option b5b3ac7
  • Use HEAD requests before GET for better performance a8020b2
  • Improve browser version with multiple fallbacks 8984ce7

v5.2.1...v6.0.0