Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@react-native-community/cli-server-api

Package Overview
Dependencies
Maintainers
30
Versions
134
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-server-api - npm Package Compare versions

Comparing version 11.3.5 to 11.3.6

2

build/securityHeadersMiddleware.js

@@ -16,3 +16,3 @@ "use strict";

// Block any cross origin request.
if (typeof req.headers.origin === 'string' && !req.headers.origin.match(/^https?:\/\/localhost:/)) {
if (typeof req.headers.origin === 'string' && !req.headers.origin.match(/^https?:\/\/localhost:/) && !req.headers.origin.startsWith('devtools://devtools')) {
next(new Error('Unauthorized request from ' + req.headers.origin + '. This may happen because of a conflicting browser extension. Please try to disable it and try again.'));

@@ -19,0 +19,0 @@ return;

{
"name": "@react-native-community/cli-server-api",
"version": "11.3.5",
"version": "11.3.6",
"license": "MIT",

@@ -10,4 +10,4 @@ "main": "build/index.js",

"dependencies": {
"@react-native-community/cli-debugger-ui": "11.3.5",
"@react-native-community/cli-tools": "11.3.5",
"@react-native-community/cli-debugger-ui": "11.3.6",
"@react-native-community/cli-tools": "11.3.6",
"compression": "^1.7.1",

@@ -37,3 +37,3 @@ "connect": "^3.6.5",

},
"gitHead": "474094dbcd507522b5dec026553289b7f812212e"
"gitHead": "ae61a11bda5d5c1b495f7bf5745123d8df8ffaef"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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