@cocreate/utils 1.17.24 → 1.17.25

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.17.25](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.17.24...v1.17.25) (2023-01-30)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * selectors = [selector] ([7d1d45d](https://github.com/CoCreate-app/CoCreate-utils/commit/7d1d45d4778592284f8da1d9a14bb363adb9c95b))
7
+
1
8
  ## [1.17.24](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.17.23...v1.17.24) (2023-01-30)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/utils",
3
- "version": "1.17.24",
3
+ "version": "1.17.25",
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",
@@ -60,6 +60,6 @@
60
60
  "webpack-log": "^3.0.1"
61
61
  },
62
62
  "dependencies": {
63
- "@cocreate/docs": "^1.5.10"
63
+ "@cocreate/docs": "^1.5.11"
64
64
  }
65
65
  }
package/src/utils.js CHANGED
@@ -222,7 +222,7 @@
222
222
  let elements = [];
223
223
 
224
224
  if (selector) {
225
- let selectors;
225
+ let selectors = [selector];
226
226
  if (selector.indexOf(',') !== -1){
227
227
  selectors = selector.split(',');
228
228
  }