webext-schema 4.1.1 → 4.1.2

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
@@ -29,24 +29,24 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "camelize": "^1.0.0",
32
- "commander": "^9.3.0",
32
+ "commander": "^9.4.0",
33
33
  "decamelize": "^6.0.0",
34
34
  "json5": "^2.2.1",
35
- "node-fetch": "^3.2.6",
35
+ "node-fetch": "^3.2.9",
36
36
  "sinon": "^14.0.0"
37
37
  },
38
38
  "devDependencies": {
39
- "c8": "^7.11.3",
39
+ "c8": "^7.12.0",
40
40
  "chai": "^4.3.6",
41
- "eslint": "^8.18.0",
41
+ "eslint": "^8.20.0",
42
42
  "eslint-config-standard": "^17.0.0",
43
43
  "eslint-plugin-import": "^2.26.0",
44
44
  "eslint-plugin-jsdoc": "^39.3.3",
45
45
  "eslint-plugin-node": "^11.1.0",
46
46
  "eslint-plugin-promise": "^6.0.0",
47
47
  "mocha": "^10.0.0",
48
- "nock": "^13.2.7",
48
+ "nock": "^13.2.9",
49
49
  "npm-run-all": "^4.1.5"
50
50
  },
51
- "version": "4.1.1"
51
+ "version": "4.1.2"
52
52
  }
@@ -11587,7 +11587,6 @@
11587
11587
  "screenshots",
11588
11588
  "seqstyle",
11589
11589
  "stackwalk",
11590
- "jstracer",
11591
11590
  "jsallocations",
11592
11591
  "nostacksampling",
11593
11592
  "preferencereads",
@@ -11601,6 +11600,7 @@
11601
11600
  "markersallthreads",
11602
11601
  "unregisteredthreads",
11603
11602
  "processcpu",
11603
+ "power",
11604
11604
  "responsiveness"
11605
11605
  ]
11606
11606
  },
@@ -12892,7 +12892,7 @@
12892
12892
  "matches": {
12893
12893
  "type": "array",
12894
12894
  "items": {
12895
- "$ref": "MatchPatternRestricted"
12895
+ "$ref": "MatchPattern"
12896
12896
  }
12897
12897
  }
12898
12898
  }
@@ -19320,6 +19320,8 @@
19320
19320
  "fingerprinting_content",
19321
19321
  "cryptomining",
19322
19322
  "cryptomining_content",
19323
+ "emailtracking",
19324
+ "emailtracking_content",
19323
19325
  "tracking",
19324
19326
  "tracking_ad",
19325
19327
  "tracking_analytics",
@@ -11587,7 +11587,6 @@
11587
11587
  "screenshots",
11588
11588
  "seqstyle",
11589
11589
  "stackwalk",
11590
- "jstracer",
11591
11590
  "jsallocations",
11592
11591
  "nostacksampling",
11593
11592
  "preferencereads",
@@ -11601,6 +11600,7 @@
11601
11600
  "markersallthreads",
11602
11601
  "unregisteredthreads",
11603
11602
  "processcpu",
11603
+ "power",
11604
11604
  "responsiveness"
11605
11605
  ]
11606
11606
  },
@@ -12892,7 +12892,7 @@
12892
12892
  "matches": {
12893
12893
  "type": "array",
12894
12894
  "items": {
12895
- "$ref": "MatchPatternRestricted"
12895
+ "$ref": "MatchPattern"
12896
12896
  }
12897
12897
  }
12898
12898
  }
@@ -19320,6 +19320,8 @@
19320
19320
  "fingerprinting_content",
19321
19321
  "cryptomining",
19322
19322
  "cryptomining_content",
19323
+ "emailtracking",
19324
+ "emailtracking_content",
19323
19325
  "tracking",
19324
19326
  "tracking_ad",
19325
19327
  "tracking_analytics",
