@cocreate/utils 1.6.1 → 1.6.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,31 @@
1
+ ## [1.6.5](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.6.4...v1.6.5) (2022-02-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update dependencies ([e727235](https://github.com/CoCreate-app/CoCreate-utils/commit/e7272356da2fee0811b9f42ed8c8d749b8c1ef2b))
7
+
8
+ ## [1.6.4](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.6.3...v1.6.4) (2022-02-10)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * bump dependencies ([5235dcb](https://github.com/CoCreate-app/CoCreate-utils/commit/5235dcb03337bce15bd0aa7d94497660f4024c8f))
14
+
15
+ ## [1.6.3](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.6.2...v1.6.3) (2022-02-07)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * bump dependency versions ([849f540](https://github.com/CoCreate-app/CoCreate-utils/commit/849f5409d140a475701f7c392ab99eeeb7001c6e))
21
+
22
+ ## [1.6.2](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.6.1...v1.6.2) (2022-02-07)
23
+
24
+
25
+ ### Bug Fixes
26
+
27
+ * if eid contains {{...}} continue with cssPath ([34e142c](https://github.com/CoCreate-app/CoCreate-utils/commit/34e142ce50e82da94c603c431244727f479bd333))
28
+
1
29
  ## [1.6.1](https://github.com/CoCreate-app/CoCreate-utils/compare/v1.6.0...v1.6.1) (2022-02-03)
2
30
 
3
31
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/utils",
3
- "version": "1.6.1",
3
+ "version": "1.6.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",
@@ -61,6 +61,6 @@
61
61
  "webpack-log": "^3.0.1"
62
62
  },
63
63
  "dependencies": {
64
- "@cocreate/docs": "^1.2.65"
64
+ "@cocreate/docs": "^1.2.69"
65
65
  }
66
66
  }
package/src/index.js CHANGED
@@ -48,6 +48,9 @@ export function cssPath(node, container) {
48
48
  }
49
49
  else {
50
50
  let eid = node.getAttribute('eid');
51
+ if(/{{\s*([\w\W]+)\s*}}/g.test(eid)) {
52
+ eid = false;
53
+ }
51
54
  if (eid) {
52
55
  pathSplit += `[eid="${eid}"]`;
53
56
  node = '';