5etools-utils 0.12.65 → 0.12.67

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/lib/TestJson.js CHANGED
@@ -16,6 +16,7 @@ const __dirname = url.fileURLToPath(new URL(".", import.meta.url));
16
16
 
17
17
  const _IS_SORT_RESULTS = !process.env.VET_TEST_JSON_RESULTS_UNSORTED;
18
18
  const _IS_TRIM_RESULTS = !process.env.VET_TEST_JSON_RESULTS_UNTRIMMED;
19
+ const _IS_VERBOSE = !process.env.VET_TEST_JSON_QUIET;
19
20
 
20
21
  const LOG_TAG = "JSON";
21
22
 
@@ -158,7 +159,7 @@ class JsonTester {
158
159
  }
159
160
 
160
161
  getFileErrors ({filePath} = {}) {
161
- Um.info(this._tagLog, `\tValidating "${filePath}"...`);
162
+ if (_IS_VERBOSE) Um.info(this._tagLog, `\tValidating "${filePath}"...`);
162
163
 
163
164
  const data = Uf.readJsonSync(filePath);
164
165
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.12.65",
3
+ "version": "0.12.67",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.45",
3
+ "version": "1.21.46",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -998,6 +998,8 @@
998
998
  "planar, inner",
999
999
  "planar, upper",
1000
1000
  "planar, lower",
1001
+ "planar, feywild",
1002
+ "planar, shadowfell",
1001
1003
  "planar, water",
1002
1004
  "planar, earth",
1003
1005
  "planar, fire",
@@ -2318,6 +2320,8 @@
2318
2320
  "planar, inner",
2319
2321
  "planar, upper",
2320
2322
  "planar, lower",
2323
+ "planar, feywild",
2324
+ "planar, shadowfell",
2321
2325
  "planar, water",
2322
2326
  "planar, earth",
2323
2327
  "planar, fire",
@@ -3643,6 +3647,8 @@
3643
3647
  "planar, inner",
3644
3648
  "planar, upper",
3645
3649
  "planar, lower",
3650
+ "planar, feywild",
3651
+ "planar, shadowfell",
3646
3652
  "planar, water",
3647
3653
  "planar, earth",
3648
3654
  "planar, fire",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.5",
6
+ "version": "1.9.6",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1084,7 +1084,8 @@
1084
1084
  "list-lower-roman",
1085
1085
  "list-upper-roman",
1086
1086
  "list-name",
1087
- "list-no-bullets"
1087
+ "list-no-bullets",
1088
+ "list-caption"
1088
1089
  ]
1089
1090
  },
1090
1091
  "start": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-additionalspells.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "title": "Util: Additional Spells",
6
6
  "$defs": {
7
7
  "_additionalSpellObject": {
@@ -42,7 +42,9 @@
42
42
  }
43
43
  ]
44
44
  }
45
- }
45
+ },
46
+ "minProperties": 1,
47
+ "additionalProperties": false
46
48
  },
47
49
  "_additionalSpellLevelObject": {
48
50
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.45",
3
+ "version": "1.21.46",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -998,6 +998,8 @@
998
998
  "planar, inner",
999
999
  "planar, upper",
1000
1000
  "planar, lower",
1001
+ "planar, feywild",
1002
+ "planar, shadowfell",
1001
1003
  "planar, water",
1002
1004
  "planar, earth",
1003
1005
  "planar, fire",
@@ -2318,6 +2320,8 @@
2318
2320
  "planar, inner",
2319
2321
  "planar, upper",
2320
2322
  "planar, lower",
2323
+ "planar, feywild",
2324
+ "planar, shadowfell",
2321
2325
  "planar, water",
2322
2326
  "planar, earth",
2323
2327
  "planar, fire",
@@ -3643,6 +3647,8 @@
3643
3647
  "planar, inner",
3644
3648
  "planar, upper",
3645
3649
  "planar, lower",
3650
+ "planar, feywild",
3651
+ "planar, shadowfell",
3646
3652
  "planar, water",
3647
3653
  "planar, earth",
3648
3654
  "planar, fire",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.5",
6
+ "version": "1.9.6",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1084,7 +1084,8 @@
1084
1084
  "list-lower-roman",
1085
1085
  "list-upper-roman",
1086
1086
  "list-name",
1087
- "list-no-bullets"
1087
+ "list-no-bullets",
1088
+ "list-caption"
1088
1089
  ]
