yeet
This commit is contained in:
4
node_modules/expo/build/environment/DevAppContainer.d.ts
generated
vendored
Normal file
4
node_modules/expo/build/environment/DevAppContainer.d.ts
generated
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
import * as React from 'react';
|
||||
export default class DevAppContainer extends React.Component {
|
||||
render(): JSX.Element;
|
||||
}
|
10
node_modules/expo/build/environment/DevAppContainer.js
generated
vendored
Normal file
10
node_modules/expo/build/environment/DevAppContainer.js
generated
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
import * as React from 'react';
|
||||
import DevLoadingView from '../environment/DevLoadingView';
|
||||
export default class DevAppContainer extends React.Component {
|
||||
render() {
|
||||
return (React.createElement(React.Fragment, null,
|
||||
this.props.children,
|
||||
React.createElement(DevLoadingView, null)));
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=DevAppContainer.js.map
|
1
node_modules/expo/build/environment/DevAppContainer.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/DevAppContainer.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"DevAppContainer.js","sourceRoot":"","sources":["../../src/environment/DevAppContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,cAAc,MAAM,+BAA+B,CAAC;AAE3D,MAAM,CAAC,OAAO,OAAO,eAAgB,SAAQ,KAAK,CAAC,SAAS;IAC1D,MAAM;QACJ,OAAO,CACL;YACG,IAAI,CAAC,KAAK,CAAC,QAAQ;YACpB,oBAAC,cAAc,OAAG,CACjB,CACJ,CAAC;IACJ,CAAC;CACF","sourcesContent":["import * as React from 'react';\n\nimport DevLoadingView from '../environment/DevLoadingView';\n\nexport default class DevAppContainer extends React.Component {\n render() {\n return (\n <>\n {this.props.children}\n <DevLoadingView />\n </>\n );\n }\n}\n"]}
|
2
node_modules/expo/build/environment/DevLoadingView.d.ts
generated
vendored
Normal file
2
node_modules/expo/build/environment/DevLoadingView.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
declare const _default: () => null;
|
||||
export default _default;
|
2
node_modules/expo/build/environment/DevLoadingView.ios.d.ts
generated
vendored
Normal file
2
node_modules/expo/build/environment/DevLoadingView.ios.d.ts
generated
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
/// <reference types="react" />
|
||||
export default function DevLoadingView(): JSX.Element | null;
|
89
node_modules/expo/build/environment/DevLoadingView.ios.js
generated
vendored
Normal file
89
node_modules/expo/build/environment/DevLoadingView.ios.js
generated
vendored
Normal file
@ -0,0 +1,89 @@
|
||||
import React, { useEffect, useState, useRef } from 'react';
|
||||
import { Animated, StyleSheet, Text, NativeModules, NativeEventEmitter, View } from 'react-native';
|
||||
import { SafeAreaView } from 'react-native-safe-area-context';
|
||||
const NativeDevLoadingView = NativeModules.DevLoadingView;
|
||||
const nativeDevLoadingViewEventEmitter = new NativeEventEmitter(NativeDevLoadingView);
|
||||
export default function DevLoadingView() {
|
||||
const [isDevLoading, setIsDevLoading] = useState(false);
|
||||
const [isAnimating, setIsAnimating] = useState(false);
|
||||
const translateY = useRef(new Animated.Value(0)).current;
|
||||
useEffect(() => {
|
||||
function handleShowMessage({ message }) {
|
||||
// "Refreshing..." is the standard fast refresh message and it's the
|
||||
// only time we want to display this overlay.
|
||||
if (message !== 'Refreshing...') {
|
||||
return;
|
||||
}
|
||||
// TODO: if we show the refreshing banner and don't get a hide message
|
||||
// for 3 seconds, warn the user that it's taking a while and suggest
|
||||
// they reload
|
||||
translateY.setValue(0);
|
||||
setIsDevLoading(true);
|
||||
}
|
||||
function handleHide() {
|
||||
// TODO: if we showed the 'refreshing' banner less than 250ms ago, delay
|
||||
// switching to the 'finished' banner
|
||||
setIsAnimating(true);
|
||||
setIsDevLoading(false);
|
||||
Animated.timing(translateY, {
|
||||
toValue: 150,
|
||||
delay: 1000,
|
||||
duration: 350,
|
||||
useNativeDriver: true,
|
||||
}).start(({ finished }) => {
|
||||
if (finished) {
|
||||
setIsAnimating(false);
|
||||
translateY.setValue(0);
|
||||
}
|
||||
});
|
||||
}
|
||||
nativeDevLoadingViewEventEmitter.addListener('devLoadingView:showMessage', handleShowMessage);
|
||||
nativeDevLoadingViewEventEmitter.addListener('devLoadingView:hide', handleHide);
|
||||
return function cleanup() {
|
||||
nativeDevLoadingViewEventEmitter.removeListener('devLoadingView:showMessage', handleShowMessage);
|
||||
nativeDevLoadingViewEventEmitter.removeListener('devLoadingView:hide', handleHide);
|
||||
};
|
||||
}, [translateY]);
|
||||
if (isDevLoading || isAnimating) {
|
||||
return (React.createElement(Animated.View, { style: [styles.animatedContainer, { transform: [{ translateY }] }], pointerEvents: "none" },
|
||||
React.createElement(SafeAreaView, { style: styles.banner, edges: ['bottom'] },
|
||||
React.createElement(View, { style: styles.contentContainer },
|
||||
React.createElement(View, { style: { flexDirection: 'row' } },
|
||||
React.createElement(Text, { style: styles.text }, isDevLoading ? 'Refreshing...' : 'Refreshed')),
|
||||
React.createElement(View, { style: { flex: 1 } },
|
||||
React.createElement(Text, { style: styles.subtitle }, isDevLoading ? 'Using Fast Refresh' : "Don't see your changes? Reload the app"))))));
|
||||
}
|
||||
else {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
const styles = StyleSheet.create({
|
||||
animatedContainer: {
|
||||
position: 'absolute',
|
||||
bottom: 0,
|
||||
left: 0,
|
||||
right: 0,
|
||||
zIndex: 42,
|
||||
},
|
||||
banner: {
|
||||
flex: 1,
|
||||
overflow: 'visible',
|
||||
backgroundColor: 'rgba(0,0,0,0.75)',
|
||||
},
|
||||
contentContainer: {
|
||||
flex: 1,
|
||||
paddingTop: 10,
|
||||
paddingBottom: 5,
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
textAlign: 'center',
|
||||
},
|
||||
text: {
|
||||
color: '#fff',
|
||||
fontSize: 15,
|
||||
},
|
||||
subtitle: {
|
||||
color: 'rgba(255,255,255,0.8)',
|
||||
},
|
||||
});
|
||||
//# sourceMappingURL=DevLoadingView.ios.js.map
|
1
node_modules/expo/build/environment/DevLoadingView.ios.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/DevLoadingView.ios.js.map
generated
vendored
Normal file
File diff suppressed because one or more lines are too long
3
node_modules/expo/build/environment/DevLoadingView.js
generated
vendored
Normal file
3
node_modules/expo/build/environment/DevLoadingView.js
generated
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
// DevLoadingView exists on the JS-side only on iOS
|
||||
export default () => null;
|
||||
//# sourceMappingURL=DevLoadingView.js.map
|
1
node_modules/expo/build/environment/DevLoadingView.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/DevLoadingView.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"DevLoadingView.js","sourceRoot":"","sources":["../../src/environment/DevLoadingView.ts"],"names":[],"mappings":"AAAA,mDAAmD;AACnD,eAAe,GAAG,EAAE,CAAC,IAAI,CAAC","sourcesContent":["// DevLoadingView exists on the JS-side only on iOS\nexport default () => null;\n"]}
|
1
node_modules/expo/build/environment/LogBox.fx.expo.d.ts
generated
vendored
Normal file
1
node_modules/expo/build/environment/LogBox.fx.expo.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export {};
|
7
node_modules/expo/build/environment/LogBox.fx.expo.js
generated
vendored
Normal file
7
node_modules/expo/build/environment/LogBox.fx.expo.js
generated
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import Constants from 'expo-constants';
|
||||
if (__DEV__) {
|
||||
if (Constants.manifest?.experiments?.redesignedLogBox) {
|
||||
console.warn('LogBox is enabled by default on SDK 39 and higher. You can now remove the experiments.redesignedLogBox from your app configuration to get rid of this warning.');
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=LogBox.fx.expo.js.map
|
1
node_modules/expo/build/environment/LogBox.fx.expo.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/LogBox.fx.expo.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"LogBox.fx.expo.js","sourceRoot":"","sources":["../../src/environment/LogBox.fx.expo.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,IAAI,OAAO,EAAE;IACX,IAAI,SAAS,CAAC,QAAQ,EAAE,WAAW,EAAE,gBAAgB,EAAE;QACrD,OAAO,CAAC,IAAI,CACV,gKAAgK,CACjK,CAAC;KACH;CACF","sourcesContent":["import Constants from 'expo-constants';\n\nif (__DEV__) {\n if (Constants.manifest?.experiments?.redesignedLogBox) {\n console.warn(\n 'LogBox is enabled by default on SDK 39 and higher. You can now remove the experiments.redesignedLogBox from your app configuration to get rid of this warning.'\n );\n }\n}\n"]}
|
1
node_modules/expo/build/environment/getInstallationIdAsync.android.d.ts
generated
vendored
Normal file
1
node_modules/expo/build/environment/getInstallationIdAsync.android.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export default function getInstallationIdAsync(): string;
|
5
node_modules/expo/build/environment/getInstallationIdAsync.android.js
generated
vendored
Normal file
5
node_modules/expo/build/environment/getInstallationIdAsync.android.js
generated
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
import * as Application from 'expo-application';
|
||||
export default function getInstallationIdAsync() {
|
||||
return Application.androidId;
|
||||
}
|
||||
//# sourceMappingURL=getInstallationIdAsync.android.js.map
|
1
node_modules/expo/build/environment/getInstallationIdAsync.android.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/getInstallationIdAsync.android.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"getInstallationIdAsync.android.js","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.android.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAEhD,MAAM,CAAC,OAAO,UAAU,sBAAsB;IAC5C,OAAO,WAAW,CAAC,SAAU,CAAC;AAChC,CAAC","sourcesContent":["import * as Application from 'expo-application';\n\nexport default function getInstallationIdAsync() {\n return Application.androidId!;\n}\n"]}
|
1
node_modules/expo/build/environment/getInstallationIdAsync.d.ts
generated
vendored
Normal file
1
node_modules/expo/build/environment/getInstallationIdAsync.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export default function getInstallationIdAsync(): Promise<string>;
|
23
node_modules/expo/build/environment/getInstallationIdAsync.js
generated
vendored
Normal file
23
node_modules/expo/build/environment/getInstallationIdAsync.js
generated
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
import * as Application from 'expo-application';
|
||||
import uuidv5 from 'uuid/v5';
|
||||
let installationId;
|
||||
const UUID_NAMESPACE = '29cc8a0d-747c-5f85-9ff9-f2f16636d963'; // uuidv5(0, "expo")
|
||||
export default async function getInstallationIdAsync() {
|
||||
if (installationId) {
|
||||
return installationId;
|
||||
}
|
||||
const identifierForVendor = await Application.getIosIdForVendorAsync();
|
||||
const bundleIdentifier = Application.applicationId;
|
||||
// It's unlikely identifierForVendor will be null (it returns null if the
|
||||
// device has been restarted but not yet unlocked), but let's handle this
|
||||
// case.
|
||||
if (identifierForVendor) {
|
||||
installationId = uuidv5(`${bundleIdentifier}-${identifierForVendor}`, UUID_NAMESPACE);
|
||||
}
|
||||
else {
|
||||
const installationTime = await Application.getInstallationTimeAsync();
|
||||
installationId = uuidv5(`${bundleIdentifier}-${installationTime.getTime()}`, UUID_NAMESPACE);
|
||||
}
|
||||
return installationId;
|
||||
}
|
||||
//# sourceMappingURL=getInstallationIdAsync.js.map
|
1
node_modules/expo/build/environment/getInstallationIdAsync.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/getInstallationIdAsync.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"getInstallationIdAsync.js","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,MAAM,MAAM,SAAS,CAAC;AAE7B,IAAI,cAA6B,CAAC;AAClC,MAAM,cAAc,GAAG,sCAAsC,CAAC,CAAC,oBAAoB;AAEnF,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,sBAAsB;IAClD,IAAI,cAAc,EAAE;QAClB,OAAO,cAAc,CAAC;KACvB;IAED,MAAM,mBAAmB,GAAG,MAAM,WAAW,CAAC,sBAAsB,EAAE,CAAC;IACvE,MAAM,gBAAgB,GAAG,WAAW,CAAC,aAAc,CAAC;IAEpD,yEAAyE;IACzE,yEAAyE;IACzE,QAAQ;IACR,IAAI,mBAAmB,EAAE;QACvB,cAAc,GAAG,MAAM,CAAC,GAAG,gBAAgB,IAAI,mBAAmB,EAAE,EAAE,cAAc,CAAC,CAAC;KACvF;SAAM;QACL,MAAM,gBAAgB,GAAG,MAAM,WAAW,CAAC,wBAAwB,EAAE,CAAC;QACtE,cAAc,GAAG,MAAM,CAAC,GAAG,gBAAgB,IAAI,gBAAgB,CAAC,OAAO,EAAE,EAAE,EAAE,cAAc,CAAC,CAAC;KAC9F;IAED,OAAO,cAAc,CAAC;AACxB,CAAC","sourcesContent":["import * as Application from 'expo-application';\nimport uuidv5 from 'uuid/v5';\n\nlet installationId: string | null;\nconst UUID_NAMESPACE = '29cc8a0d-747c-5f85-9ff9-f2f16636d963'; // uuidv5(0, \"expo\")\n\nexport default async function getInstallationIdAsync() {\n if (installationId) {\n return installationId;\n }\n\n const identifierForVendor = await Application.getIosIdForVendorAsync();\n const bundleIdentifier = Application.applicationId!;\n\n // It's unlikely identifierForVendor will be null (it returns null if the\n // device has been restarted but not yet unlocked), but let's handle this\n // case.\n if (identifierForVendor) {\n installationId = uuidv5(`${bundleIdentifier}-${identifierForVendor}`, UUID_NAMESPACE);\n } else {\n const installationTime = await Application.getInstallationTimeAsync();\n installationId = uuidv5(`${bundleIdentifier}-${installationTime.getTime()}`, UUID_NAMESPACE);\n }\n\n return installationId;\n}\n"]}
|
1
node_modules/expo/build/environment/getInstallationIdAsync.web.d.ts
generated
vendored
Normal file
1
node_modules/expo/build/environment/getInstallationIdAsync.web.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export default function getInstallationIdAsync(): Promise<string>;
|
31
node_modules/expo/build/environment/getInstallationIdAsync.web.js
generated
vendored
Normal file
31
node_modules/expo/build/environment/getInstallationIdAsync.web.js
generated
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
const INSTALLATION_ID_KEY = 'installationId';
|
||||
let installationId = null;
|
||||
export default async function getInstallationIdAsync() {
|
||||
// Already cached value
|
||||
if (installationId) {
|
||||
return installationId;
|
||||
}
|
||||
try {
|
||||
// No cached value, fetch from persisted storage
|
||||
installationId = localStorage.getItem(INSTALLATION_ID_KEY);
|
||||
if (installationId) {
|
||||
return installationId;
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
// If we weren't able to fetch one (for whatever reason)
|
||||
// let's create a new one.
|
||||
}
|
||||
// No persisted value, set the cached value...
|
||||
installationId = uuidv4();
|
||||
// ...and try to persist it. Ignore the errors.
|
||||
try {
|
||||
localStorage.setItem(INSTALLATION_ID_KEY, installationId);
|
||||
}
|
||||
catch (error) {
|
||||
console.debug('[expo-notifications] Could not save installation ID in persisted storage, it will get reset.', error);
|
||||
}
|
||||
return installationId;
|
||||
}
|
||||
//# sourceMappingURL=getInstallationIdAsync.web.js.map
|
1
node_modules/expo/build/environment/getInstallationIdAsync.web.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/getInstallationIdAsync.web.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"getInstallationIdAsync.web.js","sourceRoot":"","sources":["../../src/environment/getInstallationIdAsync.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,IAAI,MAAM,EAAE,MAAM,MAAM,CAAC;AAEpC,MAAM,mBAAmB,GAAG,gBAAgB,CAAC;AAE7C,IAAI,cAAc,GAAkB,IAAI,CAAC;AAEzC,MAAM,CAAC,OAAO,CAAC,KAAK,UAAU,sBAAsB;IAClD,uBAAuB;IACvB,IAAI,cAAc,EAAE;QAClB,OAAO,cAAc,CAAC;KACvB;IAED,IAAI;QACF,gDAAgD;QAChD,cAAc,GAAG,YAAY,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC;QAC3D,IAAI,cAAc,EAAE;YAClB,OAAO,cAAc,CAAC;SACvB;KACF;IAAC,OAAO,KAAK,EAAE;QACd,wDAAwD;QACxD,0BAA0B;KAC3B;IAED,8CAA8C;IAC9C,cAAc,GAAG,MAAM,EAAE,CAAC;IAC1B,+CAA+C;IAC/C,IAAI;QACF,YAAY,CAAC,OAAO,CAAC,mBAAmB,EAAE,cAAc,CAAC,CAAC;KAC3D;IAAC,OAAO,KAAK,EAAE;QACd,OAAO,CAAC,KAAK,CACX,8FAA8F,EAC9F,KAAK,CACN,CAAC;KACH;IAED,OAAO,cAAc,CAAC;AACxB,CAAC","sourcesContent":["import { v4 as uuidv4 } from 'uuid';\n\nconst INSTALLATION_ID_KEY = 'installationId';\n\nlet installationId: string | null = null;\n\nexport default async function getInstallationIdAsync() {\n // Already cached value\n if (installationId) {\n return installationId;\n }\n\n try {\n // No cached value, fetch from persisted storage\n installationId = localStorage.getItem(INSTALLATION_ID_KEY);\n if (installationId) {\n return installationId;\n }\n } catch (error) {\n // If we weren't able to fetch one (for whatever reason)\n // let's create a new one.\n }\n\n // No persisted value, set the cached value...\n installationId = uuidv4();\n // ...and try to persist it. Ignore the errors.\n try {\n localStorage.setItem(INSTALLATION_ID_KEY, installationId);\n } catch (error) {\n console.debug(\n '[expo-notifications] Could not save installation ID in persisted storage, it will get reset.',\n error\n );\n }\n\n return installationId;\n}\n"]}
|
1
node_modules/expo/build/environment/logging.fx.d.ts
generated
vendored
Normal file
1
node_modules/expo/build/environment/logging.fx.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export {};
|
24
node_modules/expo/build/environment/logging.fx.js
generated
vendored
Normal file
24
node_modules/expo/build/environment/logging.fx.js
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
import Constants from 'expo-constants';
|
||||
import * as Logs from '../logs/Logs';
|
||||
import RemoteLogging from '../logs/RemoteLogging';
|
||||
if (Constants.manifest && Constants.manifest.logUrl) {
|
||||
// Enable logging to the Expo dev tools only if this JS is not running in a web browser (ex: the
|
||||
// remote debugger). In Expo Web we don't show console logs in the CLI, so there's no special case needed.
|
||||
if (!isRunningInWebBrowser()) {
|
||||
Logs.enableExpoCliLogging();
|
||||
}
|
||||
else {
|
||||
RemoteLogging.enqueueRemoteLogAsync('info', {}, [
|
||||
'You are now debugging remotely; check your browser console for your application logs.',
|
||||
]);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* In all web browsers navigator.product is "Gecko" for compatibility reasons.
|
||||
* See https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/product
|
||||
* and the discussion at https://github.com/expo/expo/pull/8807#discussion_r441391148.
|
||||
*/
|
||||
function isRunningInWebBrowser() {
|
||||
return navigator?.product === 'Gecko';
|
||||
}
|
||||
//# sourceMappingURL=logging.fx.js.map
|
1
node_modules/expo/build/environment/logging.fx.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/logging.fx.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"logging.fx.js","sourceRoot":"","sources":["../../src/environment/logging.fx.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AAEvC,OAAO,KAAK,IAAI,MAAM,cAAc,CAAC;AACrC,OAAO,aAAa,MAAM,uBAAuB,CAAC;AAElD,IAAI,SAAS,CAAC,QAAQ,IAAI,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE;IACnD,gGAAgG;IAChG,0GAA0G;IAC1G,IAAI,CAAC,qBAAqB,EAAE,EAAE;QAC5B,IAAI,CAAC,oBAAoB,EAAE,CAAC;KAC7B;SAAM;QACL,aAAa,CAAC,qBAAqB,CAAC,MAAM,EAAE,EAAE,EAAE;YAC9C,uFAAuF;SACxF,CAAC,CAAC;KACJ;CACF;AAED;;;;GAIG;AACH,SAAS,qBAAqB;IAC5B,OAAO,SAAS,EAAE,OAAO,KAAK,OAAO,CAAC;AACxC,CAAC","sourcesContent":["import Constants from 'expo-constants';\n\nimport * as Logs from '../logs/Logs';\nimport RemoteLogging from '../logs/RemoteLogging';\n\nif (Constants.manifest && Constants.manifest.logUrl) {\n // Enable logging to the Expo dev tools only if this JS is not running in a web browser (ex: the\n // remote debugger). In Expo Web we don't show console logs in the CLI, so there's no special case needed.\n if (!isRunningInWebBrowser()) {\n Logs.enableExpoCliLogging();\n } else {\n RemoteLogging.enqueueRemoteLogAsync('info', {}, [\n 'You are now debugging remotely; check your browser console for your application logs.',\n ]);\n }\n}\n\n/**\n * In all web browsers navigator.product is \"Gecko\" for compatibility reasons.\n * See https://developer.mozilla.org/en-US/docs/Web/API/NavigatorID/product\n * and the discussion at https://github.com/expo/expo/pull/8807#discussion_r441391148.\n */\nfunction isRunningInWebBrowser() {\n return navigator?.product === 'Gecko';\n}\n"]}
|
1
node_modules/expo/build/environment/react-native-logs.fx.d.ts
generated
vendored
Normal file
1
node_modules/expo/build/environment/react-native-logs.fx.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export {};
|
29
node_modules/expo/build/environment/react-native-logs.fx.js
generated
vendored
Normal file
29
node_modules/expo/build/environment/react-native-logs.fx.js
generated
vendored
Normal file
@ -0,0 +1,29 @@
|
||||
// AppRegistry transitively installs YellowBox as a side effect, which overrides various console
|
||||
// methods that we need to set up before we override them
|
||||
import { AppRegistry } from 'react-native';
|
||||
AppRegistry; // eslint-disable-line @babel/no-unused-expressions
|
||||
// NOTE(2018-10-29): temporarily filter out cyclic dependency warnings here since they are noisy and
|
||||
// each warning symbolicates a stack trace, which is slow when there are many warnings
|
||||
// NOTE(2019-05-27): temporarily filter out LottieAnimationView warnings triggered by
|
||||
// unmaintained react-native-safe-module dependency.
|
||||
const originalWarn = console.warn;
|
||||
console.warn = function warn(...args) {
|
||||
if (args.length > 0 &&
|
||||
typeof args[0] === 'string' &&
|
||||
(/^Require cycle: .*node_modules/.test(args[0]) ||
|
||||
/Use UIManager\.getViewManagerConfig\('LottieAnimationView'\) instead\./.test(args[0]) ||
|
||||
/ReactNative\.NativeModules\.LottieAnimationView\.getConstants/.test(args[0]))) {
|
||||
return;
|
||||
}
|
||||
originalWarn.apply(console, args);
|
||||
};
|
||||
const originalError = console.error;
|
||||
console.error = function error(...args) {
|
||||
if (args.length > 0 &&
|
||||
typeof args[0] === 'string' &&
|
||||
/^Warning: .* has been extracted/.test(args[0])) {
|
||||
return;
|
||||
}
|
||||
originalError.apply(console, args);
|
||||
};
|
||||
//# sourceMappingURL=react-native-logs.fx.js.map
|
1
node_modules/expo/build/environment/react-native-logs.fx.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/react-native-logs.fx.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"react-native-logs.fx.js","sourceRoot":"","sources":["../../src/environment/react-native-logs.fx.ts"],"names":[],"mappings":"AAAA,gGAAgG;AAChG,yDAAyD;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE3C,WAAW,CAAC,CAAC,mDAAmD;AAEhE,oGAAoG;AACpG,sFAAsF;AACtF,qFAAqF;AACrF,oDAAoD;AACpD,MAAM,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC;AAClC,OAAO,CAAC,IAAI,GAAG,SAAS,IAAI,CAAC,GAAG,IAAI;IAClC,IACE,IAAI,CAAC,MAAM,GAAG,CAAC;QACf,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ;QAC3B,CAAC,gCAAgC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAC7C,wEAAwE,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YACtF,+DAA+D,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAChF;QACA,OAAO;KACR;IACD,YAAY,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACpC,CAAC,CAAC;AAEF,MAAM,aAAa,GAAG,OAAO,CAAC,KAAK,CAAC;AACpC,OAAO,CAAC,KAAK,GAAG,SAAS,KAAK,CAAC,GAAG,IAAI;IACpC,IACE,IAAI,CAAC,MAAM,GAAG,CAAC;QACf,OAAO,IAAI,CAAC,CAAC,CAAC,KAAK,QAAQ;QAC3B,iCAAiC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAC/C;QACA,OAAO;KACR;IACD,aAAa,CAAC,KAAK,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;AACrC,CAAC,CAAC","sourcesContent":["// AppRegistry transitively installs YellowBox as a side effect, which overrides various console\n// methods that we need to set up before we override them\nimport { AppRegistry } from 'react-native';\n\nAppRegistry; // eslint-disable-line @babel/no-unused-expressions\n\n// NOTE(2018-10-29): temporarily filter out cyclic dependency warnings here since they are noisy and\n// each warning symbolicates a stack trace, which is slow when there are many warnings\n// NOTE(2019-05-27): temporarily filter out LottieAnimationView warnings triggered by\n// unmaintained react-native-safe-module dependency.\nconst originalWarn = console.warn;\nconsole.warn = function warn(...args) {\n if (\n args.length > 0 &&\n typeof args[0] === 'string' &&\n (/^Require cycle: .*node_modules/.test(args[0]) ||\n /Use UIManager\\.getViewManagerConfig\\('LottieAnimationView'\\) instead\\./.test(args[0]) ||\n /ReactNative\\.NativeModules\\.LottieAnimationView\\.getConstants/.test(args[0]))\n ) {\n return;\n }\n originalWarn.apply(console, args);\n};\n\nconst originalError = console.error;\nconsole.error = function error(...args) {\n if (\n args.length > 0 &&\n typeof args[0] === 'string' &&\n /^Warning: .* has been extracted/.test(args[0])\n ) {\n return;\n }\n originalError.apply(console, args);\n};\n"]}
|
1
node_modules/expo/build/environment/validate.fx.d.ts
generated
vendored
Normal file
1
node_modules/expo/build/environment/validate.fx.d.ts
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
export {};
|
11
node_modules/expo/build/environment/validate.fx.js
generated
vendored
Normal file
11
node_modules/expo/build/environment/validate.fx.js
generated
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
import Constants from 'expo-constants'; // eslint-disable-line @babel/no-unused-expressions
|
||||
import {
|
||||
// React Native's internal InitializeCore module sets up `window` but runs only when its React
|
||||
// renderer is loaded. We can cause this by loading one of its dependents.
|
||||
findNodeHandle, } from 'react-native';
|
||||
import { shouldThrowAnErrorOutsideOfExpo } from './validatorState';
|
||||
findNodeHandle; // eslint-disable-line @babel/no-unused-expressions
|
||||
if (shouldThrowAnErrorOutsideOfExpo() && (!Constants || !Constants.expoVersion)) {
|
||||
throw new Error(`Expo native runtime is not available: something went wrong and we aren't sure what it was. Please post more information and get support at https://forums.expo.io.`);
|
||||
}
|
||||
//# sourceMappingURL=validate.fx.js.map
|
1
node_modules/expo/build/environment/validate.fx.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/validate.fx.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"validate.fx.js","sourceRoot":"","sources":["../../src/environment/validate.fx.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,gBAAgB,CAAC,CAAC,mDAAmD;AAC3F,OAAO;AACL,8FAA8F;AAC9F,0EAA0E;AAC1E,cAAc,GACf,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,+BAA+B,EAAE,MAAM,kBAAkB,CAAC;AAEnE,cAAc,CAAC,CAAC,mDAAmD;AAEnE,IAAI,+BAA+B,EAAE,IAAI,CAAC,CAAC,SAAS,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,EAAE;IAC/E,MAAM,IAAI,KAAK,CACb,oKAAoK,CACrK,CAAC;CACH","sourcesContent":["import Constants from 'expo-constants'; // eslint-disable-line @babel/no-unused-expressions\nimport {\n // React Native's internal InitializeCore module sets up `window` but runs only when its React\n // renderer is loaded. We can cause this by loading one of its dependents.\n findNodeHandle,\n} from 'react-native';\n\nimport { shouldThrowAnErrorOutsideOfExpo } from './validatorState';\n\nfindNodeHandle; // eslint-disable-line @babel/no-unused-expressions\n\nif (shouldThrowAnErrorOutsideOfExpo() && (!Constants || !Constants.expoVersion)) {\n throw new Error(\n `Expo native runtime is not available: something went wrong and we aren't sure what it was. Please post more information and get support at https://forums.expo.io.`\n );\n}\n"]}
|
8
node_modules/expo/build/environment/validatorState.d.ts
generated
vendored
Normal file
8
node_modules/expo/build/environment/validatorState.d.ts
generated
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
* @param value Should 'expo' validate the environment against Constants.expoVersion
|
||||
*/
|
||||
export declare function _setShouldThrowAnErrorOutsideOfExpo(value: any): void;
|
||||
/**
|
||||
* Should 'expo' validate the environment against Constants.expoVersion
|
||||
*/
|
||||
export declare function shouldThrowAnErrorOutsideOfExpo(): boolean;
|
14
node_modules/expo/build/environment/validatorState.js
generated
vendored
Normal file
14
node_modules/expo/build/environment/validatorState.js
generated
vendored
Normal file
@ -0,0 +1,14 @@
|
||||
let shouldThrowAnErrorOutsideOfExpoValue = true;
|
||||
/**
|
||||
* @param value Should 'expo' validate the environment against Constants.expoVersion
|
||||
*/
|
||||
export function _setShouldThrowAnErrorOutsideOfExpo(value) {
|
||||
shouldThrowAnErrorOutsideOfExpoValue = value;
|
||||
}
|
||||
/**
|
||||
* Should 'expo' validate the environment against Constants.expoVersion
|
||||
*/
|
||||
export function shouldThrowAnErrorOutsideOfExpo() {
|
||||
return shouldThrowAnErrorOutsideOfExpoValue;
|
||||
}
|
||||
//# sourceMappingURL=validatorState.js.map
|
1
node_modules/expo/build/environment/validatorState.js.map
generated
vendored
Normal file
1
node_modules/expo/build/environment/validatorState.js.map
generated
vendored
Normal file
@ -0,0 +1 @@
|
||||
{"version":3,"file":"validatorState.js","sourceRoot":"","sources":["../../src/environment/validatorState.ts"],"names":[],"mappings":"AAAA,IAAI,oCAAoC,GAAG,IAAI,CAAC;AAEhD;;GAEG;AACH,MAAM,UAAU,mCAAmC,CAAC,KAAK;IACvD,oCAAoC,GAAG,KAAK,CAAC;AAC/C,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,+BAA+B;IAC7C,OAAO,oCAAoC,CAAC;AAC9C,CAAC","sourcesContent":["let shouldThrowAnErrorOutsideOfExpoValue = true;\n\n/**\n * @param value Should 'expo' validate the environment against Constants.expoVersion\n */\nexport function _setShouldThrowAnErrorOutsideOfExpo(value) {\n shouldThrowAnErrorOutsideOfExpoValue = value;\n}\n\n/**\n * Should 'expo' validate the environment against Constants.expoVersion\n */\nexport function shouldThrowAnErrorOutsideOfExpo() {\n return shouldThrowAnErrorOutsideOfExpoValue;\n}\n"]}
|
Reference in New Issue
Block a user