Skip to content

Commit 132dafd

Browse files
build(deps): bump the npm-deps group with 8 updates (#5882)
* build(deps): bump the npm-deps group with 8 updates Bumps the npm-deps group with 8 updates: | Package | From | To | | --- | --- | --- | | [dompurify](https://github.com/cure53/DOMPurify) | `3.2.2` | `3.2.3` | | [sweetalert2](https://github.com/sweetalert2/sweetalert2) | `11.14.5` | `11.15.0` | | [eslint](https://github.com/eslint/eslint) | `9.16.0` | `9.17.0` | | [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) | `50.6.0` | `50.6.1` | | [lint-staged](https://github.com/lint-staged/lint-staged) | `15.2.10` | `15.2.11` | | [puppeteer](https://github.com/puppeteer/puppeteer) | `23.10.1` | `23.10.4` | | [stylelint](https://github.com/stylelint/stylelint) | `16.11.0` | `16.12.0` | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.17.0` | `8.18.0` | Updates `dompurify` from 3.2.2 to 3.2.3 - [Release notes](https://github.com/cure53/DOMPurify/releases) - [Commits](cure53/DOMPurify@3.2.2...3.2.3) Updates `sweetalert2` from 11.14.5 to 11.15.0 - [Release notes](https://github.com/sweetalert2/sweetalert2/releases) - [Changelog](https://github.com/sweetalert2/sweetalert2/blob/main/CHANGELOG.md) - [Commits](sweetalert2/sweetalert2@v11.14.5...v11.15.0) Updates `eslint` from 9.16.0 to 9.17.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.16.0...v9.17.0) Updates `eslint-plugin-jsdoc` from 50.6.0 to 50.6.1 - [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases) - [Changelog](https://github.com/gajus/eslint-plugin-jsdoc/blob/main/.releaserc) - [Commits](gajus/eslint-plugin-jsdoc@v50.6.0...v50.6.1) Updates `lint-staged` from 15.2.10 to 15.2.11 - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/master/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v15.2.10...v15.2.11) Updates `puppeteer` from 23.10.1 to 23.10.4 - [Release notes](https://github.com/puppeteer/puppeteer/releases) - [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json) - [Commits](puppeteer/puppeteer@puppeteer-v23.10.1...puppeteer-v23.10.4) Updates `stylelint` from 16.11.0 to 16.12.0 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@16.11.0...16.12.0) Updates `typescript-eslint` from 8.17.0 to 8.18.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/v8.18.0/packages/typescript-eslint) --- updated-dependencies: - dependency-name: dompurify dependency-type: direct:production update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: sweetalert2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: npm-deps - dependency-name: eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-deps - dependency-name: eslint-plugin-jsdoc dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: lint-staged dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: puppeteer dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: stylelint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-deps - dependency-name: typescript-eslint dependency-type: direct:development update-type: version-update:semver-minor dependency-group: npm-deps ... Signed-off-by: dependabot[bot] <[email protected]> * wip * fix eslint --------- 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 2f257e9 commit 132dafd

File tree

12 files changed

+544
-350
lines changed

12 files changed

+544
-350
lines changed

extension/chrome/elements/compose-modules/compose-storage-module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export class ComposeStorageModule extends ViewModule<ComposeView> {
146146
// re-query the storage, which is now updated
147147
const updatedContact = await ContactStore.getOneWithAllPubkeys(undefined, email);
148148
this.view.errModule.debug(`getUpToDatePubkeys.updatedContact.sortedPubkeys.length(${updatedContact?.sortedPubkeys.length})`);
149-
this.view.errModule.debug(`getUpToDatePubkeys.updatedContact(${updatedContact})`);
149+
this.view.errModule.debug(`getUpToDatePubkeys.updatedContact(${JSON.stringify(updatedContact)})`);
150150
return updatedContact;
151151
};
152152

extension/js/common/api/email-provider/gmail/gmail.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ export class Gmail extends EmailProviderApi implements EmailProviderInterface {
253253
// Depending on your needs, you might throw an error or handle this scenario differently.
254254
throw new Error('Failed to meet the minimum byte requirement or condition.');
255255
})
256-
// eslint-disable-next-line @typescript-eslint/use-unknown-in-catch-callback-variable
256+
257257
.catch(reject);
258258
});
259259
};

extension/js/common/api/shared/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ export class Api {
314314
.then(data => {
315315
resolve(data as FetchResult<T, RT>);
316316
})
317-
// eslint-disable-next-line @typescript-eslint/use-unknown-in-catch-callback-variable
317+
318318
.catch(reject);
319319
});
320320
} catch (e) {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export class BrowserExtension {
2020
try {
2121
bugReport.details = JSON.stringify(details, undefined, 2);
2222
} catch (e) {
23-
bugReport.details_as_string = String(details);
23+
bugReport.details_as_string = String(details as unknown);
2424
bugReport.details_serialization_error = String(e);
2525
}
2626
let result = '';

extension/js/common/core/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class Str {
129129
};
130130

131131
public static prettyPrint = (obj: unknown) => {
132-
return typeof obj === 'object' ? JSON.stringify(obj, undefined, 2).replace(/ /g, '&nbsp;').replace(/\n/g, '<br />') : String(obj);
132+
return typeof obj === 'object' ? JSON.stringify(obj, undefined, 2).replace(/ /g, '&nbsp;').replace(/\n/g, '<br />') : String(obj as unknown);
133133
};
134134

135135
public static normalizeSpaces = (str: string) => {

extension/js/common/platform/catch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ export class Catch {
368368
private static formExceptionFromThrown(thrown: unknown, errMsg?: string, url?: string, line?: number, col?: number, isManuallyCalled?: boolean): Error {
369369
let exception: Error;
370370
if (typeof thrown !== 'object') {
371-
exception = new Error(`THROWN_NON_OBJECT[${typeof thrown}]: ${String(thrown)}`);
371+
exception = new Error(`THROWN_NON_OBJECT[${typeof thrown}]: ${String(thrown as unknown)}`);
372372
} else if (errMsg && url && typeof line !== 'undefined' && !col && !thrown && !isManuallyCalled) {
373373
exception = new Error(`LIMITED_ERROR: ${errMsg}`);
374374
} else if (thrown instanceof Error) {

0 commit comments

Comments
 (0)