Skip to content

Commit ecbfa45

Browse files
build(deps-dev): bump the npm-deps group with 4 updates (#5865)
* build(deps-dev): bump the npm-deps group with 4 updates Bumps the npm-deps group with 4 updates: [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome), [eslint](https://github.com/eslint/eslint), [puppeteer](https://github.com/puppeteer/puppeteer) and [undici-types](https://github.com/nodejs/undici). Updates `@types/chrome` from 0.0.280 to 0.0.283 - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome) Updates `eslint` from 9.14.0 to 9.15.0 - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md) - [Commits](eslint/eslint@v9.14.0...v9.15.0) Updates `puppeteer` from 23.7.1 to 23.8.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-v23.7.1...puppeteer-v23.8.0) Updates `undici-types` from 6.20.0 to 6.21.0 - [Release notes](https://github.com/nodejs/undici/releases) - [Commits](nodejs/undici@v6.20.0...v6.21.0) --- updated-dependencies: - dependency-name: "@types/chrome" dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm-deps - dependency-name: eslint 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: undici-types dependency-type: direct:development update-type: version-update:semver-minor 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 b8aa4be commit ecbfa45

File tree

7 files changed

+63
-52
lines changed

7 files changed

+63
-52
lines changed

extension/js/content_scripts/webmail/gmail/gmail-webmail-startup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ export class GmailWebmailStartup {
8888

8989
private injectFCVarScript = () => {
9090
const scriptElement = document.createElement('script');
91+
// eslint-disable-next-line @typescript-eslint/no-deprecated
9192
scriptElement.src = chrome.runtime.getURL('/js/common/core/feature-config-injector.js');
9293
(document.head || document.documentElement).appendChild(scriptElement);
9394
};

package-lock.json

Lines changed: 49 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
"@openpgp/web-stream-tools": "^0.0.13",
1010
"@types/chai": "4.3.19",
1111
"@types/chai-as-promised": "7.1.8",
12-
"@types/chrome": "0.0.280",
12+
"@types/chrome": "0.0.283",
1313
"@types/dompurify": "3.0.5",
1414
"@types/jquery": "3.5.32",
1515
"@types/mailparser": "3.4.5",
1616
"ava": "5.3.1",
1717
"chai": "4.5.0",
1818
"chai-as-promised": "7.1.2",
19-
"eslint": "^9.14.0",
19+
"eslint": "9.14.0",
2020
"eslint-config-prettier": "^9.1.0",
2121
"eslint-plugin-header": "github:FlowCrypt/eslint-plugin-header",
2222
"eslint-plugin-jsdoc": "^50.5.0",
@@ -32,12 +32,12 @@
3232
"openpgp": "5.11.2",
3333
"pdfjs-dist": "4.8.69",
3434
"prettier": "^3.3.3",
35-
"puppeteer": "23.7.1",
35+
"puppeteer": "23.8.0",
3636
"stylelint": "16.10.0",
3737
"stylelint-config-standard": "36.0.1",
3838
"typescript": "5.6.3",
3939
"typescript-eslint": "^8.13.0",
40-
"undici-types": "^6.20.0",
40+
"undici-types": "^6.21.0",
4141
"web-ext": "8.3.0",
4242
"webpack-cli": "^5.1.1"
4343
},

test/source/browser/controllable.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ export class ControllablePage extends ControllableBase {
867867
const result = await this.target.evaluate(
868868
async keys =>
869869
await new Promise(resolve => {
870+
// eslint-disable-next-line @typescript-eslint/no-deprecated
870871
chrome.storage.local.get(keys, resolve);
871872
}),
872873
keys
@@ -875,6 +876,7 @@ export class ControllablePage extends ControllableBase {
875876
};
876877

877878
public setLocalStorage = async (key: string, value: string | null): Promise<void> => {
879+
// eslint-disable-next-line @typescript-eslint/no-deprecated
878880
await this.target.evaluate(async (key, value) => await chrome.storage.local.set({ [key]: value }), key, value);
879881
};
880882

test/source/patterns.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,12 @@ for (const srcFilePath of getAllFilesInDir('./extension', /\.ts$/)) {
7878
* check for problems in manifest file (because dynamically generated)
7979
* https://github.com/FlowCrypt/flowcrypt-browser/issues/2934
8080
*/
81+
// eslint-disable-next-line @typescript-eslint/no-deprecated
8182
const expectedPermissions: chrome.runtime.ManifestPermissions[] = ['alarms', 'scripting', 'storage', 'tabs', 'unlimitedStorage'];
8283
const expectedConsumerHostPermissions = ['https://*.google.com/*', 'https://www.googleapis.com/*', 'https://flowcrypt.com/*'];
8384
const expectedEnterpriseHostPermissions = ['https://*.google.com/*', 'https://*.googleapis.com/*', 'https://flowcrypt.com/*'];
8485
for (const buildType of ['chrome-consumer', 'chrome-enterprise', 'thunderbird-consumer', 'firefox-consumer']) {
86+
// eslint-disable-next-line @typescript-eslint/no-deprecated
8587
const manifest = JSON.parse(readFileSync(`./build/${buildType}/manifest.json`).toString()) as chrome.runtime.Manifest;
8688
const isManifestV3Build = buildType.includes('chrome') || buildType.includes('firefox');
8789
const expectedHostPermissions = buildType.includes('consumer') ? expectedConsumerHostPermissions : expectedEnterpriseHostPermissions;

test/source/tests/page-recipe/abstract-page-recipe.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export abstract class PageRecipe {
5656
return await controllable.target.evaluate(
5757
async msg =>
5858
await new Promise(resolve => {
59+
// eslint-disable-next-line @typescript-eslint/no-deprecated
5960
chrome.runtime.sendMessage(msg, resolve);
6061
}),
6162
msg

tooling/build-types-and-manifests.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ import { execSync as exec } from 'child_process';
1414
const DIR = './build';
1515
const version: string = (JSON.parse(readFileSync('./package.json').toString()) as { version: string }).version;
1616

17+
// eslint-disable-next-line @typescript-eslint/no-deprecated
1718
const addManifest = (toBuildType: string, transform: (manifest: chrome.runtime.Manifest) => void, fromBuildType = 'generic-extension-wip') => {
19+
// eslint-disable-next-line @typescript-eslint/no-deprecated
1820
const manifest = JSON.parse(readFileSync(`${DIR}/${fromBuildType}/manifest.json`).toString()) as chrome.runtime.ManifestV3;
1921
transform(manifest);
2022
writeFileSync(`${DIR}/${toBuildType}/manifest.json`, JSON.stringify(manifest, undefined, 2));
@@ -37,7 +39,7 @@ addManifest('firefox-consumer', manifest => {
3739
type: 'module',
3840
scripts: ['/js/service_worker/background.js'],
3941
};
40-
// eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-unused-vars
42+
// eslint-disable-next-line @typescript-eslint/naming-convention, @typescript-eslint/no-unused-vars, @typescript-eslint/no-deprecated
4143
const { service_worker, ...newManifest } = manifest.background as chrome.runtime.ManifestV3;
4244
manifest = newManifest;
4345
manifest.permissions = manifest.permissions?.filter((p: string) => p !== 'unlimitedStorage');
@@ -52,6 +54,7 @@ addManifest(
5254
manifest.name = 'FlowCrypt Encryption for Thunderbird';
5355
manifest.description = 'Simple end-to-end encryption to secure email and attachments on Thunderbird';
5456
manifest.permissions = [...(manifest.permissions ?? []), 'compose', 'messagesRead', 'messagesUpdate', 'messagesModify', 'accountsRead'];
57+
// eslint-disable-next-line @typescript-eslint/no-deprecated
5558
const manifestV3 = manifest as chrome.runtime.ManifestV3;
5659
manifest.web_accessible_resources = manifestV3.web_accessible_resources?.[0].resources;
5760
manifest.content_security_policy = manifestV3.content_security_policy?.extension_pages;

0 commit comments

Comments
 (0)