@lexical/offset 0.3.8 → 0.3.9

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.
@@ -214,18 +214,18 @@ function $getAdjustedOffsetFromDiff(offset, offsetNode, prevOffsetView, offsetVi
214
214
 
215
215
  if (prevFirstNode !== null) {
216
216
  currentNode = $searchForNodeWithOffset(prevFirstNode, offset, blockOffsetSize);
217
- let alreadyVisistedParentOfCurrentNode = false;
217
+ let alreadyVisitedParentOfCurrentNode = false;
218
218
 
219
219
  while (currentNode !== null) {
220
220
  if (!visited.has(currentNode.key)) {
221
- alreadyVisistedParentOfCurrentNode = true;
221
+ alreadyVisitedParentOfCurrentNode = true;
222
222
  break;
223
223
  }
224
224
 
225
225
  currentNode = currentNode.parent;
226
226
  }
227
227
 
228
- if (!alreadyVisistedParentOfCurrentNode) {
228
+ if (!alreadyVisitedParentOfCurrentNode) {
229
229
  while (currentNode !== null) {
230
230
  const key = currentNode.key;
231
231
 
package/package.json CHANGED
@@ -8,10 +8,10 @@
8
8
  "offset"
9
9
  ],
10
10
  "license": "MIT",
11
- "version": "0.3.8",
11
+ "version": "0.3.9",
12
12
  "main": "LexicalOffset.js",
13
13
  "peerDependencies": {
14
- "lexical": "0.3.8"
14
+ "lexical": "0.3.9"
15
15
  },
16
16
  "repository": {
17
17
  "type": "git",