Fix core-js 2 builtin data for opera (#11066)
This commit is contained in:
@@ -270,8 +270,12 @@ const generateData = (environments, features) => {
|
||||
// add opera
|
||||
if (plugin.chrome >= 28) {
|
||||
plugin.opera = (plugin.chrome - 13).toString();
|
||||
} else if (plugin.chrome === 5) {
|
||||
plugin.opera = "12";
|
||||
} else if (!plugin.opera) {
|
||||
if (plugin.chrome <= 23) {
|
||||
plugin.opera = "15";
|
||||
} else if (plugin.chrome <= 27) {
|
||||
plugin.opera = "16";
|
||||
}
|
||||
}
|
||||
|
||||
// add electron
|
||||
|
||||
Reference in New Issue
Block a user