webext-schema 5.1.10 → 5.1.11
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
CHANGED
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"types": "types/index.d.ts",
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@types/firefox-webext-browser": "^111.0.0",
|
|
17
|
-
"@types/node": "^18.15.
|
|
17
|
+
"@types/node": "^18.15.10",
|
|
18
18
|
"@types/sinon": "^10.0.13",
|
|
19
19
|
"camelize": "^1.0.1",
|
|
20
20
|
"commander": "^10.0.0",
|
|
21
21
|
"decamelize": "^6.0.0",
|
|
22
22
|
"json5": "^2.2.3",
|
|
23
|
-
"sinon": "^15.0.
|
|
23
|
+
"sinon": "^15.0.3"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"c8": "^7.13.0",
|
|
@@ -28,14 +28,14 @@
|
|
|
28
28
|
"eslint": "^8.36.0",
|
|
29
29
|
"eslint-config-standard": "^17.0.0",
|
|
30
30
|
"eslint-plugin-import": "^2.27.5",
|
|
31
|
-
"eslint-plugin-jsdoc": "^40.0
|
|
31
|
+
"eslint-plugin-jsdoc": "^40.1.0",
|
|
32
32
|
"eslint-plugin-node": "^11.1.0",
|
|
33
33
|
"eslint-plugin-promise": "^6.1.1",
|
|
34
|
-
"eslint-plugin-regexp": "^1.
|
|
34
|
+
"eslint-plugin-regexp": "^1.13.0",
|
|
35
35
|
"eslint-plugin-unicorn": "^46.0.0",
|
|
36
36
|
"mocha": "^10.2.0",
|
|
37
37
|
"npm-run-all": "^4.1.5",
|
|
38
|
-
"typescript": "^
|
|
38
|
+
"typescript": "^5.0.2",
|
|
39
39
|
"undici": "^5.21.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"update-mail": "node index update --channel=mail -i",
|
|
57
57
|
"update-release": "node index update --channel=release -i"
|
|
58
58
|
},
|
|
59
|
-
"version": "5.1.
|
|
59
|
+
"version": "5.1.11"
|
|
60
60
|
}
|
|
@@ -4087,7 +4087,7 @@
|
|
|
4087
4087
|
"default": false
|
|
4088
4088
|
},
|
|
4089
4089
|
"default_area": {
|
|
4090
|
-
"description": "Defines the location the action button will appear.
|
|
4090
|
+
"description": "Defines the location the action button will appear. This will always behave like <value>maintoolbar</value>. The <value>tabstoolbar</value> area should no longer be used.",
|
|
4091
4091
|
"type": "string",
|
|
4092
4092
|
"enum": [
|
|
4093
4093
|
"maintoolbar",
|
|
@@ -4109,6 +4109,26 @@
|
|
|
4109
4109
|
"normal"
|
|
4110
4110
|
],
|
|
4111
4111
|
"optional": true
|
|
4112
|
+
},
|
|
4113
|
+
"allowed_spaces": {
|
|
4114
|
+
"description": "Defines the spaces, in which the action button can appear in the toolbar of the normal Thunderbird window. Defaults to only allowing the action in the <value>mail</value> space. The <value>default</value> space is for tabs that don't belong to any space. If this is an empty array, the action button is shown in all spaces.",
|
|
4115
|
+
"type": "array",
|
|
4116
|
+
"items": {
|
|
4117
|
+
"type": "string",
|
|
4118
|
+
"enum": [
|
|
4119
|
+
"mail",
|
|
4120
|
+
"addressbook",
|
|
4121
|
+
"calendar",
|
|
4122
|
+
"tasks",
|
|
4123
|
+
"chat",
|
|
4124
|
+
"settings",
|
|
4125
|
+
"default"
|
|
4126
|
+
]
|
|
4127
|
+
},
|
|
4128
|
+
"default": [
|
|
4129
|
+
"mail"
|
|
4130
|
+
],
|
|
4131
|
+
"optional": true
|
|
4112
4132
|
}
|
|
4113
4133
|
}
|
|
4114
4134
|
},
|
|
@@ -4359,7 +4379,8 @@
|
|
|
4359
4379
|
"parameters": [
|
|
4360
4380
|
{
|
|
4361
4381
|
"name": "result",
|
|
4362
|
-
"type": "string"
|
|
4382
|
+
"type": "string",
|
|
4383
|
+
"optional": true
|
|
4363
4384
|
}
|
|
4364
4385
|
]
|
|
4365
4386
|
}
|
|
@@ -4664,7 +4685,7 @@
|
|
|
4664
4685
|
{
|
|
4665
4686
|
"name": "enable",
|
|
4666
4687
|
"type": "function",
|
|
4667
|
-
"description": "Enables the action button for a tab. By default, an action button is enabled.",
|
|
4688
|
+
"description": "Enables the action button for a specific tab (if a ``tabId`` is provided), or for all tabs which do not have a custom enable state. Once the enable state of a tab has been updated individually, all further changes to its state have to be done individually as well. By default, an action button is enabled.",
|
|
4668
4689
|
"async": "callback",
|
|
4669
4690
|
"parameters": [
|
|
4670
4691
|
{
|
|
@@ -4685,7 +4706,7 @@
|
|
|
4685
4706
|
{
|
|
4686
4707
|
"name": "disable",
|
|
4687
4708
|
"type": "function",
|
|
4688
|
-
"description": "Disables the action button for a tab.",
|
|
4709
|
+
"description": "Disables the action button for a specific tab (if a ``tabId`` is provided), or for all tabs which do not have a custom enable state. Once the enable state of a tab has been updated individually, all further changes to its state have to be done individually as well.",
|
|
4689
4710
|
"async": "callback",
|
|
4690
4711
|
"parameters": [
|
|
4691
4712
|
{
|
|
@@ -4743,7 +4764,6 @@
|
|
|
4743
4764
|
{
|
|
4744
4765
|
"name": "openPopup",
|
|
4745
4766
|
"type": "function",
|
|
4746
|
-
"requireUserInput": true,
|
|
4747
4767
|
"description": "Opens the action's popup window in the active window.",
|
|
4748
4768
|
"async": true,
|
|
4749
4769
|
"parameters": []
|
|
@@ -6801,7 +6821,8 @@
|
|
|
6801
6821
|
"parameters": [
|
|
6802
6822
|
{
|
|
6803
6823
|
"name": "result",
|
|
6804
|
-
"type": "string"
|
|
6824
|
+
"type": "string",
|
|
6825
|
+
"optional": true
|
|
6805
6826
|
}
|
|
6806
6827
|
]
|
|
6807
6828
|
}
|
|
@@ -9449,7 +9470,7 @@
|
|
|
9449
9470
|
"window"
|
|
9450
9471
|
],
|
|
9451
9472
|
"optional": true,
|
|
9452
|
-
"description": "Where to open the message. If not specified, the users preference is honoured.
|
|
9473
|
+
"description": "Where to open the message. If not specified, the users preference is honoured."
|
|
9453
9474
|
},
|
|
9454
9475
|
"active": {
|
|
9455
9476
|
"type": "boolean",
|
|
@@ -9766,7 +9787,8 @@
|
|
|
9766
9787
|
"parameters": [
|
|
9767
9788
|
{
|
|
9768
9789
|
"name": "result",
|
|
9769
|
-
"type": "string"
|
|
9790
|
+
"type": "string",
|
|
9791
|
+
"optional": true
|
|
9770
9792
|
}
|
|
9771
9793
|
]
|
|
9772
9794
|
}
|