webext-schema 4.1.2 → 4.1.3

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
@@ -32,21 +32,21 @@
32
32
  "commander": "^9.4.0",
33
33
  "decamelize": "^6.0.0",
34
34
  "json5": "^2.2.1",
35
- "node-fetch": "^3.2.9",
35
+ "node-fetch": "^3.2.10",
36
36
  "sinon": "^14.0.0"
37
37
  },
38
38
  "devDependencies": {
39
39
  "c8": "^7.12.0",
40
40
  "chai": "^4.3.6",
41
- "eslint": "^8.20.0",
41
+ "eslint": "^8.21.0",
42
42
  "eslint-config-standard": "^17.0.0",
43
43
  "eslint-plugin-import": "^2.26.0",
44
- "eslint-plugin-jsdoc": "^39.3.3",
44
+ "eslint-plugin-jsdoc": "^39.3.4",
45
45
  "eslint-plugin-node": "^11.1.0",
46
46
  "eslint-plugin-promise": "^6.0.0",
47
47
  "mocha": "^10.0.0",
48
48
  "nock": "^13.2.9",
49
49
  "npm-run-all": "^4.1.5"
50
50
  },
51
- "version": "4.1.2"
51
+ "version": "4.1.3"
52
52
  }
@@ -7000,14 +7000,12 @@
7000
7000
  "optional": true,
7001
7001
  "choices": [
7002
7002
  {
7003
- "type": "string",
7004
- "format": "relativeUrl"
7003
+ "type": "string"
7005
7004
  },
7006
7005
  {
7007
7006
  "type": "array",
7008
7007
  "items": {
7009
- "type": "string",
7010
- "format": "relativeUrl"
7008
+ "type": "string"
7011
7009
  }
7012
7010
  }
7013
7011
  ]
@@ -12880,20 +12878,43 @@
12880
12878
  {
12881
12879
  "min_manifest_version": 3,
12882
12880
  "type": "array",
12881
+ "postprocess": "webAccessibleMatching",
12882
+ "minItems": 1,
12883
12883
  "items": {
12884
12884
  "type": "object",
12885
12885
  "properties": {
12886
12886
  "resources": {
12887
12887
  "type": "array",
12888
+ "minItems": 1,
12888
12889
  "items": {
12889
12890
  "type": "string"
12890
12891
  }
12891
12892
  },
12892
12893
  "matches": {
12894
+ "optional": true,
12893
12895
  "type": "array",
12896
+ "minItems": 1,
12894
12897
  "items": {
12895
12898
  "$ref": "MatchPattern"
12896
12899
  }
12900
+ },
12901
+ "extension_ids": {
12902
+ "optional": true,
12903
+ "type": "array",
12904
+ "minItems": 1,
12905
+ "items": {
12906
+ "choices": [
12907
+ {
12908
+ "$ref": "ExtensionID"
12909
+ },
12910
+ {
12911
+ "type": "string",
12912
+ "enum": [
12913
+ "*"
12914
+ ]
12915
+ }
12916
+ ]
12917
+ }
12897
12918
  }
12898
12919
  }
12899
12920
  }
@@ -15941,10 +15962,9 @@
15941
15962
  },
15942
15963
  "persistAcrossSessions": {
15943
15964
  "type": "boolean",
15944
- "enum": [
15945
- false
15946
- ],
15947
- "description": "Specifies if this content script will persist into future sessions. This is currently NOT supported."
15965
+ "optional": true,
15966
+ "default": true,
15967
+ "description": "Specifies if this content script will persist into future sessions. Defaults to true."
15948
15968
  },
15949
15969
  "css": {
15950
15970
  "type": "array",
@@ -16110,10 +16130,7 @@
16110
16130
  "persistAcrossSessions": {
16111
16131
  "type": "boolean",
16112
16132
  "optional": true,
16113
- "enum": [
16114
- false
16115
- ],
16116
- "description": "Specifies if this content script will persist into future sessions. This is currently NOT supported."
16133
+ "description": "Specifies if this content script will persist into future sessions."
16117
16134
  }
16118
16135
  }
16119
16136
  }