Commit 220e63fe authored by xhx's avatar xhx

二维码及后退实现

parent 2ec347e7
...@@ -6,51 +6,101 @@ ...@@ -6,51 +6,101 @@
* @flow strict-local * @flow strict-local
*/ */
import React, { Component } from 'react' import React, { Component } from 'react';
import { import {
Modal, Modal,
StyleSheet,
Text,
TouchableOpacity,
View, View,
SafeAreaView, Text,
ScrollView, Platform,
StatusBar, BackHandler,
useColorScheme ToastAndroid,
TouchableOpacity
} from 'react-native'; } from 'react-native';
import { WebView } from 'react-native-webview'; import { WebView } from 'react-native-webview';
import UseCamera from './src/component/camera/Camera'; import Camera from './src/component/camera/index';
import SplashScreen from 'react-native-splash-screen'; import SplashScreen from 'react-native-splash-screen';
import { NavigationContainer } from '@react-navigation/native';
import { createStackNavigator } from '@react-navigation/stack';
import Qrcode from './src/component/camera/Qrcode';
import UseCamera from './src/component/camera/Camera';
// import { const Stack = createStackNavigator();
// Colors,
// DebugInstructions,
// Header,
// LearnMoreLinks,
// ReloadInstructions,
// } from 'react-native/Libraries/NewAppScreen';
class App extends Component { class App extends Component {
componentDidMount() {
setTimeout(() => {
SplashScreen.hide(); //关闭启动屏幕
}, 4000);
}
componentWillUnmount() {
this.timer && clearTimeout(this.timer); //清除计时器
}
render(){
return (
<NavigationContainer>
<Stack.Navigator headerMode="none" initialRouteName="main">
<Stack.Screen name="Home" component={Main} />
</Stack.Navigator>
</NavigationContainer>
)
}
}
class Main extends Component {
constructor() { constructor() {
super() super()
this.state = { this.state = {
show: false, show: false,
showPhoto: true, showPhoto: true,
type: 1
} }
} }
componentDidMount() { //只需添加componentDidMount(){}就行 componentDidMount() {
setTimeout(() => { setTimeout(() => {
SplashScreen.hide(); //关闭启动屏幕 SplashScreen.hide(); //关闭启动屏幕
}, 2000); }, 4000);
if(Platform.OS === "android") {
BackHandler.addEventListener('hardwareBackPress', () => {
return this.handleBackAndroid();
});
}
} }
componentWillUnmount() { componentWillUnmount() {
this.timer && clearTimeout(this.timer); //清除计时器 this.timer && clearTimeout(this.timer); //清除计时器
//如果当前是Android系统,则移除back键按下事件监听
if(Platform.OS === "android") {
BackHandler.removeEventListener('hardwareBackPress', ()=>{});
}
}
handleBackAndroid() {
if (this.props.navigation) {
const navigation = this.props.navigation
// 判断是否是执行 webview 中网页的的回退
if (this.canGoBack) {
this.webView.goBack()
return true
}
if (!navigation.canGoBack()) {
//连按两次退出应用
if (this.lastBackPressed && this.lastBackPressed + 2000 >= Date.now()) {
//最近2秒内按过back键,可以退出应用。
BackHandler.exitApp()
return false;
}
this.lastBackPressed = Date.now();
ToastAndroid.show('再按返回退出应用', ToastAndroid.SHORT);
return true;
} else {
this.props.navigation.goBack();
}
}
} }
// 交互传值 // 交互传值
handleInjectJavascript = (data) => { handleInjectJavascript = (data) => {
console.log('send message: ', data)
const injectJavascriptStr = `(function() { const injectJavascriptStr = `(function() {
window.WebViewBridge.onMessage(${JSON.stringify(data)}); window.WebViewBridge.onMessage(${JSON.stringify(data)});
})()`; // 拼接 数据 为 方法 })()`; // 拼接 数据 为 方法
...@@ -63,32 +113,48 @@ class App extends Component { ...@@ -63,32 +113,48 @@ class App extends Component {
// 界面初始化传值 // 界面初始化传值
initInjectJavascript(data) { initInjectJavascript(data) {
console.log('init')
const injectJavascriptStr = `(function() { const injectJavascriptStr = `(function() {
window.WebViewBridge.onMessage(${JSON.stringify(data)}); window.WebViewBridge.onMessage(${JSON.stringify(data)});
})()`; // 拼接 数据 为 方法 })()`
if(this.webView) { if(this.webView) {
this.webView.injectJavaScript(injectJavascriptStr) this.webView.injectJavaScript(injectJavascriptStr)
} // 通过 injectJavaScript 将 数据 传递给WebView页面,并立即执行为js }
} }
_onMessage = (event) => { _onMessage = (event, navState) => {
// '接收vue发来的消息onMessage wow,RN!!' // '接收vue发来的消息onMessage wow,RN!!'
console.log('接收vue发来的消息onMessage', event.nativeEvent.data) console.log('接收vue发来的消息onMessage', event.nativeEvent.data, event)
const str = event.nativeEvent.data const str = event.nativeEvent.data
this.selectType(str) if (str === 'navigationStateChange') {
this.showCamera() const url = event.nativeEvent.url
this.canGoBack = event.nativeEvent.canGoBack
if (url.indexOf('Home') > -1 || url.indexOf('Mine') > -1) {
this.canGoBack = false
}
} else {
this.selectType(str)
this.showCamera()
}
} }
selectType(str) { selectType(str) {
if (str === 'camera') { switch(str) {
this.setState({ case 'camera':
showPhoto: true this.setState({
}) type: 1,
} else { showPhoto: true
this.setState({ })
showPhoto: false break
}) case 'record':
this.setState({
type: 1,
showPhoto: false
})
break
case 'qrcode':
this.setState({
type: 2
})
} }
} }
...@@ -104,12 +170,38 @@ class App extends Component { ...@@ -104,12 +170,38 @@ class App extends Component {
}) })
} }
_onNavigationStateChange(navState) {
if (navState.canGoBack) {
global.isBack = true
} else {
global.isBack = false
}
}
render() { render() {
return ( return (
<> <>
<WebView ref={ (webView) => this.webView = webView } <WebView ref={ (webView) => this.webView = webView }
originWhitelist={ ['*'] } originWhitelist={ ['*'] }
javaScriptEnabled={ true } javaScriptEnabled={ true }
injectedJavaScript={`
(function() {
function wrap(fn) {
return function wrapper() {
var res = fn.apply(this, arguments);
window.ReactNativeWebView.postMessage('navigationStateChange');
return res;
}
}
history.pushState = wrap(history.pushState);
history.replaceState = wrap(history.replaceState);
window.addEventListener('popstate', function() {
window.ReactNativeWebView.postMessage('navigationStateChange'); // web端向APP端发送消息
});
})();
true;
`}
// 开启缓存 // 开启缓存
// domStorageEnabled={ true } // domStorageEnabled={ true }
thirdPartyCookiesEnabled={ true } thirdPartyCookiesEnabled={ true }
...@@ -120,21 +212,30 @@ class App extends Component { ...@@ -120,21 +212,30 @@ class App extends Component {
useWebKit={true} useWebKit={true}
// 加载时强制使用loading转圈视图,注意如果为true,在低性能下,webview可能会加载失败,显示为空白 // 加载时强制使用loading转圈视图,注意如果为true,在低性能下,webview可能会加载失败,显示为空白
startInLoadingState={false} startInLoadingState={false}
// 页面跳转相关
onNavigationStateChange={this._onNavigationStateChange}
// webview加载错误页面 // webview加载错误页面
// source={{uri: 'http://47.114.159.142:8983'}} // 网络路径
source={{uri: 'http://192.168.21.109:8080/'}} //本地路径 source={{uri: 'http://192.168.21.109:8080/'}} //本地路径
// source={{uri: 'http://www.baidu.com/'}}
/> />
{ this.state.show ? { this.state.show ?
( (
<Modal> <Modal onRequestClose={() => this.setState({show: false})}>
<UseCamera <Camera
showPhoto={this.state.showPhoto} showPhoto={this.state.showPhoto}
type={this.state.type}
hideCamera={this.handleInjectJavascript} hideCamera={this.handleInjectJavascript}
back={this.hideCamera.bind(this)} /> back={this.hideCamera.bind(this)} />
</Modal> </Modal>
) )
: null } : null }
{/* <UseCamera
showPhoto={this.state.showPhoto}
type={this.state.type}
hideCamera={this.handleInjectJavascript}
back={this.hideCamera.bind(this)} /> */}
{/* <UseCamera /> */} {/* <UseCamera /> */}
{/* <Qrcode /> */}
</> </>
) )
} }
......
...@@ -20,7 +20,7 @@ yarn android ...@@ -20,7 +20,7 @@ yarn android
### 相机调用 ### 相机调用
vue 向 rn 传递数据 vue 向 rn 传递数据
``` ```
// str: 字符串, camera -> 相机拍照; record -> 相机摄像 // str: 字符串, camera -> 相机拍照; record -> 相机摄像; qrcode -> 二维码
window.ReactNativeWebView.postMessage(str) window.ReactNativeWebView.postMessage(str)
``` ```
...@@ -59,6 +59,8 @@ interface RecordResponse { ...@@ -59,6 +59,8 @@ interface RecordResponse {
/** iOS only */ /** iOS only */
codec: VideoCodec[keyof VideoCodec]; codec: VideoCodec[keyof VideoCodec];
} }
// qrcode
QrcodeResponse: string
``` ```
### 安卓打包 ### 安卓打包
......
...@@ -10,9 +10,18 @@ ...@@ -10,9 +10,18 @@
"lint": "eslint ." "lint": "eslint ."
}, },
"dependencies": { "dependencies": {
"@react-native-community/masked-view": "^0.1.11",
"@react-navigation/native": "^5.9.4",
"@react-navigation/stack": "^5.14.5",
"react": "17.0.1", "react": "17.0.1",
"react-native": "0.64.2", "react-native": "0.64.2",
"react-native-camera": "^4.0.0", "react-native-camera": "^4.0.0",
"react-native-gesture-handler": "^1.10.3",
"react-native-image-picker": "^4.0.6",
"react-native-qr-scanner": "^1.3.2",
"react-native-reanimated": "^2.2.0",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.4.0",
"react-native-splash-screen": "^3.2.0", "react-native-splash-screen": "^3.2.0",
"react-native-webview": "^11.6.5" "react-native-webview": "^11.6.5"
}, },
......
...@@ -105,11 +105,11 @@ class UseCamera extends PureComponent { ...@@ -105,11 +105,11 @@ class UseCamera extends PureComponent {
render() { render() {
return ( return (
<View style={styles.container}> <View style={styles.container}>
<View style={styles.topBar}> {/* <View style={styles.topBar}>
<TouchableOpacity onPress={this.back.bind(this)} style={styles.topCapture}> <TouchableOpacity onPress={this.back.bind(this)} style={styles.topCapture}>
<Text style={{fontFamily: 'iconfont', color: 'white', fontSize: 24}}> {'\ue657'} </Text> <Text style={{fontFamily: 'iconfont', color: 'white', fontSize: 24}}> {'\ue657'} </Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View> */}
<RNCamera <RNCamera
ref={ref => { ref={ref => {
this.camera = ref; this.camera = ref;
......
import React, { PureComponent } from 'react';
import {
Dimensions,
StyleSheet,
View,
Animated,
Easing,
Text,
Button,
Alert,
} from 'react-native';
import {RNCamera} from 'react-native-camera';
import ImagePicker from 'react-native-image-picker';
import {QRreader} from 'react-native-qr-scanner';
const options = {
title: '请选择',
quality: 0.8,
cancelButtonTitle: '取消',
takePhotoButtonTitle: null,
chooseFromLibraryButtonTitle: '选择相册',
customButtons: [{name: 'hangge', title: '输入编码'}],
allowsEditing: true,
noData: false,
storageOptions: {
skipBackup: true,
path: 'images',
},
};
export default class Qrcode extends PureComponent {
static navigationOptions = ({navigation}) => {
return {
title: '扫一扫',
headerRight: () => (
<View style={styles.rightBtn}>
<Button
title={
navigation.state.params.torchState === 'off' ? '开灯' : '关灯'
}
onPress={() => navigation.state.params.onchangeTorchState()}
/>
<Button
title="+"
onPress={() => navigation.state.params.choosePicker()}
/>
</View>
),
};
};
//构造函数
constructor(props) {
super(props);
this.state = {
torchState: 'off',
qrCode: null,
};
this.moveAnim = new Animated.Value(0);
}
componentDidMount() {
this.startAnimation();
// this.props.navigation.setParams({
// choosePicker: this.choosePicker,
// onchangeTorchState: this.onchangeTorchState,
// torchState: this.state.torchState,
// });
}
_onBarCodeRead = (value) => {
const {qrCode} = this.state;
if (qrCode) {
return;
}
this.setState(
{
qrCode: value,
},
() => {
this.props.hideCamera(this.state.qrCode.data)
this.props.back()
// alert(this.state.qrCode.data); // 打印出扫描后的数据
},
);
};
// 扫描动画
startAnimation = () => {
this.moveAnim.setValue(0);
Animated.timing(this.moveAnim, {
toValue: 1,
duration: 3500,
easing: Easing.linear,
useNativeDriver: true,
}).start(() => this.startAnimation());
};
// 修改torchState 状态
onchangeTorchState = () => {
const {torchState} = this.state;
this.setState(
{
torchState: torchState === 'off' ? 'ON' : 'off',
},
() => {
this.props.navigation.setParams({torchState: this.state.torchState});
},
);
};
// 从相册获取二维码并扫描返回结果
choosePicker = () => {
ImagePicker.showImagePicker(options, (response) => {
console.log('Response = ', response);
if (response.didCancel) {
console.log('User cancelled image picker');
} else if (response.error) {
console.log('ImagePicker Error: ', response.error);
} else if (response.customButton) {
this.onClickModal();
} else {
if (response.uri) {
var path = response.path;
if (!path) {
path = response.uri;
}
QRreader(path)
.then((data) => {
this.props.hideCamera(data)
this.props.back()
// Alert.alert(data);
})
.catch((err) => {
Alert.alert('识别失败');
});
}
}
});
};
onClickModal = () => {
};
//渲染
render() {
const winWidth = Dimensions.get('window').width;
const winHeight = Dimensions.get('window').height;
return (
<>
<View style={styles.container}>
<RNCamera
style={styles.preview}
ratio={'16:9'}
defaultVideoQuality={RNCamera.Constants.VideoQuality['720p']}
scanAreaLimit={true}
scanAreaX={(115 * winWidth) / 750}
scanAreaY={(328 * winHeight) / 1334}
scanAreaWidth={(522 * winWidth) / 750}
scanAreaHeight={(521 * winHeight) / 1334}
flashMode={
this.state.torchState == 'off'
? RNCamera.Constants.FlashMode.off
: RNCamera.Constants.FlashMode.torch
}
onBarCodeRead={this._onBarCodeRead.bind(this)}>
<View style={styles.rectangleContainer}>
<View style={styles.rectangle} />
<Animated.View
style={[
styles.border,
{
transform: [
{
translateY: this.moveAnim.interpolate({
inputRange: [0, 1],
outputRange: [-200, 0],
}),
},
],
},
]}
/>
<Text style={styles.rectangleText}>
将二维码放入框内,即可自动扫描
</Text>
</View>
</RNCamera>
</View>
</>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
flexDirection: 'column',
},
preview: {
flex: 1,
justifyContent: 'flex-end',
alignItems: 'center',
},
btnText: {color: 'white', fontSize: 16},
rectangleContainer: {
flex: 1,
alignItems: 'center',
justifyContent: 'center',
backgroundColor: 'transparent',
},
rectangle: {
height: 200,
width: 200,
borderWidth: 1,
borderColor: '#00FF00',
backgroundColor: 'transparent',
},
rectangleText: {
flex: 0,
color: '#fff',
marginTop: 10,
},
border: {
flex: 0,
width: 200,
height: 2,
backgroundColor: '#00FF00',
},
rightBtn: {
flex: 1,
flexDirection: 'row',
alignItems: 'flex-end',
},
});
\ No newline at end of file
import React, { PureComponent } from 'react'
import {
StyleSheet,
Text,
TouchableOpacity,
View,
} from 'react-native'
import UseCamera from './Camera'
import Qrcode from './Qrcode'
class Camera extends PureComponent {
constructor(props) {
super(props)
}
render() {
return (
<>
{
this.props.type === 1 ?
<UseCamera
showPhoto={this.props.showPhoto}
hideCamera={this.props.hideCamera}
back={this.props.back}
></UseCamera> : this.props.type === 2 ?
<Qrcode hideCamera={this.props.hideCamera} back={this.props.back} /> : null
}
</>
)
}
}
export default Camera
\ No newline at end of file
...@@ -546,7 +546,7 @@ ...@@ -546,7 +546,7 @@
"@babel/helper-simple-access" "^7.14.5" "@babel/helper-simple-access" "^7.14.5"
babel-plugin-dynamic-import-node "^2.3.3" babel-plugin-dynamic-import-node "^2.3.3"
"@babel/plugin-transform-object-assign@^7.0.0": "@babel/plugin-transform-object-assign@^7.0.0", "@babel/plugin-transform-object-assign@^7.10.4":
version "7.14.5" version "7.14.5"
resolved "https://registry.nlark.com/@babel/plugin-transform-object-assign/download/@babel/plugin-transform-object-assign-7.14.5.tgz?cache=0&sync_timestamp=1623281254816&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40babel%2Fplugin-transform-object-assign%2Fdownload%2F%40babel%2Fplugin-transform-object-assign-7.14.5.tgz#62537d54b6d85de04f4df48bfdba2eebff17b760" resolved "https://registry.nlark.com/@babel/plugin-transform-object-assign/download/@babel/plugin-transform-object-assign-7.14.5.tgz?cache=0&sync_timestamp=1623281254816&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40babel%2Fplugin-transform-object-assign%2Fdownload%2F%40babel%2Fplugin-transform-object-assign-7.14.5.tgz#62537d54b6d85de04f4df48bfdba2eebff17b760"
integrity sha1-YlN9VLbYXeBPTfSL/bou6/8Xt2A= integrity sha1-YlN9VLbYXeBPTfSL/bou6/8Xt2A=
...@@ -753,6 +753,13 @@ ...@@ -753,6 +753,13 @@
exec-sh "^0.3.2" exec-sh "^0.3.2"
minimist "^1.2.0" minimist "^1.2.0"
"@egjs/hammerjs@^2.0.17":
version "2.0.17"
resolved "https://registry.npm.taobao.org/@egjs/hammerjs/download/@egjs/hammerjs-2.0.17.tgz#5dc02af75a6a06e4c2db0202cae38c9263895124"
integrity sha1-XcAq91pqBuTC2wICyuOMkmOJUSQ=
dependencies:
"@types/hammerjs" "^2.0.36"
"@eslint/eslintrc@^0.4.3": "@eslint/eslintrc@^0.4.3":
version "0.4.3" version "0.4.3"
resolved "https://registry.nlark.com/@eslint/eslintrc/download/@eslint/eslintrc-0.4.3.tgz?cache=0&sync_timestamp=1626557721285&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40eslint%2Feslintrc%2Fdownload%2F%40eslint%2Feslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c" resolved "https://registry.nlark.com/@eslint/eslintrc/download/@eslint/eslintrc-0.4.3.tgz?cache=0&sync_timestamp=1626557721285&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40eslint%2Feslintrc%2Fdownload%2F%40eslint%2Feslintrc-0.4.3.tgz#9e42981ef035beb3dd49add17acb96e8ff6f394c"
...@@ -1166,6 +1173,11 @@ ...@@ -1166,6 +1173,11 @@
resolved "https://registry.npm.taobao.org/@react-native-community/eslint-plugin/download/@react-native-community/eslint-plugin-1.1.0.tgz#e42b1bef12d2415411519fd528e64b593b1363dc" resolved "https://registry.npm.taobao.org/@react-native-community/eslint-plugin/download/@react-native-community/eslint-plugin-1.1.0.tgz#e42b1bef12d2415411519fd528e64b593b1363dc"
integrity sha1-5Csb7xLSQVQRUZ/VKOZLWTsTY9w= integrity sha1-5Csb7xLSQVQRUZ/VKOZLWTsTY9w=
"@react-native-community/masked-view@^0.1.11":
version "0.1.11"
resolved "https://registry.nlark.com/@react-native-community/masked-view/download/@react-native-community/masked-view-0.1.11.tgz?cache=0&sync_timestamp=1619440061429&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40react-native-community%2Fmasked-view%2Fdownload%2F%40react-native-community%2Fmasked-view-0.1.11.tgz#2f4c6e10bee0786abff4604e39a37ded6f3980ce"
integrity sha1-L0xuEL7geGq/9GBOOaN97W85gM4=
"@react-native/assets@1.0.0": "@react-native/assets@1.0.0":
version "1.0.0" version "1.0.0"
resolved "https://registry.npm.taobao.org/@react-native/assets/download/@react-native/assets-1.0.0.tgz#c6f9bf63d274bafc8e970628de24986b30a55c8e" resolved "https://registry.npm.taobao.org/@react-native/assets/download/@react-native/assets-1.0.0.tgz#c6f9bf63d274bafc8e970628de24986b30a55c8e"
...@@ -1181,6 +1193,41 @@ ...@@ -1181,6 +1193,41 @@
resolved "https://registry.npm.taobao.org/@react-native/polyfills/download/@react-native/polyfills-1.0.0.tgz#05bb0031533598f9458cf65a502b8df0eecae780" resolved "https://registry.npm.taobao.org/@react-native/polyfills/download/@react-native/polyfills-1.0.0.tgz#05bb0031533598f9458cf65a502b8df0eecae780"
integrity sha1-BbsAMVM1mPlFjPZaUCuN8O7K54A= integrity sha1-BbsAMVM1mPlFjPZaUCuN8O7K54A=
"@react-navigation/core@^5.15.3":
version "5.15.3"
resolved "https://registry.nlark.com/@react-navigation/core/download/@react-navigation/core-5.15.3.tgz?cache=0&sync_timestamp=1626430794386&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40react-navigation%2Fcore%2Fdownload%2F%40react-navigation%2Fcore-5.15.3.tgz#dce7090bf3ea0d302993d742c706825e495b812e"
integrity sha1-3OcJC/PqDTApk9dCxwaCXklbgS4=
dependencies:
"@react-navigation/routers" "^5.7.2"
escape-string-regexp "^4.0.0"
nanoid "^3.1.15"
query-string "^6.13.6"
react-is "^16.13.0"
"@react-navigation/native@^5.9.4":
version "5.9.4"
resolved "https://registry.nlark.com/@react-navigation/native/download/@react-navigation/native-5.9.4.tgz?cache=0&sync_timestamp=1626430796476&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40react-navigation%2Fnative%2Fdownload%2F%40react-navigation%2Fnative-5.9.4.tgz#414c044423c58aa1cdde1b6494309e0b51da08b8"
integrity sha1-QUwERCPFiqHN3htklDCeC1HaCLg=
dependencies:
"@react-navigation/core" "^5.15.3"
escape-string-regexp "^4.0.0"
nanoid "^3.1.15"
"@react-navigation/routers@^5.7.2":
version "5.7.2"
resolved "https://registry.nlark.com/@react-navigation/routers/download/@react-navigation/routers-5.7.2.tgz?cache=0&sync_timestamp=1625102491847&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40react-navigation%2Frouters%2Fdownload%2F%40react-navigation%2Frouters-5.7.2.tgz#069d0a707b30ba2e27a32b6482531d0ff7317136"
integrity sha1-Bp0KcHswui4noytkglMdD/cxcTY=
dependencies:
nanoid "^3.1.15"
"@react-navigation/stack@^5.14.5":
version "5.14.5"
resolved "https://registry.nlark.com/@react-navigation/stack/download/@react-navigation/stack-5.14.5.tgz?cache=0&sync_timestamp=1626430792674&other_urls=https%3A%2F%2Fregistry.nlark.com%2F%40react-navigation%2Fstack%2Fdownload%2F%40react-navigation%2Fstack-5.14.5.tgz#dc615cd7d270ba79e3330dcb50c2819d0e1f3850"
integrity sha1-3GFc19JwunnjMw3LUMKBnQ4fOFA=
dependencies:
color "^3.1.3"
react-native-iphone-x-helper "^1.3.0"
"@sideway/address@^4.1.0": "@sideway/address@^4.1.0":
version "4.1.2" version "4.1.2"
resolved "https://registry.nlark.com/@sideway/address/download/@sideway/address-4.1.2.tgz#811b84333a335739d3969cfc434736268170cad1" resolved "https://registry.nlark.com/@sideway/address/download/@sideway/address-4.1.2.tgz#811b84333a335739d3969cfc434736268170cad1"
...@@ -1257,6 +1304,11 @@ ...@@ -1257,6 +1304,11 @@
dependencies: dependencies:
"@types/node" "*" "@types/node" "*"
"@types/hammerjs@^2.0.36":
version "2.0.40"
resolved "https://registry.nlark.com/@types/hammerjs/download/@types/hammerjs-2.0.40.tgz#ded0240b6ea1ad7afc1e60374c49087aaea5dbd8"
integrity sha1-3tAkC26hrXr8HmA3TEkIeq6l29g=
"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": "@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1":
version "2.0.3" version "2.0.3"
resolved "https://registry.nlark.com/@types/istanbul-lib-coverage/download/@types/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762" resolved "https://registry.nlark.com/@types/istanbul-lib-coverage/download/@types/istanbul-lib-coverage-2.0.3.tgz#4ba8ddb720221f432e443bd5f9117fd22cfd4762"
...@@ -1608,7 +1660,7 @@ array.prototype.flatmap@^1.2.4: ...@@ -1608,7 +1660,7 @@ array.prototype.flatmap@^1.2.4:
es-abstract "^1.18.0-next.1" es-abstract "^1.18.0-next.1"
function-bind "^1.1.1" function-bind "^1.1.1"
asap@~2.0.6: asap@~2.0.3, asap@~2.0.6:
version "2.0.6" version "2.0.6"
resolved "https://registry.nlark.com/asap/download/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" resolved "https://registry.nlark.com/asap/download/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46"
integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY= integrity sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=
...@@ -2096,7 +2148,7 @@ collection-visit@^1.0.0: ...@@ -2096,7 +2148,7 @@ collection-visit@^1.0.0:
map-visit "^1.0.0" map-visit "^1.0.0"
object-visit "^1.0.0" object-visit "^1.0.0"
color-convert@^1.9.0: color-convert@^1.9.0, color-convert@^1.9.3:
version "1.9.3" version "1.9.3"
resolved "https://registry.nlark.com/color-convert/download/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" resolved "https://registry.nlark.com/color-convert/download/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8"
integrity sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg= integrity sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=
...@@ -2115,11 +2167,27 @@ color-name@1.1.3: ...@@ -2115,11 +2167,27 @@ color-name@1.1.3:
resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25"
integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=
color-name@~1.1.4: color-name@^1.0.0, color-name@~1.1.4:
version "1.1.4" version "1.1.4"
resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2" resolved "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz#c2a09a87acbde69543de6f63fa3995c826c536a2"
integrity sha1-wqCah6y95pVD3m9j+jmVyCbFNqI= integrity sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=
color-string@^1.6.0:
version "1.6.0"
resolved "https://registry.nlark.com/color-string/download/color-string-1.6.0.tgz?cache=0&sync_timestamp=1626503533872&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcolor-string%2Fdownload%2Fcolor-string-1.6.0.tgz#c3915f61fe267672cb7e1e064c9d692219f6c312"
integrity sha1-w5FfYf4mdnLLfh4GTJ1pIhn2wxI=
dependencies:
color-name "^1.0.0"
simple-swizzle "^0.2.2"
color@^3.1.3:
version "3.2.1"
resolved "https://registry.nlark.com/color/download/color-3.2.1.tgz?cache=0&sync_timestamp=1626601281817&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcolor%2Fdownload%2Fcolor-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164"
integrity sha1-NUTcGYyvRJDD7MmnkLVP6f9F4WQ=
dependencies:
color-convert "^1.9.3"
color-string "^1.6.0"
colorette@^1.0.7, colorette@^1.2.2: colorette@^1.0.7, colorette@^1.2.2:
version "1.2.2" version "1.2.2"
resolved "https://registry.nlark.com/colorette/download/colorette-1.2.2.tgz?cache=0&sync_timestamp=1618846981554&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcolorette%2Fdownload%2Fcolorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" resolved "https://registry.nlark.com/colorette/download/colorette-1.2.2.tgz?cache=0&sync_timestamp=1618846981554&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcolorette%2Fdownload%2Fcolorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94"
...@@ -2217,6 +2285,11 @@ core-js-compat@^3.14.0: ...@@ -2217,6 +2285,11 @@ core-js-compat@^3.14.0:
browserslist "^4.16.6" browserslist "^4.16.6"
semver "7.0.0" semver "7.0.0"
core-js@^1.0.0:
version "1.2.7"
resolved "https://registry.nlark.com/core-js/download/core-js-1.2.7.tgz?cache=0&sync_timestamp=1624966012065&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fcore-js%2Fdownload%2Fcore-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636"
integrity sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=
core-util-is@~1.0.0: core-util-is@~1.0.0:
version "1.0.2" version "1.0.2"
resolved "https://registry.nlark.com/core-util-is/download/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" resolved "https://registry.nlark.com/core-util-is/download/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
...@@ -2232,6 +2305,13 @@ cosmiconfig@^5.0.5, cosmiconfig@^5.1.0: ...@@ -2232,6 +2305,13 @@ cosmiconfig@^5.0.5, cosmiconfig@^5.1.0:
js-yaml "^3.13.1" js-yaml "^3.13.1"
parse-json "^4.0.0" parse-json "^4.0.0"
cross-fetch@^3.0.4:
version "3.1.4"
resolved "https://registry.nlark.com/cross-fetch/download/cross-fetch-3.1.4.tgz#9723f3a3a247bf8b89039f3a380a9244e8fa2f39"
integrity sha1-lyPzo6JHv4uJA586OAqSROj6Lzk=
dependencies:
node-fetch "2.6.1"
cross-spawn@^6.0.0: cross-spawn@^6.0.0:
version "6.0.5" version "6.0.5"
resolved "https://registry.nlark.com/cross-spawn/download/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4" resolved "https://registry.nlark.com/cross-spawn/download/cross-spawn-6.0.5.tgz#4a5ec7c64dfae22c3a14124dbacdee846d80cbc4"
...@@ -2451,6 +2531,13 @@ encodeurl@~1.0.2: ...@@ -2451,6 +2531,13 @@ encodeurl@~1.0.2:
resolved "https://registry.nlark.com/encodeurl/download/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59" resolved "https://registry.nlark.com/encodeurl/download/encodeurl-1.0.2.tgz#ad3ff4c86ec2d029322f5a02c3a9a606c95b3f59"
integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k= integrity sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=
encoding@^0.1.11:
version "0.1.13"
resolved "https://registry.npm.taobao.org/encoding/download/encoding-0.1.13.tgz#56574afdd791f54a8e9b2785c0582a2d26210fa9"
integrity sha1-VldK/deR9UqOmyeFwFgqLSYhD6k=
dependencies:
iconv-lite "^0.6.2"
end-of-stream@^1.1.0: end-of-stream@^1.1.0:
version "1.4.4" version "1.4.4"
resolved "https://registry.nlark.com/end-of-stream/download/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0" resolved "https://registry.nlark.com/end-of-stream/download/end-of-stream-1.4.4.tgz#5ae64a5f45057baf3626ec14da0ca5e4b2431eb0"
...@@ -2898,6 +2985,37 @@ fb-watchman@^2.0.0: ...@@ -2898,6 +2985,37 @@ fb-watchman@^2.0.0:
dependencies: dependencies:
bser "2.1.1" bser "2.1.1"
fbjs-css-vars@^1.0.0:
version "1.0.2"
resolved "https://registry.npm.taobao.org/fbjs-css-vars/download/fbjs-css-vars-1.0.2.tgz#216551136ae02fe255932c3ec8775f18e2c078b8"
integrity sha1-IWVRE2rgL+JVkyw+yHdfGOLAeLg=
fbjs@^0.8.9:
version "0.8.17"
resolved "https://registry.npm.taobao.org/fbjs/download/fbjs-0.8.17.tgz?cache=0&sync_timestamp=1602048886093&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffbjs%2Fdownload%2Ffbjs-0.8.17.tgz#c4d598ead6949112653d6588b01a5cdcd9f90fdd"
integrity sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=
dependencies:
core-js "^1.0.0"
isomorphic-fetch "^2.1.1"
loose-envify "^1.0.0"
object-assign "^4.1.0"
promise "^7.1.1"
setimmediate "^1.0.5"
ua-parser-js "^0.7.18"
fbjs@^3.0.0:
version "3.0.0"
resolved "https://registry.npm.taobao.org/fbjs/download/fbjs-3.0.0.tgz?cache=0&sync_timestamp=1602048886093&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffbjs%2Fdownload%2Ffbjs-3.0.0.tgz#0907067fb3f57a78f45d95f1eacffcacd623c165"
integrity sha1-CQcGf7P1enj0XZXx6s/8rNYjwWU=
dependencies:
cross-fetch "^3.0.4"
fbjs-css-vars "^1.0.0"
loose-envify "^1.0.0"
object-assign "^4.1.0"
promise "^7.1.1"
setimmediate "^1.0.5"
ua-parser-js "^0.7.18"
file-entry-cache@^6.0.1: file-entry-cache@^6.0.1:
version "6.0.1" version "6.0.1"
resolved "https://registry.nlark.com/file-entry-cache/download/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027" resolved "https://registry.nlark.com/file-entry-cache/download/file-entry-cache-6.0.1.tgz#211b2dd9659cb0394b073e7323ac3c933d522027"
...@@ -2922,6 +3040,11 @@ fill-range@^7.0.1: ...@@ -2922,6 +3040,11 @@ fill-range@^7.0.1:
dependencies: dependencies:
to-regex-range "^5.0.1" to-regex-range "^5.0.1"
filter-obj@^1.1.0:
version "1.1.0"
resolved "https://registry.npm.taobao.org/filter-obj/download/filter-obj-1.1.0.tgz?cache=0&sync_timestamp=1617699897053&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ffilter-obj%2Fdownload%2Ffilter-obj-1.1.0.tgz#9b311112bc6c6127a16e016c6c5d7f19e0805c5b"
integrity sha1-mzERErxsYSehbgFsbF1/GeCAXFs=
finalhandler@1.1.2: finalhandler@1.1.2:
version "1.1.2" version "1.1.2"
resolved "https://registry.nlark.com/finalhandler/download/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d" resolved "https://registry.nlark.com/finalhandler/download/finalhandler-1.1.2.tgz#b7e7d000ffd11938d0fdb053506f6ebabe9f587d"
...@@ -3210,6 +3333,13 @@ hermes-profile-transformer@^0.0.6: ...@@ -3210,6 +3333,13 @@ hermes-profile-transformer@^0.0.6:
dependencies: dependencies:
source-map "^0.7.3" source-map "^0.7.3"
hoist-non-react-statics@^3.3.0:
version "3.3.2"
resolved "https://registry.nlark.com/hoist-non-react-statics/download/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45"
integrity sha1-7OCsr3HWLClpwuxZ/v9CpLGoW0U=
dependencies:
react-is "^16.7.0"
html-encoding-sniffer@^2.0.1: html-encoding-sniffer@^2.0.1:
version "2.0.1" version "2.0.1"
resolved "https://registry.npm.taobao.org/html-encoding-sniffer/download/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3" resolved "https://registry.npm.taobao.org/html-encoding-sniffer/download/html-encoding-sniffer-2.0.1.tgz#42a6dc4fd33f00281176e8b23759ca4e4fa185f3"
...@@ -3262,6 +3392,13 @@ iconv-lite@0.4.24: ...@@ -3262,6 +3392,13 @@ iconv-lite@0.4.24:
dependencies: dependencies:
safer-buffer ">= 2.1.2 < 3" safer-buffer ">= 2.1.2 < 3"
iconv-lite@^0.6.2:
version "0.6.3"
resolved "https://registry.nlark.com/iconv-lite/download/iconv-lite-0.6.3.tgz#a52f80bf38da1952eb5c681790719871a1a72501"
integrity sha1-pS+AvzjaGVLrXGgXkHGYcaGnJQE=
dependencies:
safer-buffer ">= 2.1.2 < 3.0.0"
ignore@^4.0.6: ignore@^4.0.6:
version "4.0.6" version "4.0.6"
resolved "https://registry.nlark.com/ignore/download/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" resolved "https://registry.nlark.com/ignore/download/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
...@@ -3364,6 +3501,11 @@ is-arrayish@^0.2.1: ...@@ -3364,6 +3501,11 @@ is-arrayish@^0.2.1:
resolved "https://registry.npm.taobao.org/is-arrayish/download/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" resolved "https://registry.npm.taobao.org/is-arrayish/download/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d"
integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0= integrity sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=
is-arrayish@^0.3.1:
version "0.3.2"
resolved "https://registry.npm.taobao.org/is-arrayish/download/is-arrayish-0.3.2.tgz#4574a2ae56f7ab206896fb431eaeed066fdf8f03"
integrity sha1-RXSirlb3qyBolvtDHq7tBm/fjwM=
is-bigint@^1.0.1: is-bigint@^1.0.1:
version "1.0.2" version "1.0.2"
resolved "https://registry.nlark.com/is-bigint/download/is-bigint-1.0.2.tgz#ffb381442503235ad245ea89e45b3dbff040ee5a" resolved "https://registry.nlark.com/is-bigint/download/is-bigint-1.0.2.tgz#ffb381442503235ad245ea89e45b3dbff040ee5a"
...@@ -3530,7 +3672,7 @@ is-regex@^1.1.3: ...@@ -3530,7 +3672,7 @@ is-regex@^1.1.3:
call-bind "^1.0.2" call-bind "^1.0.2"
has-symbols "^1.0.2" has-symbols "^1.0.2"
is-stream@^1.1.0: is-stream@^1.0.1, is-stream@^1.1.0:
version "1.1.0" version "1.1.0"
resolved "https://registry.nlark.com/is-stream/download/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" resolved "https://registry.nlark.com/is-stream/download/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44"
integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ= integrity sha1-EtSj3U5o4Lec6428hBc66A2RykQ=
...@@ -3589,6 +3731,14 @@ isobject@^3.0.0, isobject@^3.0.1: ...@@ -3589,6 +3731,14 @@ isobject@^3.0.0, isobject@^3.0.1:
resolved "https://registry.nlark.com/isobject/download/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" resolved "https://registry.nlark.com/isobject/download/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df"
integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8= integrity sha1-TkMekrEalzFjaqH5yNHMvP2reN8=
isomorphic-fetch@^2.1.1:
version "2.2.1"
resolved "https://registry.npm.taobao.org/isomorphic-fetch/download/isomorphic-fetch-2.2.1.tgz?cache=0&sync_timestamp=1600844260369&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fisomorphic-fetch%2Fdownload%2Fisomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9"
integrity sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=
dependencies:
node-fetch "^1.0.1"
whatwg-fetch ">=0.10.0"
istanbul-lib-coverage@^3.0.0: istanbul-lib-coverage@^3.0.0:
version "3.0.0" version "3.0.0"
resolved "https://registry.npm.taobao.org/istanbul-lib-coverage/download/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec" resolved "https://registry.npm.taobao.org/istanbul-lib-coverage/download/istanbul-lib-coverage-3.0.0.tgz#f5944a37c70b550b02a78a5c3b2055b280cec8ec"
...@@ -4385,7 +4535,7 @@ logkitty@^0.7.1: ...@@ -4385,7 +4535,7 @@ logkitty@^0.7.1:
dayjs "^1.8.15" dayjs "^1.8.15"
yargs "^15.1.0" yargs "^15.1.0"
loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.3.1, loose-envify@^1.4.0:
version "1.4.0" version "1.4.0"
resolved "https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" resolved "https://registry.npm.taobao.org/loose-envify/download/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf"
integrity sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8= integrity sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=
...@@ -4837,6 +4987,11 @@ mkdirp@^0.5.1: ...@@ -4837,6 +4987,11 @@ mkdirp@^0.5.1:
dependencies: dependencies:
minimist "^1.2.5" minimist "^1.2.5"
mockdate@^3.0.2:
version "3.0.5"
resolved "https://registry.npm.taobao.org/mockdate/download/mockdate-3.0.5.tgz#789be686deb3149e7df2b663d2bc4392bc3284fb"
integrity sha1-eJvmht6zFJ598rZj0rxDkrwyhPs=
ms@2.0.0: ms@2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz?cache=0&sync_timestamp=1607433899126&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" resolved "https://registry.npm.taobao.org/ms/download/ms-2.0.0.tgz?cache=0&sync_timestamp=1607433899126&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
...@@ -4852,6 +5007,11 @@ ms@2.1.2: ...@@ -4852,6 +5007,11 @@ ms@2.1.2:
resolved "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433899126&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009" resolved "https://registry.npm.taobao.org/ms/download/ms-2.1.2.tgz?cache=0&sync_timestamp=1607433899126&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fms%2Fdownload%2Fms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk= integrity sha1-0J0fNXtEP0kzgqjrPM0YOHKuYAk=
nanoid@^3.1.15:
version "3.1.23"
resolved "https://registry.nlark.com/nanoid/download/nanoid-3.1.23.tgz?cache=0&sync_timestamp=1620673983269&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fnanoid%2Fdownload%2Fnanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81"
integrity sha1-90QIbOfCvEfuCoRyV01ceOQYOoE=
nanomatch@^1.2.9: nanomatch@^1.2.9:
version "1.2.13" version "1.2.13"
resolved "https://registry.npm.taobao.org/nanomatch/download/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119" resolved "https://registry.npm.taobao.org/nanomatch/download/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
...@@ -4901,11 +5061,19 @@ node-dir@^0.1.17: ...@@ -4901,11 +5061,19 @@ node-dir@^0.1.17:
dependencies: dependencies:
minimatch "^3.0.2" minimatch "^3.0.2"
node-fetch@^2.2.0, node-fetch@^2.6.0: node-fetch@2.6.1, node-fetch@^2.2.0, node-fetch@^2.6.0:
version "2.6.1" version "2.6.1"
resolved "https://registry.nlark.com/node-fetch/download/node-fetch-2.6.1.tgz?cache=0&sync_timestamp=1626684741221&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fnode-fetch%2Fdownload%2Fnode-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" resolved "https://registry.nlark.com/node-fetch/download/node-fetch-2.6.1.tgz?cache=0&sync_timestamp=1626684741221&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fnode-fetch%2Fdownload%2Fnode-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052"
integrity sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI= integrity sha1-BFvTI2Mfdu0uK1VXM5RBa2OaAFI=
node-fetch@^1.0.1:
version "1.7.3"
resolved "https://registry.nlark.com/node-fetch/download/node-fetch-1.7.3.tgz?cache=0&sync_timestamp=1626684741221&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fnode-fetch%2Fdownload%2Fnode-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef"
integrity sha1-mA9vcthSEaU0fGsrwYxbhMPrR+8=
dependencies:
encoding "^0.1.11"
is-stream "^1.0.1"
node-int64@^0.4.0: node-int64@^0.4.0:
version "0.4.0" version "0.4.0"
resolved "https://registry.npm.taobao.org/node-int64/download/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b" resolved "https://registry.npm.taobao.org/node-int64/download/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
...@@ -4967,7 +5135,7 @@ ob1@0.64.0: ...@@ -4967,7 +5135,7 @@ ob1@0.64.0:
resolved "https://registry.nlark.com/ob1/download/ob1-0.64.0.tgz?cache=0&sync_timestamp=1626784107584&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fob1%2Fdownload%2Fob1-0.64.0.tgz#f254a55a53ca395c4f9090e28a85483eac5eba19" resolved "https://registry.nlark.com/ob1/download/ob1-0.64.0.tgz?cache=0&sync_timestamp=1626784107584&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fob1%2Fdownload%2Fob1-0.64.0.tgz#f254a55a53ca395c4f9090e28a85483eac5eba19"
integrity sha1-8lSlWlPKOVxPkJDiioVIPqxeuhk= integrity sha1-8lSlWlPKOVxPkJDiioVIPqxeuhk=
object-assign@^4.1.1: object-assign@^4.1.0, object-assign@^4.1.1:
version "4.1.1" version "4.1.1"
resolved "https://registry.nlark.com/object-assign/download/object-assign-4.1.1.tgz?cache=0&sync_timestamp=1618847240432&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fobject-assign%2Fdownload%2Fobject-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" resolved "https://registry.nlark.com/object-assign/download/object-assign-4.1.1.tgz?cache=0&sync_timestamp=1618847240432&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fobject-assign%2Fdownload%2Fobject-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863"
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
...@@ -5327,6 +5495,13 @@ progress@^2.0.0: ...@@ -5327,6 +5495,13 @@ progress@^2.0.0:
resolved "https://registry.nlark.com/progress/download/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" resolved "https://registry.nlark.com/progress/download/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8"
integrity sha1-foz42PW48jnBvGi+tOt4Vn1XLvg= integrity sha1-foz42PW48jnBvGi+tOt4Vn1XLvg=
promise@^7.1.1:
version "7.3.1"
resolved "https://registry.npm.taobao.org/promise/download/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf"
integrity sha1-BktyYCsY+Q8pGSuLG8QY/9Hr078=
dependencies:
asap "~2.0.3"
promise@^8.0.3: promise@^8.0.3:
version "8.1.0" version "8.1.0"
resolved "https://registry.npm.taobao.org/promise/download/promise-8.1.0.tgz#697c25c3dfe7435dd79fcd58c38a135888eaf05e" resolved "https://registry.npm.taobao.org/promise/download/promise-8.1.0.tgz#697c25c3dfe7435dd79fcd58c38a135888eaf05e"
...@@ -5342,6 +5517,14 @@ prompts@^2.0.1, prompts@^2.4.0: ...@@ -5342,6 +5517,14 @@ prompts@^2.0.1, prompts@^2.4.0:
kleur "^3.0.3" kleur "^3.0.3"
sisteransi "^1.0.5" sisteransi "^1.0.5"
prop-types@15.5.10:
version "15.5.10"
resolved "https://registry.nlark.com/prop-types/download/prop-types-15.5.10.tgz#2797dfc3126182e3a95e3dfbb2e893ddd7456154"
integrity sha1-J5ffwxJhguOpXj37suiT3ddFYVQ=
dependencies:
fbjs "^0.8.9"
loose-envify "^1.3.1"
prop-types@^15.6.2, prop-types@^15.7.2: prop-types@^15.6.2, prop-types@^15.7.2:
version "15.7.2" version "15.7.2"
resolved "https://registry.nlark.com/prop-types/download/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5" resolved "https://registry.nlark.com/prop-types/download/prop-types-15.7.2.tgz#52c41e75b8c87e72b9d9360e0206b99dcbffa6c5"
...@@ -5369,6 +5552,16 @@ punycode@^2.1.0, punycode@^2.1.1: ...@@ -5369,6 +5552,16 @@ punycode@^2.1.0, punycode@^2.1.1:
resolved "https://registry.nlark.com/punycode/download/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" resolved "https://registry.nlark.com/punycode/download/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
integrity sha1-tYsBCsQMIsVldhbI0sLALHv0eew= integrity sha1-tYsBCsQMIsVldhbI0sLALHv0eew=
query-string@^6.13.6:
version "6.14.1"
resolved "https://registry.nlark.com/query-string/download/query-string-6.14.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fquery-string%2Fdownload%2Fquery-string-6.14.1.tgz#7ac2dca46da7f309449ba0f86b1fd28255b0c86a"
integrity sha1-esLcpG2n8wlEm6D4ax/SglWwyGo=
dependencies:
decode-uri-component "^0.2.0"
filter-obj "^1.1.0"
split-on-first "^1.0.0"
strict-uri-encode "^2.0.0"
queue-microtask@^1.2.2: queue-microtask@^1.2.2:
version "1.2.3" version "1.2.3"
resolved "https://registry.npm.taobao.org/queue-microtask/download/queue-microtask-1.2.3.tgz?cache=0&sync_timestamp=1616391471040&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqueue-microtask%2Fdownload%2Fqueue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" resolved "https://registry.npm.taobao.org/queue-microtask/download/queue-microtask-1.2.3.tgz?cache=0&sync_timestamp=1616391471040&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fqueue-microtask%2Fdownload%2Fqueue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243"
...@@ -5392,7 +5585,7 @@ react-devtools-core@^4.6.0: ...@@ -5392,7 +5585,7 @@ react-devtools-core@^4.6.0:
resolved "https://registry.nlark.com/react-is/download/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" resolved "https://registry.nlark.com/react-is/download/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
integrity sha1-5pHUqOnHiTZWVVOas3J2Kw77VPA= integrity sha1-5pHUqOnHiTZWVVOas3J2Kw77VPA=
react-is@^16.8.1: react-is@^16.13.0, react-is@^16.7.0, react-is@^16.8.1:
version "16.13.1" version "16.13.1"
resolved "https://registry.nlark.com/react-is/download/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" resolved "https://registry.nlark.com/react-is/download/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4"
integrity sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ= integrity sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ=
...@@ -5413,6 +5606,56 @@ react-native-codegen@^0.0.6: ...@@ -5413,6 +5606,56 @@ react-native-codegen@^0.0.6:
jscodeshift "^0.11.0" jscodeshift "^0.11.0"
nullthrows "^1.1.1" nullthrows "^1.1.1"
react-native-gesture-handler@^1.10.3:
version "1.10.3"
resolved "https://registry.npm.taobao.org/react-native-gesture-handler/download/react-native-gesture-handler-1.10.3.tgz#942bbf2963bbf49fa79593600ee9d7b5dab3cfc0"
integrity sha1-lCu/KWO79J+nlZNgDunXtdqzz8A=
dependencies:
"@egjs/hammerjs" "^2.0.17"
fbjs "^3.0.0"
hoist-non-react-statics "^3.3.0"
invariant "^2.2.4"
prop-types "^15.7.2"
react-native-image-picker@^4.0.6:
version "4.0.6"
resolved "https://registry.nlark.com/react-native-image-picker/download/react-native-image-picker-4.0.6.tgz?cache=0&sync_timestamp=1626348688643&other_urls=https%3A%2F%2Fregistry.nlark.com%2Freact-native-image-picker%2Fdownload%2Freact-native-image-picker-4.0.6.tgz#0dfa5bb83bcf6ff58635ebb9201a185c2271e8cc"
integrity sha1-DfpbuDvPb/WGNeu5IBoYXCJx6Mw=
react-native-iphone-x-helper@^1.3.0:
version "1.3.1"
resolved "https://registry.npm.taobao.org/react-native-iphone-x-helper/download/react-native-iphone-x-helper-1.3.1.tgz#20c603e9a0e765fd6f97396638bdeb0e5a60b010"
integrity sha1-IMYD6aDnZf1vlzlmOL3rDlpgsBA=
react-native-qr-scanner@^1.3.2:
version "1.3.2"
resolved "https://registry.nlark.com/react-native-qr-scanner/download/react-native-qr-scanner-1.3.2.tgz#cb4588d8376e9842121442eca46f98b27140c526"
integrity sha1-y0WI2DdumEISFELspG+YsnFAxSY=
dependencies:
prop-types "15.5.10"
react-native-reanimated@^2.2.0:
version "2.2.0"
resolved "https://registry.nlark.com/react-native-reanimated/download/react-native-reanimated-2.2.0.tgz#a6412c56b4e591d1f00fac949f62d0c72c357c78"
integrity sha1-pkEsVrTlkdHwD6yUn2LQxyw1fHg=
dependencies:
"@babel/plugin-transform-object-assign" "^7.10.4"
fbjs "^3.0.0"
mockdate "^3.0.2"
string-hash-64 "^1.0.3"
react-native-safe-area-context@^3.2.0:
version "3.2.0"
resolved "https://registry.npm.taobao.org/react-native-safe-area-context/download/react-native-safe-area-context-3.2.0.tgz#06113c6b208f982d68ab5c3cebd199ca93db6941"
integrity sha1-BhE8ayCPmC1oq1w869GZypPbaUE=
react-native-screens@^3.4.0:
version "3.4.0"
resolved "https://registry.nlark.com/react-native-screens/download/react-native-screens-3.4.0.tgz?cache=0&sync_timestamp=1623936062333&other_urls=https%3A%2F%2Fregistry.nlark.com%2Freact-native-screens%2Fdownload%2Freact-native-screens-3.4.0.tgz#91deeac7630db9f3984053e2ab146d71bba7af4e"
integrity sha1-kd7qx2MNufOYQFPiqxRtcbunr04=
dependencies:
warn-once "^0.1.0"
react-native-splash-screen@^3.2.0: react-native-splash-screen@^3.2.0:
version "3.2.0" version "3.2.0"
resolved "https://registry.npm.taobao.org/react-native-splash-screen/download/react-native-splash-screen-3.2.0.tgz#d47ec8557b1ba988ee3ea98d01463081b60fff45" resolved "https://registry.npm.taobao.org/react-native-splash-screen/download/react-native-splash-screen-3.2.0.tgz#d47ec8557b1ba988ee3ea98d01463081b60fff45"
...@@ -5735,7 +5978,7 @@ safe-regex@^1.1.0: ...@@ -5735,7 +5978,7 @@ safe-regex@^1.1.0:
dependencies: dependencies:
ret "~0.1.10" ret "~0.1.10"
"safer-buffer@>= 2.1.2 < 3": "safer-buffer@>= 2.1.2 < 3", "safer-buffer@>= 2.1.2 < 3.0.0":
version "2.1.2" version "2.1.2"
resolved "https://registry.nlark.com/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a" resolved "https://registry.nlark.com/safer-buffer/download/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo= integrity sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=
...@@ -5846,6 +6089,11 @@ set-value@^2.0.0, set-value@^2.0.1: ...@@ -5846,6 +6089,11 @@ set-value@^2.0.0, set-value@^2.0.1:
is-plain-object "^2.0.3" is-plain-object "^2.0.3"
split-string "^3.0.1" split-string "^3.0.1"
setimmediate@^1.0.5:
version "1.0.5"
resolved "https://registry.nlark.com/setimmediate/download/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285"
integrity sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=
setprototypeof@1.1.1: setprototypeof@1.1.1:
version "1.1.1" version "1.1.1"
resolved "https://registry.nlark.com/setprototypeof/download/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683" resolved "https://registry.nlark.com/setprototypeof/download/setprototypeof-1.1.1.tgz#7e95acb24aa92f5885e0abef5ba131330d4ae683"
...@@ -5929,6 +6177,13 @@ simple-plist@^1.0.0: ...@@ -5929,6 +6177,13 @@ simple-plist@^1.0.0:
bplist-parser "0.2.0" bplist-parser "0.2.0"
plist "^3.0.1" plist "^3.0.1"
simple-swizzle@^0.2.2:
version "0.2.2"
resolved "https://registry.npm.taobao.org/simple-swizzle/download/simple-swizzle-0.2.2.tgz#a4da6b635ffcccca33f70d17cb92592de95e557a"
integrity sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=
dependencies:
is-arrayish "^0.3.1"
sisteransi@^1.0.5: sisteransi@^1.0.5:
version "1.0.5" version "1.0.5"
resolved "https://registry.npm.taobao.org/sisteransi/download/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" resolved "https://registry.npm.taobao.org/sisteransi/download/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed"
...@@ -6026,6 +6281,11 @@ source-map@^0.7.3: ...@@ -6026,6 +6281,11 @@ source-map@^0.7.3:
resolved "https://registry.nlark.com/source-map/download/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383" resolved "https://registry.nlark.com/source-map/download/source-map-0.7.3.tgz#5302f8169031735226544092e64981f751750383"
integrity sha1-UwL4FpAxc1ImVECS5kmB91F1A4M= integrity sha1-UwL4FpAxc1ImVECS5kmB91F1A4M=
split-on-first@^1.0.0:
version "1.1.0"
resolved "https://registry.nlark.com/split-on-first/download/split-on-first-1.1.0.tgz#f610afeee3b12bce1d0c30425e76398b78249a5f"
integrity sha1-9hCv7uOxK84dDDBCXnY5i3gkml8=
split-string@^3.0.1, split-string@^3.0.2: split-string@^3.0.1, split-string@^3.0.2:
version "3.1.0" version "3.1.0"
resolved "https://registry.nlark.com/split-string/download/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" resolved "https://registry.nlark.com/split-string/download/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2"
...@@ -6075,6 +6335,16 @@ stream-buffers@~2.2.0: ...@@ -6075,6 +6335,16 @@ stream-buffers@~2.2.0:
resolved "https://registry.npm.taobao.org/stream-buffers/download/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4" resolved "https://registry.npm.taobao.org/stream-buffers/download/stream-buffers-2.2.0.tgz#91d5f5130d1cef96dcfa7f726945188741d09ee4"
integrity sha1-kdX1Ew0c75bc+n9yaUUYh0HQnuQ= integrity sha1-kdX1Ew0c75bc+n9yaUUYh0HQnuQ=
strict-uri-encode@^2.0.0:
version "2.0.0"
resolved "https://registry.npm.taobao.org/strict-uri-encode/download/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546"
integrity sha1-ucczDHBChi9rFC3CdLvMWGbONUY=
string-hash-64@^1.0.3:
version "1.0.3"
resolved "https://registry.npm.taobao.org/string-hash-64/download/string-hash-64-1.0.3.tgz#0deb56df58678640db5c479ccbbb597aaa0de322"
integrity sha1-DetW31hnhkDbXEecy7tZeqoN4yI=
string-length@^4.0.1: string-length@^4.0.1:
version "4.0.2" version "4.0.2"
resolved "https://registry.nlark.com/string-length/download/string-length-4.0.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fstring-length%2Fdownload%2Fstring-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" resolved "https://registry.nlark.com/string-length/download/string-length-4.0.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.nlark.com%2Fstring-length%2Fdownload%2Fstring-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a"
...@@ -6390,6 +6660,11 @@ typedarray-to-buffer@^3.1.5: ...@@ -6390,6 +6660,11 @@ typedarray-to-buffer@^3.1.5:
dependencies: dependencies:
is-typedarray "^1.0.0" is-typedarray "^1.0.0"
ua-parser-js@^0.7.18:
version "0.7.28"
resolved "https://registry.nlark.com/ua-parser-js/download/ua-parser-js-0.7.28.tgz#8ba04e653f35ce210239c64661685bf9121dec31"
integrity sha1-i6BOZT81ziECOcZGYWhb+RId7DE=
uglify-es@^3.1.9: uglify-es@^3.1.9:
version "3.3.9" version "3.3.9"
resolved "https://registry.npm.taobao.org/uglify-es/download/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677" resolved "https://registry.npm.taobao.org/uglify-es/download/uglify-es-3.3.9.tgz#0c1c4f0700bed8dbc124cdb304d2592ca203e677"
...@@ -6548,6 +6823,11 @@ walker@^1.0.7, walker@~1.0.5: ...@@ -6548,6 +6823,11 @@ walker@^1.0.7, walker@~1.0.5:
dependencies: dependencies:
makeerror "1.0.x" makeerror "1.0.x"
warn-once@^0.1.0:
version "0.1.0"
resolved "https://registry.nlark.com/warn-once/download/warn-once-0.1.0.tgz#4f58d89b84f968d0389176aa99e0cf0f14ffd4c8"
integrity sha1-T1jYm4T5aNA4kXaqmeDPDxT/1Mg=
wcwidth@^1.0.1: wcwidth@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "https://registry.nlark.com/wcwidth/download/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8" resolved "https://registry.nlark.com/wcwidth/download/wcwidth-1.0.1.tgz#f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8"
...@@ -6572,7 +6852,7 @@ whatwg-encoding@^1.0.5: ...@@ -6572,7 +6852,7 @@ whatwg-encoding@^1.0.5:
dependencies: dependencies:
iconv-lite "0.4.24" iconv-lite "0.4.24"
whatwg-fetch@^3.0.0: whatwg-fetch@>=0.10.0, whatwg-fetch@^3.0.0:
version "3.6.2" version "3.6.2"
resolved "https://registry.nlark.com/whatwg-fetch/download/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c" resolved "https://registry.nlark.com/whatwg-fetch/download/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c"
integrity sha1-3O0k838mJO0CgXJdUdDi4/5nf4w= integrity sha1-3O0k838mJO0CgXJdUdDi4/5nf4w=
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment