@posthog/rrweb 0.0.34 → 0.0.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +4 -4
- package/dist/image-bitmap-data-url-worker-IJpC7g_b.js.map +1 -1
- package/dist/rrweb.cjs +367 -284
- package/dist/rrweb.cjs.map +1 -1
- package/dist/rrweb.d.cts +3 -3
- package/dist/rrweb.d.ts +3 -3
- package/dist/rrweb.js +367 -284
- package/dist/rrweb.js.map +1 -1
- package/dist/rrweb.umd.cjs +350 -281
- package/dist/rrweb.umd.cjs.map +3 -3
- package/dist/rrweb.umd.min.cjs +27 -39
- package/dist/rrweb.umd.min.cjs.map +4 -4
- package/package.json +88 -88
package/package.json
CHANGED
|
@@ -1,90 +1,90 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
"benchmark": "vitest run --maxConcurrency 1 --no-file-parallelism test/benchmark"
|
|
2
|
+
"name": "@posthog/rrweb",
|
|
3
|
+
"version": "0.0.36",
|
|
4
|
+
"description": "record and replay the web",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/PostHog/posthog-rrweb"
|
|
9
|
+
},
|
|
10
|
+
"main": "./dist/rrweb.umd.cjs",
|
|
11
|
+
"module": "./dist/rrweb.js",
|
|
12
|
+
"unpkg": "./dist/rrweb.umd.cjs",
|
|
13
|
+
"typings": "dist/rrweb.d.ts",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"import": {
|
|
17
|
+
"types": "./dist/rrweb.d.ts",
|
|
18
|
+
"default": "./dist/rrweb.js"
|
|
19
|
+
},
|
|
20
|
+
"require": {
|
|
21
|
+
"types": "./dist/rrweb.d.cts",
|
|
22
|
+
"default": "./dist/rrweb.cjs"
|
|
23
|
+
}
|
|
25
24
|
},
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
"
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
"
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
25
|
+
"./dist/rrweb.css": "./dist/rrweb.css",
|
|
26
|
+
"./dist/style.css": "./dist/style.css"
|
|
27
|
+
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist",
|
|
30
|
+
"package.json"
|
|
31
|
+
],
|
|
32
|
+
"sideEffects": false,
|
|
33
|
+
"author": "yanzhen@smartx.com",
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"bugs": {
|
|
36
|
+
"url": "https://github.com/PostHog/posthog-rrweb/issues"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/PostHog/posthog-rrweb#readme",
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/dom-mediacapture-transform": "0.1.4",
|
|
41
|
+
"@types/inquirer": "^8.2.1",
|
|
42
|
+
"@types/jest-image-snapshot": "^6.1.0",
|
|
43
|
+
"@types/jsdom": "^20.0.0",
|
|
44
|
+
"@types/node": "^18.15.11",
|
|
45
|
+
"@types/offscreencanvas": "^2019.6.4",
|
|
46
|
+
"jsdom": "^22.1.0",
|
|
47
|
+
"construct-style-sheets-polyfill": "^3.1.0",
|
|
48
|
+
"fast-mhtml": "^1.1.9",
|
|
49
|
+
"identity-obj-proxy": "^3.0.0",
|
|
50
|
+
"ignore-styles": "^5.0.1",
|
|
51
|
+
"inquirer": "^9.0.0",
|
|
52
|
+
"jest-image-snapshot": "^6.2.0",
|
|
53
|
+
"puppeteer": "^23.11.1",
|
|
54
|
+
"simple-peer-light": "^9.10.0",
|
|
55
|
+
"ts-node": "^10.9.1",
|
|
56
|
+
"tslib": "^2.3.1",
|
|
57
|
+
"typescript": "^5.4.5",
|
|
58
|
+
"vite": "^6.2.0",
|
|
59
|
+
"vite-plugin-dts": "^3.9.1"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@types/css-font-loading-module": "0.0.7",
|
|
63
|
+
"@xstate/fsm": "^1.4.0",
|
|
64
|
+
"base64-arraybuffer": "^1.0.1",
|
|
65
|
+
"mitt": "^3.0.0",
|
|
66
|
+
"@posthog/rrweb-types": "0.0.36",
|
|
67
|
+
"@posthog/rrweb-utils": "0.0.36",
|
|
68
|
+
"@posthog/rrdom": "0.0.36",
|
|
69
|
+
"@posthog/rrweb-snapshot": "0.0.36"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"retest": "cross-env PUPPETEER_HEADLESS=true pnpm retest:headful",
|
|
73
|
+
"retest:headful": "vitest run --exclude test/benchmark",
|
|
74
|
+
"build-and-test": "pnpm build && pnpm retest",
|
|
75
|
+
"test:headless": "cross-env PUPPETEER_HEADLESS=true pnpm build-and-test",
|
|
76
|
+
"test:headful": "cross-env PUPPETEER_HEADLESS=false pnpm build-and-test",
|
|
77
|
+
"test": "pnpm test:headless",
|
|
78
|
+
"test:watch": "pnpm build && cross-env PUPPETEER_HEADLESS=true pnpm vitest --exclude test/benchmark",
|
|
79
|
+
"test:update": "pnpm test:headless --update",
|
|
80
|
+
"retest:update": "cross-env PUPPETEER_HEADLESS=true pnpm retest --update",
|
|
81
|
+
"repl": "pnpm build && node scripts/repl.js",
|
|
82
|
+
"live-stream": "pnpm build && node scripts/stream.js",
|
|
83
|
+
"dev": "vite build --watch",
|
|
84
|
+
"build": "pnpm turbo run prepublish",
|
|
85
|
+
"check-types": "tsc -noEmit",
|
|
86
|
+
"prepublish": "tsc -noEmit && vite build",
|
|
87
|
+
"lint": "pnpm eslint src",
|
|
88
|
+
"benchmark": "vitest run --maxConcurrency 1 --no-file-parallelism test/benchmark"
|
|
89
|
+
}
|
|
90
|
+
}
|