metro-file-map 0.76.2 → 0.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "metro-file-map",
3
- "version": "0.76.2",
3
+ "version": "0.76.4",
4
4
  "description": "[Experimental] - 🚇 File crawling, watching and mapping for Metro",
5
5
  "main": "src/index.js",
6
6
  "repository": {
package/src/Watcher.js CHANGED
@@ -120,6 +120,7 @@ class Watcher extends _events.default {
120
120
  " " +
121
121
  error.toString()
122
122
  );
123
+ // $FlowFixMe[prop-missing] Found when updating Promise type definition
123
124
  return (0, _node.default)(crawlerOptions).catch((e) => {
124
125
  throw new Error(
125
126
  "Crawler retry failed:\n" +
@@ -143,6 +144,7 @@ class Watcher extends _events.default {
143
144
  };
144
145
  debug('Beginning crawl with "%s".', crawler);
145
146
  try {
147
+ // $FlowFixMe[incompatible-call] Found when updating Promise type definition
146
148
  return crawl(crawlerOptions).catch(retry).then(logEnd);
147
149
  } catch (error) {
148
150
  return retry(error).then(logEnd);
@@ -128,6 +128,7 @@ export class Watcher extends EventEmitter {
128
128
  ' ' +
129
129
  error.toString(),
130
130
  );
131
+ // $FlowFixMe[prop-missing] Found when updating Promise type definition
131
132
  return nodeCrawl(crawlerOptions).catch<CrawlResult>(e => {
132
133
  throw new Error(
133
134
  'Crawler retry failed:\n' +
@@ -154,6 +155,7 @@ export class Watcher extends EventEmitter {
154
155
 
155
156
  debug('Beginning crawl with "%s".', crawler);
156
157
  try {
158
+ // $FlowFixMe[incompatible-call] Found when updating Promise type definition
157
159
  return crawl(crawlerOptions).catch<CrawlResult>(retry).then(logEnd);
158
160
  } catch (error) {
159
161
  return retry(error).then(logEnd);