@react-native-community/cli-server-api
Advanced tools
Comparing version 4.13.0 to 5.0.0-alpha.0
@@ -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'); |
@@ -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" | ||
] | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
224590
65
1960
9
2
+ Addednocache@^2.1.0
+ Added@jest/types@26.6.2(transitive)
+ Added@react-native-community/cli-debugger-ui@5.0.1(transitive)
+ Added@react-native-community/cli-tools@5.0.1(transitive)
+ Added@types/istanbul-reports@3.0.4(transitive)
+ Added@types/node@22.8.4(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addednocache@2.1.0(transitive)
+ Addedpretty-format@26.6.2(transitive)
+ Addedreact-is@17.0.2(transitive)
+ Addedundici-types@6.19.8(transitive)
- Removed@jest/types@25.5.0(transitive)
- Removed@react-native-community/cli-debugger-ui@4.13.1(transitive)
- Removed@react-native-community/cli-tools@4.13.0(transitive)
- Removed@types/istanbul-reports@1.1.2(transitive)
- Removedpretty-format@25.5.0(transitive)
- Removedreact-is@16.13.1(transitive)
Updated@react-native-community/cli-debugger-ui@^5.0.0-alpha.0
Updatedpretty-format@^26.6.2