5etools-utils 0.16.32 → 0.16.33

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.16.32",
3
+ "version": "0.16.33",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -39,7 +39,7 @@
39
39
  "build:dangerous:sources": "node node/fetch-5etools-sources.js",
40
40
  "build": "node node/compile-schemas.js",
41
41
  "test": "npm run lint:js && npm run test:js",
42
- "test:js": "node --localstorage-file test/localstorage.tmp --experimental-vm-modules node_modules/jest/bin/jest.js",
42
+ "test:js": "node --disable-warning=ExperimentalWarning --localstorage-file test/localstorage.tmp --experimental-vm-modules node_modules/jest/bin/jest.js",
43
43
  "lint": "npm run lint:js",
44
44
  "lint:js": "eslint lib node test --fix",
45
45
  "lint:js:fast": "node bin/lint-js-changed.js",
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.10",
5
+ "version": "1.1.11",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -177,6 +177,22 @@
177
177
  "properties": {
178
178
  "foundryId": {
179
179
  "$ref": "#/$defs/foundryIdShort"
180
+ },
181
+ "level": {
182
+ "type": "object",
183
+ "properties": {
184
+ "min": {
185
+ "type": "integer"
186
+ },
187
+ "max": {
188
+ "type": "integer"
189
+ }
190
+ },
191
+ "additionalProperties": false,
192
+ "minProperties": 1
193
+ },
194
+ "onSave": {
195
+ "type": "boolean"
180
196
  }
181
197
  },
