Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const browserList = {
chrome: 38,
android: 4,
firefox: 40,
ios_saf: 7,
safari: 7,
ie: 10,
ie_mob: 11,
edge: 12,
opera: 16,
op_mini: 12,
and_uc: 9,
and_chr: 38
};
generator(browserList, {
path: path.join(__dirname, '../../packages/react-native-web/src/modules/prefixStyles/static.js')
});
chrome: 30,
android: 4,
firefox: 25,
ios_saf: 6,
safari: 6,
ie: 9,
ie_mob: 9,
edge: 12,
opera: 13,
op_mini: 5,
and_uc: 9,
and_chr: 30,
};
mkdirp(`${__dirname}/../lib`);
generateData(browserList, {
path: `${__dirname}/../lib/staticPrefixData.js`,
});
module.exports = () => {
const browserListForInlineStylePrefixer = {};
for (const browser in browserList) {
if (browser !== 'chromium') {
browserListForInlineStylePrefixer[browser] = Number(browserList[browser]);
}
}
const {prefixMap, plugins} = generateData(browserListForInlineStylePrefixer);
return {code: generateFile(prefixMap, plugins, false)};
};