fix: Upgrade @wxt-dev/browser to latest @types/chrome version

This commit is contained in:
aklinker1
2026-06-06 01:04:14 +00:00
committed by github-actions[bot]
parent 4cbcf282f7
commit 22b7aba035
3 changed files with 16 additions and 10 deletions
Generated
+3 -3
View File
@@ -83,13 +83,13 @@
},
"packages/browser": {
"name": "@wxt-dev/browser",
"version": "0.1.42",
"version": "0.1.43",
"dependencies": {
"@types/filesystem": "*",
"@types/har-format": "*",
},
"devDependencies": {
"@types/chrome": "0.1.42",
"@types/chrome": "0.1.43",
"@types/node": "catalog:",
"nano-spawn": "catalog:",
"typescript": "catalog:",
@@ -1061,7 +1061,7 @@
"@types/chai": ["@types/chai@5.2.3", "", { "dependencies": { "@types/deep-eql": "*", "assertion-error": "^2.0.1" } }, "sha512-Mw558oeA9fFbv65/y4mHtXDs9bPnFMZAL/jxdPFUpOHHIXX91mcgEHbS5Lahr+pwZFR8A7GQleRWeI6cGFC2UA=="],
"@types/chrome": ["@types/chrome@0.1.42", "", { "dependencies": { "@types/filesystem": "*", "@types/har-format": "*" } }, "sha512-tdT2roFqGecZZDjA9fUEAINb2STxSPifHMDvY6EfRjNRCjdrs/0FwKt5RCIA9MKMd1arAYZZL3nwEkp6ZLZu2w=="],
"@types/chrome": ["@types/chrome@0.1.43", "", { "dependencies": { "@types/filesystem": "*", "@types/har-format": "*" } }, "sha512-ukH/HhmR6ht+UTX3PLUWJxgJ/RQcK2Foj4lBzsF24SIWsXgqhGuXqjd8FFuwioPP7d/JUKLM4g8GZxw3F4HTcA=="],
"@types/debug": ["@types/debug@4.1.12", "", { "dependencies": { "@types/ms": "*" } }, "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ=="],
+2 -2
View File
@@ -1,7 +1,7 @@
{
"name": "@wxt-dev/browser",
"description": "Provides a cross-browser API for using extension APIs and types based on @types/chrome",
"version": "0.1.42",
"version": "0.1.43",
"type": "module",
"main": "src/index.mjs",
"types": "src/index.d.ts",
@@ -25,7 +25,7 @@
"src"
],
"devDependencies": {
"@types/chrome": "0.1.42",
"@types/chrome": "0.1.43",
"@types/node": "catalog:",
"nano-spawn": "catalog:",
"typescript": "catalog:",
+11 -5
View File
@@ -1727,7 +1727,7 @@ export namespace Browser {
*
* `allow`: Allow sites to use advanced clipboard capabilities,
*
* `block`: Don't allow sites to use advanced clipboard capabilties,
* `block`: Don't allow sites to use advanced clipboard capabilities,
*
* `ask`: Ask when a site wants to use advanced clipboard capabilities.
*
@@ -1878,6 +1878,8 @@ export namespace Browser {
BROWSER_ACTION = "browser_action",
PAGE_ACTION = "page_action",
ACTION = "action",
/** @since Chrome 149 */
TAB = "tab",
}
/**
@@ -2587,7 +2589,7 @@ export namespace Browser {
interface EditResponseCookie {
/** Filter for cookies that will be modified. All empty entries are ignored. */
filter: ResponseCookie;
/** Attributes that shall be overridden in cookies that machted the filter. Attributes that are set to an empty string are removed. */
/** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */
modification: ResponseCookie;
}
@@ -2605,7 +2607,7 @@ export namespace Browser {
interface EditRequestCookie {
/** Filter for cookies that will be modified. All empty entries are ignored. */
filter: RequestCookie;
/** Attributes that shall be overridden in cookies that machted the filter. Attributes that are set to an empty string are removed. */
/** Attributes that shall be overridden in cookies that matched the filter. Attributes that are set to an empty string are removed. */
modification: RequestCookie;
}
@@ -4547,7 +4549,7 @@ export namespace Browser {
const inIncognitoContext: boolean;
/**
* Set for the lifetime of a callback if an ansychronous extension api has resulted in an error. If no error has occurred lastError will be `undefined`.
* Set for the lifetime of a callback if an asynchronous extension api has resulted in an error. If no error has occurred lastError will be `undefined`.
* @deprecated since Chrome 58. Please use {@link runtime.lastError}
*/
const lastError: runtime.LastError | undefined;
@@ -8914,6 +8916,7 @@ export namespace Browser {
/**
* The native client architecture. This may be different from arch on some platforms.
* @since Chrome 44
* @deprecated since Chrome 149. This enum is deprecated following complete removal of Native Client.
*/
enum PlatformNaclArch {
/** Specifies the native client architecture as arm. */
@@ -9074,7 +9077,10 @@ export namespace Browser {
os: `${PlatformOs}`;
/** The machine's processor architecture. */
arch: `${PlatformArch}`;
/** The native client architecture. This may be different from arch on some platforms. */
/**
* The native client architecture. This may be different from arch on some platforms.
* @deprecated since Chrome 149. This attribute is deprecated following complete removal of Native Client.
*/
nacl_arch?: `${PlatformNaclArch}`;
}