Packages

@mdn/browser-compat-data

8.1.10 · 19 Nov 2026CC0-1.04.6M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.2

2 Sep 2021Where it was published

4.2.1 is the newest release of 4.x.

In short

3 breaking35 new5 changed

  • Breaking

    api.Window.isSecureContext

  • Breaking

    api.Window.trustedTypes

  • Breaking

    api.WindowOrWorkerGlobalScope.*

Release note

WindowOrWorkerGlobalScope removal

To no longer expose mixins, the following features have been moved from api.WindowOrWorkerGlobalScope (or api.Window for two cases) to the global api.* namespace. The features' worker support is now indicated using worker_support sub-features.

Removed

  • Breaking

    api.Window.isSecureContext

  • Breaking

    api.Window.trustedTypes

  • Breaking

    api.WindowOrWorkerGlobalScope.*

Added

  • api.atob

  • api.atob.worker_support

  • api.btoa

  • api.btoa.worker_support

  • api.caches

  • api.caches.worker_support

  • api.clearInterval

  • api.clearInterval.worker_support

  • api.clearTimeout

  • api.clearTimeout.worker_support

  • api.createImageBitmap

  • api.createImageBitmap.worker_support

  • api.crossOriginIsolated

  • api.crossOriginIsolated.worker_support

  • api.fetch

  • api.fetch.worker_support

  • api.indexedDB

  • api.indexedDB.worker_support

  • api.isSecureContext

  • api.isSecureContext.worker_support

  • api.origin

  • api.origin.worker_support

  • api.queueMicrotask

  • api.queueMicrotask.worker_support

  • api.setInterval

  • api.setInterval.worker_support

  • api.setTimeout

  • api.setTimeout.worker_support

  • api.structuredClone

  • api.structuredClone.worker_support

  • api.trustedTypes

  • api.trustedTypes.worker_support

Notable changes

  • The following non-existent, long-removed, or otherwise irrelevant features have been removed:

    • api.UIEvent.pageX

    • api.UIEvent.pageY

    • api.UIEvent.isChar

Known issues

  • In v3.3.9, the structure of features for css.properties.place-content, place-items, and place-self changed (#11214). This is an incomplete fix to the problem of undocumented namespaces appearing in places where you might otherwise expect compatability data. The restructuring of the data is a work in progress and may change again in a future release. See #6175 for more information.

Statistics

  • 10 contributors have changed 61 files with 2,863 additions and 2,275 deletions in 34 commits (v4.0.1...v4.0.2)

  • 13,290 total features

  • 806 total contributors

  • 3,551 total stargazers

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.