Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(options: Options) {
this.options = options;
this.app = connect()
.use(getSecurityHeadersMiddleware)
.use(loadRawBodyMiddleware)
// @ts-ignore compression and connect types mismatch
.use(compression())
.use('/debugger-ui', debuggerUIMiddleware())
.use(openStackFrameInEditorMiddleware(this.options))
.use(openURLMiddleware)
.use(copyToClipBoardMiddleware)
.use(statusPageMiddleware)
.use(systraceProfileMiddleware)
.use(indexPageMiddleware)
.use(errorhandler());
}