浏览代码

enable scroll when zoomed-in (#146)

* Added example newsletter with side margin on body element

* Remove margin from body and add padding to #rnahw-wrapper

* Add detectZoomChanged for utils

* Add scrollableWhenZoomin prop

* Set up demo with scrollableWhenZoomin

* Add scrollableWhenZoomin prop for Readme

* Add scrollableWhenZoomin definition to index.d.ts

* Pod install

* Change the name of scrollableWhenZoomin prop to scrollEnabledWithZoomedin

Co-authored-by: Onno Schwanen <me@onnoschwanen.com>
iou90 4 年前
父节点
当前提交
56d5f6dc19
没有帐户链接到提交者的电子邮件
共有 9 个文件被更改,包括 619 次插入248 次删除
  1. 1
    0
      README.md
  2. 9
    7
      autoHeightWebView/index.js
  3. 41
    14
      autoHeightWebView/utils.js
  4. 11
    1
      demo/App.js
  5. 3
    1
      demo/config.js
  6. 2
    2
      demo/ios/Podfile.lock
  7. 542
    0
      demo/newsletterZeit.js
  8. 9
    223
      demo/yarn.lock
  9. 1
    0
      index.d.ts

+ 1
- 0
README.md 查看文件

@@ -62,6 +62,7 @@ import { Dimensions } from 'react-native'
62 62
 | files                        |    -    | `PropTypes.arrayOf(PropTypes.shape({ href: PropTypes.string, type: PropTypes.string, rel: PropTypes.string }))` | Using local or remote files. To add local files: Add files to android/app/src/main/assets/ (depends on baseUrl) on android; add files to web/ (depends on baseUrl) on iOS.                                   |
63 63
 | source                       |    -    |                                               `PropTypes.object`                                                | BaseUrl now contained by source. 'web/' by default on iOS; 'file:///android_asset/' by default on Android or uri.                                                                                            |
64 64
 | scalesPageToFit              |  false  |                                                `PropTypes.bool`                                                 | False by default (different from react-native-webview which true by default on Android). When scalesPageToFit was enabled, it will apply the scale of the page directly instead of using viewport meta script.    |
65
+| scrollEnabledWithZoomedin                     |  false   |                                                `PropTypes.bool`                                                 | Making the webview scrollable on iOS when zoomed in even if scrollEnabled is false.                                                                        |
65 66
 | zoomable                     |  true   |                                                `PropTypes.bool`                                                 | Only works on iOS when disable scalesPageToFit, in other conditions, using custom scripts to create viewport meta to disable zooming.                                                                        |
66 67
 | showsVerticalScrollIndicator |  false  |                                                `PropTypes.bool`                                                 | False by default (different from react-native-webview).                                                                                                                                                      |
67 68
 | showsVerticalScrollIndicator |  false  |                                                `PropTypes.bool`                                                 | False by default (different from react-native-webview).                                                                                                                                                      |

+ 9
- 7
autoHeightWebView/index.js 查看文件

@@ -12,7 +12,7 @@ import { reduceData, getWidth, isSizeChanged, shouldUpdate } from './utils';
12 12
 
13 13
 const AutoHeightWebView = React.memo(
14 14
   forwardRef((props, ref) => {
15
-    const { style, onMessage, onSizeUpdated, source } = props;
15
+    const { style, onMessage, onSizeUpdated, scrollEnabledWithZoomedin, scrollEnabled, source } = props;
16 16
 
17 17
     if (!source) {
18 18
       return null;
@@ -31,6 +31,7 @@ const AutoHeightWebView = React.memo(
31 31
       height: style && style.height ? style.height : 0,
32 32
       width: getWidth(style)
33 33
     });
34
+    const [scrollable, setScrollable] = useState(false);
34 35
     const handleMessage = event => {
35 36
       onMessage && onMessage(event);
36 37
       if (!event.nativeEvent) {
@@ -44,7 +45,8 @@ const AutoHeightWebView = React.memo(
44 45
         console.error(error);
45 46
         return;
46 47
       }
47
-      const { height, width } = data;
48
+      const { height, width, zoomin } = data;
49
+      !scrollEnabled && scrollEnabledWithZoomedin && setScrollable(zoomin);
48 50
       const { height: previousHeight, width: previousWidth } = size;
49 51
       isSizeChanged({ height, previousHeight, width, previousWidth }) &&
50 52
         setSize({
@@ -53,6 +55,8 @@ const AutoHeightWebView = React.memo(
53 55
         });
54 56
     };
55 57
 
58
+    const currentScrollEnabled = scrollEnabled === false && scrollEnabledWithZoomedin ? scrollable : scrollEnabled;
59
+
56 60
     const { currentSource, script } = reduceData(props);
57 61
 
58 62
     const { width, height } = size;
@@ -81,6 +85,7 @@ const AutoHeightWebView = React.memo(
81 85
         ]}
82 86
         injectedJavaScript={script}
83 87
         source={currentSource}
88
+        scrollEnabled={currentScrollEnabled}
84 89
       />
85 90
     );
86 91
   }),
@@ -89,8 +94,6 @@ const AutoHeightWebView = React.memo(
89 94
 
90 95
 AutoHeightWebView.propTypes = {
91 96
   onSizeUpdated: PropTypes.func,
92
-  // add files to android/app/src/main/assets/ (depends on baseUrl) on android
93
-  // add files to web/ (depends on baseUrl) on iOS
94 97
   files: PropTypes.arrayOf(
95 98
     PropTypes.shape({
96 99
       href: PropTypes.string,
@@ -102,12 +105,11 @@ AutoHeightWebView.propTypes = {
102 105
   customScript: PropTypes.string,
103 106
   customStyle: PropTypes.string,
104 107
   zoomable: PropTypes.bool,
108
+  scrollEnabledWithZoomedin: PropTypes.bool,
105 109
   // webview props
106 110
   originWhitelist: PropTypes.arrayOf(PropTypes.string),
107 111
   onMessage: PropTypes.func,
108
-  // baseUrl now contained by source
109
-  // 'web/' by default on iOS
110
-  // 'file:///android_asset/' by default on Android
112
+  scalesPageToFit: PropTypes.bool,
111 113
   source: PropTypes.object
112 114
 };
113 115
 

+ 41
- 14
autoHeightWebView/utils.js 查看文件

@@ -65,7 +65,33 @@ const makeScalePageToFit = (zoomable, scalesPageToFit) =>
65 65
   document.getElementsByTagName("head")[0].appendChild(meta);
66 66
 `;
67 67
 
68
-const getBaseScript = ({ style, zoomable, scalesPageToFit }) =>
68
+const detectZoomChanged = `
69
+  var zoomin = false;
70
+  var latestTapStamp = 0;
71
+  var lastScale = false;
72
+  var doubleTapDelay = 400;
73
+  function detectZoomChanged() {
74
+    var tempZoomin = (screen.width / window.innerWidth) > 1;
75
+    tempZoomin !== zoomin && window.ReactNativeWebView.postMessage(JSON.stringify({ zoomin: tempZoomin }));
76
+    zoomin = tempZoomin;
77
+  }
78
+  window.addEventListener('touchend', event => {
79
+    var tempScale = event.scale; 
80
+    tempScale !== lastScale && detectZoomChanged();
81
+    lastScale = tempScale;
82
+    var timeSince = new Date().getTime() - latestTapStamp;
83
+    // double tap   
84
+    if(timeSince < 600 && timeSince > 0) {
85
+      zoominTimeOut = setTimeout(() => {
86
+        clearTimeout(zoominTimeOut);
87
+        detectZoomChanged();
88
+      }, doubleTapDelay);
89
+    }
90
+    latestTapStamp = new Date().getTime();
91
+  });
92
+`
93
+
94
+const getBaseScript = ({ style, zoomable, scalesPageToFit, scrollEnabledWithZoomedin }) =>
69 95
   `
70 96
   ;
71 97
   if (!document.getElementById("rnahw-wrapper")) {
@@ -81,6 +107,7 @@ const getBaseScript = ({ style, zoomable, scalesPageToFit }) =>
81 107
   window.addEventListener('resize', updateSize);
82 108
   ${domMutationObserveScript}
83 109
   ${makeScalePageToFit(zoomable, scalesPageToFit)}
110
+  ${scrollEnabledWithZoomedin ? detectZoomChanged : ''}
84 111
   updateSize();
85 112
   `;
86 113
 
@@ -100,10 +127,10 @@ const appendFilesToHead = ({ files, script }) =>
100 127
 const screenWidth = Dimensions.get('window').width;
101 128
 
102 129
 const bodyStyle = `
103
-body {
104
-  margin: 0;
105
-  padding: 0;
106
-}
130
+  body {
131
+    margin: 0;
132
+    padding: 0;
133
+  }
107 134
 `;
108 135
 
109 136
 const appendStylesToHead = ({ style, script }) => {
@@ -119,17 +146,17 @@ const appendStylesToHead = ({ style, script }) => {
119 146
 };
120 147
 
121 148
 const getInjectedSource = ({ html, script }) => `
122
-${html}
123
-<script>
124
-// prevents code colissions with global scope
125
-(function() {
126
-  ${script}
127
-})();
128
-</script>
149
+  ${html}
150
+  <script>
151
+  // prevents code colissions with global scope
152
+  (function() {
153
+    ${script}
154
+  })();
155
+  </script>
129 156
 `;
130 157
 
131
-const getScript = ({ files, customStyle, customScript, style, zoomable, scalesPageToFit }) => {
132
-  let script = getBaseScript({ style, zoomable, scalesPageToFit });
158
+const getScript = ({ files, customStyle, customScript, style, zoomable, scalesPageToFit, scrollEnabledWithZoomedin }) => {
159
+  let script = getBaseScript({ style, zoomable, scalesPageToFit, scrollEnabledWithZoomedin });
133 160
   script = files && files.length > 0 ? appendFilesToHead({ files, script }) : script;
134 161
   script = appendStylesToHead({ style: customStyle, script });
135 162
   customScript && (script = customScript + script);

+ 11
- 1
demo/App.js 查看文件

@@ -115,7 +115,17 @@ const Explorer = () => {
115 115
         alignItems: 'center',
116 116
       }}>
117 117
       <AutoHeightWebView
118
-        customStyle={heightStyle}
118
+        scrollEnabledWithZoomedin
119
+        scrollEnabled={false}
120
+        customStyle={
121
+          `
122
+          #rnahw-wrapper {
123
+            padding: 0 30px;
124
+            width: 100vw;
125
+            box-sizing: border-box;
126
+          }
127
+          `
128
+        }
119 129
         onError={onError}
120 130
         onLoad={onHeightLoad}
121 131
         onLoadStart={onHeightLoadStart}

+ 3
- 1
demo/config.js 查看文件

@@ -1,6 +1,8 @@
1 1
 'use strict';
2 2
 
3
-const autoHeightHtml0 = `<p style="font-weight: 400;font-style: normal;font-size: 21px;line-height: 1.58;letter-spacing: -.003em;"><a href="https://github.com/iou90/react-native-autoheight-webview">Tags</a> are great for describing the essence of your story in a single word or phrase, but stories are rarely about a single thing. <span style="background-color: transparent !important;background-image: linear-gradient(to bottom, rgba(146, 249, 190, 1), rgba(146, 249, 190, 1));">If I pen a story about moving across the country to start a new job in a car with my husband, two cats, a dog, and a tarantula, I wouldn't only tag the piece with "moving". I’d also use the <a href="http://x-squad.com">tags</a> "pets", "marriage", "career change", and "travel tips".</span></p>`;
3
+import newsletterZeit from "./newsletterZeit";
4
+
5
+const autoHeightHtml0 = newsletterZeit;//`<p style="font-weight: 400;font-style: normal;font-size: 21px;line-height: 1.58;letter-spacing: -.003em;"><a href="https://github.com/iou90/react-native-autoheight-webview">Tags</a> are great for describing the essence of your story in a single word or phrase, but stories are rarely about a single thing. <span style="background-color: transparent !important;background-image: linear-gradient(to bottom, rgba(146, 249, 190, 1), rgba(146, 249, 190, 1));">If I pen a story about moving across the country to start a new job in a car with my husband, two cats, a dog, and a tarantula, I wouldn't only tag the piece with "moving". I’d also use the <a href="http://x-squad.com">tags</a> "pets", "marriage", "career change", and "travel tips".</span></p>`;
4 6
 
5 7
 const autoHeightHtml1 = `Tags are great for describing the essence of your story in a single word or phrase, but stories are rarely about a single thing. If I pen a story about moving across the country to start a new job in a car with my husband, two cats, a dog, and a tarantula, I wouldn’t only tag the piece with "moving".`;
6 8
 

+ 2
- 2
demo/ios/Podfile.lock 查看文件

@@ -182,7 +182,7 @@ PODS:
182 182
     - React-cxxreact (= 0.61.5)
183 183
     - React-jsi (= 0.61.5)
184 184
   - React-jsinspector (0.61.5)
185
-  - react-native-webview (7.5.2):
185
+  - react-native-webview (8.0.2):
186 186
     - React
187 187
   - React-RCTActionSheet (0.61.5):
188 188
     - React-Core/RCTActionSheetHeaders (= 0.61.5)
@@ -326,7 +326,7 @@ SPEC CHECKSUMS:
326 326
   React-jsi: cb2cd74d7ccf4cffb071a46833613edc79cdf8f7
327 327
   React-jsiexecutor: d5525f9ed5f782fdbacb64b9b01a43a9323d2386
328 328
   React-jsinspector: fa0ecc501688c3c4c34f28834a76302233e29dc0
329
-  react-native-webview: d1b30cc9128256ec1a9c6d10fb572231bd371337
329
+  react-native-webview: 99bdfd6c189772b0f15494f728430c23b18b93e4
330 330
   React-RCTActionSheet: 600b4d10e3aea0913b5a92256d2719c0cdd26d76
331 331
   React-RCTAnimation: 791a87558389c80908ed06cc5dfc5e7920dfa360
332 332
   React-RCTBlob: d89293cc0236d9cb0933d85e430b0bbe81ad1d72

+ 542
- 0
demo/newsletterZeit.js 查看文件

@@ -0,0 +1,542 @@
1
+export default `<!doctype html>
2
+<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
3
+    <head>
4
+        <!-- NAME: SIMPLE TEXT -->
5
+        <!--[if gte mso 15]>
6
+        <xml>
7
+            <o:OfficeDocumentSettings>
8
+            <o:AllowPNG/>
9
+            <o:PixelsPerInch>96</o:PixelsPerInch>
10
+            </o:OfficeDocumentSettings>
11
+        </xml>
12
+        <![endif]-->
13
+        <meta charset="UTF-8">
14
+        <meta http-equiv="X-UA-Compatible" content="IE=edge">
15
+        <meta name="viewport" content="width=device-width, initial-scale=1">
16
+        <title>Node.js 8 – End-Of-Life</title>
17
+
18
+    <style type="text/css">
19
+		p{
20
+			margin:10px 0;
21
+			padding:0;
22
+		}
23
+		table{
24
+			border-collapse:collapse;
25
+		}
26
+		h1,h2,h3,h4,h5,h6{
27
+			display:block;
28
+			margin:0;
29
+			padding:0;
30
+		}
31
+		img,a img{
32
+			border:0;
33
+			height:auto;
34
+			outline:none;
35
+			text-decoration:none;
36
+		}
37
+		body,#bodyTable,#bodyCell{
38
+			height:100%;
39
+			margin:0;
40
+			padding:0;
41
+			width:100%;
42
+		}
43
+		.mcnPreviewText{
44
+			display:none !important;
45
+		}
46
+		#outlook a{
47
+			padding:0;
48
+		}
49
+		img{
50
+			-ms-interpolation-mode:bicubic;
51
+		}
52
+		table{
53
+			mso-table-lspace:0pt;
54
+			mso-table-rspace:0pt;
55
+		}
56
+		.ReadMsgBody{
57
+			width:100%;
58
+		}
59
+		.ExternalClass{
60
+			width:100%;
61
+		}
62
+		p,a,li,td,blockquote{
63
+			mso-line-height-rule:exactly;
64
+		}
65
+		a[href^=tel],a[href^=sms]{
66
+			color:inherit;
67
+			cursor:default;
68
+			text-decoration:none;
69
+		}
70
+		p,a,li,td,body,table,blockquote{
71
+			-ms-text-size-adjust:100%;
72
+			-webkit-text-size-adjust:100%;
73
+		}
74
+		.ExternalClass,.ExternalClass p,.ExternalClass td,.ExternalClass div,.ExternalClass span,.ExternalClass font{
75
+			line-height:100%;
76
+		}
77
+		a[x-apple-data-detectors]{
78
+			color:inherit !important;
79
+			text-decoration:none !important;
80
+			font-size:inherit !important;
81
+			font-family:inherit !important;
82
+			font-weight:inherit !important;
83
+			line-height:inherit !important;
84
+		}
85
+		#bodyCell{
86
+			padding:10px;
87
+		}
88
+		.templateContainer{
89
+			max-width:600px !important;
90
+		}
91
+		a.mcnButton{
92
+			display:block;
93
+		}
94
+		.mcnImage,.mcnRetinaImage{
95
+			vertical-align:bottom;
96
+		}
97
+		.mcnTextContent{
98
+			word-break:break-word;
99
+		}
100
+		.mcnTextContent img{
101
+			height:auto !important;
102
+		}
103
+		.mcnDividerBlock{
104
+			table-layout:fixed !important;
105
+		}
106
+		body,#bodyTable{
107
+			background-color:#ffffff;
108
+			background-image:none;
109
+			background-repeat:no-repeat;
110
+			background-position:center;
111
+			background-size:cover;
112
+		}
113
+		#bodyCell{
114
+			border-top:0;
115
+		}
116
+		.templateContainer{
117
+			border:0;
118
+		}
119
+		h1{
120
+			color:#202020;
121
+			font-family:Helvetica;
122
+			font-size:26px;
123
+			font-style:normal;
124
+			font-weight:bold;
125
+			line-height:125%;
126
+			letter-spacing:normal;
127
+			text-align:left;
128
+		}
129
+		h2{
130
+			color:#202020;
131
+			font-family:Helvetica;
132
+			font-size:22px;
133
+			font-style:normal;
134
+			font-weight:bold;
135
+			line-height:125%;
136
+			letter-spacing:normal;
137
+			text-align:left;
138
+		}
139
+		h3{
140
+			color:#202020;
141
+			font-family:Helvetica;
142
+			font-size:20px;
143
+			font-style:normal;
144
+			font-weight:bold;
145
+			line-height:125%;
146
+			letter-spacing:normal;
147
+			text-align:left;
148
+		}
149
+		h4{
150
+			color:#202020;
151
+			font-family:Helvetica;
152
+			font-size:18px;
153
+			font-style:normal;
154
+			font-weight:bold;
155
+			line-height:125%;
156
+			letter-spacing:normal;
157
+			text-align:left;
158
+		}
159
+		#templateHeader{
160
+			border-top:0;
161
+			border-bottom:0;
162
+		}
163
+		#templateHeader .mcnTextContent,#templateHeader .mcnTextContent p{
164
+			color:#202020;
165
+			font-family:Helvetica;
166
+			font-size:16px;
167
+			line-height:150%;
168
+			text-align:left;
169
+		}
170
+		#templateHeader .mcnTextContent a,#templateHeader .mcnTextContent p a{
171
+			color:#007C89;
172
+			font-weight:normal;
173
+			text-decoration:underline;
174
+		}
175
+		#templateBody{
176
+			border-top:0;
177
+			border-bottom:0;
178
+		}
179
+		#templateBody .mcnTextContent,#templateBody .mcnTextContent p{
180
+			color:#202020;
181
+			font-family:Helvetica;
182
+			font-size:16px;
183
+			line-height:150%;
184
+			text-align:left;
185
+		}
186
+		#templateBody .mcnTextContent a,#templateBody .mcnTextContent p a{
187
+			color:#067df7;
188
+			font-weight:normal;
189
+			text-decoration:none;
190
+		}
191
+		#templateFooter{
192
+			border-top:0;
193
+			border-bottom:0;
194
+		}
195
+		#templateFooter .mcnTextContent,#templateFooter .mcnTextContent p{
196
+			color:#202020;
197
+			font-family:Helvetica;
198
+			font-size:12px;
199
+			line-height:150%;
200
+			text-align:left;
201
+		}
202
+		#templateFooter .mcnTextContent a,#templateFooter .mcnTextContent p a{
203
+			color:#202020;
204
+			font-weight:normal;
205
+			text-decoration:underline;
206
+		}
207
+	@media only screen and (min-width:768px){
208
+		.templateContainer{
209
+			width:600px !important;
210
+		}
211
+
212
+}	@media only screen and (max-width: 480px){
213
+		body,table,td,p,a,li,blockquote{
214
+			-webkit-text-size-adjust:none !important;
215
+		}
216
+
217
+}	@media only screen and (max-width: 480px){
218
+		body{
219
+			width:100% !important;
220
+			min-width:100% !important;
221
+		}
222
+
223
+}	@media only screen and (max-width: 480px){
224
+		#bodyCell{
225
+			padding-top:10px !important;
226
+		}
227
+
228
+}	@media only screen and (max-width: 480px){
229
+		.mcnRetinaImage{
230
+			max-width:100% !important;
231
+		}
232
+
233
+}	@media only screen and (max-width: 480px){
234
+		.mcnImage{
235
+			width:100% !important;
236
+		}
237
+
238
+}	@media only screen and (max-width: 480px){
239
+		.mcnCartContainer,.mcnCaptionTopContent,.mcnRecContentContainer,.mcnCaptionBottomContent,.mcnTextContentContainer,.mcnBoxedTextContentContainer,.mcnImageGroupContentContainer,.mcnCaptionLeftTextContentContainer,.mcnCaptionRightTextContentContainer,.mcnCaptionLeftImageContentContainer,.mcnCaptionRightImageContentContainer,.mcnImageCardLeftTextContentContainer,.mcnImageCardRightTextContentContainer,.mcnImageCardLeftImageContentContainer,.mcnImageCardRightImageContentContainer{
240
+			max-width:100% !important;
241
+			width:100% !important;
242
+		}
243
+
244
+}	@media only screen and (max-width: 480px){
245
+		.mcnBoxedTextContentContainer{
246
+			min-width:100% !important;
247
+		}
248
+
249
+}	@media only screen and (max-width: 480px){
250
+		.mcnImageGroupContent{
251
+			padding:9px !important;
252
+		}
253
+
254
+}	@media only screen and (max-width: 480px){
255
+		.mcnCaptionLeftContentOuter .mcnTextContent,.mcnCaptionRightContentOuter .mcnTextContent{
256
+			padding-top:9px !important;
257
+		}
258
+
259
+}	@media only screen and (max-width: 480px){
260
+		.mcnImageCardTopImageContent,.mcnCaptionBottomContent:last-child .mcnCaptionBottomImageContent,.mcnCaptionBlockInner .mcnCaptionTopContent:last-child .mcnTextContent{
261
+			padding-top:18px !important;
262
+		}
263
+
264
+}	@media only screen and (max-width: 480px){
265
+		.mcnImageCardBottomImageContent{
266
+			padding-bottom:9px !important;
267
+		}
268
+
269
+}	@media only screen and (max-width: 480px){
270
+		.mcnImageGroupBlockInner{
271
+			padding-top:0 !important;
272
+			padding-bottom:0 !important;
273
+		}
274
+
275
+}	@media only screen and (max-width: 480px){
276
+		.mcnImageGroupBlockOuter{
277
+			padding-top:9px !important;
278
+			padding-bottom:9px !important;
279
+		}
280
+
281
+}	@media only screen and (max-width: 480px){
282
+		.mcnTextContent,.mcnBoxedTextContentColumn{
283
+			padding-right:18px !important;
284
+			padding-left:18px !important;
285
+		}
286
+
287
+}	@media only screen and (max-width: 480px){
288
+		.mcnImageCardLeftImageContent,.mcnImageCardRightImageContent{
289
+			padding-right:18px !important;
290
+			padding-bottom:0 !important;
291
+			padding-left:18px !important;
292
+		}
293
+
294
+}	@media only screen and (max-width: 480px){
295
+		.mcpreview-image-uploader{
296
+			display:none !important;
297
+			width:100% !important;
298
+		}
299
+
300
+}	@media only screen and (max-width: 480px){
301
+		h1{
302
+			font-size:22px !important;
303
+			line-height:125% !important;
304
+		}
305
+
306
+}	@media only screen and (max-width: 480px){
307
+		h2{
308
+			font-size:20px !important;
309
+			line-height:125% !important;
310
+		}
311
+
312
+}	@media only screen and (max-width: 480px){
313
+		h3{
314
+			font-size:18px !important;
315
+			line-height:125% !important;
316
+		}
317
+
318
+}	@media only screen and (max-width: 480px){
319
+		h4{
320
+			font-size:16px !important;
321
+			line-height:150% !important;
322
+		}
323
+
324
+}	@media only screen and (max-width: 480px){
325
+		table.mcnBoxedTextContentContainer td.mcnTextContent,td.mcnBoxedTextContentContainer td.mcnTextContent p{
326
+			font-size:14px !important;
327
+			line-height:150% !important;
328
+		}
329
+
330
+}	@media only screen and (max-width: 480px){
331
+		td#templateHeader td.mcnTextContent,td#templateHeader td.mcnTextContent p{
332
+			font-size:16px !important;
333
+			line-height:150% !important;
334
+		}
335
+
336
+}	@media only screen and (max-width: 480px){
337
+		td#templateBody td.mcnTextContent,td#templateBody td.mcnTextContent p{
338
+			font-size:16px !important;
339
+			line-height:150% !important;
340
+		}
341
+
342
+}	@media only screen and (max-width: 480px){
343
+		td#templateFooter td.mcnTextContent,td#templateFooter td.mcnTextContent p{
344
+			font-size:14px !important;
345
+			line-height:150% !important;
346
+		}
347
+
348
+}</style></head>
349
+    <body style="background:#ffffff none no-repeat center/cover;height: 100%;padding: 0;width: 100%;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;background-color: #ffffff;background-image: none;background-repeat: no-repeat;background-position: center;background-size: cover;">
350
+        <!--
351
+-->
352
+        <!--[if !gte mso 9]><!----><span class="mcnPreviewText" style="display:none; font-size:0px; line-height:0px; max-height:0px; max-width:0px; opacity:0; overflow:hidden; visibility:hidden; mso-hide:all;">Our upstream provider AWS is deprecating support for Node.js 8. As a result, you need to switch to a more recent Node.js version.</span><!--<![endif]-->
353
+        <!--
354
+-->
355
+        <center>
356
+            <table align="center" border="0" cellpadding="0" cellspacing="0" height="100%" width="100%" id="bodyTable" style="background:#ffffff none no-repeat center/cover;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;height: 100%;margin: 0;padding: 0;width: 100%;background-color: #ffffff;background-image: none;background-repeat: no-repeat;background-position: center;background-size: cover;">
357
+                <tr>
358
+                    <td align="left" valign="top" id="bodyCell" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;height: 100%;margin: 0;padding: 10px;width: 100%;border-top: 0;padding-left: 0 !important;padding-right: 0 !important;">
359
+                        <!-- BEGIN TEMPLATE // -->
360
+                        <!--[if (gte mso 9)|(IE)]>
361
+                        <table align="center" border="0" cellspacing="0" cellpadding="0" width="600" style="width:600px;">
362
+                        <tr>
363
+                        <td align="center" valign="top" width="600" style="width:600px;">
364
+                        <![endif]-->
365
+                        <table border="0" cellpadding="0" cellspacing="0" width="100%" class="templateContainer" style="border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;border: 0;max-width: 600px !important;">
366
+                            <tr>
367
+                                <td valign="top" id="templateHeader" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;border-top: 0;border-bottom: 0;"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnImageBlock" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
368
+    <tbody class="mcnImageBlockOuter">
369
+            <tr>
370
+                <td valign="top" style="padding: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;" class="mcnImageBlockInner">
371
+                    <table align="left" width="100%" border="0" cellpadding="0" cellspacing="0" class="mcnImageContentContainer" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
372
+                        <tbody><tr>
373
+                            <td class="mcnImageContent" valign="top" style="padding-right: 9px;padding-left: 9px;padding-top: 0;padding-bottom: 0;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
374
+
375
+                                    <a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=fbf5042448&e=c9edb6a9f6" title="" class="" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
376
+                                        <img align="left" alt="" src="https://gallery.mailchimp.com/3c9e9e13d7e6dae8faf375bed/images/d0280daa-f502-479f-885d-a16228c996f5.png" width="40" style="max-width: 80px;padding-bottom: 0;display: inline !important;vertical-align: bottom;border: 0;height: auto;outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;" class="mcnRetinaImage">
377
+                                    </a>
378
+
379
+                            </td>
380
+                        </tr>
381
+                    </tbody></table>
382
+                </td>
383
+            </tr>
384
+    </tbody>
385
+</table></td>
386
+                            </tr>
387
+                            <tr>
388
+                                <td valign="top" id="templateBody" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;border-top: 0;border-bottom: 0;"><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
389
+    <tbody class="mcnTextBlockOuter">
390
+        <tr>
391
+            <td valign="top" class="mcnTextBlockInner" style="padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
392
+              	<!--[if mso]>
393
+				<table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
394
+				<tr>
395
+				<![endif]-->
396
+			
397
+				<!--[if mso]>
398
+				<td valign="top" width="600" style="width:600px;">
399
+				<![endif]-->
400
+                <table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;" width="100%" class="mcnTextContentContainer">
401
+                    <tbody><tr>
402
+
403
+                        <td valign="top" class="mcnTextContent" style="padding: 0px 18px 9px;color: #000000;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, Verdana, sans-serif;font-size: 14px;line-height: 150%;text-align: left;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;">
404
+
405
+                            <br>
406
+Hey there,<br>
407
+<br>
408
+I am writing to give notice that <strong>Node.js 8</strong> will reach its <strong>End-Of-Life</strong> on <strong>December 31, 2019,</strong> and will no longer be supported by <a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=62e3d7fde7&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">ZEIT Now</a> starting <strong>January 6, 2020</strong> (<a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=9845df9a61&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">enforced</a> by our upstream provider <a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=43d08558eb&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">AWS Lambda</a>).<br>
409
+<br>
410
+You can find more details about the Node.js End-Of-Life Schedule <a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=2d516b0a6e&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">here</a>.<br>
411
+<br>
412
+&nbsp;
413
+<h3 style="display: block;margin: 0;padding: 0;color: #202020;font-family: Helvetica;font-size: 20px;font-style: normal;font-weight: bold;line-height: 125%;letter-spacing: normal;text-align: left;">What Does This Mean?</h3>
414
+<br>
415
+Starting on&nbsp;<strong>January 6, 2020</strong>, new deployments without <span style="color:#cc00ff; font-family:menlo,monaco,lucida console,liberation mono,dejavu sans mono,bitstream vera sans mono,courier new,monospace; font-size:14px"><code>engines</code></span> defined in&nbsp;<span style="color:#cc00ff; font-family:menlo,monaco,lucida console,liberation mono,dejavu sans mono,bitstream vera sans mono,courier new,monospace; font-size:14px"><code>package.json</code></span>&nbsp;will use the most recent (<a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=972783ffb3&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">LTS</a>) version of Node.js: 12.<br>
416
+<br>
417
+If your <span style="color:#cc00ff; font-family:menlo,monaco,lucida console,liberation mono,dejavu sans mono,bitstream vera sans mono,courier new,monospace; font-size:14px"><code>package.json</code></span> file contains&nbsp; <span style="color:#cc00ff; font-family:menlo,monaco,lucida console,liberation mono,dejavu sans mono,bitstream vera sans mono,courier new,monospace; font-size:14px"><code>"engines": { "node": "8.10.x" }</code></span>, it will fail to build and print an error message explaining you must use 12.x instead.<br>
418
+<br>
419
+&nbsp;
420
+<h3 style="display: block;margin: 0;padding: 0;color: #202020;font-family: Helvetica;font-size: 20px;font-style: normal;font-weight: bold;line-height: 125%;letter-spacing: normal;text-align: left;">What Should You Do?</h3>
421
+<br>
422
+To avoid your project from ceasing to work, we recommend configuring the most recent Node.js version (12) in your <span style="color:#cc00ff; font-family:menlo,monaco,lucida console,liberation mono,dejavu sans mono,bitstream vera sans mono,courier new,monospace; font-size:14px"><code>package.json</code></span> file.<br>
423
+<br>
424
+To do so, you only need add the <span style="color:#cc00ff; font-family:menlo,monaco,lucida console,liberation mono,dejavu sans mono,bitstream vera sans mono,courier new,monospace; font-size:14px"><code>"engines": { "node": "12.x" }</code></span> property and create a new <a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=6309ae0eb3&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">Production Deployment</a>.<br>
425
+<br>
426
+Learn more about how to set a custom Node.js version <a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=96958079cf&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">in our documentation</a>.<br>
427
+<br>
428
+<style type="text/css">.email-image {
429
+max-width: 550px;
430
+}
431
+    @media only screen and (max-width: 480px){
432
+        .email-image{
433
+            height:auto !important;
434
+            max-width:550px !important;
435
+            width: 100% !important;
436
+        }
437
+    }
438
+</style>
439
+
440
+                        </td>
441
+                    </tr>
442
+                </tbody></table>
443
+				<!--[if mso]>
444
+				</td>
445
+				<![endif]-->
446
+
447
+				<!--[if mso]>
448
+				</tr>
449
+				</table>
450
+				<![endif]-->
451
+            </td>
452
+        </tr>
453
+    </tbody>
454
+</table><table border="0" cellpadding="0" cellspacing="0" width="100%" class="mcnTextBlock" style="min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
455
+    <tbody class="mcnTextBlockOuter">
456
+        <tr>
457
+            <td valign="top" class="mcnTextBlockInner" style="padding-top: 9px;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;">
458
+              	<!--[if mso]>
459
+				<table align="left" border="0" cellspacing="0" cellpadding="0" width="100%" style="width:100%;">
460
+				<tr>
461
+				<![endif]-->
462
+			
463
+				<!--[if mso]>
464
+				<td valign="top" width="600" style="width:600px;">
465
+				<![endif]-->
466
+                <table align="left" border="0" cellpadding="0" cellspacing="0" style="max-width: 100%;min-width: 100%;border-collapse: collapse;mso-table-lspace: 0pt;mso-table-rspace: 0pt;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;" width="100%" class="mcnTextContentContainer">
467
+                    <tbody><tr>
468
+
469
+                        <td valign="top" class="mcnTextContent" style="padding: 0px 18px 9px;color: #000000;font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, Verdana, sans-serif;font-size: 14px;line-height: 150%;text-align: left;mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;word-break: break-word;">
470
+
471
+                            –<br>
472
+<a href="https://zeit.us12.list-manage.com/track/click?u=3c9e9e13d7e6dae8faf375bed&id=8a02a06799&e=c9edb6a9f6" target="_blank" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;color: #067df7;font-weight: normal;text-decoration: none;">Leo Lamprecht</a><br>
473
+Head of Product<br>
474
+ZEIT, Inc.
475
+<style type="text/css">#bodyCell { padding-left: 0 !important; padding-right: 0 !important; }
476
+</style>
477
+
478
+                        </td>
479
+                    </tr>
480
+                </tbody></table>
481
+				<!--[if mso]>
482
+				</td>
483
+				<![endif]-->
484
+
485
+				<!--[if mso]>
486
+				</tr>
487
+				</table>
488
+				<![endif]-->
489
+            </td>
490
+        </tr>
491
+    </tbody>
492
+</table></td>
493
+                            </tr>
494
+                            <tr>
495
+                                <td valign="top" id="templateFooter" style="mso-line-height-rule: exactly;-ms-text-size-adjust: 100%;-webkit-text-size-adjust: 100%;border-top: 0;border-bottom: 0;"></td>
496
+                            </tr>
497
+                        </table>
498
+                        <!--[if (gte mso 9)|(IE)]>
499
+                        </td>
500
+                        </tr>
501
+                        </table>
502
+                        <![endif]-->
503
+                        <!-- // END TEMPLATE -->
504
+                    </td>
505
+                </tr>
506
+            </table>
507
+        </center>
508
+                <center>
509
+                <br />
510
+                <br />
511
+                <br />
512
+                <br />
513
+                <br />
514
+                <br />
515
+                <table border="0" cellpadding="0" cellspacing="0" width="100%" id="canspamBarWrapper" style="background-color:#FFFFFF; border-top:1px solid #E5E5E5;">
516
+                    <tr>
517
+                        <td align="center" valign="top" style="padding-top:20px; padding-bottom:20px;">
518
+                            <table border="0" cellpadding="0" cellspacing="0" id="canspamBar">
519
+                                <tr>
520
+                                    <td align="center" valign="top" style="color:#606060; font-family:Helvetica, Arial, sans-serif; font-size:11px; line-height:150%; padding-right:20px; padding-bottom:5px; padding-left:20px; text-align:center;">
521
+                                        This email was sent to <a href="mailto:###@###.com" target="_blank" style="color:#404040 !important;">###@###.com</a>
522
+                                        <br />
523
+                                        <a href="https://zeit.us12.list-manage.com/about" target="_blank" style="color:#404040 !important;"><em>why did I get this?</em></a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://zeit.us12.list-manage.com/unsubscribe" style="color:#404040 !important;">unsubscribe from this list</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="https://zeit.us12.list-manage.com/profile" style="color:#404040 !important;">update subscription preferences</a>
524
+                                        <br />
525
+                                        ▲ZEIT &middot; 1046 Kearny St &middot; San Francisco, CA 94133 &middot; USA
526
+                                        <br />
527
+                                        <br />
528
+
529
+                                    </td>
530
+                                </tr>
531
+                            </table>
532
+                        </td>
533
+                    </tr>
534
+                </table>
535
+                <style type="text/css">
536
+                    @media only screen and (max-width: 480px){
537
+                        table#canspamBar td{font-size:14px !important;}
538
+                        table#canspamBar td a{display:block !important; margin-top:10px !important;}
539
+                    }
540
+                </style>
541
+            </center><img src="https://zeit.us12.list-manage.com/track/open.php?u=3c9e9e13d7e6dae8faf375bed&id=ce66ec2f9f&e=c9edb6a9f6" height="1" width="1"></body>
542
+</html>`;

+ 9
- 223
demo/yarn.lock 查看文件

@@ -1021,11 +1021,6 @@ abab@^2.0.0:
1021 1021
   resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.3.tgz#623e2075e02eb2d3f2475e49f99c91846467907a"
1022 1022
   integrity sha512-tsFzPpcttalNjFBCFMqsKYQcWxxen1pgJR56by//QwvJc4/OUS3kPOOttx2tSIfjsylB0pYu7f5D3K1RCxUnUg==
1023 1023
 
1024
-abbrev@1:
1025
-  version "1.1.1"
1026
-  resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8"
1027
-  integrity sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==
1028
-
1029 1024
 abort-controller@^3.0.0:
1030 1025
   version "3.0.0"
1031 1026
   resolved "https://registry.yarnpkg.com/abort-controller/-/abort-controller-3.0.0.tgz#eaf54d53b62bae4138e809ca225c8439a6efb392"
@@ -1161,19 +1156,6 @@ anymatch@^2.0.0:
1161 1156
     micromatch "^3.1.4"
1162 1157
     normalize-path "^2.1.1"
1163 1158
 
1164
-aproba@^1.0.3:
1165
-  version "1.2.0"
1166
-  resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a"
1167
-  integrity sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==
1168
-
1169
-are-we-there-yet@~1.1.2:
1170
-  version "1.1.5"
1171
-  resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.5.tgz#4b35c2944f062a8bfcda66410760350fe9ddfc21"
1172
-  integrity sha512-5hYdAkZlcG8tOLujVDTgCT+uPX0VnpAH28gWsLfzpXYm7wP6mp5Q/gYyR7YQ0cKVJcXJnl3j2kpBan13PtQf6w==
1173
-  dependencies:
1174
-    delegates "^1.0.0"
1175
-    readable-stream "^2.0.6"
1176
-
1177 1159
 argparse@^1.0.7:
1178 1160
   version "1.0.10"
1179 1161
   resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"
@@ -1608,11 +1590,6 @@ chardet@^0.7.0:
1608 1590
   resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e"
1609 1591
   integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==
1610 1592
 
1611
-chownr@^1.1.1:
1612
-  version "1.1.3"
1613
-  resolved "https://registry.yarnpkg.com/chownr/-/chownr-1.1.3.tgz#42d837d5239688d55f303003a508230fa6727142"
1614
-  integrity sha512-i70fVHhmV3DtTl6nqvZOnIjbY0Pe4kAUjwHj8z0zAdgBtYrJyYwLKCCuRBQ5ppkyL0AkN7HKRnETdmdp1zqNXw==
1615
-
1616 1593
 ci-info@^2.0.0:
1617 1594
   version "2.0.0"
1618 1595
   resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-2.0.0.tgz#67a9e964be31a51e15e5010d58e6f12834002f46"
@@ -1794,11 +1771,6 @@ connect@^3.6.5:
1794 1771
     parseurl "~1.3.3"
1795 1772
     utils-merge "1.0.1"
1796 1773
 
1797
-console-control-strings@^1.0.0, console-control-strings@~1.1.0:
1798
-  version "1.1.0"
1799
-  resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e"
1800
-  integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=
1801
-
1802 1774
 convert-source-map@^1.4.0, convert-source-map@^1.7.0:
1803 1775
   version "1.7.0"
1804 1776
   resolved "https://registry.yarnpkg.com/convert-source-map/-/convert-source-map-1.7.0.tgz#17a2cb882d7f77d3490585e2ce6c524424a3a442"
@@ -1905,13 +1877,6 @@ debug@2.6.9, debug@^2.2.0, debug@^2.3.3:
1905 1877
   dependencies:
1906 1878
     ms "2.0.0"
1907 1879
 
1908
-debug@^3.2.6:
1909
-  version "3.2.6"
1910
-  resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b"
1911
-  integrity sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==
1912
-  dependencies:
1913
-    ms "^2.1.1"
1914
-
1915 1880
 debug@^4.0.1, debug@^4.1.0, debug@^4.1.1:
1916 1881
   version "4.1.1"
1917 1882
   resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791"
@@ -1929,11 +1894,6 @@ decode-uri-component@^0.2.0:
1929 1894
   resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545"
1930 1895
   integrity sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=
1931 1896
 
1932
-deep-extend@^0.6.0:
1933
-  version "0.6.0"
1934
-  resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac"
1935
-  integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==
1936
-
1937 1897
 deep-is@~0.1.3:
1938 1898
   version "0.1.3"
1939 1899
   resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34"
@@ -1985,11 +1945,6 @@ delayed-stream@~1.0.0:
1985 1945
   resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619"
1986 1946
   integrity sha1-3zrhmayt+31ECqrgsp4icrJOxhk=
1987 1947
 
1988
-delegates@^1.0.0:
1989
-  version "1.0.0"
1990
-  resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a"
1991
-  integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=
1992
-
1993 1948
 denodeify@^1.2.1:
1994 1949
   version "1.2.1"
1995 1950
   resolved "https://registry.yarnpkg.com/denodeify/-/denodeify-1.2.1.tgz#3a36287f5034e699e7577901052c2e6c94251631"
@@ -2005,11 +1960,6 @@ destroy@~1.0.4:
2005 1960
   resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
2006 1961
   integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
2007 1962
 
2008
-detect-libc@^1.0.2:
2009
-  version "1.0.3"
2010
-  resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-1.0.3.tgz#fa137c4bd698edf55cd5cd02ac559f91a4c4ba9b"
2011
-  integrity sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=
2012
-
2013 1963
 detect-newline@^2.1.0:
2014 1964
   version "2.1.0"
2015 1965
   resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-2.1.0.tgz#f41f1c10be4b00e87b5f13da680759f2c5bfd3e2"
@@ -2693,13 +2643,6 @@ fs-extra@^7.0.1:
2693 2643
     jsonfile "^4.0.0"
2694 2644
     universalify "^0.1.0"
2695 2645
 
2696
-fs-minipass@^1.2.5:
2697
-  version "1.2.7"
2698
-  resolved "https://registry.yarnpkg.com/fs-minipass/-/fs-minipass-1.2.7.tgz#ccff8570841e7fe4265693da88936c55aed7f7c7"
2699
-  integrity sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==
2700
-  dependencies:
2701
-    minipass "^2.6.0"
2702
-
2703 2646
 fs.realpath@^1.0.0:
2704 2647
   version "1.0.0"
2705 2648
   resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
@@ -2723,20 +2666,6 @@ functional-red-black-tree@^1.0.1:
2723 2666
   resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327"
2724 2667
   integrity sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=
2725 2668
 
2726
-gauge@~2.7.3:
2727
-  version "2.7.4"
2728
-  resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7"
2729
-  integrity sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=
2730
-  dependencies:
2731
-    aproba "^1.0.3"
2732
-    console-control-strings "^1.0.0"
2733
-    has-unicode "^2.0.0"
2734
-    object-assign "^4.1.0"
2735
-    signal-exit "^3.0.0"
2736
-    string-width "^1.0.1"
2737
-    strip-ansi "^3.0.1"
2738
-    wide-align "^1.1.0"
2739
-
2740 2669
 get-caller-file@^1.0.1:
2741 2670
   version "1.0.3"
2742 2671
   resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-1.0.3.tgz#f978fa4c90d1dfe7ff2d6beda2a515e713bdcf4a"
@@ -2840,11 +2769,6 @@ has-symbols@^1.0.0, has-symbols@^1.0.1:
2840 2769
   resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.1.tgz#9f5214758a44196c406d9bd76cebf81ec2dd31e8"
2841 2770
   integrity sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==
2842 2771
 
2843
-has-unicode@^2.0.0:
2844
-  version "2.0.1"
2845
-  resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
2846
-  integrity sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=
2847
-
2848 2772
 has-value@^0.3.1:
2849 2773
   version "0.3.1"
2850 2774
   resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f"
@@ -2920,20 +2844,13 @@ http-signature@~1.2.0:
2920 2844
     jsprim "^1.2.2"
2921 2845
     sshpk "^1.7.0"
2922 2846
 
2923
-iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@^0.4.4, iconv-lite@~0.4.13:
2847
+iconv-lite@0.4.24, iconv-lite@^0.4.17, iconv-lite@^0.4.24, iconv-lite@~0.4.13:
2924 2848
   version "0.4.24"
2925 2849
   resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b"
2926 2850
   integrity sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==
2927 2851
   dependencies:
2928 2852
     safer-buffer ">= 2.1.2 < 3"
2929 2853
 
2930
-ignore-walk@^3.0.1:
2931
-  version "3.0.3"
2932
-  resolved "https://registry.yarnpkg.com/ignore-walk/-/ignore-walk-3.0.3.tgz#017e2447184bfeade7c238e4aefdd1e8f95b1e37"
2933
-  integrity sha512-m7o6xuOaT1aqheYHKf8W6J5pYH85ZI9w077erOzLje3JsB1gkafkAhHHY19dqjulgIZHFm32Cp5uNZgcQqdJKw==
2934
-  dependencies:
2935
-    minimatch "^3.0.4"
2936
-
2937 2854
 ignore@^4.0.6:
2938 2855
   version "4.0.6"
2939 2856
   resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
@@ -2991,11 +2908,6 @@ inherits@2, inherits@2.0.4, inherits@^2.0.3, inherits@~2.0.3:
2991 2908
   resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.4.tgz#0fa2c64f932917c3433a0ded55363aae37416b7c"
2992 2909
   integrity sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==
2993 2910
 
2994
-ini@~1.3.0:
2995
-  version "1.3.5"
2996
-  resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927"
2997
-  integrity sha512-RZY5huIKCMRWDUqZlEi72f/lmXKMvuszcMBduliQ3nnWbx9X/ZBQO7DijMEYS9EhHBb2qacRUMtC7svLwe0lcw==
2998
-
2999 2911
 inquirer@^3.0.6:
3000 2912
   version "3.3.0"
3001 2913
   resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9"
@@ -4384,21 +4296,6 @@ minimist@~0.0.1:
4384 4296
   resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf"
4385 4297
   integrity sha1-3j+YVD2/lggr5IrRoMfNqDYwHc8=
4386 4298
 
4387
-minipass@^2.6.0, minipass@^2.8.6, minipass@^2.9.0:
4388
-  version "2.9.0"
4389
-  resolved "https://registry.yarnpkg.com/minipass/-/minipass-2.9.0.tgz#e713762e7d3e32fed803115cf93e04bca9fcc9a6"
4390
-  integrity sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==
4391
-  dependencies:
4392
-    safe-buffer "^5.1.2"
4393
-    yallist "^3.0.0"
4394
-
4395
-minizlib@^1.2.1:
4396
-  version "1.3.3"
4397
-  resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.3.3.tgz#2290de96818a34c29551c8a8d301216bd65a861d"
4398
-  integrity sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==
4399
-  dependencies:
4400
-    minipass "^2.9.0"
4401
-
4402 4299
 mixin-deep@^1.2.0:
4403 4300
   version "1.3.2"
4404 4301
   resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566"
@@ -4407,7 +4304,7 @@ mixin-deep@^1.2.0:
4407 4304
     for-in "^1.0.2"
4408 4305
     is-extendable "^1.0.1"
4409 4306
 
4410
-mkdirp@^0.5.0, mkdirp@^0.5.1:
4307
+mkdirp@^0.5.1:
4411 4308
   version "0.5.1"
4412 4309
   resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903"
4413 4310
   integrity sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=
@@ -4472,15 +4369,6 @@ natural-compare@^1.4.0:
4472 4369
   resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7"
4473 4370
   integrity sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=
4474 4371
 
4475
-needle@^2.2.1:
4476
-  version "2.4.0"
4477
-  resolved "https://registry.yarnpkg.com/needle/-/needle-2.4.0.tgz#6833e74975c444642590e15a750288c5f939b57c"
4478
-  integrity sha512-4Hnwzr3mi5L97hMYeNl8wRW/Onhy4nUKR/lVemJ8gJedxxUyBLm9kkrDColJvoSfwi0jCNhD+xCdOtiGDQiRZg==
4479
-  dependencies:
4480
-    debug "^3.2.6"
4481
-    iconv-lite "^0.4.4"
4482
-    sax "^1.2.4"
4483
-
4484 4372
 negotiator@0.6.2:
4485 4373
   version "0.6.2"
4486 4374
   resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.2.tgz#feacf7ccf525a77ae9634436a64883ffeca346fb"
@@ -4530,30 +4418,6 @@ node-notifier@^5.2.1, node-notifier@^5.4.2:
4530 4418
     shellwords "^0.1.1"
4531 4419
     which "^1.3.0"
4532 4420
 
4533
-node-pre-gyp@*:
4534
-  version "0.14.0"
4535
-  resolved "https://registry.yarnpkg.com/node-pre-gyp/-/node-pre-gyp-0.14.0.tgz#9a0596533b877289bcad4e143982ca3d904ddc83"
4536
-  integrity sha512-+CvDC7ZttU/sSt9rFjix/P05iS43qHCOOGzcr3Ry99bXG7VX953+vFyEuph/tfqoYu8dttBkE86JSKBO2OzcxA==
4537
-  dependencies:
4538
-    detect-libc "^1.0.2"
4539
-    mkdirp "^0.5.1"
4540
-    needle "^2.2.1"
4541
-    nopt "^4.0.1"
4542
-    npm-packlist "^1.1.6"
4543
-    npmlog "^4.0.2"
4544
-    rc "^1.2.7"
4545
-    rimraf "^2.6.1"
4546
-    semver "^5.3.0"
4547
-    tar "^4.4.2"
4548
-
4549
-nopt@^4.0.1:
4550
-  version "4.0.1"
4551
-  resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d"
4552
-  integrity sha1-0NRoWv1UFRk8jHUFYC0NF81kR00=
4553
-  dependencies:
4554
-    abbrev "1"
4555
-    osenv "^0.1.4"
4556
-
4557 4421
 normalize-package-data@^2.3.2:
4558 4422
   version "2.5.0"
4559 4423
   resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.5.0.tgz#e66db1838b200c1dfc233225d12cb36520e234a8"
@@ -4571,26 +4435,6 @@ normalize-path@^2.1.1:
4571 4435
   dependencies:
4572 4436
     remove-trailing-separator "^1.0.1"
4573 4437
 
4574
-npm-bundled@^1.0.1:
4575
-  version "1.1.1"
4576
-  resolved "https://registry.yarnpkg.com/npm-bundled/-/npm-bundled-1.1.1.tgz#1edd570865a94cdb1bc8220775e29466c9fb234b"
4577
-  integrity sha512-gqkfgGePhTpAEgUsGEgcq1rqPXA+tv/aVBlgEzfXwA1yiUJF7xtEt3CtVwOjNYQOVknDk0F20w58Fnm3EtG0fA==
4578
-  dependencies:
4579
-    npm-normalize-package-bin "^1.0.1"
4580
-
4581
-npm-normalize-package-bin@^1.0.1:
4582
-  version "1.0.1"
4583
-  resolved "https://registry.yarnpkg.com/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz#6e79a41f23fd235c0623218228da7d9c23b8f6e2"
4584
-  integrity sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==
4585
-
4586
-npm-packlist@^1.1.6:
4587
-  version "1.4.7"
4588
-  resolved "https://registry.yarnpkg.com/npm-packlist/-/npm-packlist-1.4.7.tgz#9e954365a06b80b18111ea900945af4f88ed4848"
4589
-  integrity sha512-vAj7dIkp5NhieaGZxBJB8fF4R0078rqsmhJcAfXZ6O7JJhjhPK96n5Ry1oZcfLXgfun0GWTZPOxaEyqv8GBykQ==
4590
-  dependencies:
4591
-    ignore-walk "^3.0.1"
4592
-    npm-bundled "^1.0.1"
4593
-
4594 4438
 npm-run-path@^2.0.0:
4595 4439
   version "2.0.2"
4596 4440
   resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f"
@@ -4598,16 +4442,6 @@ npm-run-path@^2.0.0:
4598 4442
   dependencies:
4599 4443
     path-key "^2.0.0"
4600 4444
 
4601
-npmlog@^4.0.2:
4602
-  version "4.1.2"
4603
-  resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b"
4604
-  integrity sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==
4605
-  dependencies:
4606
-    are-we-there-yet "~1.1.2"
4607
-    console-control-strings "~1.1.0"
4608
-    gauge "~2.7.3"
4609
-    set-blocking "~2.0.0"
4610
-
4611 4445
 nullthrows@^1.1.0:
4612 4446
   version "1.1.1"
4613 4447
   resolved "https://registry.yarnpkg.com/nullthrows/-/nullthrows-1.1.1.tgz#7818258843856ae971eae4208ad7d7eb19a431b1"
@@ -4769,11 +4603,6 @@ ora@^3.4.0:
4769 4603
     strip-ansi "^5.2.0"
4770 4604
     wcwidth "^1.0.1"
4771 4605
 
4772
-os-homedir@^1.0.0:
4773
-  version "1.0.2"
4774
-  resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3"
4775
-  integrity sha1-/7xJiDNuDoM94MFox+8VISGqf7M=
4776
-
4777 4606
 os-locale@^2.0.0:
4778 4607
   version "2.1.0"
4779 4608
   resolved "https://registry.yarnpkg.com/os-locale/-/os-locale-2.1.0.tgz#42bc2900a6b5b8bd17376c8e882b65afccf24bf2"
@@ -4797,14 +4626,6 @@ os-tmpdir@^1.0.0, os-tmpdir@~1.0.2:
4797 4626
   resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274"
4798 4627
   integrity sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=
4799 4628
 
4800
-osenv@^0.1.4:
4801
-  version "0.1.5"
4802
-  resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.5.tgz#85cdfafaeb28e8677f416e287592b5f3f49ea410"
4803
-  integrity sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==
4804
-  dependencies:
4805
-    os-homedir "^1.0.0"
4806
-    os-tmpdir "^1.0.0"
4807
-
4808 4629
 p-defer@^1.0.0:
4809 4630
   version "1.0.0"
4810 4631
   resolved "https://registry.yarnpkg.com/p-defer/-/p-defer-1.0.0.tgz#9f6eb182f6c9aa8cd743004a7d4f96b196b0fb0c"
@@ -5129,16 +4950,6 @@ range-parser@~1.2.1:
5129 4950
   resolved "https://registry.yarnpkg.com/range-parser/-/range-parser-1.2.1.tgz#3cf37023d199e1c24d1a55b84800c2f3e6468031"
5130 4951
   integrity sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==
5131 4952
 
5132
-rc@^1.2.7:
5133
-  version "1.2.8"
5134
-  resolved "https://registry.yarnpkg.com/rc/-/rc-1.2.8.tgz#cd924bf5200a075b83c188cd6b9e211b7fc0d3ed"
5135
-  integrity sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==
5136
-  dependencies:
5137
-    deep-extend "^0.6.0"
5138
-    ini "~1.3.0"
5139
-    minimist "^1.2.0"
5140
-    strip-json-comments "~2.0.1"
5141
-
5142 4953
 react-deep-force-update@^1.0.0:
5143 4954
   version "1.1.2"
5144 4955
   resolved "https://registry.yarnpkg.com/react-deep-force-update/-/react-deep-force-update-1.1.2.tgz#3d2ae45c2c9040cbb1772be52f8ea1ade6ca2ee1"
@@ -5158,7 +4969,7 @@ react-is@^16.8.1, react-is@^16.8.4:
5158 4969
   integrity sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q==
5159 4970
 
5160 4971
 react-native-autoheight-webview@../:
5161
-  version "1.3.4"
4972
+  version "1.3.5"
5162 4973
   dependencies:
5163 4974
     prop-types "^15.7.2"
5164 4975
 
@@ -5279,7 +5090,7 @@ read-pkg@^3.0.0:
5279 5090
     normalize-package-data "^2.3.2"
5280 5091
     path-type "^3.0.0"
5281 5092
 
5282
-readable-stream@^2.0.1, readable-stream@^2.0.6, readable-stream@^2.2.2, readable-stream@~2.3.6:
5093
+readable-stream@^2.0.1, readable-stream@^2.2.2, readable-stream@~2.3.6:
5283 5094
   version "2.3.6"
5284 5095
   resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf"
5285 5096
   integrity sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==
@@ -5486,7 +5297,7 @@ rimraf@2.6.3:
5486 5297
   dependencies:
5487 5298
     glob "^7.1.3"
5488 5299
 
5489
-rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3:
5300
+rimraf@^2.5.4, rimraf@^2.6.3:
5490 5301
   version "2.7.1"
5491 5302
   resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec"
5492 5303
   integrity sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==
@@ -5594,7 +5405,7 @@ scheduler@^0.13.1:
5594 5405
     loose-envify "^1.1.0"
5595 5406
     object-assign "^4.1.1"
5596 5407
 
5597
-"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.3.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
5408
+"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.5.1, semver@^5.6.0:
5598 5409
   version "5.7.1"
5599 5410
   resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"
5600 5411
   integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==
@@ -5638,7 +5449,7 @@ serve-static@^1.13.1:
5638 5449
     parseurl "~1.3.3"
5639 5450
     send "0.17.1"
5640 5451
 
5641
-set-blocking@^2.0.0, set-blocking@~2.0.0:
5452
+set-blocking@^2.0.0:
5642 5453
   version "2.0.0"
5643 5454
   resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7"
5644 5455
   integrity sha1-BF+XgtARrppoA93TgrJDkrPYkPc=
@@ -5907,7 +5718,7 @@ string-width@^1.0.1:
5907 5718
     is-fullwidth-code-point "^1.0.0"
5908 5719
     strip-ansi "^3.0.0"
5909 5720
 
5910
-"string-width@^1.0.2 || 2", string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1:
5721
+string-width@^2.0.0, string-width@^2.1.0, string-width@^2.1.1:
5911 5722
   version "2.1.1"
5912 5723
   resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e"
5913 5724
   integrity sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==
@@ -5978,7 +5789,7 @@ strip-eof@^1.0.0:
5978 5789
   resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf"
5979 5790
   integrity sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=
5980 5791
 
5981
-strip-json-comments@^2.0.1, strip-json-comments@~2.0.1:
5792
+strip-json-comments@^2.0.1:
5982 5793
   version "2.0.1"
5983 5794
   resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a"
5984 5795
   integrity sha1-PFMZQukIwml8DsNEhYwobHygpgo=
@@ -6022,19 +5833,6 @@ table@^5.2.3:
6022 5833
     slice-ansi "^2.1.0"
6023 5834
     string-width "^3.0.0"
6024 5835
 
6025
-tar@^4.4.2:
6026
-  version "4.4.13"
6027
-  resolved "https://registry.yarnpkg.com/tar/-/tar-4.4.13.tgz#43b364bc52888d555298637b10d60790254ab525"
6028
-  integrity sha512-w2VwSrBoHa5BsSyH+KxEqeQBAllHhccyMFVHtGtdMpF4W7IRWfZjFiQceJPChOeTsSDVUpER2T8FA93pr0L+QA==
6029
-  dependencies:
6030
-    chownr "^1.1.1"
6031
-    fs-minipass "^1.2.5"
6032
-    minipass "^2.8.6"
6033
-    minizlib "^1.2.1"
6034
-    mkdirp "^0.5.0"
6035
-    safe-buffer "^5.1.2"
6036
-    yallist "^3.0.3"
6037
-
6038 5836
 temp@0.8.3:
6039 5837
   version "0.8.3"
6040 5838
   resolved "https://registry.yarnpkg.com/temp/-/temp-0.8.3.tgz#e0c6bc4d26b903124410e4fed81103014dfc1f59"
@@ -6407,13 +6205,6 @@ which@^1.2.9, which@^1.3.0:
6407 6205
   dependencies:
6408 6206
     isexe "^2.0.0"
6409 6207
 
6410
-wide-align@^1.1.0:
6411
-  version "1.1.3"
6412
-  resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.3.tgz#ae074e6bdc0c14a431e804e624549c633b000457"
6413
-  integrity sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==
6414
-  dependencies:
6415
-    string-width "^1.0.2 || 2"
6416
-
6417 6208
 word-wrap@~1.2.3:
6418 6209
   version "1.2.3"
6419 6210
   resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c"
@@ -6555,11 +6346,6 @@ yallist@^2.1.2:
6555 6346
   resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52"
6556 6347
   integrity sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=
6557 6348
 
6558
-yallist@^3.0.0, yallist@^3.0.3:
6559
-  version "3.1.1"
6560
-  resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd"
6561
-  integrity sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==
6562
-
6563 6349
 yargs-parser@^11.1.1:
6564 6350
   version "11.1.1"
6565 6351
   resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-11.1.1.tgz#879a0865973bca9f6bab5cbdf3b1c67ec7d3bcf4"

+ 1
- 0
index.d.ts 查看文件

@@ -26,6 +26,7 @@ export interface AutoHeightWebViewProps extends WebViewProps {
26 26
   customScript: string;
27 27
   customStyle: string;
28 28
   zoomable: boolean;
29
+  scrollEnabledWithZoomedin: boolean;
29 30
 }
30 31
 
31 32
 export default class AutoHeightWebView extends Component<Partial<AutoHeightWebViewProps>> {}