diff --git a/ghost/api-framework/package.json b/ghost/api-framework/package.json index 0310d0ca8ff9..ee4a6ab3fe82 100644 --- a/ghost/api-framework/package.json +++ b/ghost/api-framework/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/promise": "0.3.6", "@tryghost/tpl": "0.1.26", "@tryghost/validator": "0.2.6", diff --git a/ghost/audience-feedback/package.json b/ghost/audience-feedback/package.json index 499c563f25e7..cfc307ec5d70 100644 --- a/ghost/audience-feedback/package.json +++ b/ghost/audience-feedback/package.json @@ -24,7 +24,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/tpl": "0.1.26", "bson-objectid": "2.0.4" } diff --git a/ghost/collections/package.json b/ghost/collections/package.json index dc295ec79481..d227cfd4fa56 100644 --- a/ghost/collections/package.json +++ b/ghost/collections/package.json @@ -27,7 +27,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/in-memory-repository": "0.0.0", "@tryghost/logging": "2.4.8", "@tryghost/nql": "0.12.1", diff --git a/ghost/core/core/server/services/themes/installer.js b/ghost/core/core/server/services/themes/installer.js index c0288197d0fe..6da9631bc688 100644 --- a/ghost/core/core/server/services/themes/installer.js +++ b/ghost/core/core/server/services/themes/installer.js @@ -3,7 +3,7 @@ const os = require('os'); const path = require('path'); const security = require('@tryghost/security'); const request = require('@tryghost/request'); -const errors = require('@tryghost/errors/lib/errors'); +const errors = require('@tryghost/errors'); const limitService = require('../../services/limits'); const {setFromZip} = require('./storage'); diff --git a/ghost/core/package.json b/ghost/core/package.json index 19da1d2b24d1..7d07870f4633 100644 --- a/ghost/core/package.json +++ b/ghost/core/package.json @@ -86,7 +86,7 @@ "@tryghost/email-mock-receiver": "0.3.2", "@tryghost/email-service": "0.0.0", "@tryghost/email-suppression-list": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/express-dynamic-redirects": "0.0.0", "@tryghost/external-media-inliner": "0.0.0", "@tryghost/helpers": "1.1.88", @@ -259,7 +259,7 @@ "toml": "3.0.0" }, "resolutions": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "moment": "2.24.0", "moment-timezone": "0.5.23" diff --git a/ghost/custom-theme-settings-service/package.json b/ghost/custom-theme-settings-service/package.json index 31daa69cc4b3..c5853a2c7ccb 100644 --- a/ghost/custom-theme-settings-service/package.json +++ b/ghost/custom-theme-settings-service/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/nql": "0.12.1", "@tryghost/tpl": "0.1.26", "lodash": "4.17.21" diff --git a/ghost/email-service/package.json b/ghost/email-service/package.json index e6a0cb87931a..51062bb5480c 100644 --- a/ghost/email-service/package.json +++ b/ghost/email-service/package.json @@ -27,7 +27,7 @@ "dependencies": { "@tryghost/color-utils": "0.2.0", "@tryghost/email-events": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/html-to-plaintext": "0.0.0", "@tryghost/kg-default-cards": "10.0.2", "@tryghost/logging": "2.4.8", diff --git a/ghost/job-manager/package.json b/ghost/job-manager/package.json index 72ebe2ce8800..590eeb056122 100644 --- a/ghost/job-manager/package.json +++ b/ghost/job-manager/package.json @@ -28,7 +28,7 @@ }, "dependencies": { "@breejs/later": "4.2.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "bree": "6.5.0", "cron-validate": "1.4.5", diff --git a/ghost/link-tracking/package.json b/ghost/link-tracking/package.json index 761eb2cba6cc..ffa48074ea4f 100644 --- a/ghost/link-tracking/package.json +++ b/ghost/link-tracking/package.json @@ -24,7 +24,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/link-redirects": "0.0.0", "@tryghost/nql": "0.12.1", "@tryghost/tpl": "0.1.26", diff --git a/ghost/magic-link/package.json b/ghost/magic-link/package.json index 5e201f34f339..b16857867947 100644 --- a/ghost/magic-link/package.json +++ b/ghost/magic-link/package.json @@ -26,7 +26,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/tpl": "0.1.26", "@tryghost/validator": "0.2.6", "jsonwebtoken": "8.5.1" diff --git a/ghost/mail-events/package.json b/ghost/mail-events/package.json index fb81f6ea42de..40af4e30d9be 100644 --- a/ghost/mail-events/package.json +++ b/ghost/mail-events/package.json @@ -25,7 +25,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/in-memory-repository": "0.0.0", "@tryghost/tpl": "0.1.26" }, diff --git a/ghost/members-api/package.json b/ghost/members-api/package.json index 77f36c0f3ed6..a4482fd32860 100644 --- a/ghost/members-api/package.json +++ b/ghost/members-api/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@tryghost/domain-events": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "@tryghost/magic-link": "0.0.0", "@tryghost/member-events": "0.0.0", diff --git a/ghost/members-events-service/package.json b/ghost/members-events-service/package.json index a0110e9a82ba..0188a5c2ef35 100644 --- a/ghost/members-events-service/package.json +++ b/ghost/members-events-service/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@tryghost/domain-events": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "@tryghost/member-events": "0.0.0", "moment-timezone": "0.5.34" diff --git a/ghost/members-importer/package.json b/ghost/members-importer/package.json index e90f381cf0d8..dc0c2a523282 100644 --- a/ghost/members-importer/package.json +++ b/ghost/members-importer/package.json @@ -25,7 +25,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "@tryghost/members-csv": "0.0.0", "@tryghost/metrics": "1.0.27", diff --git a/ghost/members-ssr/package.json b/ghost/members-ssr/package.json index 23ef07ca7be5..78250e12c897 100644 --- a/ghost/members-ssr/package.json +++ b/ghost/members-ssr/package.json @@ -27,7 +27,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "cookies": "0.9.1", "jsonwebtoken": "8.5.1" } diff --git a/ghost/milestones/package.json b/ghost/milestones/package.json index 8bba709441e5..afc91aecf3b8 100644 --- a/ghost/milestones/package.json +++ b/ghost/milestones/package.json @@ -23,7 +23,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "bson-objectid": "2.0.4" } } diff --git a/ghost/minifier/package.json b/ghost/minifier/package.json index 59dedf07d646..14885cc92490 100644 --- a/ghost/minifier/package.json +++ b/ghost/minifier/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/tpl": "0.1.26", "csso": "5.0.5", "terser": "5.29.1", diff --git a/ghost/mw-api-version-mismatch/package.json b/ghost/mw-api-version-mismatch/package.json index 032d86db4448..49b5cf039758 100644 --- a/ghost/mw-api-version-mismatch/package.json +++ b/ghost/mw-api-version-mismatch/package.json @@ -18,7 +18,7 @@ "lib" ], "devDependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "c8": "8.0.1", "mocha": "10.2.0", "sinon": "15.2.0" diff --git a/ghost/mw-error-handler/package.json b/ghost/mw-error-handler/package.json index 9e232eaa22e2..623cf667b4e8 100644 --- a/ghost/mw-error-handler/package.json +++ b/ghost/mw-error-handler/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/http-cache-utils": "0.1.11", "@tryghost/tpl": "0.1.26", "lodash": "4.17.21", diff --git a/ghost/mw-version-match/package.json b/ghost/mw-version-match/package.json index bbb21c10333f..11ebc7f60942 100644 --- a/ghost/mw-version-match/package.json +++ b/ghost/mw-version-match/package.json @@ -23,7 +23,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/tpl": "0.1.26", "semver": "7.5.4" } diff --git a/ghost/oembed-service/package.json b/ghost/oembed-service/package.json index b6cb523a850c..74300ab1de45 100644 --- a/ghost/oembed-service/package.json +++ b/ghost/oembed-service/package.json @@ -23,7 +23,7 @@ }, "dependencies": { "@extractus/oembed-extractor": "3.2.1", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "@tryghost/tpl": "0.1.26", "charset": "1.0.1", diff --git a/ghost/offers/package.json b/ghost/offers/package.json index a103e3656328..dd2fd9a41ffc 100644 --- a/ghost/offers/package.json +++ b/ghost/offers/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@tryghost/domain-events": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/mongo-utils": "0.6.0", "@tryghost/string": "0.2.10", "lodash": "4.17.21" diff --git a/ghost/package-json/package.json b/ghost/package-json/package.json index 6711d0eeb149..07984d3d35ef 100644 --- a/ghost/package-json/package.json +++ b/ghost/package-json/package.json @@ -25,7 +25,7 @@ "tmp": "0.2.1" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/tpl": "0.1.26", "fs-extra": "11.2.0", "lodash": "4.17.21" diff --git a/ghost/payments/package.json b/ghost/payments/package.json index 605906768247..a0917ae67d0d 100644 --- a/ghost/payments/package.json +++ b/ghost/payments/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "@tryghost/domain-events": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/members-offers": "0.0.0", "@tryghost/tiers": "0.0.0" } diff --git a/ghost/posts-service/package.json b/ghost/posts-service/package.json index b450b9a73de8..ac46ecc75584 100644 --- a/ghost/posts-service/package.json +++ b/ghost/posts-service/package.json @@ -23,7 +23,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/nql": "0.12.1", "@tryghost/post-events": "0.0.0", "@tryghost/tpl": "0.1.26", diff --git a/ghost/recommendations/package.json b/ghost/recommendations/package.json index efb829a10b14..cab2930bbeab 100644 --- a/ghost/recommendations/package.json +++ b/ghost/recommendations/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@tryghost/tpl": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/in-memory-repository": "0.0.0", "@tryghost/bookshelf-repository": "0.0.0", "@tryghost/logging": "2.4.8" diff --git a/ghost/settings-path-manager/package.json b/ghost/settings-path-manager/package.json index c6253e3f4d4b..2f2d4d416c8e 100644 --- a/ghost/settings-path-manager/package.json +++ b/ghost/settings-path-manager/package.json @@ -24,7 +24,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/tpl": "0.1.26", "date-fns": "2.30.0" } diff --git a/ghost/slack-notifications/package.json b/ghost/slack-notifications/package.json index 9a6626071168..2edf7a2cc218 100644 --- a/ghost/slack-notifications/package.json +++ b/ghost/slack-notifications/package.json @@ -23,7 +23,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/validator": "0.2.6", "@tryghost/version": "0.1.24", "got": "9.6.0" diff --git a/ghost/stripe/package.json b/ghost/stripe/package.json index 48dce587e236..5b884df78d14 100644 --- a/ghost/stripe/package.json +++ b/ghost/stripe/package.json @@ -27,7 +27,7 @@ "dependencies": { "@tryghost/debug": "0.1.26", "@tryghost/domain-events": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "@tryghost/member-events": "0.0.0", "leaky-bucket": "2.2.0", diff --git a/ghost/tiers/package.json b/ghost/tiers/package.json index c53aaf50806f..572d621719a7 100644 --- a/ghost/tiers/package.json +++ b/ghost/tiers/package.json @@ -22,7 +22,7 @@ "mocha": "10.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/string": "0.2.10", "@tryghost/tpl": "0.1.26", "bson-objectid": "2.0.4" diff --git a/ghost/update-check-service/package.json b/ghost/update-check-service/package.json index 274870a3b962..0de771998ef9 100644 --- a/ghost/update-check-service/package.json +++ b/ghost/update-check-service/package.json @@ -26,7 +26,7 @@ }, "dependencies": { "@tryghost/debug": "0.1.26", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "@tryghost/tpl": "0.1.26", "lodash": "4.17.21", diff --git a/ghost/verification-trigger/package.json b/ghost/verification-trigger/package.json index f1389e385aa4..5ec8804b3f32 100644 --- a/ghost/verification-trigger/package.json +++ b/ghost/verification-trigger/package.json @@ -25,7 +25,7 @@ }, "dependencies": { "@tryghost/domain-events": "0.0.0", - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/member-events": "0.0.0" } } diff --git a/ghost/webmentions/package.json b/ghost/webmentions/package.json index f8c8188708d6..7ecb3c577802 100644 --- a/ghost/webmentions/package.json +++ b/ghost/webmentions/package.json @@ -25,7 +25,7 @@ "sinon": "15.2.0" }, "dependencies": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "cheerio": "0.22.0" } diff --git a/package.json b/package.json index 7fffaaa881b2..2fc069e97ce2 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "prepare": "husky install .github/hooks" }, "resolutions": { - "@tryghost/errors": "1.2.26", + "@tryghost/errors": "1.3.1", "@tryghost/logging": "2.4.8", "moment": "2.24.0", "moment-timezone": "0.5.23" diff --git a/yarn.lock b/yarn.lock index f622578c4ba5..56460bc1782a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -6977,13 +6977,12 @@ focus-trap "^6.7.2" postcss-preset-env "^7.3.1" -"@tryghost/errors@1.2.26", "@tryghost/errors@1.3.0", "@tryghost/errors@^1.2.26", "@tryghost/errors@^1.2.27", "@tryghost/errors@^1.2.3": - version "1.2.26" - resolved "https://registry.yarnpkg.com/@tryghost/errors/-/errors-1.2.26.tgz#0d0503a51e681998421548fbddbdd7376384c457" - integrity sha512-s/eynvVUiAhHP0HB7CPQs7qH7Pm1quJ2iUMTCuH7HV8LqiGoQFNc21/5R4lRv+2Jt3yf69UPCs/6G+kAgZipNw== +"@tryghost/errors@1.2.26", "@tryghost/errors@1.3.0", "@tryghost/errors@1.3.1", "@tryghost/errors@^1.2.26", "@tryghost/errors@^1.2.27", "@tryghost/errors@^1.2.3": + version "1.3.1" + resolved "https://registry.npmjs.org/@tryghost/errors/-/errors-1.3.1.tgz#32a00c5e5293c46e54d03a66da871ac34b2ab35c" + integrity sha512-iZqT0vZ3NVZNq9o1HYxW00k1mcUAC+t5OLiI8O29/uQwAfy7NemY+Cabl9mWoIwgvBmw7l0Z8pHTcXMo1c+xMw== dependencies: "@stdlib/utils-copy" "^0.0.7" - lodash "^4.17.21" uuid "^9.0.0" "@tryghost/express-test@0.13.7":