5etools-utils 0.17.9 → 0.17.10

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.17.9",
3
+ "version": "0.17.10",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "recipes.json",
4
- "version": "1.5.11",
4
+ "version": "1.5.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "recipeData": {
@@ -151,6 +151,8 @@
151
151
  },
152
152
  "miscTags": {
153
153
  "type": "array",
154
+ "uniqueItems": true,
155
+ "minItems": 1,
154
156
  "items": {
155
157
  "type": "string",
156
158
  "enum": [
@@ -161,6 +163,8 @@
161
163
  },
162
164
  "allergenGroups": {
163
165
  "type": "array",
166
+ "uniqueItems": true,
167
+ "minItems": 1,
164
168
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
165
169
  "items": {
166
170
  "type": "string",
@@ -185,6 +189,8 @@
185
189
  },
186
190
  "dishTypes": {
187
191
  "type": "array",
192
+ "uniqueItems": true,
193
+ "minItems": 1,
188
194
  "items": {
189
195
  "type": "string",
190
196
  "examples": [
@@ -371,6 +377,8 @@
371
377
  },
372
378
  "miscTags": {
373
379
  "type": "array",
380
+ "uniqueItems": true,
381
+ "minItems": 1,
374
382
  "items": {
375
383
  "type": "string",
376
384
  "enum": [
@@ -381,6 +389,8 @@
381
389
  },
382
390
  "allergenGroups": {
383
391
  "type": "array",
392
+ "uniqueItems": true,
393
+ "minItems": 1,
384
394
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
385
395
  "items": {
386
396
  "type": "string",
@@ -405,6 +415,8 @@
405
415
  },
406
416
  "dishTypes": {
407
417
  "type": "array",
418
+ "uniqueItems": true,
419
+ "minItems": 1,
408
420
  "items": {
409
421
  "type": "string",
410
422
  "examples": [
@@ -595,6 +607,8 @@
595
607
  },
596
608
  "miscTags": {
597
609
  "type": "array",
610
+ "uniqueItems": true,
611
+ "minItems": 1,
598
612
  "items": {
599
613
  "type": "string",
600
614
  "enum": [
@@ -605,6 +619,8 @@
605
619
  },
606
620
  "allergenGroups": {
607
621
  "type": "array",
622
+ "uniqueItems": true,
623
+ "minItems": 1,
608
624
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
609
625
  "items": {
610
626
  "type": "string",
@@ -629,6 +645,8 @@
629
645
  },
630
646
  "dishTypes": {
631
647
  "type": "array",
648
+ "uniqueItems": true,
649
+ "minItems": 1,
632
650
  "items": {
633
651
  "type": "string",
634
652
  "examples": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "recipes.json",
4
- "version": "1.5.11",
4
+ "version": "1.5.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "recipeData": {
@@ -151,6 +151,8 @@
151
151
  },
152
152
  "miscTags": {
153
153
  "type": "array",
154
+ "uniqueItems": true,
155
+ "minItems": 1,
154
156
  "items": {
155
157
  "type": "string",
156
158
  "enum": [
@@ -161,6 +163,8 @@
161
163
  },
162
164
  "allergenGroups": {
163
165
  "type": "array",
166
+ "uniqueItems": true,
167
+ "minItems": 1,
164
168
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
165
169
  "items": {
166
170
  "type": "string",
@@ -185,6 +189,8 @@
185
189
  },
186
190
  "dishTypes": {
187
191
  "type": "array",
192
+ "uniqueItems": true,
193
+ "minItems": 1,
188
194
  "items": {
189
195
  "type": "string",
190
196
  "examples": [
@@ -371,6 +377,8 @@
371
377
  },
372
378
  "miscTags": {
373
379
  "type": "array",
380
+ "uniqueItems": true,
381
+ "minItems": 1,
374
382
  "items": {
375
383
  "type": "string",
376
384
  "enum": [
@@ -381,6 +389,8 @@
381
389
  },
382
390
  "allergenGroups": {
383
391
  "type": "array",
392
+ "uniqueItems": true,
393
+ "minItems": 1,
384
394
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
385
395
  "items": {
386
396
  "type": "string",
@@ -405,6 +415,8 @@
405
415
  },
406
416
  "dishTypes": {
407
417
  "type": "array",
418
+ "uniqueItems": true,
419
+ "minItems": 1,
408
420
  "items": {
409
421
  "type": "string",
410
422
  "examples": [
@@ -595,6 +607,8 @@
595
607
  },
596
608
  "miscTags": {
597
609
  "type": "array",
610
+ "uniqueItems": true,
611
+ "minItems": 1,
598
612
  "items": {
599
613
  "type": "string",
600
614
  "enum": [
@@ -605,6 +619,8 @@
605
619
  },
606
620
  "allergenGroups": {
607
621
  "type": "array",
622
+ "uniqueItems": true,
623
+ "minItems": 1,
608
624
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
609
625
  "items": {
610
626
  "type": "string",
@@ -629,6 +645,8 @@
629
645
  },
630
646
  "dishTypes": {
631
647
  "type": "array",
648
+ "uniqueItems": true,
649
+ "minItems": 1,
632
650
  "items": {
633
651
  "type": "string",
634
652
  "examples": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "recipes.json",
4
- "version": "1.5.11",
4
+ "version": "1.5.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "recipeData": {
@@ -157,6 +157,8 @@
157
157
  },
158
158
  "miscTags": {
159
159
  "type": "array",
160
+ "uniqueItems": true,
161
+ "minItems": 1,
160
162
  "items": {
161
163
  "type": "string",
162
164
  "enum": [
@@ -167,6 +169,8 @@
167
169
  },
168
170
  "allergenGroups": {
169
171
  "type": "array",
172
+ "uniqueItems": true,
173
+ "minItems": 1,
170
174
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
171
175
  "items": {
172
176
  "type": "string",
@@ -191,6 +195,8 @@
191
195
  },
192
196
  "dishTypes": {
193
197
  "type": "array",
198
+ "uniqueItems": true,
199
+ "minItems": 1,
194
200
  "items": {
195
201
  "type": "string",
196
202
  "enum": [
@@ -374,6 +380,8 @@
374
380
  },
375
381
  "miscTags": {
376
382
  "type": "array",
383
+ "uniqueItems": true,
384
+ "minItems": 1,
377
385
  "items": {
378
386
  "type": "string",
379
387
  "enum": [
@@ -384,6 +392,8 @@
384
392
  },
385
393
  "allergenGroups": {
386
394
  "type": "array",
395
+ "uniqueItems": true,
396
+ "minItems": 1,
387
397
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
388
398
  "items": {
389
399
  "type": "string",
@@ -408,6 +418,8 @@
408
418
  },
409
419
  "dishTypes": {
410
420
  "type": "array",
421
+ "uniqueItems": true,
422
+ "minItems": 1,
411
423
  "items": {
412
424
  "type": "string",
413
425
  "enum": [
@@ -595,6 +607,8 @@
595
607
  },
596
608
  "miscTags": {
597
609
  "type": "array",
610
+ "uniqueItems": true,
611
+ "minItems": 1,
598
612
  "items": {
599
613
  "type": "string",
600
614
  "enum": [
@@ -605,6 +619,8 @@
605
619
  },
606
620
  "allergenGroups": {
607
621
  "type": "array",
622
+ "uniqueItems": true,
623
+ "minItems": 1,
608
624
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
609
625
  "items": {
610
626
  "type": "string",
@@ -629,6 +645,8 @@
629
645
  },
630
646
  "dishTypes": {
631
647
  "type": "array",
648
+ "uniqueItems": true,
649
+ "minItems": 1,
632
650
  "items": {
633
651
  "type": "string",
634
652
  "enum": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "recipes.json",
4
- "version": "1.5.11",
4
+ "version": "1.5.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "recipeData": {
@@ -157,6 +157,8 @@
157
157
  },
158
158
  "miscTags": {
159
159
  "type": "array",
160
+ "uniqueItems": true,
161
+ "minItems": 1,
160
162
  "items": {
161
163
  "type": "string",
162
164
  "enum": [
@@ -167,6 +169,8 @@
167
169
  },
168
170
  "allergenGroups": {
169
171
  "type": "array",
172
+ "uniqueItems": true,
173
+ "minItems": 1,
170
174
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
171
175
  "items": {
172
176
  "type": "string",
@@ -191,6 +195,8 @@
191
195
  },
192
196
  "dishTypes": {
193
197
  "type": "array",
198
+ "uniqueItems": true,
199
+ "minItems": 1,
194
200
  "items": {
195
201
  "type": "string",
196
202
  "enum": [
@@ -374,6 +380,8 @@
374
380
  },
375
381
  "miscTags": {
376
382
  "type": "array",
383
+ "uniqueItems": true,
384
+ "minItems": 1,
377
385
  "items": {
378
386
  "type": "string",
379
387
  "enum": [
@@ -384,6 +392,8 @@
384
392
  },
385
393
  "allergenGroups": {
386
394
  "type": "array",
395
+ "uniqueItems": true,
396
+ "minItems": 1,
387
397
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
388
398
  "items": {
389
399
  "type": "string",
@@ -408,6 +418,8 @@
408
418
  },
409
419
  "dishTypes": {
410
420
  "type": "array",
421
+ "uniqueItems": true,
422
+ "minItems": 1,
411
423
  "items": {
412
424
  "type": "string",
413
425
  "enum": [
@@ -595,6 +607,8 @@
595
607
  },
596
608
  "miscTags": {
597
609
  "type": "array",
610
+ "uniqueItems": true,
611
+ "minItems": 1,
598
612
  "items": {
599
613
  "type": "string",
600
614
  "enum": [
@@ -605,6 +619,8 @@
605
619
  },
606
620
  "allergenGroups": {
607
621
  "type": "array",
622
+ "uniqueItems": true,
623
+ "minItems": 1,
608
624
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
609
625
  "items": {
610
626
  "type": "string",
@@ -629,6 +645,8 @@
629
645
  },
630
646
  "dishTypes": {
631
647
  "type": "array",
648
+ "uniqueItems": true,
649
+ "minItems": 1,
632
650
  "items": {
633
651
  "type": "string",
634
652
  "enum": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "recipes.json",
4
- "version": "1.5.11",
4
+ "version": "1.5.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "recipeData": {
@@ -146,6 +146,8 @@
146
146
  },
147
147
  "miscTags": {
148
148
  "type": "array",
149
+ "uniqueItems": true,
150
+ "minItems": 1,
149
151
  "items": {
150
152
  "type": "string",
151
153
  "enum": [
@@ -156,6 +158,8 @@
156
158
  },
157
159
  "allergenGroups": {
158
160
  "type": "array",
161
+ "uniqueItems": true,
162
+ "minItems": 1,
159
163
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
160
164
  "items": {
161
165
  "type": "string",
@@ -180,6 +184,8 @@
180
184
  },
181
185
  "dishTypes": {
182
186
  "type": "array",
187
+ "uniqueItems": true,
188
+ "minItems": 1,
183
189
  "items": {
184
190
  "type": "string",
185
191
  "enum": [
@@ -352,6 +358,8 @@
352
358
  },
353
359
  "miscTags": {
354
360
  "type": "array",
361
+ "uniqueItems": true,
362
+ "minItems": 1,
355
363
  "items": {
356
364
  "type": "string",
357
365
  "enum": [
@@ -362,6 +370,8 @@
362
370
  },
363
371
  "allergenGroups": {
364
372
  "type": "array",
373
+ "uniqueItems": true,
374
+ "minItems": 1,
365
375
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
366
376
  "items": {
367
377
  "type": "string",
@@ -386,6 +396,8 @@
386
396
  },
387
397
  "dishTypes": {
388
398
  "type": "array",
399
+ "uniqueItems": true,
400
+ "minItems": 1,
389
401
  "items": {
390
402
  "type": "string",
391
403
  "enum": [
@@ -562,6 +574,8 @@
562
574
  },
563
575
  "miscTags": {
564
576
  "type": "array",
577
+ "uniqueItems": true,
578
+ "minItems": 1,
565
579
  "items": {
566
580
  "type": "string",
567
581
  "enum": [
@@ -572,6 +586,8 @@
572
586
  },
573
587
  "allergenGroups": {
574
588
  "type": "array",
589
+ "uniqueItems": true,
590
+ "minItems": 1,
575
591
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
576
592
  "items": {
577
593
  "type": "string",
@@ -596,6 +612,8 @@
596
612
  },
597
613
  "dishTypes": {
598
614
  "type": "array",
615
+ "uniqueItems": true,
616
+ "minItems": 1,
599
617
  "items": {
600
618
  "type": "string",
601
619
  "enum": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "recipes.json",
4
- "version": "1.5.11",
4
+ "version": "1.5.12",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "recipeData": {
@@ -146,6 +146,8 @@
146
146
  },
147
147
  "miscTags": {
148
148
  "type": "array",
149
+ "uniqueItems": true,
150
+ "minItems": 1,
149
151
  "items": {
150
152
  "type": "string",
151
153
  "enum": [
@@ -156,6 +158,8 @@
156
158
  },
157
159
  "allergenGroups": {
158
160
  "type": "array",
161
+ "uniqueItems": true,
162
+ "minItems": 1,
159
163
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
160
164
  "items": {
161
165
  "type": "string",
@@ -180,6 +184,8 @@
180
184
  },
181
185
  "dishTypes": {
182
186
  "type": "array",
187
+ "uniqueItems": true,
188
+ "minItems": 1,
183
189
  "items": {
184
190
  "type": "string",
185
191
  "enum": [
@@ -352,6 +358,8 @@
352
358
  },
353
359
  "miscTags": {
354
360
  "type": "array",
361
+ "uniqueItems": true,
362
+ "minItems": 1,
355
363
  "items": {
356
364
  "type": "string",
357
365
  "enum": [
@@ -362,6 +370,8 @@
362
370
  },
363
371
  "allergenGroups": {
364
372
  "type": "array",
373
+ "uniqueItems": true,
374
+ "minItems": 1,
365
375
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
366
376
  "items": {
367
377
  "type": "string",
@@ -386,6 +396,8 @@
386
396
  },
387
397
  "dishTypes": {
388
398
  "type": "array",
399
+ "uniqueItems": true,
400
+ "minItems": 1,
389
401
  "items": {
390
402
  "type": "string",
391
403
  "enum": [
@@ -562,6 +574,8 @@
562
574
  },
563
575
  "miscTags": {
564
576
  "type": "array",
577
+ "uniqueItems": true,
578
+ "minItems": 1,
565
579
  "items": {
566
580
  "type": "string",
567
581
  "enum": [
@@ -572,6 +586,8 @@
572
586
  },
573
587
  "allergenGroups": {
574
588
  "type": "array",
589
+ "uniqueItems": true,
590
+ "minItems": 1,
575
591
  "description": "One of the 14 major food allergens; see https://erudus.com/food-allergens for more information.",
576
592
  "items": {
577
593
  "type": "string",
@@ -596,6 +612,8 @@
596
612
  },
597
613
  "dishTypes": {
598
614
  "type": "array",
615
+ "uniqueItems": true,
616
+ "minItems": 1,
599
617
  "items": {
600
618
  "type": "string",
601
619
  "enum": [