This commit is contained in:
Yamozha
2021-04-02 02:24:13 +03:00
parent c23950b545
commit 7256d79e2c
31493 changed files with 3036630 additions and 0 deletions

21
node_modules/expo/build/deprecatedGlobal.js generated vendored Normal file
View File

@ -0,0 +1,21 @@
let packages = [];
export default function deprecatedGlobal(name) {
if (__DEV__) {
packages.push(name);
setTimeout(logWarning, 1000);
}
}
function logWarning() {
if (!packages.length) {
return;
}
let instructions = '';
packages = Array.from(new Set(packages));
packages.sort();
instructions += packages.join(', ');
instructions += `.\n\n`;
instructions += `The global "__expo" and "Expo" objects will be removed in SDK 41. Learn more about how to fix this warning: https://expo.fyi/deprecated-globals\n`;
console.warn(`Your project is accessing the following APIs from a deprecated global rather than a module import: ${instructions}`);
packages = [];
}
//# sourceMappingURL=deprecatedGlobal.js.map