@cocreate/utils 1.10.13 → 1.10.15

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,17 @@
1
+ ## [1.10.15](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.10.14...v1.10.15) (2022-11-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump d@cocreate ependencies ([3824be5](https://github.com/CoCreate-app/CoCreate-utils/commit/3824be507971f5febc247da3cccebc85a8e2b6d1))
7
+
8
+ ## [1.10.14](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.10.13...v1.10.14) (2022-11-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * renamed crud.checkAttrValue to crud.checkValue ([fe07687](https://github.com/CoCreate-app/CoCreate-utils/commit/fe076874b5f0f8a835556749341c53205c3d7bbf))
14
+
1
15
  ## [1.10.13](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.10.12...v1.10.13) (2022-10-02)
2
16
 
3
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/utils",
3
- "version": "1.10.13",
3
+ "version": "1.10.15",
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",
@@ -61,6 +61,6 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/docs": "^1.3.18"
64
+ "@cocreate/docs": "^1.3.20"
65
65
  }
66
66
  }
package/src/index.old.js CHANGED
@@ -53,7 +53,7 @@ export function getAttributes(element) {
53
53
  }
54
54
 
55
55
  // ToDo: duplicate it is in crud.utils
56
- export function checkAttrValue(value) {
56
+ export function checkValue(value) {
57
57
  if (!value) return false;
58
58
  if (/{{\s*([\w\W]+)\s*}}/g.test(value)) {
59
59
  return false;