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
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(
|
|
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)"
|