webext-schema 5.2.0 → 5.2.1
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.
- package/package.json +8 -13
- package/schemas/release/webext.json +49 -8
package/package.json
CHANGED
|
@@ -21,26 +21,21 @@
|
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/firefox-webext-browser": "^111.0.1",
|
|
24
|
-
"@types/node": "^20.
|
|
25
|
-
"@types/sinon": "^10.0.
|
|
26
|
-
"c8": "^8.0.
|
|
24
|
+
"@types/node": "^20.4.5",
|
|
25
|
+
"@types/sinon": "^10.0.16",
|
|
26
|
+
"c8": "^8.0.1",
|
|
27
27
|
"chai": "^4.3.7",
|
|
28
|
-
"eslint": "^8.
|
|
28
|
+
"eslint": "^8.46.0",
|
|
29
29
|
"eslint-config-standard": "^17.1.0",
|
|
30
|
-
"eslint-plugin-import": "^2.
|
|
31
|
-
"eslint-plugin-jsdoc": "^46.4.
|
|
32
|
-
"eslint-plugin-node": "^11.1.0",
|
|
33
|
-
"eslint-plugin-promise": "^6.1.1",
|
|
30
|
+
"eslint-plugin-import": "^2.28.0",
|
|
31
|
+
"eslint-plugin-jsdoc": "^46.4.5",
|
|
34
32
|
"eslint-plugin-regexp": "^1.15.0",
|
|
35
|
-
"eslint-plugin-unicorn": "^
|
|
33
|
+
"eslint-plugin-unicorn": "^48.0.1",
|
|
36
34
|
"mocha": "^10.2.0",
|
|
37
35
|
"npm-run-all": "^4.1.5",
|
|
38
36
|
"typescript": "^5.1.6",
|
|
39
37
|
"undici": "^5.22.1"
|
|
40
38
|
},
|
|
41
|
-
"overrides": {
|
|
42
|
-
"semver": "^7.5.2"
|
|
43
|
-
},
|
|
44
39
|
"scripts": {
|
|
45
40
|
"build": "npm run tsc && npm run lint && npm run test",
|
|
46
41
|
"lint": "eslint --fix .",
|
|
@@ -59,5 +54,5 @@
|
|
|
59
54
|
"update-mail": "node index update --channel=mail -i",
|
|
60
55
|
"update-release": "node index update --channel=release -i"
|
|
61
56
|
},
|
|
62
|
-
"version": "5.2.
|
|
57
|
+
"version": "5.2.1"
|
|
63
58
|
}
|
|
@@ -4463,6 +4463,11 @@
|
|
|
4463
4463
|
"optional": true,
|
|
4464
4464
|
"description": "Whether the tab has produced sound over the past couple of seconds (but it might not be heard if also muted). Equivalent to whether the speaker audio indicator is showing."
|
|
4465
4465
|
},
|
|
4466
|
+
"autoDiscardable": {
|
|
4467
|
+
"type": "boolean",
|
|
4468
|
+
"optional": true,
|
|
4469
|
+
"description": "Whether the tab can be discarded automatically by the browser when resources are low."
|
|
4470
|
+
},
|
|
4466
4471
|
"mutedInfo": {
|
|
4467
4472
|
"$ref": "MutedInfo",
|
|
4468
4473
|
"optional": true,
|
|
@@ -4764,6 +4769,7 @@
|
|
|
4764
4769
|
"enum": [
|
|
4765
4770
|
"attention",
|
|
4766
4771
|
"audible",
|
|
4772
|
+
"autoDiscardable",
|
|
4767
4773
|
"discarded",
|
|
4768
4774
|
"favIconUrl",
|
|
4769
4775
|
"hidden",
|
|
@@ -5095,6 +5101,11 @@
|
|
|
5095
5101
|
"optional": true,
|
|
5096
5102
|
"description": "Whether the tabs are audible."
|
|
5097
5103
|
},
|
|
5104
|
+
"autoDiscardable": {
|
|
5105
|
+
"type": "boolean",
|
|
5106
|
+
"optional": true,
|
|
5107
|
+
"description": "Whether the tab can be discarded automatically by the browser when resources are low."
|
|
5108
|
+
},
|
|
5098
5109
|
"muted": {
|
|
5099
5110
|
"type": "boolean",
|
|
5100
5111
|
"optional": true,
|
|
@@ -5312,6 +5323,11 @@
|
|
|
5312
5323
|
"optional": true,
|
|
5313
5324
|
"description": "Whether the tab should be active. Does not affect whether the window is focused (see $(ref:windows.update))."
|
|
5314
5325
|
},
|
|
5326
|
+
"autoDiscardable": {
|
|
5327
|
+
"type": "boolean",
|
|
5328
|
+
"optional": true,
|
|
5329
|
+
"description": "Whether the tab can be discarded automatically by the browser when resources are low."
|
|
5330
|
+
},
|
|
5315
5331
|
"highlighted": {
|
|
5316
5332
|
"type": "boolean",
|
|
5317
5333
|
"optional": true,
|
|
@@ -6058,6 +6074,11 @@
|
|
|
6058
6074
|
"optional": true,
|
|
6059
6075
|
"description": "The tab's new audible state."
|
|
6060
6076
|
},
|
|
6077
|
+
"autoDiscardable": {
|
|
6078
|
+
"type": "boolean",
|
|
6079
|
+
"optional": true,
|
|
6080
|
+
"description": "The tab's new autoDiscardable state."
|
|
6081
|
+
},
|
|
6061
6082
|
"discarded": {
|
|
6062
6083
|
"type": "boolean",
|
|
6063
6084
|
"optional": true,
|
|
@@ -7860,6 +7881,32 @@
|
|
|
7860
7881
|
}
|
|
7861
7882
|
]
|
|
7862
7883
|
},
|
|
7884
|
+
{
|
|
7885
|
+
"name": "getUserSettings",
|
|
7886
|
+
"type": "function",
|
|
7887
|
+
"description": "Returns the user-specified settings relating to an extension's action.",
|
|
7888
|
+
"async": "callback",
|
|
7889
|
+
"parameters": [
|
|
7890
|
+
{
|
|
7891
|
+
"type": "function",
|
|
7892
|
+
"name": "callback",
|
|
7893
|
+
"parameters": [
|
|
7894
|
+
{
|
|
7895
|
+
"name": "userSettings",
|
|
7896
|
+
"type": "object",
|
|
7897
|
+
"properties": {
|
|
7898
|
+
"isOnToolbar": {
|
|
7899
|
+
"type": "boolean",
|
|
7900
|
+
"optional": true,
|
|
7901
|
+
"description": "Whether the extension's action icon is visible on browser windows' top-level toolbar (i.e., whether the extension has been 'pinned' by the user)."
|
|
7902
|
+
}
|
|
7903
|
+
},
|
|
7904
|
+
"description": "The collection of user-specified settings relating to an extension's action."
|
|
7905
|
+
}
|
|
7906
|
+
]
|
|
7907
|
+
}
|
|
7908
|
+
]
|
|
7909
|
+
},
|
|
7863
7910
|
{
|
|
7864
7911
|
"name": "setIcon",
|
|
7865
7912
|
"type": "function",
|
|
@@ -16263,14 +16310,14 @@
|
|
|
16263
16310
|
{
|
|
16264
16311
|
"name": "setUninstallURL",
|
|
16265
16312
|
"type": "function",
|
|
16266
|
-
"description": "Sets the URL to be visited upon uninstallation. This may be used to clean up server-side data, do analytics, and implement surveys. Maximum
|
|
16313
|
+
"description": "Sets the URL to be visited upon uninstallation. This may be used to clean up server-side data, do analytics, and implement surveys. Maximum 1023 characters.",
|
|
16267
16314
|
"async": "callback",
|
|
16268
16315
|
"parameters": [
|
|
16269
16316
|
{
|
|
16270
16317
|
"type": "string",
|
|
16271
16318
|
"name": "url",
|
|
16272
16319
|
"optional": true,
|
|
16273
|
-
"maxLength":
|
|
16320
|
+
"maxLength": 1023,
|
|
16274
16321
|
"description": "URL to be opened after the extension is uninstalled. This URL must have an http: or https: scheme. Set an empty string to not open a new tab upon uninstallation."
|
|
16275
16322
|
},
|
|
16276
16323
|
{
|
|
@@ -19543,12 +19590,10 @@
|
|
|
19543
19590
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
19544
19591
|
},
|
|
19545
19592
|
"transitionType": {
|
|
19546
|
-
"unsupported": true,
|
|
19547
19593
|
"$ref": "TransitionType",
|
|
19548
19594
|
"description": "Cause of the navigation."
|
|
19549
19595
|
},
|
|
19550
19596
|
"transitionQualifiers": {
|
|
19551
|
-
"unsupported": true,
|
|
19552
19597
|
"type": "array",
|
|
19553
19598
|
"description": "A list of transition qualifiers.",
|
|
19554
19599
|
"items": {
|
|
@@ -19770,12 +19815,10 @@
|
|
|
19770
19815
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
19771
19816
|
},
|
|
19772
19817
|
"transitionType": {
|
|
19773
|
-
"unsupported": true,
|
|
19774
19818
|
"$ref": "TransitionType",
|
|
19775
19819
|
"description": "Cause of the navigation."
|
|
19776
19820
|
},
|
|
19777
19821
|
"transitionQualifiers": {
|
|
19778
|
-
"unsupported": true,
|
|
19779
19822
|
"type": "array",
|
|
19780
19823
|
"description": "A list of transition qualifiers.",
|
|
19781
19824
|
"items": {
|
|
@@ -19849,12 +19892,10 @@
|
|
|
19849
19892
|
"description": "0 indicates the navigation happens in the tab content window; a positive value indicates navigation in a subframe. Frame IDs are unique within a tab."
|
|
19850
19893
|
},
|
|
19851
19894
|
"transitionType": {
|
|
19852
|
-
"unsupported": true,
|
|
19853
19895
|
"$ref": "TransitionType",
|
|
19854
19896
|
"description": "Cause of the navigation."
|
|
19855
19897
|
},
|
|
19856
19898
|
"transitionQualifiers": {
|
|
19857
|
-
"unsupported": true,
|
|
19858
19899
|
"type": "array",
|
|
19859
19900
|
"description": "A list of transition qualifiers.",
|
|
19860
19901
|
"items": {
|