Comparing version 13.5.6 to 13.5.8
{ | ||
"name": "yjs", | ||
"version": "13.5.6", | ||
"version": "13.5.8", | ||
"description": "Shared Editing Library", | ||
@@ -5,0 +5,0 @@ "main": "./dist/yjs.cjs", |
@@ -569,2 +569,15 @@ | ||
) { | ||
const searchMarker = /** @type {AbstractType<any>} */ (this.parent)._searchMarker | ||
if (searchMarker) { | ||
searchMarker.forEach(marker => { | ||
if (marker.p === right) { | ||
// right is going to be "forgotten" so we need to update the marker | ||
marker.p = this | ||
// adjust marker index | ||
if (!this.deleted && this.countable) { | ||
marker.index -= this.length | ||
} | ||
} | ||
}) | ||
} | ||
if (right.keep) { | ||
@@ -571,0 +584,0 @@ this.keep = true |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2001328
30968