5etools-utils 0.8.9 → 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.9",
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.11",
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"
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.11",
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"
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.11",
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"
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.11",
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"