Skip to content

Commit

Permalink
build(deps): bump the npm-deps group with 8 updates (#5882)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
dependabot[bot] and sosnovsky authored Dec 16, 2024
1 parent 2f257e9 commit 132dafd
Show file tree
Hide file tree
Showing 12 changed files with 544 additions and 350 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class ComposeStorageModule extends ViewModule<ComposeView> {
// re-query the storage, which is now updated
const updatedContact = await ContactStore.getOneWithAllPubkeys(undefined, email);
this.view.errModule.debug(`getUpToDatePubkeys.updatedContact.sortedPubkeys.length(${updatedContact?.sortedPubkeys.length})`);
this.view.errModule.debug(`getUpToDatePubkeys.updatedContact(${updatedContact})`);
this.view.errModule.debug(`getUpToDatePubkeys.updatedContact(${JSON.stringify(updatedContact)})`);
return updatedContact;
};

Expand Down
2 changes: 1 addition & 1 deletion extension/js/common/api/email-provider/gmail/gmail.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export class Gmail extends EmailProviderApi implements EmailProviderInterface {
// Depending on your needs, you might throw an error or handle this scenario differently.
throw new Error('Failed to meet the minimum byte requirement or condition.');
})
// eslint-disable-next-line @typescript-eslint/use-unknown-in-catch-callback-variable

.catch(reject);
});
};
Expand Down
2 changes: 1 addition & 1 deletion extension/js/common/api/shared/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ export class Api {
.then(data => {
resolve(data as FetchResult<T, RT>);
})
// eslint-disable-next-line @typescript-eslint/use-unknown-in-catch-callback-variable

.catch(reject);
});
} catch (e) {
Expand Down
2 changes: 1 addition & 1 deletion extension/js/common/browser/browser-extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class BrowserExtension {
try {
bugReport.details = JSON.stringify(details, undefined, 2);
} catch (e) {
bugReport.details_as_string = String(details);
bugReport.details_as_string = String(details as unknown);
bugReport.details_serialization_error = String(e);
}
let result = '';
Expand Down
2 changes: 1 addition & 1 deletion extension/js/common/core/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class Str {
};

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

public static normalizeSpaces = (str: string) => {
Expand Down
2 changes: 1 addition & 1 deletion extension/js/common/platform/catch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export class Catch {
private static formExceptionFromThrown(thrown: unknown, errMsg?: string, url?: string, line?: number, col?: number, isManuallyCalled?: boolean): Error {
let exception: Error;
if (typeof thrown !== 'object') {
exception = new Error(`THROWN_NON_OBJECT[${typeof thrown}]: ${String(thrown)}`);
exception = new Error(`THROWN_NON_OBJECT[${typeof thrown}]: ${String(thrown as unknown)}`);
} else if (errMsg && url && typeof line !== 'undefined' && !col && !thrown && !isManuallyCalled) {
exception = new Error(`LIMITED_ERROR: ${errMsg}`);
} else if (thrown instanceof Error) {
Expand Down
Loading

0 comments on commit 132dafd

Please sign in to comment.