@es-joy/jsoe 0.24.1 → 0.24.2

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": "@es-joy/jsoe",
3
- "version": "0.24.1",
3
+ "version": "0.24.2",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./src/index.js",
@@ -702,10 +702,10 @@ const arrayType = {
702
702
  }
703
703
  if (!sparse && (!specificSchemaObject || parentTypeObject.array)) {
704
704
  const swapCountElem = DOM.filterChildElements(
705
- swapGroup, ['legend', `.${type}Item`]
705
+ swapGroup, ['legend', 'span', `.${type}Item`]
706
706
  )[0];
707
707
  const baseCountElem = DOM.filterChildElements(group, [
708
- 'legend', `.${type}Item`
708
+ 'legend', 'span', `.${type}Item`
709
709
  ])[0];
710
710
 
711
711
  const swap = swapCountElem.textContent;