@react-native-community/cli-server-api
Advanced tools
Comparing version 12.0.0-alpha.11 to 12.0.0-alpha.12
/// <reference types="ws" /> | ||
import connect from 'connect'; | ||
import devToolsMiddleware from './devToolsMiddleware'; | ||
import indexPageMiddleware from './indexPageMiddleware'; | ||
@@ -11,3 +10,2 @@ import openStackFrameInEditorMiddleware from './openStackFrameInEditorMiddleware'; | ||
import systraceProfileMiddleware from './systraceProfileMiddleware'; | ||
export { devToolsMiddleware }; | ||
export { indexPageMiddleware }; | ||
@@ -14,0 +12,0 @@ export { openStackFrameInEditorMiddleware }; |
@@ -7,8 +7,2 @@ "use strict"; | ||
exports.createDevServerMiddleware = createDevServerMiddleware; | ||
Object.defineProperty(exports, "devToolsMiddleware", { | ||
enumerable: true, | ||
get: function () { | ||
return _devToolsMiddleware.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "indexPageMiddleware", { | ||
@@ -98,3 +92,2 @@ enumerable: true, | ||
} | ||
var _devToolsMiddleware = _interopRequireDefault(require("./devToolsMiddleware")); | ||
var _indexPageMiddleware = _interopRequireDefault(require("./indexPageMiddleware")); | ||
@@ -113,3 +106,2 @@ var _openStackFrameInEditorMiddleware = _interopRequireDefault(require("./openStackFrameInEditorMiddleware")); | ||
const debuggerProxyEndpoint = (0, _createDebuggerProxyEndpoint.default)(); | ||
const isDebuggerConnected = debuggerProxyEndpoint.isDebuggerConnected; | ||
const messageSocketEndpoint = (0, _createMessageSocketEndpoint.default)(); | ||
@@ -120,3 +112,3 @@ const broadcast = messageSocketEndpoint.broadcast; | ||
// @ts-ignore compression and connect types mismatch | ||
.use((0, _compression().default)()).use((0, _nocache().default)()).use('/debugger-ui', (0, _cliDebuggerUi().debuggerUIMiddleware)()).use('/launch-js-devtools', (0, _devToolsMiddleware.default)(options, isDebuggerConnected)).use('/open-stack-frame', (0, _openStackFrameInEditorMiddleware.default)(options)).use('/open-url', _openURLMiddleware.default).use('/status', _statusPageMiddleware.default).use('/symbolicate', _rawBodyMiddleware.default) | ||
.use((0, _compression().default)()).use((0, _nocache().default)()).use('/debugger-ui', (0, _cliDebuggerUi().debuggerUIMiddleware)()).use('/open-stack-frame', (0, _openStackFrameInEditorMiddleware.default)(options)).use('/open-url', _openURLMiddleware.default).use('/status', _statusPageMiddleware.default).use('/symbolicate', _rawBodyMiddleware.default) | ||
// @ts-ignore mismatch | ||
@@ -123,0 +115,0 @@ .use('/systrace', _systraceProfileMiddleware.default).use('/reload', (_req, res) => { |
{ | ||
"name": "@react-native-community/cli-server-api", | ||
"version": "12.0.0-alpha.11", | ||
"version": "12.0.0-alpha.12", | ||
"license": "MIT", | ||
@@ -10,4 +10,4 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-debugger-ui": "12.0.0-alpha.11", | ||
"@react-native-community/cli-tools": "12.0.0-alpha.11", | ||
"@react-native-community/cli-debugger-ui": "12.0.0-alpha.12", | ||
"@react-native-community/cli-tools": "12.0.0-alpha.12", | ||
"compression": "^1.7.1", | ||
@@ -37,3 +37,3 @@ "connect": "^3.6.5", | ||
}, | ||
"gitHead": "079150994170816bb332293d3dd118e997651541" | ||
"gitHead": "0c6372c631cea02e7fc5e12a9141e8cea4bb90ba" | ||
} |
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
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
2
0
81825
47
953
+ Added@react-native-community/cli-debugger-ui@12.0.0-alpha.12(transitive)
+ Added@react-native-community/cli-tools@12.0.0-alpha.12(transitive)
- Removed@react-native-community/cli-debugger-ui@12.0.0-alpha.11(transitive)
- Removed@react-native-community/cli-tools@12.0.0-alpha.11(transitive)
Updated@react-native-community/cli-debugger-ui@12.0.0-alpha.12