Skip to content

Commit

Permalink
chore: upgrade rrweb to alpha.17 (#25736)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Paul D'Ambra <[email protected]>
  • Loading branch information
3 people authored Nov 11, 2024
1 parent dc3ee48 commit a7e35f5
Show file tree
Hide file tree
Showing 8 changed files with 548 additions and 852 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { CanvasArg, canvasMutationData, canvasMutationParam, eventWithTime } from '@rrweb/types'
import { captureException } from '@sentry/react'
import { debounce } from 'lib/utils'
import { canvasMutation, EventType, IncrementalSource, Replayer } from 'rrweb'
import { ReplayPlugin } from 'rrweb/typings/types'
import { canvasMutation, EventType, IncrementalSource, Replayer, ReplayPlugin } from 'rrweb'

import { deserializeCanvasArg } from './deserialize-canvas-args'

Expand Down
3 changes: 1 addition & 2 deletions frontend/src/scenes/session-recordings/player/rrweb/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import Hls from 'hls.js'
import { EventType, eventWithTime, IncrementalSource } from 'rrweb'
import { playerConfig, ReplayPlugin } from 'rrweb/typings/types'
import { EventType, eventWithTime, IncrementalSource, playerConfig, ReplayPlugin } from 'rrweb'

export const PLACEHOLDER_SVG_DATA_IMAGE_URL =
'url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjE2IiBoZWlnaHQ9IjE2IiBmaWxsPSJibGFjayIvPgo8cGF0aCBkPSJNOCAwSDE2TDAgMTZWOEw4IDBaIiBmaWxsPSIjMkQyRDJEIi8+CjxwYXRoIGQ9Ik0xNiA4VjE2SDhMMTYgOFoiIGZpbGw9IiMyRDJEMkQiLz4KPC9zdmc+Cg==");'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ import { eventUsageLogic } from 'lib/utils/eventUsageLogic'
import { wrapConsole } from 'lib/utils/wrapConsole'
import posthog from 'posthog-js'
import { RefObject } from 'react'
import { Replayer } from 'rrweb'
import { playerConfig, ReplayPlugin } from 'rrweb/typings/types'
import { playerConfig, Replayer, ReplayPlugin } from 'rrweb'
import { openBillingPopupModal } from 'scenes/billing/BillingPopup'
import { preflightLogic } from 'scenes/PreflightCheck/preflightLogic'
import {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { LemonInputProps, LemonTableColumns } from '@posthog/lemon-ui'
import { PluginConfigSchema } from '@posthog/plugin-scaffold'
import { LogLevel } from '@rrweb/rrweb-plugin-console-record'
import { eventWithTime } from '@rrweb/types'
import { ChartDataset, ChartType, InteractionItem } from 'chart.js'
import { LogicWrapper } from 'kea'
Expand All @@ -23,7 +24,6 @@ import { Dayjs, dayjs } from 'lib/dayjs'
import { PopoverProps } from 'lib/lemon-ui/Popover/Popover'
import type { PostHog, SupportedWebVitalsMetrics } from 'posthog-js'
import { Layout } from 'react-grid-layout'
import { LogLevel } from 'rrweb'
import { BehavioralFilterKey, BehavioralFilterType } from 'scenes/cohorts/CohortFilters/types'
import { Holdout } from 'scenes/experiments/holdoutsLogic'
import { AggregationAxisFormat } from 'scenes/insights/aggregationAxisFormat'
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"@posthog/icons": "0.8.5",
"@posthog/plugin-scaffold": "^1.4.4",
"@react-hook/size": "^2.1.2",
"@rrweb/types": "2.0.0-alpha.13",
"@rrweb/types": "2.0.0-alpha.17",
"@sentry/react": "7.112.1",
"@stripe/react-stripe-js": "^2.8.0",
"@stripe/stripe-js": "^4.5.0",
Expand Down Expand Up @@ -181,7 +181,7 @@
"react-transition-group": "^4.4.5",
"react-virtualized": "^9.22.5",
"resize-observer-polyfill": "^1.5.1",
"rrweb": "2.0.0-alpha.13",
"rrweb": "2.0.0-alpha.17",
"sass": "^1.26.2",
"tailwind-merge": "^2.2.2",
"tailwindcss": "^3.4.0",
Expand All @@ -202,6 +202,7 @@
"@babel/preset-typescript": "^7.22.5",
"@cypress/webpack-preprocessor": "^5.17.1",
"@playwright/test": "1.45.0",
"@rrweb/rrweb-plugin-console-record": "^2.0.0-alpha.17",
"@sentry/types": "7.112.1",
"@storybook/addon-a11y": "^7.6.4",
"@storybook/addon-actions": "^7.6.4",
Expand Down Expand Up @@ -326,9 +327,9 @@
"playwright": "1.45.0"
},
"patchedDependencies": {
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
"[email protected]": "patches/[email protected]",
"[email protected]": "patches/[email protected]"
}
},
"lint-staged": {
Expand Down
Loading

0 comments on commit a7e35f5

Please sign in to comment.