metro-file-map 0.72.1 → 0.72.2

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.72.1",
3
+ "version": "0.72.2",
4
4
  "description": "[Experimental] - 🚇 File crawling, watching and mapping for Metro",
5
5
  "main": "src/index.js",
6
6
  "repository": {
package/src/index.js CHANGED
@@ -246,7 +246,7 @@ const canUseWatchman = (() => {
246
246
  class HasteMap extends _events.default {
247
247
  static create(options) {
248
248
  return new HasteMap(options);
249
- }
249
+ } // $FlowFixMe[missing-local-annot]
250
250
 
251
251
  constructor(options) {
252
252
  var _options$dependencyEx, _options$watchmanDefe, _this$_options$perfLo;
package/src/index.js.flow CHANGED
@@ -245,6 +245,7 @@ export default class HasteMap extends EventEmitter {
245
245
  return new HasteMap(options);
246
246
  }
247
247
 
248
+ // $FlowFixMe[missing-local-annot]
248
249
  constructor(options: InputOptions) {
249
250
  if (options.perfLogger) {
250
251
  options.perfLogger?.point('constructor_start');
@@ -123,7 +123,10 @@ class FSEventsWatcher extends _events.default {
123
123
  });
124
124
  }
125
125
 
126
- constructor(dir, opts) {
126
+ constructor(
127
+ dir,
128
+ opts // $FlowFixMe[missing-local-annot]
129
+ ) {
127
130
  if (!fsevents) {
128
131
  throw new Error(
129
132
  "`fsevents` unavailable (this watcher can only be used on Darwin)"
@@ -97,6 +97,7 @@ export default class FSEventsWatcher extends EventEmitter {
97
97
  dot: boolean,
98
98
  ...
99
99
  }>,
100
+ // $FlowFixMe[missing-local-annot]
100
101
  ) {
101
102
  if (!fsevents) {
102
103
  throw new Error(