Skip to content

v4.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 14 Jun 09:46

Breaking

  • Require Node.js 10 663eb59
  • No longer accepts protocol-relative URLs, for example: //sindresorhus.com.
    Prefer using an explicit protocol. If you really need this, you can do a simple replace on the input string: string.replace(/^\/\//, 'https://').

v3.0.0...v4.0.0