Skip to content

Commit efd9a45

Browse files
authored
fix(core): Avoid using Object.values() (#7360)
This is not downcompiled for ES5. So instead we use `Object.keys()` (which works in IE11) here.
1 parent bcae395 commit efd9a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/integration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function filterDuplicates(integrations: Integration[]): Integration[] {
4040
integrationsByName[name] = currentInstance;
4141
});
4242

43-
return Object.values(integrationsByName);
43+
return Object.keys(integrationsByName).map(k => integrationsByName[k]);
4444
}
4545

4646
/** Gets integrations to install */

0 commit comments

Comments
 (0)