Skip to content

Commit

Permalink
merge rrweb shadow dom fixes (#3538)
Browse files Browse the repository at this point in the history
## Summary

Bring in rrweb-io/rrweb#1049 to fix shadow dom
recording bugs.

Related PRs:
* highlight/docs#32
* highlight/highlight-javascript#9
* highlight/rrweb#100

## How did you test this change?

Local deploy on /1/buttons shadow dom example.

## Are there any deployment considerations?

New version 5.2.2.
  • Loading branch information
Vadman97 authored Jan 11, 2023
1 parent 9df99ed commit bb51367
Show file tree
Hide file tree
Showing 5 changed files with 53 additions and 101 deletions.
2 changes: 1 addition & 1 deletion docs
Submodule docs updated from 0c3ae6 to a28a80
2 changes: 1 addition & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default defineConfig(({ mode }) => {
outDir: 'build',
// Vite sourcemaps are broken in development
// https://github.com/highlight-run/highlight/pull/3171
sourcemap: mode !== 'development',
sourcemap: env.RENDER_PREVIEW !== 'true' && mode !== 'development',
},
test: {
globals: true,
Expand Down
2 changes: 1 addition & 1 deletion highlight-javascript
2 changes: 1 addition & 1 deletion rrweb
Submodule rrweb updated from ffefa9 to ac8c3d
146 changes: 49 additions & 97 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7847,7 +7847,7 @@ __metadata:
"@typescript-eslint/parser": ^5.23.0
eslint: ^8.15.0
jest: 27.1.1
puppeteer: ^9.1.1
puppeteer: ^17.1.3
rollup: ^2.56.3
rollup-plugin-terser: ^7.0.2
rollup-plugin-typescript2: ^0.31.2
Expand Down Expand Up @@ -7901,7 +7901,7 @@ __metadata:
jest: 27.1.1
jest-snapshot: ^23.6.0
jsdom: ^16.4.0
puppeteer: ^1.15.0
puppeteer: ^17.1.3
rollup: ^2.45.2
rollup-plugin-terser: ^7.0.2
rollup-plugin-typescript2: ^0.31.2
Expand Down Expand Up @@ -14337,15 +14337,6 @@ __metadata:
languageName: node
linkType: hard

"agent-base@npm:^4.3.0":
version: 4.3.0
resolution: "agent-base@npm:4.3.0"
dependencies:
es6-promisify: ^5.0.0
checksum: 0c10891060e579c67efafd6b62223666c4b4129b521eac3e9ad272a137545bcedb54ce352273b7ad21a0024060e4f1360ae9a465ac87e2af18883c937d39979f
languageName: node
linkType: hard

"agentkeepalive@npm:^4.1.3, agentkeepalive@npm:^4.2.1":
version: 4.2.1
resolution: "agentkeepalive@npm:4.2.1"
Expand Down Expand Up @@ -15114,13 +15105,6 @@ __metadata:
languageName: node
linkType: hard

"async-limiter@npm:~1.0.0":
version: 1.0.1
resolution: "async-limiter@npm:1.0.1"
checksum: 2b849695b465d93ad44c116220dee29a5aeb63adac16c1088983c339b0de57d76e82533e8e364a93a9f997f28bbfc6a92948cefc120652bd07f3b59f8d75cf2b
languageName: node
linkType: hard

"async-validator@npm:^4.1.0":
version: 4.2.5
resolution: "async-validator@npm:4.2.5"
Expand Down Expand Up @@ -18612,7 +18596,7 @@ __metadata:
languageName: node
linkType: hard

"debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3, debug@npm:^2.6.9":
"debug@npm:2.6.9, debug@npm:^2.2.0, debug@npm:^2.3.3":
version: 2.6.9
resolution: "debug@npm:2.6.9"
dependencies:
Expand Down Expand Up @@ -18973,6 +18957,13 @@ __metadata:
languageName: node
linkType: hard

"devtools-protocol@npm:0.0.1036444":
version: 0.0.1036444
resolution: "devtools-protocol@npm:0.0.1036444"
checksum: 6975c8def95a5e1a4207d6deb05322e335d6a37bdaa3e589cbd5bde40fbbe3ab0df2cfedb1b3ad2785401f208c150fd489a6a065a4624b56e4c0c4c1bfd89172
languageName: node
linkType: hard

"devtools-protocol@npm:0.0.869402":
version: 0.0.869402
resolution: "devtools-protocol@npm:0.0.869402"
Expand Down Expand Up @@ -19781,22 +19772,13 @@ __metadata:
languageName: node
linkType: hard

"es6-promise@npm:^4.0.3, es6-promise@npm:^4.2.8":
"es6-promise@npm:^4.2.8":
version: 4.2.8
resolution: "es6-promise@npm:4.2.8"
checksum: 95614a88873611cb9165a85d36afa7268af5c03a378b35ca7bda9508e1d4f1f6f19a788d4bc755b3fd37c8ebba40782018e02034564ff24c9d6fa37e959ad57d
languageName: node
linkType: hard

"es6-promisify@npm:^5.0.0":
version: 5.0.0
resolution: "es6-promisify@npm:5.0.0"
dependencies:
es6-promise: ^4.0.3
checksum: fbed9d791598831413be84a5374eca8c24800ec71a16c1c528c43a98e2dadfb99331483d83ae6094ddb9b87e6f799a15d1553cebf756047e0865c753bc346b92
languageName: node
linkType: hard

"es6-shim@npm:^0.35.5":
version: 0.35.6
resolution: "es6-shim@npm:0.35.6"
Expand Down Expand Up @@ -21701,20 +21683,6 @@ __metadata:
languageName: node
linkType: hard

"extract-zip@npm:^1.6.6":
version: 1.7.0
resolution: "extract-zip@npm:1.7.0"
dependencies:
concat-stream: ^1.6.2
debug: ^2.6.9
mkdirp: ^0.5.4
yauzl: ^2.10.0
bin:
extract-zip: cli.js
checksum: 011bab660d738614555773d381a6ba4815d98c1cfcdcdf027e154ebcc9fc8c9ef637b3ea5c9b2144013100071ee41722ed041fc9aacc60f6198ef747cac0c073
languageName: node
linkType: hard

"extsprintf@npm:1.3.0":
version: 1.3.0
resolution: "extsprintf@npm:1.3.0"
Expand Down Expand Up @@ -24133,16 +24101,6 @@ __metadata:
languageName: node
linkType: hard

"https-proxy-agent@npm:^2.2.1":
version: 2.2.4
resolution: "https-proxy-agent@npm:2.2.4"
dependencies:
agent-base: ^4.3.0
debug: ^3.1.0
checksum: 5fa8eab256b117a8badb5747bedf8b3a9de1fbabdccb26ff3132385426fdc3ad3c8b092ce52a1b74c70229b971df623f4f5a0c17f78e6a8fe5d10fc65d6ed8b8
languageName: node
linkType: hard

"human-signals@npm:^1.1.1":
version: 1.1.1
resolution: "human-signals@npm:1.1.1"
Expand Down Expand Up @@ -28820,7 +28778,7 @@ __metadata:
languageName: node
linkType: hard

"mime@npm:^2.0.3, mime@npm:^2.3.1, mime@npm:^2.4.4":
"mime@npm:^2.3.1, mime@npm:^2.4.4":
version: 2.6.0
resolution: "mime@npm:2.6.0"
bin:
Expand Down Expand Up @@ -29052,7 +29010,7 @@ __metadata:
languageName: node
linkType: hard

"mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.3, mkdirp@npm:^0.5.4, mkdirp@npm:~0.5.1":
"mkdirp@npm:^0.5.1, mkdirp@npm:^0.5.3, mkdirp@npm:~0.5.1":
version: 0.5.6
resolution: "mkdirp@npm:0.5.6"
dependencies:
Expand Down Expand Up @@ -32065,7 +32023,7 @@ __metadata:
languageName: node
linkType: hard

"proxy-from-env@npm:1.1.0, proxy-from-env@npm:^1.0.0, proxy-from-env@npm:^1.1.0":
"proxy-from-env@npm:1.1.0, proxy-from-env@npm:^1.1.0":
version: 1.1.0
resolution: "proxy-from-env@npm:1.1.0"
checksum: ed7fcc2ba0a33404958e34d95d18638249a68c430e30fcb6c478497d72739ba64ce9810a24f53a7d921d0c065e5b78e3822759800698167256b04659366ca4d4
Expand Down Expand Up @@ -32179,22 +32137,6 @@ __metadata:
languageName: node
linkType: hard

"puppeteer@npm:^1.15.0":
version: 1.20.0
resolution: "puppeteer@npm:1.20.0"
dependencies:
debug: ^4.1.0
extract-zip: ^1.6.6
https-proxy-agent: ^2.2.1
mime: ^2.0.3
progress: ^2.0.1
proxy-from-env: ^1.0.0
rimraf: ^2.6.1
ws: ^6.1.0
checksum: 4b470869a0cd626d1b1e830c1e046fa7654034e33cde6698684d9557a1e97e0d6bb1425436e6e595459c5c37fddb9be973212c02ad85552d623364d50b8d5b89
languageName: node
linkType: hard

"puppeteer@npm:^11.0.0":
version: 11.0.0
resolution: "puppeteer@npm:11.0.0"
Expand Down Expand Up @@ -32235,6 +32177,25 @@ __metadata:
languageName: node
linkType: hard

"puppeteer@npm:^17.1.3":
version: 17.1.3
resolution: "puppeteer@npm:17.1.3"
dependencies:
cross-fetch: 3.1.5
debug: 4.3.4
devtools-protocol: 0.0.1036444
extract-zip: 2.0.1
https-proxy-agent: 5.0.1
progress: 2.0.3
proxy-from-env: 1.1.0
rimraf: 3.0.2
tar-fs: 2.1.1
unbzip2-stream: 1.4.3
ws: 8.8.1
checksum: b4518956c661df4c37690d46b9c6744d42d59d01fe3764938b4b3af8de4c94ef11a9dfa6bc261798f5e5490c6dce4d4f555f05d42c735249683da3017faf4585
languageName: node
linkType: hard

"puppeteer@npm:^9.1.1":
version: 9.1.1
resolution: "puppeteer@npm:9.1.1"
Expand Down Expand Up @@ -34753,7 +34714,7 @@ __metadata:
languageName: node
linkType: hard

"rimraf@npm:^2.5.2, rimraf@npm:^2.5.4, rimraf@npm:^2.6.1, rimraf@npm:^2.6.2, rimraf@npm:^2.6.3":
"rimraf@npm:^2.5.2, rimraf@npm:^2.5.4, rimraf@npm:^2.6.2, rimraf@npm:^2.6.3":
version: 2.7.1
resolution: "rimraf@npm:2.7.1"
dependencies:
Expand Down Expand Up @@ -40364,6 +40325,21 @@ __metadata:
languageName: node
linkType: hard

"ws@npm:8.8.1, ws@npm:^8.3.0":
version: 8.8.1
resolution: "ws@npm:8.8.1"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
peerDependenciesMeta:
bufferutil:
optional: true
utf-8-validate:
optional: true
checksum: 2152cf862cae0693f3775bc688a6afb2e989d19d626d215e70f5fcd8eb55b1c3b0d3a6a4052905ec320e2d7734e20aeedbf9744496d62f15a26ad79cf4cf7dae
languageName: node
linkType: hard

"ws@npm:^5.2.0 || ^6.0.0 || ^7.0.0":
version: 7.5.8
resolution: "ws@npm:7.5.8"
Expand All @@ -40379,15 +40355,6 @@ __metadata:
languageName: node
linkType: hard

"ws@npm:^6.1.0":
version: 6.2.2
resolution: "ws@npm:6.2.2"
dependencies:
async-limiter: ~1.0.0
checksum: aec3154ec51477c094ac2cb5946a156e17561a581fa27005cbf22c53ac57f8d4e5f791dd4bbba6a488602cb28778c8ab7df06251d590507c3c550fd8ebeee949
languageName: node
linkType: hard

"ws@npm:^7.2.3, ws@npm:^7.4.3":
version: 7.5.9
resolution: "ws@npm:7.5.9"
Expand Down Expand Up @@ -40448,21 +40415,6 @@ __metadata:
languageName: node
linkType: hard

"ws@npm:^8.3.0":
version: 8.8.1
resolution: "ws@npm:8.8.1"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ^5.0.2
peerDependenciesMeta:
bufferutil:
optional: true
utf-8-validate:
optional: true
checksum: 2152cf862cae0693f3775bc688a6afb2e989d19d626d215e70f5fcd8eb55b1c3b0d3a6a4052905ec320e2d7734e20aeedbf9744496d62f15a26ad79cf4cf7dae
languageName: node
linkType: hard

"ws@npm:^8.4.2":
version: 8.8.0
resolution: "ws@npm:8.8.0"
Expand Down

0 comments on commit bb51367

Please sign in to comment.