Skip to content

Commit 8a22205

Browse files
build(deps): bump the npm-deps group with 10 updates (#5798)
* build(deps): bump the npm-deps group with 10 updates Bumps the npm-deps group with 10 updates: | Package | From | To | | --- | --- | --- | | [@types/thunderbird-webext-browser](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/thunderbird-webext-browser) | `109.0.4` | `127.0.0` | | [squire-rte](https://github.com/neilj/Squire) | `2.3.0` | `2.3.1` | | [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) | `0.0.268` | `0.0.269` | | [chai](https://github.com/chaijs/chai) | `4.4.1` | `4.5.0` | | [husky](https://github.com/typicode/husky) | `9.1.1` | `9.1.3` | | [pdfjs-dist](https://github.com/mozilla/pdf.js) | `4.4.168` | `4.5.136` | | [puppeteer](https://github.com/puppeteer/puppeteer) | `22.13.1` | `22.14.0` | | [typescript](https://github.com/Microsoft/TypeScript) | `5.5.3` | `5.5.4` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `7.16.1` | `7.17.0` | | [undici-types](https://github.com/nodejs/undici) | `6.19.2` | `6.19.4` | Updates `@types/thunderbird-webext-browser` from 109.0.4 to 127.0.0 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/thunderbird-webext-browser) Updates `squire-rte` from 2.3.0 to 2.3.1 - [Changelog](https://github.com/fastmail/Squire/blob/master/CHANGELOG.md) - [Commits](https://github.com/neilj/Squire/commits) Updates `@types/chrome` from 0.0.268 to 0.0.269 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) Updates `chai` from 4.4.1 to 4.5.0 - [Release notes](https://github.com/chaijs/chai/releases) - [Changelog](https://github.com/chaijs/chai/blob/main/History.md) - [Commits](chaijs/chai@v4.4.1...v4.5.0) Updates `husky` from 9.1.1 to 9.1.3 - [Release notes](https://github.com/typicode/husky/releases) - [Commits](typicode/husky@v9.1.1...v9.1.3) Updates `pdfjs-dist` from 4.4.168 to 4.5.136 - [Release notes](https://github.com/mozilla/pdf.js/releases) - [Commits](mozilla/pdf.js@v4.4.168...v4.5.136) Updates `puppeteer` from 22.13.1 to 22.14.0 - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json) - [Commits](puppeteer/puppeteer@puppeteer-v22.13.1...puppeteer-v22.14.0) Updates `typescript` from 5.5.3 to 5.5.4 - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml) - [Commits](microsoft/TypeScript@v5.5.3...v5.5.4) Updates `typescript-eslint` from 7.16.1 to 7.17.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.17.0/packages/typescript-eslint) Updates `undici-types` from 6.19.2 to 6.19.4 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v6.19.2...v6.19.4) --- updated-dependencies: - dependency-name: "@types/thunderbird-webext-browser" dependency-type: direct:production update-type: version-update:semver-major dependency-group: npm-deps - dependency-name: squire-rte dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: "@types/chrome" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: chai dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-deps - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: pdfjs-dist dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-deps - dependency-name: puppeteer dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-deps - dependency-name: typescript dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-deps - dependency-name: undici-types dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps ... Signed-off-by: dependabot[bot] <[email protected]> * fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Roma Sosnovsky <[email protected]>
1 parent ace8d84 commit 8a22205

File tree

4 files changed

+323
-240
lines changed

4 files changed

+323
-240
lines changed

extension/js/common/browser/browser-msg.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -480,9 +480,13 @@ export class BrowserMsg {
480480
const messageDetails = await messenger.messageDisplay.getDisplayedMessage(tabId);
481481
if (messageDetails) {
482482
const msgId = messageDetails.id;
483+
if (messageDetails.folder?.accountId) {
484+
const account = await messenger.accounts.get(messageDetails.folder.accountId);
485+
if (account) {
486+
await handleClickEvent(tabId, account.name, msgId);
487+
}
488+
}
483489
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
484-
const acctEmail = (await messenger.accounts.get(messageDetails.folder!.accountId)).name;
485-
await handleClickEvent(tabId, acctEmail, msgId);
486490
}
487491
});
488492
}

0 commit comments

Comments
 (0)