@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/package.json CHANGED
@@ -1,90 +1,90 @@
1
1
  {
2
- "name": "@posthog/rrweb",
3
- "version": "0.0.34",
4
- "description": "record and replay the web",
5
- "scripts": {
6
- "prepare": "npm run prepack",
7
- "prepack": "npm run build",
8
- "retest": "cross-env PUPPETEER_HEADLESS=true yarn retest:headful",
9
- "retest:headful": "vitest run --exclude test/benchmark",
10
- "build-and-test": "yarn build && yarn retest",
11
- "test:headless": "cross-env PUPPETEER_HEADLESS=true yarn build-and-test",
12
- "test:headful": "cross-env PUPPETEER_HEADLESS=false yarn build-and-test",
13
- "test": "yarn test:headless",
14
- "test:watch": "yarn build && cross-env PUPPETEER_HEADLESS=true yarn vitest --exclude test/benchmark",
15
- "test:update": "yarn test:headless --update",
16
- "retest:update": "cross-env PUPPETEER_HEADLESS=true yarn retest --update",
17
- "repl": "yarn build && node scripts/repl.js",
18
- "live-stream": "yarn build && node scripts/stream.js",
19
- "dev": "vite build --watch",
20
- "build": "yarn turbo run prepublish",
21
- "check-types": "tsc -noEmit",
22
- "prepublish": "tsc -noEmit && vite build",
23
- "lint": "yarn eslint src",
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
- "type": "module",
27
- "repository": {
28
- "type": "git",
29
- "url": "https://github.com/PostHog/posthog-rrweb"
30
- },
31
- "main": "./dist/rrweb.umd.cjs",
32
- "module": "./dist/rrweb.js",
33
- "unpkg": "./dist/rrweb.umd.cjs",
34
- "typings": "dist/rrweb.d.ts",
35
- "exports": {
36
- ".": {
37
- "import": {
38
- "types": "./dist/rrweb.d.ts",
39
- "default": "./dist/rrweb.js"
40
- },
41
- "require": {
42
- "types": "./dist/rrweb.d.cts",
43
- "default": "./dist/rrweb.cjs"
44
- }
45
- },
46
- "./dist/rrweb.css": "./dist/rrweb.css",
47
- "./dist/style.css": "./dist/style.css"
48
- },
49
- "files": [
50
- "dist",
51
- "package.json"
52
- ],
53
- "sideEffects": false,
54
- "author": "yanzhen@smartx.com",
55
- "license": "MIT",
56
- "bugs": {
57
- "url": "https://github.com/PostHog/posthog-rrweb/issues"
58
- },
59
- "homepage": "https://github.com/PostHog/posthog-rrweb#readme",
60
- "devDependencies": {
61
- "@types/dom-mediacapture-transform": "0.1.4",
62
- "@types/inquirer": "^8.2.1",
63
- "@types/jest-image-snapshot": "^6.1.0",
64
- "@types/node": "^18.15.11",
65
- "@types/offscreencanvas": "^2019.6.4",
66
- "construct-style-sheets-polyfill": "^3.1.0",
67
- "fast-mhtml": "^1.1.9",
68
- "identity-obj-proxy": "^3.0.0",
69
- "ignore-styles": "^5.0.1",
70
- "inquirer": "^9.0.0",
71
- "jest-image-snapshot": "^6.2.0",
72
- "puppeteer": "^20.9.0",
73
- "simple-peer-light": "^9.10.0",
74
- "ts-node": "^10.9.1",
75
- "tslib": "^2.3.1",
76
- "typescript": "^5.4.5",
77
- "vite": "^6.2.0",
78
- "vite-plugin-dts": "^3.9.1"
79
- },
80
- "dependencies": {
81
- "@posthog/rrweb-types": "*",
82
- "@posthog/rrweb-utils": "*",
83
- "@types/css-font-loading-module": "0.0.7",
84
- "@xstate/fsm": "^1.4.0",
85
- "base64-arraybuffer": "^1.0.1",
86
- "mitt": "^3.0.0",
87
- "@posthog/rrdom": "*",
88
- "@posthog/rrweb-snapshot": "*"
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
+ }