@react-native/dev-middleware 0.75.0-nightly-20240310-e2157f063 → 0.75.0-nightly-20240311-3706bf077

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.
@@ -755,10 +755,6 @@ class Device {
755
755
  // Fetch text, raising an exception if the text could not be fetched,
756
756
  // or is too large.
757
757
  async #fetchText(url) {
758
- if (!["localhost", "127.0.0.1"].includes(url.hostname)) {
759
- throw new Error("remote fetches not permitted");
760
- }
761
-
762
758
  // $FlowFixMe[incompatible-call] Suppress arvr node-fetch flow error
763
759
  const response = await (0, _nodeFetch.default)(url);
764
760
  if (!response.ok) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@react-native/dev-middleware",
3
- "version": "0.75.0-nightly-20240310-e2157f063",
3
+ "version": "0.75.0-nightly-20240311-3706bf077",
4
4
  "description": "Dev server middleware for React Native",
5
5
  "keywords": [
6
6
  "react-native",
@@ -23,7 +23,7 @@
23
23
  ],
24
24
  "dependencies": {
25
25
  "@isaacs/ttlcache": "^1.4.1",
26
- "@react-native/debugger-frontend": "0.75.0-nightly-20240310-e2157f063",
26
+ "@react-native/debugger-frontend": "0.75.0-nightly-20240311-3706bf077",
27
27
  "@rnx-kit/chromium-edge-launcher": "^1.0.0",
28
28
  "chrome-launcher": "^0.15.2",
29
29
  "connect": "^3.6.5",