Added resolution to pin @tryghost/logging to v2

no issue

- we've been battling an issue where we have multiple versions of the
  logging library running, which causes a problem with file rotation
- this package adds a resolution to v2 so we force the use of a single
  version within Ghost
This commit is contained in:
Daniel Lockyer 2021-12-13 15:46:32 +01:00
parent f33250888e
commit 878c9bc944
2 changed files with 3 additions and 26 deletions

View File

@ -212,6 +212,7 @@
"tmp": "0.2.1"
},
"resolutions": {
"@tryghost/logging": "2.0.0",
"moment": "2.24.0",
"moment-timezone": "0.5.23"
}

View File

@ -1428,7 +1428,7 @@
"@tryghost/ignition-errors" "^0.1.0"
lodash "^4.17.21"
"@tryghost/errors@^1.1.0":
"@tryghost/errors@^1.1.0", "@tryghost/errors@^1.1.1":
version "1.1.1"
resolved "https://registry.npmjs.org/@tryghost/errors/-/errors-1.1.1.tgz"
integrity sha512-na0qB5sdy1BWgquzn+m530ohJ3fTeF451xUTR7I8b76TBEL9snnIkXCv5Qdjmnevmgod7aAGsHi2syyKFlvEvQ==
@ -1436,14 +1436,6 @@
lodash "^4.17.21"
uuid "^8.3.2"
"@tryghost/errors@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@tryghost/errors/-/errors-1.1.1.tgz#dc38e40591b018b0ac6b5742f7bab5d379c67e60"
integrity sha512-na0qB5sdy1BWgquzn+m530ohJ3fTeF451xUTR7I8b76TBEL9snnIkXCv5Qdjmnevmgod7aAGsHi2syyKFlvEvQ==
dependencies:
lodash "^4.17.21"
uuid "^8.3.2"
"@tryghost/express-dynamic-redirects@0.2.2":
version "0.2.2"
resolved "https://registry.npmjs.org/@tryghost/express-dynamic-redirects/-/express-dynamic-redirects-0.2.2.tgz"
@ -1560,23 +1552,7 @@
lodash "^4.17.21"
luxon "^1.26.0"
"@tryghost/logging@1.0.2", "@tryghost/logging@^1.0.0", "@tryghost/logging@^1.0.2":
version "1.0.2"
resolved "https://registry.npmjs.org/@tryghost/logging/-/logging-1.0.2.tgz"
integrity sha512-D/KFMb40dA/1dExe2nbw7m1SFY5B8ghJHPYfLYXAK+Qi4GGO0c9D+3zbWcPoyCfveNW+7Uwgexwg+nAWMH+vmg==
dependencies:
"@tryghost/bunyan-rotating-filestream" "^0.0.7"
"@tryghost/elasticsearch" "^1.0.0"
"@tryghost/pretty-stream" "^0.1.2"
"@tryghost/root-utils" "^0.3.7"
bunyan "^1.8.15"
bunyan-loggly "^1.4.2"
fs-extra "^10.0.0"
gelf-stream "^1.1.1"
json-stringify-safe "^5.0.1"
lodash "^4.17.21"
"@tryghost/logging@^2.0.0":
"@tryghost/logging@1.0.2", "@tryghost/logging@2.0.0", "@tryghost/logging@^1.0.0", "@tryghost/logging@^1.0.2", "@tryghost/logging@^2.0.0":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@tryghost/logging/-/logging-2.0.0.tgz#587c579d703ef15fe468b8bb8efdd9cdfefb90ef"
integrity sha512-eWKtiHWDtVVf+xn+ecKb8mUepFDK1RXOhl1tFMF1b7eFASn5WIDLFSMH9Xl9gyCi6dnsXp5fAm2G3baZ77bPZg==