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
40
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 4.13.0 to 5.0.0-alpha.0

build/devToolsMiddleware.d.ts.map

12

build/index.js

@@ -104,2 +104,12 @@ "use strict";

function _nocache() {
const data = _interopRequireDefault(require("nocache"));
_nocache = function () {
return data;
};
return data;
}
function _serveStatic() {

@@ -155,3 +165,3 @@ const data = _interopRequireDefault(require("serve-static"));

const middleware = (0, _connect().default)().use(_securityHeadersMiddleware.default) // @ts-ignore compression and connect types mismatch
.use((0, _compression().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('/systrace', _systraceProfileMiddleware.default).use('/reload', (_req, res) => {
.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('/systrace', _systraceProfileMiddleware.default).use('/reload', (_req, res) => {
broadcast('reload');

@@ -158,0 +168,0 @@ res.end('OK');

2

build/websocket/eventsSocketServer.js

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

_cliTools().logger.error('Received message had wrong protocol version: ' + message.version);
} catch (_unused) {
} catch {
_cliTools().logger.error('Failed to parse the message as JSON:\n' + data);

@@ -63,0 +63,0 @@ }

{
"name": "@react-native-community/cli-server-api",
"version": "4.13.0",
"version": "5.0.0-alpha.0",
"license": "MIT",

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

"dependencies": {
"@react-native-community/cli-debugger-ui": "^4.9.0",
"@react-native-community/cli-tools": "^4.13.0",
"@react-native-community/cli-debugger-ui": "^5.0.0-alpha.0",
"@react-native-community/cli-tools": "^5.0.0-alpha.0",
"compression": "^1.7.1",
"connect": "^3.6.5",
"errorhandler": "^1.5.0",
"pretty-format": "^25.1.0",
"nocache": "^2.1.0",
"pretty-format": "^26.6.2",
"serve-static": "^1.13.1",

@@ -29,4 +30,3 @@ "ws": "^1.1.0"

"!*.map"
],
"gitHead": "6cf12b00c02aca6d4bc843446394331d71a9749e"
]
}
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