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
14 changes: 3 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,9 @@
## -version - 2025-01-31

## - 2025-01-31

## - 2025-01-31

## - 2025-01-31



## - 2025-01-31



## - 2025-01-31


## - 2025-01-31

# Changelog
2 changes: 1 addition & 1 deletion packages/all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"devDependencies": {
"puppeteer": "^20.9.0",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0",
"typescript": "^5.4.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/packer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"package.json"
],
"devDependencies": {
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0",
"typescript": "^5.4.5"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@posthog/rrweb": "*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@posthog/rrweb": "*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/rrweb-plugin-console-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"devDependencies": {
"@posthog/rrweb": "*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0",
"puppeteer": "^20.9.0"
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 @@ -39,7 +39,7 @@
"@posthog/rrweb-plugin-console-record": "*",
"@posthog/rrweb": "*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"@posthog/rrweb": "*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@posthog/rrweb-plugin-sequential-id-record": "*",
"@posthog/rrweb": "*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
],
"devDependencies": {
"puppeteer": "^20.9.0",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0",
"typescript": "^5.4.5"
Expand Down
4 changes: 2 additions & 2 deletions packages/replay/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@
"default": "./dist/rrweb-replay.cjs"
}
},
"./dist/style.css": "./dist/style.css"
"./dist/rrweb.css": "./dist/rrweb-replay.css"
},
"files": [
"dist",
"package.json"
],
"devDependencies": {
"puppeteer": "^20.9.0",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0",
"typescript": "^5.4.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/replay/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
type PlayerMachineState,
type SpeedMachineState,
} from '@posthog/rrweb';
import '@posthog/rrweb/dist/style.css';
import '@posthog/rrweb/dist/rrweb.css';

export {
Replayer,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrdom-nodejs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"compare-versions": "^4.1.3",
"eslint": "^8.15.0",
"puppeteer": "^9.1.1",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0",
"typescript": "^5.4.5"
Expand Down
2 changes: 1 addition & 1 deletion packages/rrdom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"eslint": "^8.15.0",
"puppeteer": "^17.1.3",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"dependencies": {
Expand Down
5 changes: 1 addition & 4 deletions packages/rrdom/test/diff.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,7 @@ import * as fs from 'fs';
import * as path from 'path';
import * as puppeteer from 'puppeteer';
import { vi, MockInstance } from 'vitest';
import {
createMirror,
Mirror as NodeMirror,
} from '@posthog/rrweb-snapshot';
import { createMirror, Mirror as NodeMirror } from '@posthog/rrweb-snapshot';
import {
buildFromDom,
getDefaultSN,
Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb-player/src/Player.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@
</script>

<style global>
@import '@posthog/rrweb-replay/dist/style.css';
@import '@posthog/rrweb-replay/dist/rrweb.css';

.rr-player {
position: relative;
Expand Down
2 changes: 1 addition & 1 deletion packages/rrweb-snapshot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"ts-node": "^7.0.1",
"tslib": "^1.9.3",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.4.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/rrweb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"default": "./dist/rrweb.cjs"
}
},
"./dist/style.css": "./dist/style.css"
"./dist/rrweb.css": "./dist/rrweb.css"
},
"files": [
"dist",
Expand Down Expand Up @@ -73,7 +73,7 @@
"ts-node": "^10.9.1",
"tslib": "^2.3.1",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"dependencies": {
Expand Down
6 changes: 1 addition & 5 deletions packages/rrweb/src/record/iframe-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@ import type { Mirror } from '@posthog/rrweb-snapshot';
import { genId } from '@posthog/rrweb-snapshot';
import type { CrossOriginIframeMessageEvent } from '../types';
import CrossOriginIframeMirror from './cross-origin-iframe-mirror';
import {
EventType,
NodeType,
IncrementalSource,
} from '@posthog/rrweb-types';
import { EventType, NodeType, IncrementalSource } from '@posthog/rrweb-types';
import type {
eventWithTime,
eventWithoutTime,
Expand Down
5 changes: 1 addition & 4 deletions packages/rrweb/src/replay/canvas/deserialize-args.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
import { decode } from 'base64-arraybuffer';
import type { Replayer } from '../';
import type {
CanvasArg,
SerializedCanvasArg,
} from '@posthog/rrweb-types';
import type { CanvasArg, SerializedCanvasArg } from '@posthog/rrweb-types';

// TODO: add ability to wipe this list
type GLVarMap = Map<string, any[]>;
Expand Down
5 changes: 1 addition & 4 deletions packages/rrweb/src/replay/media/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import type { Emitter } from '@posthog/rrweb-types';
import {
MediaInteractions,
ReplayerEvents,
} from '@posthog/rrweb-types';
import { MediaInteractions, ReplayerEvents } from '@posthog/rrweb-types';
import type { RRMediaElement } from '@posthog/rrdom';
import type { createPlayerService, createSpeedService } from '../machine';
import type { Mirror } from '@posthog/rrweb-snapshot';
Expand Down
5 changes: 1 addition & 4 deletions packages/rrweb/test/events/dialog-playback.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
eventWithTime,
IncrementalSource,
} from '@posthog/rrweb-types';
import { eventWithTime, IncrementalSource } from '@posthog/rrweb-types';

const startTime = 1900000000;
export const closedFullSnapshotTime = 132;
Expand Down
5 changes: 1 addition & 4 deletions packages/rrweb/test/events/hover.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import {
IncrementalSource,
MouseInteractions,
} from '@posthog/rrweb-types';
import { IncrementalSource, MouseInteractions } from '@posthog/rrweb-types';
import type { eventWithTime } from '../../../types/src';

const events: eventWithTime[] = [
Expand Down
6 changes: 1 addition & 5 deletions packages/rrweb/test/integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@ import {
ISuite,
} from './utils';
import type { recordOptions } from '../src/types';
import {
eventWithTime,
NodeType,
EventType,
} from '@posthog/rrweb-types';
import { eventWithTime, NodeType, EventType } from '@posthog/rrweb-types';
import { visitSnapshot } from '@posthog/rrweb-snapshot';

describe('record integration tests', function (this: ISuite) {
Expand Down
5 changes: 1 addition & 4 deletions packages/rrweb/test/rrdom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ import type {
styleDeclarationData,
styleSheetRuleData,
} from '@posthog/rrweb-types';
import {
createMirror,
Mirror as NodeMirror,
} from '@posthog/rrweb-snapshot';
import { createMirror, Mirror as NodeMirror } from '@posthog/rrweb-snapshot';
import type { ReplayerHandler } from '@posthog/rrdom';

describe('diff algorithm for rrdom', () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"package.json"
],
"devDependencies": {
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-dts": "^3.9.1"
},
"browserslist": [
Expand Down
2 changes: 1 addition & 1 deletion packages/web-extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@vitejs/plugin-react": "^4.2.1",
"semver": "^7.6.3",
"type-fest": "^2.19.0",
"vite": "^5.3.1",
"vite": "^6.0.1",
"vite-plugin-web-extension": "^4.1.3",
"vite-plugin-zip-pack": "^1.2.2",
"webextension-polyfill": "^0.10.0"
Expand Down
6 changes: 0 additions & 6 deletions vite.config.default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,6 @@ export default function (
minify: false,

sourcemap: true,

// rollupOptions: {
// output: {
// manualChunks: {},
// },
// },
},
plugins: [
dts({
Expand Down
Loading
Loading