@cocreate/utils 1.33.4 → 1.33.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.33.5](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.33.4...v1.33.5) (2024-02-17)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * continue if specialSelector is empty ([af9a36e](https://github.com/CoCreate-app/CoCreate-utils/commit/af9a36e2d2ae0dcc62195bd8a049a7c0f0cd2901))
7
+
1
8
  ## [1.33.4](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.33.3...v1.33.4) (2024-02-15)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/utils",
3
- "version": "1.33.4",
3
+ "version": "1.33.5",
4
4
  "description": "A simple utils component in vanilla javascript. Easily configured using HTML5 attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "utils",
package/src/index.js CHANGED
@@ -449,6 +449,8 @@
449
449
  // if (!Array.isArray(queriedElement)) {
450
450
  // queriedElement = [queriedElement]
451
451
  // }
452
+ if (!specialSelectors[k])
453
+ continue
452
454
  if (k === 0) {
453
455
  if (type[i] === 'parent')
454
456
  queriedElement = queriedElement.parentElement