@react-native-community/cli-server-api
Advanced tools
Comparing version 11.3.5 to 11.3.6
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
89611
+ Added@react-native-community/cli-debugger-ui@11.3.6(transitive)
+ Added@react-native-community/cli-tools@11.3.6(transitive)
+ Addedsemver@7.6.3(transitive)
- Removed@react-native-community/cli-debugger-ui@11.3.5(transitive)
- Removed@react-native-community/cli-tools@11.3.5(transitive)
- Removedsemver@6.3.1(transitive)