@react-native-community/cli-server-api
Advanced tools
Comparing version 4.13.0 to 4.13.1
@@ -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'); |
{ | ||
"name": "@react-native-community/cli-server-api", | ||
"version": "4.13.0", | ||
"version": "4.13.1", | ||
"license": "MIT", | ||
@@ -10,3 +10,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-debugger-ui": "^4.9.0", | ||
"@react-native-community/cli-debugger-ui": "^4.13.1", | ||
"@react-native-community/cli-tools": "^4.13.0", | ||
@@ -16,2 +16,3 @@ "compression": "^1.7.1", | ||
"errorhandler": "^1.5.0", | ||
"nocache": "^2.1.0", | ||
"pretty-format": "^25.1.0", | ||
@@ -31,3 +32,3 @@ "serve-static": "^1.13.1", | ||
], | ||
"gitHead": "6cf12b00c02aca6d4bc843446394331d71a9749e" | ||
"gitHead": "30ef010898ffb98ac906ea78aed25ad9bffbbde7" | ||
} |
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
39647
1121
9
+ Addednocache@^2.1.0
+ Addednocache@2.1.0(transitive)