1089
1090
  },
1090
1091
  "start": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-additionalspells.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "title": "Util: Additional Spells",
6
6
  "$defs": {
7
7
  "_additionalSpellObject": {
@@ -42,7 +42,9 @@
42
42
  }
43
43
  ]
44
44
  }
45
- }
45
+ },
46
+ "minProperties": 1,
47
+ "additionalProperties": false
46
48
  },
47
49
  "_additionalSpellLevelObject": {
48
50
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.45",
3
+ "version": "1.21.46",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1123,6 +1123,8 @@
1123
1123
  "planar, inner",
1124
1124
  "planar, upper",
1125
1125
  "planar, lower",
1126
+ "planar, feywild",
1127
+ "planar, shadowfell",
1126
1128
  "planar, water",
1127
1129
  "planar, earth",
1128
1130
  "planar, fire",
@@ -2473,6 +2475,8 @@
2473
2475
  "planar, inner",
2474
2476
  "planar, upper",
2475
2477
  "planar, lower",
2478
+ "planar, feywild",
2479
+ "planar, shadowfell",
2476
2480
  "planar, water",
2477
2481
  "planar, earth",
2478
2482
  "planar, fire",
@@ -3828,6 +3832,8 @@
3828
3832
  "planar, inner",
3829
3833
  "planar, upper",
3830
3834
  "planar, lower",
3835
+ "planar, feywild",
3836
+ "planar, shadowfell",
3831
3837
  "planar, water",
3832
3838
  "planar, earth",
3833
3839
  "planar, fire",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.5",
6
+ "version": "1.9.6",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1056,7 +1056,8 @@
1056
1056
  "list-lower-roman",
1057
1057
  "list-upper-roman",
1058
1058
  "list-name",
1059
- "list-no-bullets"
1059
+ "list-no-bullets",
1060
+ "list-caption"
1060
1061
  ]
1061
1062
  },
1062
1063
  "start": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-additionalspells.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "title": "Util: Additional Spells",
6
6
  "$defs": {
7
7
  "_additionalSpellObject": {
@@ -42,7 +42,9 @@
42
42
  }
43
43
  ]
44
44
  }
45
- }
45
+ },
46
+ "minProperties": 1,
47
+ "additionalProperties": false
46
48
  },
47
49
  "_additionalSpellLevelObject": {
48
50
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.45",
3
+ "version": "1.21.46",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1123,6 +1123,8 @@
1123
1123
  "planar, inner",
1124
1124
  "planar, upper",
1125
1125
  "planar, lower",
1126
+ "planar, feywild",
1127
+ "planar, shadowfell",
1126
1128
  "planar, water",
1127
1129
  "planar, earth",
1128
1130
  "planar, fire",
@@ -2473,6 +2475,8 @@
2473
2475
  "planar, inner",
2474
2476
  "planar, upper",
2475
2477
  "planar, lower",
2478
+ "planar, feywild",
2479
+ "planar, shadowfell",
2476
2480
  "planar, water",
2477
2481
  "planar, earth",
2478
2482
  "planar, fire",
@@ -3828,6 +3832,8 @@
3828
3832
  "planar, inner",
3829
3833
  "planar, upper",
3830
3834
  "planar, lower",
3835
+ "planar, feywild",
3836
+ "planar, shadowfell",
3831
3837
  "planar, water",
3832
3838
  "planar, earth",
3833
3839
  "planar, fire",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.5",
6
+ "version": "1.9.6",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1056,7 +1056,8 @@
1056
1056
  "list-lower-roman",
1057
1057
  "list-upper-roman",
1058
1058
  "list-name",
1059
- "list-no-bullets"
1059
+ "list-no-bullets",
1060
+ "list-caption"
1060
1061
  ]
1061
1062
  },
1062
1063
  "start": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-additionalspells.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "title": "Util: Additional Spells",
6
6
  "$defs": {
7
7
  "_additionalSpellObject": {
@@ -42,7 +42,9 @@
42
42
  }
43
43
  ]
