Socket
Socket
Sign inDemoInstall

@react-native/dev-middleware

Package Overview
Dependencies
Maintainers
11
Versions
403
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native/dev-middleware - npm Package Compare versions

Comparing version 0.74.0-nightly-20231016-44660019e to 0.74.0-nightly-20231017-81ae532dd

7

dist/inspector-proxy/InspectorProxy.js

@@ -68,8 +68,9 @@ "use strict";

processRequest(request, response, next) {
const pathname = _url.default.parse(request.url).pathname;
if (
request.url === PAGES_LIST_JSON_URL ||
request.url === PAGES_LIST_JSON_URL_2
pathname === PAGES_LIST_JSON_URL ||
pathname === PAGES_LIST_JSON_URL_2
) {
this._sendJsonResponse(response, this.getPageDescriptions());
} else if (request.url === PAGES_LIST_JSON_VERSION_URL) {
} else if (pathname === PAGES_LIST_JSON_VERSION_URL) {
this._sendJsonResponse(response, {

@@ -76,0 +77,0 @@ Browser: "Mobile JavaScript",

{
"name": "@react-native/dev-middleware",
"version": "0.74.0-nightly-20231016-44660019e",
"version": "0.74.0-nightly-20231017-81ae532dd",
"description": "Dev server middleware for React Native",

@@ -26,3 +26,3 @@ "keywords": [

"@isaacs/ttlcache": "^1.4.1",
"@react-native/debugger-frontend": "0.74.0-nightly-20231016-44660019e",
"@react-native/debugger-frontend": "0.74.0-nightly-20231017-81ae532dd",
"chrome-launcher": "^0.15.2",

@@ -29,0 +29,0 @@ "chromium-edge-launcher": "^1.0.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc