update extension deps

This commit is contained in:
Fabian Freund
2025-12-14 11:19:26 +01:00
parent c7903bcfe8
commit fd478ef4db
8 changed files with 1765 additions and 7162 deletions
File diff suppressed because it is too large Load Diff
@@ -32,23 +32,20 @@
"homepage": "https://addons.mozilla.org/en-US/firefox/addon/container-proxy/",
"devDependencies": {
"@types/chai": "^5.0.1",
"@types/firefox-webext-browser": "^120.0.4",
"@types/firefox-webext-browser": "^143.0.0",
"@types/mocha": "^10.0.10",
"addons-linter": "^7.8.0",
"chai": "^5.1.2",
"copy-webpack-plugin": "^12.0.2",
"esm": "^3.2.25",
"mocha": "^10.8.2",
"sinon": "^8.1.1",
"sinon-chrome": "^3.0.1",
"standardx": "^7.0.0",
"ts-loader": "^9.2.6",
"ts-mocha": "^10.0.0",
"ts-mocha": "^11.1.0",
"ts-standard": "^12.0.2",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"typescript": "^5.7.3",
"web-ext": "^8.4.0",
"webextensions-api-fake": "^1.3.0",
"webextensions-geckodriver": "^0.7.0",
"webpack": "^5.59.1",
"webpack-cli": "^6.0.1"
},
@@ -1,6 +1,5 @@
import BackgroundMain, { doNotProxy } from '../../src/background/BackgroundMain'
import { Store } from '../../src/store/Store'
import webExtensionsApiFake from 'webextensions-api-fake'
import { expect } from 'chai'
import { ProxySettings } from '../../src/domain/ProxySettings'
@@ -8,12 +7,13 @@ const tryFromDao = ProxySettings.tryFromDao
/* eslint-disable @typescript-eslint/no-unused-expressions */
const chrome = require('sinon-chrome/extensions');
const store = new Store()
describe('BackgroundMain', function () {
beforeEach(() => {
// @ts-expect-error
global.browser = webExtensionsApiFake()
global.browser = chrome
})
afterEach(() => {
@@ -1,9 +1,9 @@
import { ProxyDao, Store } from '../../src/store/Store'
import webExtensionsApiFake from 'webextensions-api-fake'
import { expect } from 'chai'
import { ProxySettings } from '../../src/domain/ProxySettings'
const tryFromDao = ProxySettings.tryFromDao
const chrome = require('sinon-chrome/extensions');
/* eslint-disable @typescript-eslint/no-unused-expressions */
@@ -11,7 +11,7 @@ describe('Store', () => {
const store = new Store()
beforeEach(() => {
(global as any).browser = webExtensionsApiFake()
(global as any).browser = chrome
})
afterEach(() => {