5etools-utils 0.15.10 → 0.15.12

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/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # 5etools Utils
2
-
3
- Available commands:
4
-
5
- ```
6
- npx clean-html
7
- npx test-file-names [--name-regex <regex>]
8
- npx test-file-contents --img-repo-name <repo> --url-prefix-expected <prefix>
9
- npx test-json-brew [file] [--dir <dir>]
10
- npx test-json-ua [file] [--dir <dir>]
11
- ```
12
-
13
- And more; see `bin/`.
1
+ # 5etools Utils
2
+
3
+ Available commands:
4
+
5
+ ```
6
+ npx clean-html
7
+ npx test-file-names [--name-regex <regex>]
8
+ npx test-file-contents --img-repo-name <repo> --url-prefix-expected <prefix>
9
+ npx test-json-brew [file] [--dir <dir>]
10
+ npx test-json-ua [file] [--dir <dir>]
11
+ ```
12
+
13
+ And more; see `bin/`.
package/bin/clean-html.js CHANGED
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "5etools-utils",
3
- "version": "0.15.10",
3
+ "version": "0.15.12",
4
4
  "description": "Shared utilities for the 5etools ecosystem.",
5
5
  "type": "module",
6
6
  "main": "lib/Api.js",
@@ -171,9 +171,6 @@
171
171
  "ScoEE",
172
172
  "HBTD",
173
173
  "BQGT",
174
- "ALCurseOfStrahd",
175
- "ALElementalEvil",
176
- "ALRageOfDemons",
177
174
  "PSA",
178
175
  "PSI",
179
176
  "PSK",
@@ -338,9 +335,6 @@
338
335
  "DitLCoT",
339
336
  "VNotEE",
340
337
  "LRDT",
341
- "ALCurseOfStrahd",
342
- "ALElementalEvil",
343
- "ALRageOfDemons",
344
338
  "PSA",
345
339
  "PSI",
346
340
  "PSK",
@@ -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.39",
6
+ "version": "1.18.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -3724,6 +3724,9 @@
3724
3724
  "subclassName": {
3725
3725
  "type": "string"
3726
3726
  },
3727
+ "subclassShortName": {
3728
+ "type": "string"
3729
+ },
3727
3730
  "subclassSource": {
3728
3731
  "$ref": "util.json#/$defs/source"
3729
3732
  }
@@ -3732,6 +3735,7 @@
3732
3735
  "className",
3733
3736
  "classSource",
3734
3737
  "subclassName",
3738
+ "subclassShortName",
3735
3739
  "subclassSource"
3736
3740
  ],
3737
3741
  "additionalProperties": false,
@@ -3750,6 +3754,9 @@
3750
3754
  "subclassName": {
3751
3755
  "type": "string"
3752
3756
  },
3757
+ "subclassShortName": {
3758
+ "type": "string"
3759
+ },
3753
3760
  "subclassSource": {
3754
3761
  "$ref": "util.json#/$defs/source"
3755
3762
  },
@@ -3764,6 +3771,7 @@
3764
3771
  "className",
3765
3772
  "classSource",
3766
3773
  "subclassName",
3774
+ "subclassShortName",
3767
3775
  "subclassSource",
3768
3776
  "subSubclassName",
3769
3777
  "subSubclassSource"
@@ -171,9 +171,6 @@
171
171
  "ScoEE",
172
172
  "HBTD",
173
173
  "BQGT",
174
- "ALCurseOfStrahd",
175
- "ALElementalEvil",
176
- "ALRageOfDemons",
177
174
  "PSA",
178
175
  "PSI",
179
176
  "PSK",
@@ -338,9 +335,6 @@
338
335
  "DitLCoT",
339
336
  "VNotEE",
340
337
  "LRDT",
341
- "ALCurseOfStrahd",
342
- "ALElementalEvil",
343
- "ALRageOfDemons",
344
338
  "PSA",
345
339
  "PSI",
346
340
  "PSK",
@@ -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.39",
6
+ "version": "1.18.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -3724,6 +3724,9 @@
3724
3724
  "subclassName": {
3725
3725
  "type": "string"
3726
3726
  },
3727
+ "subclassShortName": {
3728
+ "type": "string"
3729
+ },
3727
3730
  "subclassSource": {
3728
3731
  "$ref": "util.json#/$defs/source"
3729
3732
  }
@@ -3732,6 +3735,7 @@
3732
3735
  "className",
3733
3736
  "classSource",
3734
3737
  "subclassName",
