webext-schema 5.0.5 → 5.0.6

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
@@ -41,12 +41,12 @@
41
41
  "eslint": "^8.25.0",
42
42
  "eslint-config-standard": "^17.0.0",
43
43
  "eslint-plugin-import": "^2.26.0",
44
- "eslint-plugin-jsdoc": "^39.3.6",
44
+ "eslint-plugin-jsdoc": "^39.3.14",
45
45
  "eslint-plugin-node": "^11.1.0",
46
- "eslint-plugin-promise": "^6.0.1",
47
- "mocha": "^10.0.0",
46
+ "eslint-plugin-promise": "^6.1.0",
47
+ "mocha": "^10.1.0",
48
48
  "nock": "^13.2.9",
49
49
  "npm-run-all": "^4.1.5"
50
50
  },
51
- "version": "5.0.5"
51
+ "version": "5.0.6"
52
52
  }
@@ -16262,15 +16262,9 @@
16262
16262
  "description": "The result of the script execution."
16263
16263
  },
16264
16264
  "error": {
16265
- "type": "object",
16265
+ "type": "any",
16266
16266
  "optional": true,
16267
- "description": "When the injection has failed, the error is exposed to the caller with this property.",
16268
- "properties": {
16269
- "message": {
16270
- "type": "string",
16271
- "description": "A message explaining why the injection has failed."
16272
- }
16273
- }
16267
+ "description": "The error property is set when the script execution failed. The value is typically an (Error) object with a message property, but could be any value (including primitives and undefined) if the script threw or rejected with such a value."
16274
16268
  }
16275
16269
  }
16276
16270
  },
@@ -13076,7 +13076,8 @@
13076
13076
  },
13077
13077
  "version": {
13078
13078
  "type": "string",
13079
- "optional": false
13079
+ "optional": false,
13080
+ "format": "versionString"
13080
13081
  },
13081
13082
  "homepage_url": {
13082
13083
  "type": "string",
@@ -3602,6 +3602,7 @@
3602
3602
  "type": "string"
3603
3603
  },
3604
3604
  {
3605
+ "name": "file",
3605
3606
  "type": "object",
3606
3607
  "isInstanceOf": "File",
3607
3608
  "additionalProperties": true
@@ -4344,19 +4345,12 @@
4344
4345
  }
4345
4346
  ],
4346
4347
  "optional": true,
4347
- "description": "Either an ImageDataType object defining a single icon used for all sizes or an ImageDataDictionary object defining dedicated icons for different sizes."
4348
+ "description": "Either an ImageDataType object defining a single icon used for all sizes or an ImageDataDictionary object defining dedicated icons for different sizes. At least the ``16px`` icon should be specified. The ``32px`` icon will be used on screens with a very high pixel density, if specified."
4348
4349
  },
4349
4350
  "path": {
4350
- "choices": [
4351
- {
4352
- "type": "string"
4353
- },
4354
- {
4355
- "$ref": "manifest.IconPath"
4356
- }
4357
- ],
4351
+ "$ref": "manifest.IconPath",
4358
4352
  "optional": true,
4359
- "description": "Either a relative image path defining a single icon used for all sizes or an IconPathDictionary object defining dedicated icons for different sizes."
4353
+ "description": "The icon for the action."
4360
4354
  }
4361
4355
  }
4362
4356
  },
@@ -6394,7 +6388,7 @@
6394
6388
  },
6395
6389
  "default_icon": {
6396
6390
  "$ref": "IconPath",
6397
- "description": "The icon for the messageDisplayAction.",
6391
+ "description": "The icon for the composeAction.",
6398
6392
  "optional": true
6399
6393
  },
6400
6394
  "theme_icons": {
@@ -6650,19 +6644,12 @@
6650
6644
  }
6651
6645
  ],
6652
6646
  "optional": true,
