From 91b130665a05eef5660b6d0fa25254dc18efa6cb Mon Sep 17 00:00:00 2001 From: Jakob Ackermann Date: Mon, 12 Jul 2021 17:35:51 +0100 Subject: [PATCH] [misc] install bunyan as production dependency ``` Error: Cannot find module 'bunyan' Require stack: - .../node_modules/@google-cloud/logging-bunyan/build/src/middleware/express.js - .../node_modules/@google-cloud/logging-bunyan/build/src/index.js - .../node_modules/logger-sharelatex/logging-manager.js - .../node_modules/logger-sharelatex/index.js - .../app.js ``` --- services/chat/package-lock.json | 9 ++++----- services/chat/package.json | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/services/chat/package-lock.json b/services/chat/package-lock.json index 50494e3b46..1f41b9970f 100644 --- a/services/chat/package-lock.json +++ b/services/chat/package-lock.json @@ -1431,13 +1431,12 @@ "integrity": "sha512-lGzLKcioL90C7wMczpkY0n/oART3MbBa8R9OFGE1rJxoVI86u4WAGfEk8Wjv10eKSyTHVGkSo3bvBylCEtk7LA==" }, "bunyan": { - "version": "1.8.12", - "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.12.tgz", - "integrity": "sha1-8VDw9nSKvdcq6uhPBEA74u8RN5c=", - "dev": true, + "version": "1.8.15", + "resolved": "https://registry.npmjs.org/bunyan/-/bunyan-1.8.15.tgz", + "integrity": "sha512-0tECWShh6wUysgucJcBAoYegf3JJoZWibxdqhTm7OHPeT42qdjkZ29QCMcKwbgU1kiH+auSIasNRXMLWXafXig==", "requires": { "dtrace-provider": "~0.8", - "moment": "^2.10.6", + "moment": "^2.19.3", "mv": "~2", "safe-json-stringify": "~1" } diff --git a/services/chat/package.json b/services/chat/package.json index ee1b93750a..9c82474b89 100644 --- a/services/chat/package.json +++ b/services/chat/package.json @@ -21,6 +21,7 @@ "@overleaf/metrics": "^3.5.1", "async": "3.2.0", "body-parser": "^1.19.0", + "bunyan": "^1.8.15", "errorhandler": "^1.5.1", "express": "4.17.1", "logger-sharelatex": "^2.2.0", @@ -31,7 +32,6 @@ "devDependencies": { "acorn": "^7.1.1", "ajv": "^6.12.0", - "bunyan": "^1.8.12", "chai": "^4.2.0", "eslint": "^6.8.0", "eslint-config-prettier": "^6.10.0",