@@ -3402,7 +3402,7 @@
3402
3402
  {
3403
3403
  "id": "ContactProperties",
3404
3404
  "type": "object",
3405
- "description": "A set of individual properties for a particular contact and/or its vCard string in the <code>vCard</code> member. The individual properties may either be `legacy properties <https://searchfox.org/comm-central/rev/8a1ae67088acf237dab2fd704db18589e7bf119e/mailnews/addrbook/modules/VCardUtils.jsm#295-334>`__ or custom properties (name may use a to z, A to Z, 1 to 9 and underscores).\n**Note:** Using individual properties is deprecated, get/set the <code>vCard</code> member instead.",
3405
+ "description": "A set of individual properties for a particular contact, and its vCard string. Further information can be found in :ref:`howto_contacts`.",
3406
3406
  "patternProperties": {
3407
3407
  "^\\w+$": {
3408
3408
  "choices": [
@@ -9763,19 +9763,19 @@
9763
9763
  "properties": {
9764
9764
  "key": {
9765
9765
  "type": "string",
9766
- "description": "Distinct tag identifier – use this string when referring to a tag"
9766
+ "description": "Unique tag identifier."
9767
9767
  },
9768
9768
  "tag": {
9769
9769
  "type": "string",
9770
- "description": "Human-readable tag name"
9770
+ "description": "Human-readable tag name."
9771
9771
  },
9772
9772
  "color": {
9773
9773
  "type": "string",
9774
- "description": "Tag color"
9774
+ "description": "Tag color."
9775
9775
  },
9776
9776
  "ordinal": {
9777
9777
  "type": "string",
9778
- "description": "Custom sort string (usually empty)"
9778
+ "description": "Custom sort string (usually empty)."
9779
9779
  }
9780
9780
  }
9781
9781
  },
@@ -10323,7 +10323,7 @@
10323
10323
  {
10324
10324
  "name": "createTag",
10325
10325
  "type": "function",
10326
- "description": "Creates a new message tag. Tagging a message will store the tag's key in the user's message.",
10326
+ "description": "Creates a new message tag. Tagging a message will store the tag's key in the user's message. Throws if the specified tag key is used already.",
10327
10327
  "async": true,
10328
10328
  "permissions": [
10329
10329
  "messagesTags"
@@ -10332,15 +10332,18 @@
10332
10332
  {
10333
10333
  "type": "string",
10334
10334
  "name": "key",
10335
+ "description": "Unique tag identifier (must use only alphanumeric characters).",
10335
10336
  "pattern": "^[$a-zA-Z0-9]+$"
10336
10337
  },
10337
10338
  {
10338
10339
  "type": "string",
10339
- "name": "tag"
10340
+ "name": "tag",
10341
+ "description": "Human-readable tag name."
10340
10342
  },
10341
10343
  {
10342
10344
  "type": "string",
10343
10345
  "name": "color",
10346
+ "description": "Tag color in hex format (i.e.: #000080 for navy blue)",
10344
10347
  "pattern": "^#[0-9a-f]{6}"
10345
10348
  }
10346
10349
  ]
@@ -10357,6 +10360,7 @@
10357
10360
  {
10358
10361
  "type": "string",
10359
10362
  "name": "key",
10363
+ "description": "Unique tag identifier.",
10360
10364
  "pattern": "^[$a-zA-Z0-9]+$"
10361
10365
  },
10362
10366
  {
@@ -10365,11 +10369,13 @@
10365
10369
  "properties": {
10366
10370
  "tag": {
10367
10371
  "type": "string",
10368
- "optional": "true"
10372
+ "optional": "true",
10373
+ "description": "Human-readable tag name."
10369
10374
  },
10370
10375
  "color": {
10371
10376
  "type": "string",
10372
10377
  "pattern": "^#[0-9a-f]{6}",
10378
+ "description": "Tag color in hex format (i.e.: #000080 for navy blue).",
10373
10379
  "optional": "true"
10374
10380
  }
10375
10381
  }
@@ -10671,7 +10677,6 @@
10671
10677
  "panel",
10672
10678
  "app",
10673
10679
  "devtools",
10674
- "addressBook",
10675
10680
  "messageCompose",
10676
10681
  "messageDisplay"
10677
10682
  ]
@@ -11503,7 +11508,6 @@
11503
11508
  "panel",
11504
11509
  "app",
11505
11510
  "devtools",
11506
- "addressBook",
11507
11511
  "messageCompose",
11508
11512
  "messageDisplay"
11509
11513
  ]