5etools-utils 0.7.4 → 0.7.6

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
@@ -5,6 +5,7 @@ const _CLEAN_JSON_REPLACEMENTS = {
5
5
  "“": `\\"`,
6
6
  "”": `\\"`,
7
7
  "’": "'",
8
+ "‘": "'",
8
9
  "…": "...",
9
10
  " ": "\\u00A0",
10
11
  "ff": "ff",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.7.4",
3
+ "version": "0.7.6",
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": "foundry-class.json",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "entryDataObject": {
@@ -96,6 +96,9 @@
96
96
  "isIgnored": {
97
97
  "const": true
98
98
  },
99
+ "ignoreSrdEffects": {
100
+ "const": true
101
+ },
99
102
  "actorDataMod": {
100
103
  "type": "object"
101
104
  },
@@ -171,6 +174,9 @@
171
174
  "isIgnored": {
172
175
  "const": true
173
176
  },
177
+ "ignoreSrdEffects": {
178
+ "const": true
179
+ },
174
180
  "actorDataMod": {
175
181
  "type": "object"
176
182
  },
@@ -248,6 +254,9 @@
248
254
  "isIgnored": {
249
255
  "const": true
250
256
  },
257
+ "ignoreSrdEffects": {
258
+ "const": true
259
+ },
251
260
  "actorDataMod": {
252
261
  "type": "object"
253
262
  },
@@ -332,6 +341,9 @@
332
341
  "isIgnored": {
333
342
  "const": true
334
343
  },
344
+ "ignoreSrdEffects": {
345
+ "const": true
346
+ },
335
347
  "actorDataMod": {
336
348
  "type": "object"
337
349
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.8",
6
+ "version": "1.8.9",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -705,10 +705,14 @@
705
705
  "list-hang",
706
706
  "list-hang-notitle",
707
707
  "list-lower-roman",
708
+ "list-upper-roman",
708
709
  "list-name",
709
710
  "list-no-bullets"
710
711
  ]
711
712
  },
