@types/chrome 0.1.33 → 0.1.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- chrome/README.md +1 -1
- chrome/index.d.ts +28 -0
- chrome/package.json +2 -2
chrome/README.md
CHANGED
|
@@ -8,7 +8,7 @@ This package contains type definitions for chrome (https://developer.chrome.com/
|
|
|
8
8
|
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome.
|
|
9
9
|
|
|
10
10
|
### Additional Details
|
|
11
|
-
* Last updated:
|
|
11
|
+
* Last updated: Mon, 19 Jan 2026 00:04:09 GMT
|
|
12
12
|
* Dependencies: [@types/filesystem](https://npmjs.com/package/@types/filesystem), [@types/har-format](https://npmjs.com/package/@types/har-format)
|
|
13
13
|
|
|
14
14
|
# Credits
|
chrome/index.d.ts
CHANGED
|
@@ -13952,6 +13952,34 @@ declare namespace chrome {
|
|
|
13952
13952
|
*/
|
|
13953
13953
|
excludedTabIds?: number[] | undefined;
|
|
13954
13954
|
|
|
13955
|
+
/**
|
|
13956
|
+
* The rule will only match network requests when the associated top-level frame's domain matches one from the list of `topDomains`. If the list is omitted, the rule is applied to requests associated with all top-level frame domains. An empty list is not allowed.
|
|
13957
|
+
*
|
|
13958
|
+
* Notes:
|
|
13959
|
+
* - Sub-domains like "a.example.com" are also allowed.
|
|
13960
|
+
* - The entries must consist of only ascii characters.
|
|
13961
|
+
* - Use punycode encoding for internationalized domains.
|
|
13962
|
+
* - Sub-domains of the listed domains are also matched.
|
|
13963
|
+
* - For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
|
|
13964
|
+
* @since Chrome 141
|
|
13965
|
+
*/
|
|
13966
|
+
topDomains?: string[] | undefined;
|
|
13967
|
+
|
|
13968
|
+
/**
|
|
13969
|
+
* The rule will not match network requests when the associated top-level frame's domain
|
|
13970
|
+
* matches one from the list of excludedTopDomains. If the list is empty or omitted,
|
|
13971
|
+
* The rule will not match network requests when the associated top-level frame's domain matches one from the list of `excludedTopDomains`. If the list is empty or omitted, no domains are excluded. This takes precedence over `topDomains`.
|
|
13972
|
+
*
|
|
13973
|
+
* Notes:
|
|
13974
|
+
* - Sub-domains like "a.example.com" are also allowed.
|
|
13975
|
+
* - The entries must consist of only ascii characters.
|
|
13976
|
+
* - Use punycode encoding for internationalized domains.
|
|
13977
|
+
* - Sub-domains of the listed domains are also excluded.
|
|
13978
|
+
* - For requests with no associated top-level frame (e.g. ServiceWorker initiated requests, the request initiator's domain is considered instead.
|
|
13979
|
+
* @since Chrome 141
|
|
13980
|
+
*/
|
|
13981
|
+
excludedTopDomains?: string[] | undefined;
|
|
13982
|
+
|
|
13955
13983
|
/** Whether the `urlFilter` or `regexFilter` (whichever is specified) is case sensitive. Default is false. */
|
|
13956
13984
|
isUrlFilterCaseSensitive?: boolean | undefined;
|
|
13957
13985
|
|
chrome/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@types/chrome",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.34",
|
|
4
4
|
"description": "TypeScript definitions for chrome",
|
|
5
5
|
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chrome",
|
|
6
6
|
"license": "MIT",
|
|
@@ -94,6 +94,6 @@
|
|
|
94
94
|
"@types/har-format": "*"
|
|
95
95
|
},
|
|
96
96
|
"peerDependencies": {},
|
|
97
|
-
"typesPublisherContentHash": "
|
|
97
|
+
"typesPublisherContentHash": "c45889239fbefb44673e090cc74c374796ba2ad4f3c44547c0ddf4d6d37f45b5",
|
|
98
98
|
"typeScriptVersion": "5.2"
|
|
99
99
|
}
|