screenfull breaking changes
screenfull 6.0.0 (November 3, 2021) is its newest release with breaking changes, 7 of them. The first: Minified build is no longer shipped in the package in screenfull 6.0.0. Every breaking API change we have recorded in screenfull on npm: 16 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.0.2, released June 19, 2022.
Packages on npm run on Node.js. Node.js end of life dates.
- From 5.0.0 to 6.0.0: 7 breaking changes in 1 version.
- From 4.0.0 to 6.0.0: 12 breaking changes in 2 versions.
screenfull 6.0.0 breaking changes
- Removed
The package no longer includes a minified file. Users should minify their whole project in their own build step. github.com - Removed
Screenfull
Screenfull was removed in screenfull 6.0.0 npmjs.com - Behavior changed
In non-browser environments the package no longer supplies the document global. Users must polyfill the required browser globals themselves. github.com - Behavior changed
The package now ships only as ES modules. Code that loads it with require() or CommonJS must move to ESM, or stay on version 5.2.0. github.com - Behavior changed
The code now uses modern JavaScript syntax. Projects that need older browsers must transpile the package with Babel. github.com - Behavior changed
screenfull.element
When there is no fullscreen element, screenfull.element now returns undefined rather than null. Code that checks for null must be updated. github.com - Signature changed
default
Was const screenfull: screenfull.Screenfull namespace screenfull; now const screenfull: {readonly isFullscreen: boolean; readonly element: Element | undefined; readonly isEnabled: true; raw: RawEventNames; request(element?: Element... npmjs.com
screenfull 5.0.0 breaking changes
- Removed
The workaround for Safari 5.1 is removed, so that browser is no longer specially supported. github.com - Removed
Screenfull.enabled
The screenfull.enabled property is renamed to screenfull.isEnabled. Update code that reads the old name. npmjs.com - Behavior changed
screenfull.enabled
Code that checked the screenfull object before use, such as screenfull && screenfull.enabled, should now check screenfull.isEnabled directly. github.com - Configuration changed
With TypeScript, screenfull must be imported using import screenfull = require('screenfull') instead of a default import. github.com - Signature changed
default
Was const screenfull: | (screenfull.Screenfull & {default: typeof screenfull;}) | false; now const screenfull: screenfull.Screenfull | {isEnabled: false}. npmjs.com
screenfull 4.0.0 breaking changes
- Behavior changed
screenfull.exit
Calling exit() now returns a promise instead of its previous return value, and the package now requires Promise or a promise polyfill. Code that relies on the old return value must be updated to handle the promise. github.com - Behavior changed
screenfull.request
Calling request() now returns a promise instead of its previous return value, and the package now requires Promise or a promise polyfill. Code that relies on the old return value must be updated to handle the promise. github.com - Behavior changed
screenfull.toggle
Calling toggle() now returns a promise instead of its previous return value, and the package now requires Promise or a promise polyfill. Code that relies on the old return value must be updated to handle the promise. github.com - Signature changed
default
Was var screenfull: IScreenfull | false; now const screenfull: screenfull.Screenfull | false namespace screenfull. npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.