@ai-ecoverse/slicc-browsers 1.7.0 → 1.7.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-browsers",
3
- "version": "1.7.0",
3
+ "version": "1.7.2",
4
4
  "description": "SLICC's shared browser catalog, JSON schemas and discovery conformance corpus",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -64,12 +64,12 @@
64
64
  "trust": "npx fledgling sync -y --skip-publish",
65
65
  "trust:dry": "npx fledgling sync --dry-run -y --skip-publish",
66
66
  "release": "semantic-release",
67
- "test:guard": "node --test test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs && node scripts/test-guards.mjs",
67
+ "test:guard": "node --test test/integration/guard-fit.test.mjs test/integration/guard-chain.test.mjs test/integration/guard-validation.test.mjs test/integration/guard-liveness.test.mjs test/integration/guard-observations.test.mjs && node scripts/test-guards.mjs",
68
68
  "test:guard-target": "node --test test/integration/guard-runner.test.mjs",
69
69
  "test:unit:guard": "node --experimental-test-coverage --test --test-coverage-include=guard-runner.mjs --test-coverage-include=fixture-server.mjs --test-coverage-lines=100 test/unit/guard-*.test.mjs"
70
70
  },
71
71
  "devDependencies": {
72
- "@ai-ecoverse/slicc-shared-web": "1.17.0",
72
+ "@ai-ecoverse/slicc-shared-web": "1.20.0",
73
73
  "@biomejs/biome": "2.5.15",
74
74
  "ajv": "8.20.0",
75
75
  "ajv-formats": "3.0.1",
@@ -1062,20 +1062,7 @@
1062
1062
  "required": ["blocked", "observer"],
1063
1063
  "properties": {
1064
1064
  "blocked": {
1065
- "type": "object",
1066
- "additionalProperties": false,
1067
- "required": ["url"],
1068
- "properties": {
1069
- "url": {
1070
- "$ref": "#/$defs/url"
1071
- },
1072
- "session": {
1073
- "enum": ["page", "child"]
1074
- },
1075
- "frame": {
1076
- "type": "boolean"
1077
- }
1078
- }
1065
+ "$ref": "#/$defs/blocked"
1079
1066
  },
1080
1067
  "observer": {
1081
1068
  "const": "client"
@@ -1088,20 +1075,7 @@
1088
1075
  "required": ["blocked", "observer"],
1089
1076
  "properties": {
1090
1077
  "blocked": {
1091
- "type": "object",
1092
- "additionalProperties": false,
1093
- "required": ["url"],
1094
- "properties": {
1095
- "url": {
1096
- "$ref": "#/$defs/url"
1097
- },
1098
- "session": {
1099
- "enum": ["page", "child"]
1100
- },
1101
- "frame": {
1102
- "type": "boolean"
1103
- }
1104
- }
1078
+ "$ref": "#/$defs/blocked"
1105
1079
  },
1106
1080
  "observer": {
1107
1081
  "const": "unguarded"
@@ -1216,6 +1190,21 @@
1216
1190
  }
1217
1191
  ]
1218
1192
  },
1193
+ "blocked": {
1194
+ "type": "object",
1195
+ "additionalProperties": false,
1196
+ "oneOf": [{ "required": ["url"] }, { "required": ["anyOf"] }],
1197
+ "properties": {
1198
+ "url": { "$ref": "#/$defs/url" },
1199
+ "anyOf": {
1200
+ "type": "array",
1201
+ "minItems": 1,
1202
+ "items": { "$ref": "#/$defs/url" }
1203
+ },
1204
+ "session": { "enum": ["page", "child"] },
1205
+ "frame": { "type": "boolean" }
1206
+ }
1207
+ },
1219
1208
  "liveCheck": {
1220
1209
  "type": "object",
1221
1210
  "oneOf": [
@@ -1620,20 +1609,7 @@
1620
1609
  "required": ["blocked", "observer"],
1621
1610
  "properties": {
1622
1611
  "blocked": {
1623
- "type": "object",
1624
- "additionalProperties": false,
1625
- "required": ["url"],
1626
- "properties": {
1627
- "url": {
1628
- "$ref": "#/$defs/url"
1629
- },
1630
- "session": {
1631
- "enum": ["page", "child"]
1632
- },
1633
- "frame": {
1634
- "type": "boolean"
1635
- }
1636
- }
1612
+ "$ref": "#/$defs/blocked"
1637
1613
  },
1638
1614
  "observer": {
1639
1615
  "const": "client"
@@ -1646,20 +1622,7 @@
1646
1622
  "required": ["blocked", "observer"],
1647
1623
  "properties": {
1648
1624
  "blocked": {
1649
- "type": "object",
1650
- "additionalProperties": false,
1651
- "required": ["url"],
1652
- "properties": {
1653
- "url": {
1654
- "$ref": "#/$defs/url"
1655
- },
1656
- "session": {
1657
- "enum": ["page", "child"]
1658
- },
1659
- "frame": {
1660
- "type": "boolean"
1661
- }
1662
- }
1625
+ "$ref": "#/$defs/blocked"
1663
1626
  },
1664
1627
  "observer": {
1665
1628
  "const": "unguarded"