44
44
  }
45
- }
45
+ },
46
+ "minProperties": 1,
47
+ "additionalProperties": false
46
48
  },
47
49
  "_additionalSpellLevelObject": {
48
50
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.45",
3
+ "version": "1.21.46",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1123,6 +1123,8 @@
1123
1123
  "planar, inner",
1124
1124
  "planar, upper",
1125
1125
  "planar, lower",
1126
+ "planar, feywild",
1127
+ "planar, shadowfell",
1126
1128
  "planar, water",
1127
1129
  "planar, earth",
1128
1130
  "planar, fire",
@@ -2485,6 +2487,8 @@
2485
2487
  "planar, inner",
2486
2488
  "planar, upper",
2487
2489
  "planar, lower",
2490
+ "planar, feywild",
2491
+ "planar, shadowfell",
2488
2492
  "planar, water",
2489
2493
  "planar, earth",
2490
2494
  "planar, fire",
@@ -3852,6 +3856,8 @@
3852
3856
  "planar, inner",
3853
3857
  "planar, upper",
3854
3858
  "planar, lower",
3859
+ "planar, feywild",
3860
+ "planar, shadowfell",
3855
3861
  "planar, water",
3856
3862
  "planar, earth",
3857
3863
  "planar, fire",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.5",
6
+ "version": "1.9.6",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1055,7 +1055,8 @@
1055
1055
  "list-lower-roman",
1056
1056
  "list-upper-roman",
1057
1057
  "list-name",
1058
- "list-no-bullets"
1058
+ "list-no-bullets",
1059
+ "list-caption"
1059
1060
  ]
1060
1061
  },
1061
1062
  "start": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-additionalspells.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "title": "Util: Additional Spells",
6
6
  "$defs": {
7
7
  "_additionalSpellObject": {
@@ -42,7 +42,9 @@
42
42
  }
43
43
  ]
44
44
  }
45
- }
45
+ },
46
+ "minProperties": 1,
47
+ "additionalProperties": false
46
48
  },
47
49
  "_additionalSpellLevelObject": {
48
50
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "version": "1.21.45",
3
+ "version": "1.21.46",
4
4
  "title": "Bestiary Schema",
5
5
  "$id": "bestiary.json",
6
6
  "type": "object",
@@ -1123,6 +1123,8 @@
1123
1123
  "planar, inner",
1124
1124
  "planar, upper",
1125
1125
  "planar, lower",
1126
+ "planar, feywild",
1127
+ "planar, shadowfell",
1126
1128
  "planar, water",
1127
1129
  "planar, earth",
1128
1130
  "planar, fire",
@@ -2485,6 +2487,8 @@
2485
2487
  "planar, inner",
2486
2488
  "planar, upper",
2487
2489
  "planar, lower",
2490
+ "planar, feywild",
2491
+ "planar, shadowfell",
2488
2492
  "planar, water",
2489
2493
  "planar, earth",
2490
2494
  "planar, fire",
@@ -3852,6 +3856,8 @@
3852
3856
  "planar, inner",
3853
3857
  "planar, upper",
3854
3858
  "planar, lower",
3859
+ "planar, feywild",
3860
+ "planar, shadowfell",
3855
3861
  "planar, water",
3856
3862
  "planar, earth",
3857
3863
  "planar, fire",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.9.5",
6
+ "version": "1.9.6",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -1055,7 +1055,8 @@
1055
1055
  "list-lower-roman",
1056
1056
  "list-upper-roman",
1057
1057
  "list-name",
1058
- "list-no-bullets"
1058
+ "list-no-bullets",
1059
+ "list-caption"
1059
1060
  ]
1060
1061
  },
1061
1062
  "start": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-additionalspells.json",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "title": "Util: Additional Spells",
6
6
  "$defs": {
7
7
  "_additionalSpellObject": {
@@ -42,7 +42,9 @@
42
42
  }
43
43
  ]
44
44
  }
45
- }
45
+ },
46
+ "minProperties": 1,
47
+ "additionalProperties": false
46
48
  },
47
49
  "_additionalSpellLevelObject": {
48
50
  "type": "object",