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 12.0.0-alpha.11 to 12.0.0-alpha.12

2

build/index.d.ts
/// <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) => {

8

package.json
{
"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

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