713
+ "start": {
714
+ "type": "integer"
715
+ },
712
716
  "items": {
713
717
  "type": "array",
714
718
  "items": {
@@ -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.13.11",
6
+ "version": "1.13.12",
7
7
  "$defs": {
8
8
  "metaBlock": {
9
9
  "type": "object",
@@ -4026,6 +4026,9 @@
4026
4026
  "isIgnored": {
4027
4027
  "const": true
4028
4028
  },
4029
+ "ignoreSrdEffects": {
4030
+ "const": true
4031
+ },
4029
4032
  "system": {
4030
4033
  "$ref": "#/$defs/foundrySystemObject"
4031
4034
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "foundry-class.json",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "entryDataObject": {
@@ -96,6 +96,9 @@
96
96
  "isIgnored": {
97
97
  "const": true
98
98
  },
99
+ "ignoreSrdEffects": {
100
+ "const": true
101
+ },
99
102
  "actorDataMod": {
100
103
  "type": "object"
101
104
  },
@@ -171,6 +174,9 @@
171
174
  "isIgnored": {
172
175
  "const": true
173
176
  },
177
+ "ignoreSrdEffects": {
178
+ "const": true
179
+ },
174
180
  "actorDataMod": {
175
181
  "type": "object"
176
182
  },
@@ -248,6 +254,9 @@
248
254
  "isIgnored": {
249
255
  "const": true
250
256
  },
257
+ "ignoreSrdEffects": {
258
+ "const": true
259
+ },
251
260
  "actorDataMod": {
252
261
  "type": "object"
253
262
  },
@@ -332,6 +341,9 @@
332
341
  "isIgnored": {
333
342
  "const": true
334
343
  },
344
+ "ignoreSrdEffects": {
345
+ "const": true
346
+ },
335
347
  "actorDataMod": {
336
348
  "type": "object"
337
349
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.8",
6
+ "version": "1.8.9",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -705,10 +705,14 @@
705
705
  "list-hang",
706
706
  "list-hang-notitle",
707
707
  "list-lower-roman",
708
+ "list-upper-roman",
708
709
  "list-name",
709
710
  "list-no-bullets"
710
711
  ]
711
712
  },
713
+ "start": {
714
+ "type": "integer"
715
+ },
712
716
  "items": {
713
717
  "type": "array",
714
718
  "items": {
@@ -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.13.11",
6
+ "version": "1.13.12",
7
7
  "$defs": {
8
8
  "metaBlock": {
9
9
  "type": "object",
@@ -4026,6 +4026,9 @@
4026
4026
  "isIgnored": {
4027
4027
  "const": true
4028
4028
  },
4029
+ "ignoreSrdEffects": {
4030
+ "const": true
4031
+ },
4029
4032
  "system": {
4030
4033
  "$ref": "#/$defs/foundrySystemObject"
4031
4034
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "foundry-class.json",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "entryDataObject": {
@@ -96,6 +96,9 @@
96
96
  "isIgnored": {
97
97
  "const": true
98
98
  },
99
+ "ignoreSrdEffects": {
100
+ "const": true
101
+ },
99
102
  "actorDataMod": {
100
103
  "type": "object"
101
104
  },
@@ -171,6 +174,9 @@
171
174
  "isIgnored": {
172
175
  "const": true
173
176
  },
177
+ "ignoreSrdEffects": {
178
+ "const": true
179
+ },
174
180
  "actorDataMod": {
175
181
  "type": "object"
176
182
  },
@@ -248,6 +254,9 @@
248
254
  "isIgnored": {
249
255
  "const": true
250
256
  },
257
+ "ignoreSrdEffects": {
258
+ "const": true
259
+ },
251
260
  "actorDataMod": {
252
261
  "type": "object"
253
262
  },
@@ -332,6 +341,9 @@
332
341
  "isIgnored": {
333
342
  "const": true
334
343
  },
344
+ "ignoreSrdEffects": {
345
+ "const": true
346
+ },
335
347
  "actorDataMod": {
336
348
  "type": "object"
337
349
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.8",
6
+ "version": "1.8.9",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -691,10 +691,14 @@
691
691
  "list-hang",
692
692
  "list-hang-notitle",
693
693
  "list-lower-roman",
694
+ "list-upper-roman",
694
695
  "list-name",
695
696
  "list-no-bullets"
696
697
  ]
697
698
  },
699
+ "start": {
700
+ "type": "integer"
701
+ },
698
702
  "items": {
699
703
  "type": "array",
700
704
  "items": {
@@ -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.13.11",
6
+ "version": "1.13.12",
7
7
  "$defs": {
8
8
  "metaBlock": {
9
9
  "type": "object",
@@ -4006,6 +4006,9 @@
4006
4006
  "isIgnored": {
4007
4007
  "const": true
4008
4008
  },
4009
+ "ignoreSrdEffects": {
4010
+ "const": true
4011
+ },
4009
4012
  "system": {
4010
4013
  "$ref": "#/$defs/foundrySystemObject"
4011
4014
  },
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "foundry-class.json",
4
- "version": "1.4.1",
4
+ "version": "1.4.2",
5
5
  "type": "object",
6
6
  "$defs": {
7
7
  "entryDataObject": {
@@ -96,6 +96,9 @@
96
96
  "isIgnored": {
97
97
  "const": true
98
98
  },
99
+ "ignoreSrdEffects": {
100
+ "const": true
101
+ },
99
102
  "actorDataMod": {
100
103
  "type": "object"
101
104
  },
@@ -171,6 +174,9 @@
171
174
  "isIgnored": {
172
175
  "const": true
173
176
  },
177
+ "ignoreSrdEffects": {
178
+ "const": true
179
+ },
174
180
  "actorDataMod": {
175
181
  "type": "object"
176
182
  },
@@ -248,6 +254,9 @@
248
254
  "isIgnored": {
249
255
  "const": true
250
256
  },
257
+ "ignoreSrdEffects": {
258
+ "const": true
259
+ },
251
260
  "actorDataMod": {
252
261
  "type": "object"
253
262
  },
@@ -332,6 +341,9 @@
332
341
  "isIgnored": {
333
342
  "const": true
334
343
  },
344
+ "ignoreSrdEffects": {
345
+ "const": true
346
+ },
335
347
  "actorDataMod": {
336
348
  "type": "object"
337
349
  },
@@ -3,7 +3,7 @@
3
3
  "$id": "entry.json",
4
4
  "title": "Entry",
5
5
  "description": "A recursively renderable object.",
6
- "version": "1.8.8",
6
+ "version": "1.8.9",
7
7
  "$defs": {
8
8
  "_arrayOfSpell": {
9
9
  "type": "array",
@@ -691,10 +691,14 @@
691
691
  "list-hang",
692
692
  "list-hang-notitle",
693
693
  "list-lower-roman",
694
+ "list-upper-roman",
694
695
  "list-name",
695
696
  "list-no-bullets"
696
697
  ]
697
698
  },
699
+ "start": {
700
+ "type": "integer"
701
+ },
698
702
  "items": {
699
703
  "type": "array",
700
704
  "items": {
@@ -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.13.11",
6
+ "version": "1.13.12",
7
7
  "$defs": {
8
8
  "metaBlock": {
9
9
  "type": "object",
@@ -4006,6 +4006,9 @@
4006
4006
  "isIgnored": {
4007
4007
  "const": true
4008
4008
  },
4009
+ "ignoreSrdEffects": {
4010
+ "const": true
4011
+ },
4009
4012
  "system": {
4010
4013
  "$ref": "#/$defs/foundrySystemObject"
4011
4014
  },