salesforce / kagekiri

Shadow DOM-piercing query APIs for the browser.
BSD 3-Clause "New" or "Revised" License
86 stars 9 forks source link

Drop support for IE11 / legacy browsers #101

Closed nolanlawson closed 3 weeks ago

nolanlawson commented 6 months ago

This project contains some polyfills (string.prototype.startswith, string.prototype.endswith) and transforms (Bublé) which are designed to support IE11 and other legacy browsers.

startsWith is supported since Safari 9; we can probably remove the polyfill. As for Bublé, it's not clear which browsers we would lose support for if we dropped it (since postcss-selector-parser probably has its own support matrix), but we can just tell downstream consumers that it's their job to transpile as necessary.

This would be a breaking change (kagekiri 2.0).