3738
+ "subclassShortName",
3735
3739
  "subclassSource"
3736
3740
  ],
3737
3741
  "additionalProperties": false,
@@ -3750,6 +3754,9 @@
3750
3754
  "subclassName": {
3751
3755
  "type": "string"
3752
3756
  },
3757
+ "subclassShortName": {
3758
+ "type": "string"
3759
+ },
3753
3760
  "subclassSource": {
3754
3761
  "$ref": "util.json#/$defs/source"
3755
3762
  },
@@ -3764,6 +3771,7 @@
3764
3771
  "className",
3765
3772
  "classSource",
3766
3773
  "subclassName",
3774
+ "subclassShortName",
3767
3775
  "subclassSource",
3768
3776
  "subSubclassName",
3769
3777
  "subSubclassSource"
@@ -171,9 +171,6 @@
171
171
  "ScoEE",
172
172
  "HBTD",
173
173
  "BQGT",
174
- "ALCurseOfStrahd",
175
- "ALElementalEvil",
176
- "ALRageOfDemons",
177
174
  "PSA",
178
175
  "PSI",
179
176
  "PSK",
@@ -338,9 +335,6 @@
338
335
  "DitLCoT",
339
336
  "VNotEE",
340
337
  "LRDT",
341
- "ALCurseOfStrahd",
342
- "ALElementalEvil",
343
- "ALRageOfDemons",
344
338
  "PSA",
345
339
  "PSI",
346
340
  "PSK",
@@ -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.39",
6
+ "version": "1.18.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -3666,6 +3666,9 @@
3666
3666
  "subclassName": {
3667
3667
  "type": "string"
3668
3668
  },
3669
+ "subclassShortName": {
3670
+ "type": "string"
3671
+ },
3669
3672
  "subclassSource": {
3670
3673
  "$ref": "util.json#/$defs/source"
3671
3674
  }
@@ -3674,6 +3677,7 @@
3674
3677
  "className",
3675
3678
  "classSource",
3676
3679
  "subclassName",
3680
+ "subclassShortName",
3677
3681
  "subclassSource"
3678
3682
  ],
3679
3683
  "additionalProperties": false,
@@ -3692,6 +3696,9 @@
3692
3696
  "subclassName": {
3693
3697
  "type": "string"
3694
3698
  },
3699
+ "subclassShortName": {
3700
+ "type": "string"
3701
+ },
3695
3702
  "subclassSource": {
3696
3703
  "$ref": "util.json#/$defs/source"
3697
3704
  },
@@ -3706,6 +3713,7 @@
3706
3713
  "className",
3707
3714
  "classSource",
3708
3715
  "subclassName",
3716
+ "subclassShortName",
3709
3717
  "subclassSource",
3710
3718
  "subSubclassName",
3711
3719
  "subSubclassSource"
@@ -171,9 +171,6 @@
171
171
  "ScoEE",
172
172
  "HBTD",
173
173
  "BQGT",
174
- "ALCurseOfStrahd",
175
- "ALElementalEvil",
176
- "ALRageOfDemons",
177
174
  "PSA",
178
175
  "PSI",
179
176
  "PSK",
@@ -338,9 +335,6 @@
338
335
  "DitLCoT",
339
336
  "VNotEE",
340
337
  "LRDT",
341
- "ALCurseOfStrahd",
342
- "ALElementalEvil",
343
- "ALRageOfDemons",
344
338
  "PSA",
345
339
  "PSI",
346
340
  "PSK",
@@ -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.39",
6
+ "version": "1.18.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -3666,6 +3666,9 @@
3666
3666
  "subclassName": {
3667
3667
  "type": "string"
3668
3668
  },
3669
+ "subclassShortName": {
3670
+ "type": "string"
3671
+ },
3669
3672
  "subclassSource": {
3670
3673
  "$ref": "util.json#/$defs/source"
3671
3674
  }
@@ -3674,6 +3677,7 @@
3674
3677
  "className",
3675
3678
  "classSource",
3676
3679
  "subclassName",
3680
+ "subclassShortName",
3677
3681
  "subclassSource"
3678
3682
  ],
3679
3683
  "additionalProperties": false,
@@ -3692,6 +3696,9 @@
3692
3696
  "subclassName": {
3693
3697
  "type": "string"
3694
3698
  },
3699
+ "subclassShortName": {
3700
+ "type": "string"
3701
+ },
3695
3702
  "subclassSource": {
3696
3703
  "$ref": "util.json#/$defs/source"
3697
3704
  },
