5etools-utils 0.14.18 → 0.14.20

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.14.18",
3
+ "version": "0.14.20",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -22,7 +22,7 @@
22
22
  "build:dangerous:sources": "node node/fetch-5etools-sources.js",
23
23
  "build": "node node/compile-schemas.js",
24
24
  "test": "npm run lint:js && npm run test:js",
25
- "test:js": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
25
+ "test:js": "node --localstorage-file test/localstorage.tmp --experimental-vm-modules node_modules/jest/bin/jest.js",
26
26
  "lint": "npm run lint:js",
27
27
  "lint:js": "eslint lib node test --fix",
28
28
  "preversion": "npm t"
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.0.8",
5
+ "version": "1.0.9",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -573,6 +573,9 @@
573
573
  "mode": {
574
574
  "const": "addSpells"
575
575
  },
576
+ "name": {
577
+ "type": "string"
578
+ },
576
579
  "spells": {
577
580
  "type": "object",
578
581
  "patternProperties": {
@@ -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.17.34",
6
+ "version": "1.17.35",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -259,7 +259,8 @@
259
259
  "type": "string",
260
260
  "enum": [
261
261
  "subclass",
262
- "monsterFluff"
262
+ "monsterFluff",
263
+ "raceFluff"
263
264
  ]
264
265
  },
265
266
  "abilityScoreAbbreviation": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.0.8",
5
+ "version": "1.0.9",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -573,6 +573,9 @@
573
573
  "mode": {
574
574
  "const": "addSpells"
575
575
  },
576
+ "name": {
577
+ "type": "string"
578
+ },
576
579
  "spells": {
577
580
  "type": "object",
578
581
  "patternProperties": {
@@ -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.17.34",
6
+ "version": "1.17.35",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -259,7 +259,8 @@
259
259
  "type": "string",
260
260
  "enum": [
261
261
  "subclass",
262
- "monsterFluff"
262
+ "monsterFluff",
263
+ "raceFluff"
263
264
  ]
264
265
  },
265
266
  "abilityScoreAbbreviation": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.0.8",
5
+ "version": "1.0.9",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -573,6 +573,9 @@
573
573
  "mode": {
574
574
  "const": "addSpells"
575
575
  },
576
+ "name": {
577
+ "type": "string"
578
+ },
576
579
  "spells": {
577
580
  "type": "object",
578
581
  "patternProperties": {
@@ -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.17.34",
6
+ "version": "1.17.35",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -241,7 +241,8 @@
241
241
  "type": "string",
242
242
  "enum": [
243
243
  "subclass",
244
- "monsterFluff"
244
+ "monsterFluff",
245
+ "raceFluff"
245
246
  ]
246
247
  },
247
248
  "abilityScoreAbbreviation": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.0.8",
5
+ "version": "1.0.9",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -573,6 +573,9 @@
573
573
  "mode": {
574
574
  "const": "addSpells"
575
575
  },
576
+ "name": {
577
+ "type": "string"
578
+ },
576
579
  "spells": {
577
580
  "type": "object",
578
581
  "patternProperties": {
@@ -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.17.34",
6
+ "version": "1.17.35",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -241,7 +241,8 @@
241
241
  "type": "string",
242
242
  "enum": [
243
243
  "subclass",
244
- "monsterFluff"
244
+ "monsterFluff",
245
+ "raceFluff"
245
246
  ]
246
247
  },
247
248
  "abilityScoreAbbreviation": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.0.8",
5
+ "version": "1.0.9",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -573,6 +573,9 @@
573
573
  "mode": {
574
574
  "const": "addSpells"
575
575
  },
576
+ "name": {
577
+ "type": "string"
578
+ },
576
579
  "spells": {
577
580
  "type": "object",
578
581
  "patternProperties": {
@@ -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.17.34",
6
+ "version": "1.17.35",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -252,7 +252,8 @@
252
252
  "type": "string",
253
253
  "enum": [
254
254
  "subclass",
255
- "monsterFluff"
255
+ "monsterFluff",
256
+ "raceFluff"
256
257
  ]
257
258
  },
258
259
  "abilityScoreAbbreviation": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-copy.json",
4
4
  "title": "Util: Copy",
5
- "version": "1.0.8",
5
+ "version": "1.0.9",
6
6
  "$defs": {
7
7
  "_mod_renameArr_rename": {
8
8
  "type": "object",
@@ -573,6 +573,9 @@
573
573
  "mode": {
574
574
  "const": "addSpells"
575
575
  },
576
+ "name": {
577
+ "type": "string"
578
+ },
576
579
  "spells": {
577
580
  "type": "object",
578
581
  "patternProperties": {
@@ -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.17.34",
6
+ "version": "1.17.35",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -252,7 +252,8 @@
252
252
  "type": "string",
253
253
  "enum": [
254
254
  "subclass",
255
- "monsterFluff"
255
+ "monsterFluff",
256
+ "raceFluff"
256
257
  ]
257
258
  },
258
259
  "abilityScoreAbbreviation": {