182
198
  "required": [
@@ -1257,6 +1273,22 @@
1257
1273
  "foundryId": {
1258
1274
  "$ref": "#/$defs/foundryIdShort"
1259
1275
  },
1276
+ "level": {
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "min": {
1280
+ "type": "integer"
1281
+ },
1282
+ "max": {
1283
+ "type": "integer"
1284
+ }
1285
+ },
1286
+ "additionalProperties": false,
1287
+ "minProperties": 1
1288
+ },
1289
+ "onSave": {
1290
+ "type": "boolean"
1291
+ },
1260
1292
  "riders": {
1261
1293
  "type": "object",
1262
1294
  "properties": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.10",
5
+ "version": "1.1.11",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -177,6 +177,22 @@
177
177
  "properties": {
178
178
  "foundryId": {
179
179
  "$ref": "#/$defs/foundryIdShort"
180
+ },
181
+ "level": {
182
+ "type": "object",
183
+ "properties": {
184
+ "min": {
185
+ "type": "integer"
186
+ },
187
+ "max": {
188
+ "type": "integer"
189
+ }
190
+ },
191
+ "additionalProperties": false,
192
+ "minProperties": 1
193
+ },
194
+ "onSave": {
195
+ "type": "boolean"
180
196
  }
181
197
  },
182
198
  "required": [
@@ -1257,6 +1273,22 @@
1257
1273
  "foundryId": {
1258
1274
  "$ref": "#/$defs/foundryIdShort"
1259
1275
  },
1276
+ "level": {
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "min": {
1280
+ "type": "integer"
1281
+ },
1282
+ "max": {
1283
+ "type": "integer"
1284
+ }
1285
+ },
1286
+ "additionalProperties": false,
1287
+ "minProperties": 1
1288
+ },
1289
+ "onSave": {
1290
+ "type": "boolean"
1291
+ },
1260
1292
  "riders": {
1261
1293
  "type": "object",
1262
1294
  "properties": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.10",
5
+ "version": "1.1.11",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -177,6 +177,22 @@
177
177
  "properties": {
178
178
  "foundryId": {
179
179
  "$ref": "#/$defs/foundryIdShort"
180
+ },
181
+ "level": {
182
+ "type": "object",
183
+ "properties": {
184
+ "min": {
185
+ "type": "integer"
186
+ },
187
+ "max": {
188
+ "type": "integer"
189
+ }
190
+ },
191
+ "additionalProperties": false,
192
+ "minProperties": 1
193
+ },
194
+ "onSave": {
195
+ "type": "boolean"
180
196
  }
181
197
  },
182
198
  "required": [
@@ -1257,6 +1273,22 @@
1257
1273
  "foundryId": {
1258
1274
  "$ref": "#/$defs/foundryIdShort"
1259
1275
  },
1276
+ "level": {
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "min": {
1280
+ "type": "integer"
1281
+ },
1282
+ "max": {
1283
+ "type": "integer"
1284
+ }
1285
+ },
1286
+ "additionalProperties": false,
1287
+ "minProperties": 1
1288
+ },
1289
+ "onSave": {
1290
+ "type": "boolean"
1291
+ },
1260
1292
  "riders": {
1261
1293
  "type": "object",
1262
1294
  "properties": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.10",
5
+ "version": "1.1.11",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -177,6 +177,22 @@
177
177
  "properties": {
178
178
  "foundryId": {
179
179
  "$ref": "#/$defs/foundryIdShort"
180
+ },
181
+ "level": {
182
+ "type": "object",
183
+ "properties": {
184
+ "min": {
185
+ "type": "integer"
186
+ },
187
+ "max": {
188
+ "type": "integer"
189
+ }
190
+ },
191
+ "additionalProperties": false,
192
+ "minProperties": 1
193
+ },
194
+ "onSave": {
195
+ "type": "boolean"
180
196
  }
181
197
  },
182
198
  "required": [
@@ -1257,6 +1273,22 @@
1257
1273
  "foundryId": {
1258
1274
  "$ref": "#/$defs/foundryIdShort"
1259
1275
  },
1276
+ "level": {
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "min": {
1280
+ "type": "integer"
1281
+ },
1282
+ "max": {
1283
+ "type": "integer"
1284
+ }
1285
+ },
1286
+ "additionalProperties": false,
1287
+ "minProperties": 1
1288
+ },
1289
+ "onSave": {
1290
+ "type": "boolean"
1291
+ },
1260
1292
  "riders": {
1261
1293
  "type": "object",
1262
1294
  "properties": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.10",
5
+ "version": "1.1.11",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -177,6 +177,22 @@
177
177
  "properties": {
178
178
  "foundryId": {
179
179
  "$ref": "#/$defs/foundryIdShort"
180
+ },
181
+ "level": {
182
+ "type": "object",
183
+ "properties": {
184
+ "min": {
185
+ "type": "integer"
186
+ },
187
+ "max": {
188
+ "type": "integer"
189
+ }
190
+ },
191
+ "additionalProperties": false,
192
+ "minProperties": 1
193
+ },
194
+ "onSave": {
195
+ "type": "boolean"
180
196
  }
181
197
  },
182
198
  "required": [
@@ -1257,6 +1273,22 @@
1257
1273
  "foundryId": {
1258
1274
  "$ref": "#/$defs/foundryIdShort"
1259
1275
  },
1276
+ "level": {
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "min": {
1280
+ "type": "integer"
1281
+ },
1282
+ "max": {
1283
+ "type": "integer"
1284
+ }
1285
+ },
1286
+ "additionalProperties": false,
1287
+ "minProperties": 1
1288
+ },
1289
+ "onSave": {
1290
+ "type": "boolean"
1291
+ },
1260
1292
  "riders": {
1261
1293
  "type": "object",
1262
1294
  "properties": {
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
3
  "$id": "util-foundry.json",
4
4
  "title": "Util: Foundry",
5
- "version": "1.1.10",
5
+ "version": "1.1.11",
6
6
  "$defs": {
7
7
  "entryDataObject": {
8
8
  "description": "Additional \"5etools-type\" data to be stored on the entry.",
@@ -177,6 +177,22 @@
177
177
  "properties": {
178
178
  "foundryId": {
179
179
  "$ref": "#/$defs/foundryIdShort"
180
+ },
181
+ "level": {
182
+ "type": "object",
183
+ "properties": {
184
+ "min": {
185
+ "type": "integer"
186
+ },
187
+ "max": {
188
+ "type": "integer"
189
+ }
190
+ },
191
+ "additionalProperties": false,
192
+ "minProperties": 1
193
+ },
194
+ "onSave": {
195
+ "type": "boolean"
180
196
  }
181
197
  },
182
198
  "required": [
@@ -1257,6 +1273,22 @@
1257
1273
  "foundryId": {
1258
1274
  "$ref": "#/$defs/foundryIdShort"
1259
1275
  },
1276
+ "level": {
1277
+ "type": "object",
1278
+ "properties": {
1279
+ "min": {
1280
+ "type": "integer"
1281
+ },
1282
+ "max": {
1283
+ "type": "integer"
1284
+ }
1285
+ },
1286
+ "additionalProperties": false,
1287
+ "minProperties": 1
1288
+ },
1289
+ "onSave": {
1290
+ "type": "boolean"
1291
+ },
1260
1292
  "riders": {
1261
1293
  "type": "object",
1262
1294
  "properties": {