react-refresh 0.16.0-rc-3208e73e-20240730 → 0.16.0-rc-06d0b89e-20240801
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.
|
@@ -143,22 +143,6 @@
|
|
|
143
143
|
((didCollectHooks = !0), collectCustomHooksForSignature(savedType));
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
|
-
exports.findAffectedHostInstances = function (families) {
|
|
147
|
-
var affectedInstances = new Set();
|
|
148
|
-
mountedRoots.forEach(function (root) {
|
|
149
|
-
var helpers = helpersByRoot.get(root);
|
|
150
|
-
if (void 0 === helpers)
|
|
151
|
-
throw Error(
|
|
152
|
-
"Could not find helpers for a root. This is a bug in React Refresh."
|
|
153
|
-
);
|
|
154
|
-
helpers
|
|
155
|
-
.findHostInstancesForRefresh(root, families)
|
|
156
|
-
.forEach(function (inst) {
|
|
157
|
-
affectedInstances.add(inst);
|
|
158
|
-
});
|
|
159
|
-
});
|
|
160
|
-
return affectedInstances;
|
|
161
|
-
};
|
|
162
146
|
exports.getFamilyByID = function (id) {
|
|
163
147
|
return allFamiliesByID.get(id);
|
|
164
148
|
};
|