浏览代码

update rn version to 0.58.5 for demo

iou90 5 年前
父节点
当前提交
0a43c786f3
共有 4 个文件被更改,包括 8 次插入7 次删除
  1. 1
    0
      .eslintrc.json
  2. 1
    1
      demo/android/app/src/main/AndroidManifest.xml
  3. 1
    1
      demo/package.json
  4. 5
    5
      demo/yarn.lock

+ 1
- 0
.eslintrc.json 查看文件

@@ -22,6 +22,7 @@
22 22
         "no-unreachable": "warn",
23 23
         "constructor-super": "warn",
24 24
         "valid-typeof": "warn",
25
+        "react-native/sort-styles": "off",
25 26
         "react-native/no-unused-styles": "warn",
26 27
         "react-native/split-platform-components": "warn",
27 28
         "react-native/no-inline-styles": "off",

+ 1
- 1
demo/android/app/src/main/AndroidManifest.xml 查看文件

@@ -1,5 +1,5 @@
1 1
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
2
-    package="com.demo">
2
+  package="com.demo">
3 3
 
4 4
     <uses-permission android:name="android.permission.INTERNET" />
5 5
     <uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW"/>

+ 1
- 1
demo/package.json 查看文件

@@ -8,7 +8,7 @@
8 8
   },
9 9
   "dependencies": {
10 10
     "react": "16.6.3",
11
-    "react-native": "0.58.4",
11
+    "react-native": "0.58.5",
12 12
     "react-native-autoheight-webview": "../",
13 13
     "react-native-webview": "^5.2.1"
14 14
   },

+ 5
- 5
demo/yarn.lock 查看文件

@@ -4567,7 +4567,7 @@ react-is@^16.8.1:
4567 4567
   integrity sha512-D+NxhSR2HUCjYky1q1DwpNUD44cDpUXzSmmFyC3ug1bClcU/iDNy0YNn1iwme28fn+NFhpA13IndOd42CrFb+Q==
4568 4568
 
4569 4569
 react-native-autoheight-webview@../:
4570
-  version "0.11.0"
4570
+  version "1.0.1"
4571 4571
   dependencies:
4572 4572
     immutable "^3.8.2"
4573 4573
     prop-types "^15.7.2"
@@ -4580,10 +4580,10 @@ react-native-webview@^5.2.1:
4580 4580
     escape-string-regexp "^1.0.5"
4581 4581
     fbjs "^0.8.17"
4582 4582
 
4583
-react-native@0.58.4:
4584
-  version "0.58.4"
4585
-  resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.58.4.tgz#bb1392727712787ba84983104c4920c0f4082677"
4586
-  integrity sha512-vJlku+vRgiip9i2/NvYHYvMnHPZftROOnHdbeFCkxNpb90oot+VrocbkXe7qhVKCBKZTQrRNb5P+m0Gtv59Zcg==
4583
+react-native@0.58.5:
4584
+  version "0.58.5"
4585
+  resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.58.5.tgz#672709bafd845e35ab4dd32b8ccccae32d54d552"
4586
+  integrity sha512-wCWjUAtvRK7A1YxnCANAW8/3+x3gh2WUifYqdvKSAJ6wGsftLgvj1JxIaUMQ3mKi0aUeAlHnz0cO21ZPCLgd+g==
4587 4587
   dependencies:
4588 4588
     "@babel/runtime" "^7.0.0"
4589 4589
     absolute-path "^0.0.0"