6653
- "description": "Either an ImageDataType object defining a single icon used for all sizes or an ImageDataDictionary object defining dedicated icons for different sizes."
6647
+ "description": "Either an ImageDataType object defining a single icon used for all sizes or an ImageDataDictionary object defining dedicated icons for different sizes. At least the ``16px`` icon should be specified. The ``32px`` icon will be used on screens with a very high pixel density, if specified."
6654
6648
  },
6655
6649
  "path": {
6656
- "choices": [
6657
- {
6658
- "type": "string"
6659
- },
6660
- {
6661
- "$ref": "manifest.IconPath"
6662
- }
6663
- ],
6650
+ "$ref": "manifest.IconPath",
6664
6651
  "optional": true,
6665
- "description": "Either a relative image path defining a single icon used for all sizes or an IconPathDictionary object defining dedicated icons for different sizes."
6652
+ "description": "The icon for the composeAction."
6666
6653
  }
6667
6654
  }
6668
6655
  },
@@ -8636,13 +8623,9 @@
8636
8623
  "description": "The unique ID to assign to this item. Mandatory for event pages. Cannot be the same as another ID for this extension."
8637
8624
  },
8638
8625
  "icons": {
8639
- "type": "object",
8626
+ "$ref": "manifest.IconPath",
8640
8627
  "optional": true,
8641
- "patternProperties": {
8642
- "^[1-9]\\d*$": {
8643
- "type": "string"
8644
- }
8645
- }
8628
+ "description": "Custom icons to display next to the menu item. Custom icons can only be set for items appearing in submenus."
8646
8629
  },
8647
8630
  "title": {
8648
8631
  "type": "string",
@@ -8771,13 +8754,8 @@
8771
8754
  "optional": true
8772
8755
  },
8773
8756
  "icons": {
8774
- "type": "object",
8775
- "optional": "omit-key-if-missing",
8776
- "patternProperties": {
8777
- "^[1-9]\\d*$": {
8778
- "type": "string"
8779
- }
8780
- }
8757
+ "$ref": "manifest.IconPath",
8758
+ "optional": "omit-key-if-missing"
8781
8759
  },
8782
8760
  "title": {
8783
8761
  "type": "string",
@@ -9470,19 +9448,12 @@
9470
9448
  }
9471
9449
  ],
9472
9450
  "optional": true,
9473
- "description": "Either an ImageDataType object defining a single icon used for all sizes or an ImageDataDictionary object defining dedicated icons for different sizes."
9451
+ "description": "Either an ImageDataType object defining a single icon used for all sizes or an ImageDataDictionary object defining dedicated icons for different sizes. At least the ``16px`` icon should be specified. The ``32px`` icon will be used on screens with a very high pixel density, if specified."
9474
9452
  },
9475
9453
  "path": {
9476
- "choices": [
9477
- {
9478
- "type": "string"
9479
- },
9480
- {
9481
- "$ref": "manifest.IconPath"
9482
- }
9483
- ],
9454
+ "$ref": "manifest.IconPath",
9484
9455
  "optional": true,
9485
- "description": "Either a relative image path defining a single icon used for all sizes or an IconPathDictionary object defining dedicated icons for different sizes."
9456
+ "description": "The icon for the messageDisplayAction."
9486
9457
  }
9487
9458
  }
9488
9459
  },
@@ -10696,7 +10667,7 @@
10696
10667
  }
10697
10668
  ],
10698
10669
  "optional": true,
10699
- "description": "Either a relative image path defining a single icon used for all sizes or an IconPathDictionary object defining dedicated icons for different sizes. At least the ``16px`` icon should be specified. The ``32px`` icon will be used on screens with a very high pixel density, if specified. Defaults to the extension icon, if set to an empty string."
10670
+ "description": "The icon for the button in the spaces toolbar. Defaults to the extension icon, if set to an empty string."
10700
10671
  },
10701
10672
  "themeIcons": {
10702
10673
  "type": "array",