5etools-utils 0.8.34 → 0.8.35

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": "5etools-utils",
3
- "version": "0.8.34",
3
+ "version": "0.8.35",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -40,7 +40,7 @@
40
40
  "description": "A set of properties describing a \"source.\" A source could be, for example, a homebrew PDF, book, or blog post.",
41
41
  "properties": {
42
42
  "json": {
43
- "$ref": "util.json#/$defs/source"
43
+ "$ref": "util.json#/$defs/sourceJson"
44
44
  },
45
45
  "abbreviation": {
46
46
  "type": "string",
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.26",
6
+ "version": "1.13.28",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -45,6 +45,11 @@
45
45
  "description": "An identifying string, as seen in the JSON in \"source\" fields.",
46
46
  "pattern": "^[-a-zA-Z0-9 :&+!]+$"
47
47
  },
48
+ "sourceJson": {
49
+ "type": "string",
50
+ "description": "An identifying string, as seen in the JSON in \"source\" fields.",
51
+ "pattern": "^(?!UA|XUA)[-a-zA-Z0-9 :&+!]+$"
52
+ },
48
53
  "page": {
49
54
  "oneOf": [
50
55
  {
@@ -241,11 +246,21 @@
241
246
  "infernal": {
242
247
  "const": true
243
248
  },
244
- "gith": true,
245
- "gnomish": true,
246
- "goblin": true,
247
- "halfling": true,
248
- "orc": true,
249
+ "gith": {
250
+ "const": true
251
+ },
252
+ "gnomish": {
253
+ "const": true
254
+ },
255
+ "goblin": {
256
+ "const": true
257
+ },
258
+ "halfling": {
259
+ "const": true
260
+ },
261
+ "orc": {
262
+ "const": true
263
+ },
249
264
  "primordial": {
250
265
  "const": true
251
266
  },
@@ -38,7 +38,7 @@
38
38
  "description": "A set of properties describing a \"source.\" A source could be, for example, a homebrew PDF, book, or blog post.",
39
39
  "properties": {
40
40
  "json": {
41
- "$ref": "util.json#/$defs/source"
41
+ "$ref": "util.json#/$defs/sourceJson"
42
42
  },
43
43
  "abbreviation": {
44
44
  "type": "string",
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.26",
6
+ "version": "1.13.28",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -45,6 +45,11 @@
45
45
  "description": "An identifying string, as seen in the JSON in \"source\" fields.",
46
46
  "pattern": "^[-a-zA-Z0-9 :&+!]+$"
47
47
  },
48
+ "sourceJson": {
49
+ "type": "string",
50
+ "description": "An identifying string, as seen in the JSON in \"source\" fields.",
51
+ "pattern": "^(?!UA|XUA)[-a-zA-Z0-9 :&+!]+$"
52
+ },
48
53
  "page": {
49
54
  "oneOf": [
50
55
  {
@@ -241,11 +246,21 @@
241
246
  "infernal": {
242
247
  "const": true
243
248
  },
244
- "gith": true,
245
- "gnomish": true,
246
- "goblin": true,
247
- "halfling": true,
248
- "orc": true,
249
+ "gith": {
250
+ "const": true
251
+ },
252
+ "gnomish": {
253
+ "const": true
254
+ },
255
+ "goblin": {
256
+ "const": true
257
+ },
258
+ "halfling": {
259
+ "const": true
260
+ },
261
+ "orc": {
262
+ "const": true
263
+ },
249
264
  "primordial": {
250
265
  "const": true
251
266
  },
@@ -40,7 +40,7 @@
40
40
  "description": "A set of properties describing a \"source.\" A source could be, for example, a homebrew PDF, book, or blog post.",
41
41
  "properties": {
42
42
  "json": {
43
- "$ref": "util.json#/$defs/source"
43
+ "$ref": "util.json#/$defs/sourceJson"
44
44
  },
45
45
  "abbreviation": {
46
46
  "type": "string",
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.26",
6
+ "version": "1.13.28",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -45,6 +45,11 @@
45
45
  "description": "An identifying string, as seen in the JSON in \"source\" fields.",
46
46
  "pattern": "^[-a-zA-Z0-9 :&+!]+$"
47
47
  },
48
+ "sourceJson": {
49
+ "type": "string",
50
+ "description": "An identifying string, as seen in the JSON in \"source\" fields.",
51
+ "pattern": "^(?!UA|XUA)[-a-zA-Z0-9 :&+!]+$"
52
+ },
48
53
  "page": {
49
54
  "type": "integer"
50
55
  },
@@ -231,11 +236,21 @@
231
236
  "infernal": {
232
237
  "const": true
233
238
  },
234
- "gith": true,
235
- "gnomish": true,
236
- "goblin": true,
237
- "halfling": true,
238
- "orc": true,
239
+ "gith": {
240
+ "const": true
241
+ },
242
+ "gnomish": {
243
+ "const": true
244
+ },
245
+ "goblin": {
246
+ "const": true
247
+ },
248
+ "halfling": {
249
+ "const": true
250
+ },
251
+ "orc": {
252
+ "const": true
253
+ },
239
254
  "primordial": {
240
255
  "const": true
241
256
  },
@@ -38,7 +38,7 @@
38
38
  "description": "A set of properties describing a \"source.\" A source could be, for example, a homebrew PDF, book, or blog post.",
39
39
  "properties": {
40
40
  "json": {
41
- "$ref": "util.json#/$defs/source"
41
+ "$ref": "util.json#/$defs/sourceJson"
42
42
  },
43
43
  "abbreviation": {
44
44
  "type": "string",
@@ -3,7 +3,7 @@
3
3
  "$id": "util.json",
4
4
  "title": "Util",
5
5
  "description": "Utility definitions to be used in other schemas.",
6
- "version": "1.13.26",
6
+ "version": "1.13.28",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -45,6 +45,11 @@
45
45
  "description": "An identifying string, as seen in the JSON in \"source\" fields.",
46
46
  "pattern": "^[-a-zA-Z0-9 :&+!]+$"
47
47
  },
48
+ "sourceJson": {
49
+ "type": "string",
50
+ "description": "An identifying string, as seen in the JSON in \"source\" fields.",
51
+ "pattern": "^(?!UA|XUA)[-a-zA-Z0-9 :&+!]+$"
52
+ },
48
53
  "page": {
49
54
  "type": "integer"
50
55
  },
@@ -231,11 +236,21 @@
231
236
  "infernal": {
232
237
  "const": true
233
238
  },
234
- "gith": true,
235
- "gnomish": true,
236
- "goblin": true,
237
- "halfling": true,
238
- "orc": true,
239
+ "gith": {
240
+ "const": true
241
+ },
242
+ "gnomish": {
243
+ "const": true
244
+ },
245
+ "goblin": {
246
+ "const": true
247
+ },
248
+ "halfling": {
249
+ "const": true
250
+ },
251
+ "orc": {
252
+ "const": true
253
+ },
239
254
  "primordial": {
240
255
  "const": true
241
256
  },