mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(rn,polyfills) use core-js for promise polyfills
We use the same on the web, on browsers that don't support them.
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
aea9c5e79e
commit
e9a8fd5392
305
package-lock.json
generated
305
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -75,8 +75,6 @@
|
||||
"null-loader": "4.0.1",
|
||||
"optional-require": "1.0.3",
|
||||
"pixelmatch": "5.3.0",
|
||||
"promise.allsettled": "1.0.4",
|
||||
"promise.withresolvers": "1.0.3",
|
||||
"punycode": "2.3.0",
|
||||
"react": "18.2.0",
|
||||
"react-dom": "18.2.0",
|
||||
|
||||
@@ -4,8 +4,8 @@ import { NativeModules, Platform } from 'react-native';
|
||||
import BackgroundTimer from 'react-native-background-timer';
|
||||
import { TextDecoder, TextEncoder } from 'text-encoding';
|
||||
|
||||
import 'promise.allsettled/auto'; // Promise.allSettled.
|
||||
import 'promise.withresolvers/auto'; // Promise.withResolvers.
|
||||
import 'core-js/features/promise/all-settled'; // Promise.allSettled.
|
||||
import 'core-js/features/promise/with-resolvers'; // Promise.withResolvers.
|
||||
import 'react-native-url-polyfill/auto'; // Complete URL polyfill.
|
||||
|
||||
import Storage from './Storage';
|
||||
|
||||
Reference in New Issue
Block a user