Skip to content

Commit

Permalink
Updated @tryghost/errors dependency
Browse files Browse the repository at this point in the history
- this version is written in TS, but was published a few months ago and
  needs to be bumped here
- also updates a previous deep include into the library, which was
  unnecessary anyway
  • Loading branch information
daniellockyer committed Mar 11, 2024
1 parent be3a566 commit e6d3652
Show file tree
Hide file tree
Showing 35 changed files with 39 additions and 40 deletions.
2 changes: 1 addition & 1 deletion ghost/api-framework/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/audience-feedback/package.json
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion ghost/collections/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/core/core/server/services/themes/installer.js
Expand Up @@ -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');

Expand Down
4 changes: 2 additions & 2 deletions ghost/core/package.json
Expand Up @@ -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",
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/custom-theme-settings-service/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/email-service/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/job-manager/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/link-tracking/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/magic-link/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/mail-events/package.json
Expand Up @@ -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"
},
Expand Down
2 changes: 1 addition & 1 deletion ghost/members-api/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/members-events-service/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/members-importer/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/members-ssr/package.json
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion ghost/milestones/package.json
Expand Up @@ -23,7 +23,7 @@
"sinon": "15.2.0"
},
"dependencies": {
"@tryghost/errors": "1.2.26",
"@tryghost/errors": "1.3.1",
"bson-objectid": "2.0.4"
}
}
2 changes: 1 addition & 1 deletion ghost/minifier/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/mw-api-version-mismatch/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/mw-error-handler/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/mw-version-match/package.json
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion ghost/oembed-service/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/offers/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/package-json/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/payments/package.json
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion ghost/posts-service/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/recommendations/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/settings-path-manager/package.json
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion ghost/slack-notifications/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/stripe/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/tiers/package.json
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion ghost/update-check-service/package.json
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion ghost/verification-trigger/package.json
Expand Up @@ -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"
}
}
2 changes: 1 addition & 1 deletion ghost/webmentions/package.json
Expand Up @@ -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"
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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"
Expand Down
9 changes: 4 additions & 5 deletions yarn.lock
Expand Up @@ -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":
Expand Down

0 comments on commit e6d3652

Please sign in to comment.