Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,11 @@
"eslint-plugin-compat": "^5.0.0",
"eslint-plugin-jest": "^27.6.0",
"eslint-plugin-tsdoc": "^0.2.17",
"happy-dom": "^14.12.0",
"markdownlint": "^0.25.1",
"markdownlint-cli": "^0.31.1",
"prettier": "2.8.4",
"rollup-plugin-visualizer": "^5.12.0",
"turbo": "2.8.7",
"turbo": "^2.9.14",
"typescript": "^5.4.5"
},
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
"devDependencies": {
"puppeteer": "^20.9.0",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrweb": "workspace:*",
Expand Down
3 changes: 3 additions & 0 deletions packages/all/test/cross-origin-iframe-packer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ const setup = function (
await ctx.page.goto('about:blank');
await ctx.page.setContent(
content.replace(/\{SERVER_URL\}/g, ctx.serverURL),
// wait for the cross-origin iframe to finish loading so the recorded
// full snapshot deterministically captures the loaded document
{ waitUntil: 'networkidle0' },
);
ctx.events = [];
await ctx.page.exposeFunction('emit', (e: eventWithTime) => {
Expand Down
5 changes: 3 additions & 2 deletions packages/browser-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,12 @@
],
"devDependencies": {
"cross-env": "^7.0.3",
"happy-dom": "^20.8.9",
"puppeteer": "^20.9.0",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrweb": "workspace:*",
Expand Down
3 changes: 2 additions & 1 deletion packages/browser-client/test/load-diagnostics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ beforeEach(() => {
sessionStorage.clear();
document.body.innerHTML = '';
setCurrentScript(null);
window.history.replaceState({}, '', 'http://localhost/');
// happy-dom >= 20 enforces same-origin history URLs; use a relative path
window.history.replaceState({}, '', '/');
});

afterEach(() => {
Expand Down
4 changes: 2 additions & 2 deletions packages/packer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,9 @@
],
"devDependencies": {
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrweb-types": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/packer/test/packer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('unpack', () => {
it('stop on unknown data format', () => {
const consoleSpy = vi.spyOn(console, 'error').mockImplementation(() => {});

expect(() => unpack('[""]')).toThrow('');
expect(() => unpack('[""]')).toThrow('Unknown data format');

expect(consoleSpy).toHaveBeenCalled();
vi.resetAllMocks();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@highlight-run/rrweb": "workspace:*",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@highlight-run/rrweb": "workspace:*",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/rrweb-plugin-console-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
"@highlight-run/rrweb": "workspace:*",
"puppeteer": "^20.9.0",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"peerDependencies": {
"@highlight-run/rrweb": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/rrweb-plugin-console-replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@highlight-run/rrweb": "workspace:*",
"@highlight-run/rrweb-rrweb-plugin-console-record": "workspace:*",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/rrweb-plugin-network-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
"@highlight-run/rrweb-types": "workspace:*",
"@highlight-run/rrweb-utils": "workspace:*",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"peerDependencies": {
"@highlight-run/rrweb": "workspace:*",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/rrweb-plugin-network-replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@highlight-run/rrweb-rrweb-plugin-network-record": "workspace:*",
"@highlight-run/rrweb-types": "workspace:*",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"devDependencies": {
"@highlight-run/rrweb": "workspace:*",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"@highlight-run/rrweb": "workspace:*",
"@highlight-run/rrweb-rrweb-plugin-sequential-id-record": "workspace:*",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
"devDependencies": {
"puppeteer": "^20.9.0",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrweb": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
"devDependencies": {
"puppeteer": "^20.9.0",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrweb": "workspace:*",
Expand Down
4 changes: 2 additions & 2 deletions packages/rrdom-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@
"eslint": "^8.15.0",
"puppeteer": "^9.1.1",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrdom": "workspace:*",
Expand Down
5 changes: 3 additions & 2 deletions packages/rrdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,12 @@
"@typescript-eslint/eslint-plugin": "^5.23.0",
"@typescript-eslint/parser": "^5.23.0",
"eslint": "^8.15.0",
"happy-dom": "^20.8.9",
"puppeteer": "^17.1.3",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrweb-snapshot": "workspace:*"
Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb-player/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"svelte-preprocess": "^5.0.3",
"svelte2tsx": "^0.7.30",
"tslib": "^2.0.0",
"vite": "^6.0.1"
"vite": "^6.4.2"
},
"dependencies": {
"@highlight-run/rrweb-packer": "workspace:*",
Expand Down
5 changes: 3 additions & 2 deletions packages/rrweb-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,15 @@
"@types/jsdom": "^20.0.0",
"@types/node": "^18.15.11",
"@types/puppeteer": "^5.4.4",
"happy-dom": "^20.8.9",
"playwright": "^1.60.0",
"puppeteer": "^17.1.3",
"ts-node": "^7.0.1",
"tslib": "^1.9.3",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"postcss": "^8.4.38"
Expand Down
4 changes: 2 additions & 2 deletions packages/rrweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@
"ts-node": "^10.9.1",
"tslib": "^2.3.1",
"typescript": "^5.4.5",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
"vitest": "^3.2.6"
},
"dependencies": {
"@highlight-run/rrdom": "workspace:*",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"package.json"
],
"devDependencies": {
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.9.1"
},
"browserslist": [
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"package.json"
],
"devDependencies": {
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-dts": "^3.8.1"
}
}
2 changes: 1 addition & 1 deletion packages/web-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"cross-env": "^7.0.3",
"semver": "^7.6.3",
"type-fest": "^2.19.0",
"vite": "^6.0.1",
"vite": "^6.4.2",
"vite-plugin-web-extension": "^4.1.3",
"vite-plugin-zip-pack": "^1.2.2",
"webextension-polyfill": "^0.10.0"
Expand Down
Loading