Browser Compatibility

The bundles are built for ES2022 without transpiling and use Object.hasOwn() and Array.prototype.at(), which set the minimum browser versions below.

Polyfill Support

EnvironmentMinimum VersionStatus
Chrome93+Supported
Edge93+Supported
Firefox92+Supported
Safari15.4+Supported
Opera79+Supported
Samsung Internet17+Supported
Node.js20.19+ (engines)Supported; CI tests 22, 24 and 26. Needs a DOM such as jsdom

Native XSLT Deprecation Timeline

BrowserDeprecation WarningFull Removal
Chromev143 (2026)v164 (August 2027)
Edgev143 (2026)v164 (August 2027)
Other Chromiumv143 (2026)v164 (August 2027)

Feature Detection

import { isNativeXSLTSupported, installGlobal } from '@tradik/xslt-processor';

// Check native support and auto-install polyfill
if (!isNativeXSLTSupported()) {
  installGlobal();
  console.log('Using JavaScript XSLT polyfill');
}

This page is generated from docs/BROWSER-SUPPORT.md in the repository. Corrections are welcome as a pull request to that file.