@cocreate/cursors 1.11.21 → 1.11.24

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,24 @@
1
+ ## [1.11.24](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.23...v1.11.24) (2022-09-01)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * bump all of [@cocreate](https://github.com/cocreate) dependencies ([64977a9](https://github.com/CoCreate-app/CoCreate-cursors/commit/64977a99819e8d708cd0fae553bb5760e8587270))
7
+
8
+ ## [1.11.23](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.22...v1.11.23) (2022-06-24)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * update mirrorDivs variable to type array ([2dc7e24](https://github.com/CoCreate-app/CoCreate-cursors/commit/2dc7e243a29da90822a41864f4e121ebf345ef8c))
14
+
15
+ ## [1.11.22](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.21...v1.11.22) (2022-06-18)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * bump dependencies ([84ac880](https://github.com/CoCreate-app/CoCreate-cursors/commit/84ac88005ca2441994f34f577ad1a1afac418d5c))
21
+
1
22
  ## [1.11.21](https://github.com/CoCreate-app/CoCreate-cursors/compare/v1.11.20...v1.11.21) (2022-06-12)
2
23
 
3
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/cursors",
3
- "version": "1.11.21",
3
+ "version": "1.11.24",
4
4
  "description": "Collaborative user cursor position for inputs, textarea's and contenteditable elements.",
5
5
  "keywords": [
6
6
  "cursors",
@@ -62,12 +62,12 @@
62
62
  "webpack-log": "^3.0.1"
63
63
  },
64
64
  "dependencies": {
65
- "@cocreate/crud-client": "^1.7.0",
66
- "@cocreate/docs": "^1.3.2",
67
- "@cocreate/message-client": "^1.1.70",
68
- "@cocreate/observer": "^1.5.2",
69
- "@cocreate/random-color": "^1.2.26",
70
- "@cocreate/selection": "^1.4.10",
71
- "@cocreate/uuid": "^1.2.2"
65
+ "@cocreate/crud-client": "^1.10.0",
66
+ "@cocreate/docs": "^1.3.5",
67
+ "@cocreate/message-client": "^1.1.73",
68
+ "@cocreate/observer": "^1.5.4",
69
+ "@cocreate/random-color": "^1.2.28",
70
+ "@cocreate/selection": "^1.4.13",
71
+ "@cocreate/uuid": "^1.2.5"
72
72
  }
73
73
  }
package/src/index.js CHANGED
@@ -234,7 +234,7 @@ function drawCursors(selection) {
234
234
  }
235
235
 
236
236
  function updateCursors(element) {
237
- let mirrorDivs;
237
+ let mirrorDivs = [];
238
238
  let id_mirror = element.getAttribute('mirror_id');
239
239
  if (id_mirror) {
240
240
  let mirrorDiv = element.ownerDocument.getElementById(id_mirror);