isSafari
Since Safari browser is a known modern Internet Explorer, you should just check if the browser is Safari and apply the necessary polyfills or special logics.
Usage
import { isSafari } from 'foxact/is-safari';
isSafari(); // true or false