Ghost/ghost/email-service/package.json
Simon Backx bededf4520
🐛 Fixed errors of old events from deleted members (#15944)
refs https://ghost.slack.com/archives/C02G9E68C/p1670215917451249

When a member is deleted, and we receive an opened event for an email to
that member. We threw an uncaught Bookshelf EmptyResponse error.

- This change makes fetching the member not a requirement when handling
that event in the last seen at updater.
- It also adds try catches for all event listeners in the last seen at
updater
2022-12-05 14:36:23 +01:00

41 lines
1.2 KiB
JSON

{
"name": "@tryghost/email-service",
"version": "0.0.0",
"repository": "https://github.com/TryGhost/Ghost/tree/main/packages/email-service",
"author": "Ghost Foundation",
"private": true,
"main": "index.js",
"scripts": {
"dev": "echo \"Implement me!\"",
"test:unit": "NODE_ENV=testing c8 --all --reporter text --reporter cobertura mocha './test/**/*.test.js'",
"test": "yarn test:unit",
"lint:code": "eslint *.js lib/ --ext .js --cache",
"lint": "yarn lint:code && yarn lint:test",
"lint:test": "eslint -c test/.eslintrc.js test/ --ext .js --cache"
},
"files": [
"index.js",
"lib"
],
"devDependencies": {
"c8": "7.12.0",
"mocha": "10.1.0",
"should": "13.2.3",
"sinon": "14.0.2"
},
"dependencies": {
"@tryghost/errors": "1.2.18",
"@tryghost/tpl": "0.1.19",
"bson-objectid": "2.0.4",
"@tryghost/email-events": "0.0.0",
"moment-timezone": "0.5.23",
"handlebars": "4.7.7",
"@tryghost/kg-default-cards": "5.18.5",
"@tryghost/color-utils": "0.1.21",
"@tryghost/html-to-plaintext": "0.0.0",
"juice": "8.1.0",
"cheerio": "0.22.0",
"@tryghost/logging": "2.3.2"
}
}