tiny-essentials 1.22.7 → 1.22.8

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.
@@ -2162,7 +2162,7 @@ class TinyHtml {
2162
2162
  )
2163
2163
  continue;
2164
2164
  if (typeof nds[index] !== 'string') {
2165
- results.push(TinyHtml._preNodeElem(nds[index], where));
2165
+ results.push(TinyHtml._preNodeElems(nds[index], where)[0]);
2166
2166
  } else results.push(nds[index]);
2167
2167
  }
2168
2168
  return results;
@@ -1885,7 +1885,7 @@ class TinyHtml {
1885
1885
  nds[index] === false)
1886
1886
  continue;
1887
1887
  if (typeof nds[index] !== 'string') {
1888
- results.push(TinyHtml._preNodeElem(nds[index], where));
1888
+ results.push(TinyHtml._preNodeElems(nds[index], where)[0]);
1889
1889
  }
1890
1890
  else
1891
1891
  results.push(nds[index]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-essentials",
3
- "version": "1.22.7",
3
+ "version": "1.22.8",
4
4
  "description": "Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.",
5
5
  "scripts": {
6
6
  "test": "npm run test:mjs && npm run test:cjs && npm run test:js",