5etools-utils 0.8.8 → 0.8.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/lib/UtilClean.js CHANGED
@@ -1,6 +1,7 @@
1
1
  const _CLEAN_JSON_REPLACEMENTS = {
2
2
  "—": "\\u2014",
3
3
  "–": "\\u2013",
4
+ "‑": "\\u2011",
4
5
  "−": "\\u2212",
5
6
  "“": `\\"`,
6
7
  "”": `\\"`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.8.8",
3
+ "version": "0.8.10",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.10",
6
+ "version": "1.8.12",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -236,7 +236,17 @@
236
236
  }
237
237
  },
238
238
  "by": {
239
- "type": "string"
239
+ "oneOf": [
240
+ {
241
+ "type": "string"
242
+ },
243
+ {
244
+ "type": "array",
245
+ "items": {
246
+ "type": "string"
247
+ }
248
+ }
249
+ ]
240
250
  },
241
251
  "from": {
242
252
  "type": "string"
@@ -1800,6 +1810,9 @@
1800
1810
  "title": {
1801
1811
  "type": "string"
1802
1812
  },
1813
+ "credit": {
1814
+ "type": "string"
1815
+ },
1803
1816
  "altText": {
1804
1817
  "description": "For accessibility purposes",
1805
1818
  "type": "string"
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.10",
6
+ "version": "1.8.12",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -236,7 +236,17 @@
236
236
  }
237
237
  },
238
238
  "by": {
239
- "type": "string"
239
+ "oneOf": [
240
+ {
241
+ "type": "string"
242
+ },
243
+ {
244
+ "type": "array",
245
+ "items": {
246
+ "type": "string"
247
+ }
248
+ }
249
+ ]
240
250
  },
241
251
  "from": {
242
252
  "type": "string"
@@ -1800,6 +1810,9 @@
1800
1810
  "title": {
1801
1811
  "type": "string"
1802
1812
  },
1813
+ "credit": {
1814
+ "type": "string"
1815
+ },
1803
1816
  "altText": {
1804
1817
  "description": "For accessibility purposes",
1805
1818
  "type": "string"
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.10",
6
+ "version": "1.8.12",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -236,7 +236,17 @@
236
236
  }
237
237
  },
238
238
  "by": {
239
- "type": "string"
239
+ "oneOf": [
240
+ {
241
+ "type": "string"
242
+ },
243
+ {
244
+ "type": "array",
245
+ "items": {
246
+ "type": "string"
247
+ }
248
+ }
249
+ ]
240
250
  },
241
251
  "from": {
242
252
  "type": "string"
@@ -1772,6 +1782,9 @@
1772
1782
  "title": {
1773
1783
  "type": "string"
1774
1784
  },
1785
+ "credit": {
1786
+ "type": "string"
1787
+ },
1775
1788
  "altText": {
1776
1789
  "description": "For accessibility purposes",
1777
1790
  "type": "string"
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.10",
6
+ "version": "1.8.12",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -236,7 +236,17 @@
236
236
  }
237
237
  },
238
238
  "by": {
239
- "type": "string"
239
+ "oneOf": [
240
+ {
241
+ "type": "string"
242
+ },
243
+ {
244
+ "type": "array",
245
+ "items": {
246
+ "type": "string"
247
+ }
248
+ }
249
+ ]
240
250
  },
241
251
  "from": {
242
252
  "type": "string"
@@ -1772,6 +1782,9 @@
1772
1782
  "title": {
1773
1783
  "type": "string"
1774
1784
  },
1785
+ "credit": {
1786
+ "type": "string"
1787
+ },
1775
1788
  "altText": {
1776
1789
  "description": "For accessibility purposes",
1777
1790
  "type": "string"