Skip to content

Commit

Permalink
remove rrdom diff debug log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadman97 committed Jul 1, 2022
1 parent 563c111 commit 7c39523
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
4 changes: 2 additions & 2 deletions packages/rrdom-nodejs/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlight-run/rrdom-nodejs",
"version": "0.1.3",
"version": "0.1.4",
"scripts": {
"dev": "rollup -c -w",
"bundle": "rollup --config",
Expand Down Expand Up @@ -46,7 +46,7 @@
"typescript": "^4.7.3"
},
"dependencies": {
"@highlight-run/rrdom": ">=0.1.13",
"@highlight-run/rrdom": ">=0.1.14",
"@highlight-run/rrweb-snapshot": ">=1.1.22",
"cssom": "^0.5.0",
"cssstyle": "^2.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/rrdom/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlight-run/rrdom",
"version": "0.1.13",
"version": "0.1.14",
"homepage": "https://github.com/rrweb-io/rrweb/tree/main/packages/rrdom#readme",
"license": "MIT",
"main": "lib/rrdom.js",
Expand Down
4 changes: 0 additions & 4 deletions packages/rrdom/src/diff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -266,10 +266,6 @@ function diffChildren(
const oldEndId = replayer.mirror.getId(oldEndNode);
const newStartId = rrnodeMirror.getId(newStartNode);
const newEndId = rrnodeMirror.getId(newEndNode);
console.log('oldStartId', oldStartId);
console.log('oldEndId', oldEndId);
console.log('newStartId', newStartId);
console.log('newEndId', newEndId);

// rrdom contains elements with negative ids, we don't want to accidentally match those to a mirror mismatch (-1) id.
// Negative oldStartId happen when nodes are not in the mirror, but are in the DOM.
Expand Down
4 changes: 2 additions & 2 deletions packages/rrweb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@highlight-run/rrweb",
"version": "2.0.16",
"version": "2.0.17",
"description": "record and replay the web",
"scripts": {
"prepare": "npm run prepack",
Expand Down Expand Up @@ -74,7 +74,7 @@
"typescript": "^4.7.3"
},
"dependencies": {
"@highlight-run/rrdom": ">=0.1.13",
"@highlight-run/rrdom": ">=0.1.14",
"@highlight-run/rrweb-snapshot": ">=1.1.22",
"@types/css-font-loading-module": "0.0.7",
"@xstate/fsm": "^1.4.0",
Expand Down

0 comments on commit 7c39523

Please sign in to comment.