@@ -3706,6 +3713,7 @@
3706
3713
  "className",
3707
3714
  "classSource",
3708
3715
  "subclassName",
3716
+ "subclassShortName",
3709
3717
  "subclassSource",
3710
3718
  "subSubclassName",
3711
3719
  "subSubclassSource"
@@ -171,9 +171,6 @@
171
171
  "ScoEE",
172
172
  "HBTD",
173
173
  "BQGT",
174
- "ALCurseOfStrahd",
175
- "ALElementalEvil",
176
- "ALRageOfDemons",
177
174
  "PSA",
178
175
  "PSI",
179
176
  "PSK",
@@ -338,9 +335,6 @@
338
335
  "DitLCoT",
339
336
  "VNotEE",
340
337
  "LRDT",
341
- "ALCurseOfStrahd",
342
- "ALElementalEvil",
343
- "ALRageOfDemons",
344
338
  "PSA",
345
339
  "PSI",
346
340
  "PSK",
@@ -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.39",
6
+ "version": "1.18.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -3677,6 +3677,9 @@
3677
3677
  "subclassName": {
3678
3678
  "type": "string"
3679
3679
  },
3680
+ "subclassShortName": {
3681
+ "type": "string"
3682
+ },
3680
3683
  "subclassSource": {
3681
3684
  "$ref": "util.json#/$defs/source"
3682
3685
  }
@@ -3685,6 +3688,7 @@
3685
3688
  "className",
3686
3689
  "classSource",
3687
3690
  "subclassName",
3691
+ "subclassShortName",
3688
3692
  "subclassSource"
3689
3693
  ],
3690
3694
  "additionalProperties": false,
@@ -3703,6 +3707,9 @@
3703
3707
  "subclassName": {
3704
3708
  "type": "string"
3705
3709
  },
3710
+ "subclassShortName": {
3711
+ "type": "string"
3712
+ },
3706
3713
  "subclassSource": {
3707
3714
  "$ref": "util.json#/$defs/source"
3708
3715
  },
@@ -3717,6 +3724,7 @@
3717
3724
  "className",
3718
3725
  "classSource",
3719
3726
  "subclassName",
3727
+ "subclassShortName",
3720
3728
  "subclassSource",
3721
3729
  "subSubclassName",
3722
3730
  "subSubclassSource"
@@ -171,9 +171,6 @@
171
171
  "ScoEE",
172
172
  "HBTD",
173
173
  "BQGT",
174
- "ALCurseOfStrahd",
175
- "ALElementalEvil",
176
- "ALRageOfDemons",
177
174
  "PSA",
178
175
  "PSI",
179
176
  "PSK",
@@ -338,9 +335,6 @@
338
335
  "DitLCoT",
339
336
  "VNotEE",
340
337
  "LRDT",
341
- "ALCurseOfStrahd",
342
- "ALElementalEvil",
343
- "ALRageOfDemons",
344
338
  "PSA",
345
339
  "PSI",
346
340
  "PSK",
@@ -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.39",
6
+ "version": "1.18.0",
7
7
  "$defs": {
8
8
  "metaDependenciesArray": {
9
9
  "type": "array",
@@ -3677,6 +3677,9 @@
3677
3677
  "subclassName": {
3678
3678
  "type": "string"
3679
3679
  },
3680
+ "subclassShortName": {
3681
+ "type": "string"
3682
+ },
3680
3683
  "subclassSource": {
3681
3684
  "$ref": "util.json#/$defs/source"
3682
3685
  }
@@ -3685,6 +3688,7 @@
3685
3688
  "className",
3686
3689
  "classSource",
3687
3690
  "subclassName",
3691
+ "subclassShortName",
3688
3692
  "subclassSource"
3689
3693
  ],
3690
3694
  "additionalProperties": false,
@@ -3703,6 +3707,9 @@
3703
3707
  "subclassName": {
3704
3708
  "type": "string"
3705
3709
  },
3710
+ "subclassShortName": {
3711
+ "type": "string"
3712
+ },
3706
3713
  "subclassSource": {
3707
3714
  "$ref": "util.json#/$defs/source"
3708
3715
  },
@@ -3717,6 +3724,7 @@
3717
3724
  "className",
3718
3725
  "classSource",
3719
3726
  "subclassName",
3727
+ "subclassShortName",
3720
3728
  "subclassSource",
3721
3729
  "subSubclassName",
3722
3730
  "subSubclassSource"