Skip to content

v6.0.0

Compare
Choose a tag to compare
@sindresorhus sindresorhus released this 03 Nov 07:12
· 7 commits to main since this release

Breaking

  • This package is now pure ESM. Please read this.
    • If you cannot easily move to ESM. Just stay on version 5.2.0. It's stable and fine.
  • This package now uses modern JavaScript syntax. If you need support for older browsers, you need to transpile the code with Babel.
  • A minified version is no longer provided in the package. It's better to minify your project as a whole in your own build step.
  • screenfull.element is now undefined instead of null when there's no fullscreen element.
  • The document global is no longer polyfilled. If you run this package in a non-browser environment, it's up to you to polyfill required browser globals.

v5.2.0...v6.0.0