Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"use strict";
module.exports = {
supportedBrowsers: Object.entries(require("@financial-times/polyfill-useragent-normaliser/data.json").baselineVersions).map(([browser, version]) => {
switch (browser) {
case "ie": {
browser = "Internet Explorer";
break;
}
case "ie_mob": {
browser = "Internet Explorer Mobile";
break;
}
case "chrome": {
browser = "Chrome";
break;
}
case "safari": {
browser = "Safari";
break;