mirror of
https://github.com/chenasraf/clarity.git
synced 2026-05-18 01:48:58 +00:00
Fixing duplicate elements issue (#600)
This commit is contained in:
committed by
GitHub
parent
b67a9ee6e7
commit
bfb8a5dc82
@@ -2,7 +2,7 @@
|
||||
"packages": [
|
||||
"packages/*"
|
||||
],
|
||||
"version": "0.7.33",
|
||||
"version": "0.7.34",
|
||||
"npmClient": "yarn",
|
||||
"useWorkspaces": true
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "clarity-decode",
|
||||
"version": "0.7.33",
|
||||
"version": "0.7.34",
|
||||
"description": "An analytics library that uses web page interactions to generate aggregated insights",
|
||||
"author": "Microsoft Corp.",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "clarity-devtools",
|
||||
"version": "0.7.33",
|
||||
"version": "0.7.34",
|
||||
"private": true,
|
||||
"description": "Adds Clarity debugging support to browser devtools",
|
||||
"author": "Microsoft Corp.",
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
"manifest_version": 2,
|
||||
"name": "Microsoft Clarity Developer Tools",
|
||||
"description": "Clarity helps you understand how users are interacting with your website.",
|
||||
"version": "0.7.33",
|
||||
"version_name": "0.7.33",
|
||||
"version": "0.7.34",
|
||||
"version_name": "0.7.34",
|
||||
"minimum_chrome_version": "50",
|
||||
"devtools_page": "devtools.html",
|
||||
"icons": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "clarity-js",
|
||||
"version": "0.7.33",
|
||||
"version": "0.7.34",
|
||||
"description": "An analytics library that uses web page interactions to generate aggregated insights",
|
||||
"author": "Microsoft Corp.",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
let version = "0.7.33";
|
||||
let version = "0.7.34";
|
||||
export default version;
|
||||
|
||||
@@ -343,6 +343,11 @@ function remove(id: number, source: Source): void {
|
||||
}
|
||||
|
||||
function removeNodeFromNodesMap(id: number) {
|
||||
// Shadow dom roots shouldn't be deleted,
|
||||
// we should keep listening to the mutations there even they're not rendered in the DOM.
|
||||
if(nodesMap.get(id).nodeType === Node.DOCUMENT_FRAGMENT_NODE){
|
||||
return;
|
||||
}
|
||||
nodesMap.delete(id);
|
||||
|
||||
let value = id in values ? values[id] : null;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "clarity-visualize",
|
||||
"version": "0.7.33",
|
||||
"version": "0.7.34",
|
||||
"description": "An analytics library that uses web page interactions to generate aggregated insights",
|
||||
"author": "Microsoft Corp.",
|
||||
"license": "MIT",
|
||||
|
||||
Reference in New Issue
Block a user