New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@sentry-internal/replay

Package Overview
Dependencies
Maintainers
9
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sentry-internal/replay - npm Package Compare versions

Comparing version 8.50.0 to 9.0.0-alpha.0

2

build/npm/esm/package.json

@@ -1,1 +0,1 @@

{"type":"module","version":"8.50.0","sideEffects":false}
{"type":"module","version":"9.0.0-alpha.0","sideEffects":false}

@@ -1,2 +0,27 @@

export declare const WINDOW: import("@sentry/core").InternalGlobal & Window;
export declare const WINDOW: {
navigator?: {
userAgent?: string | undefined;
maxTouchPoints?: number | undefined;
} | undefined;
console: Console;
PerformanceObserver?: any;
Sentry?: any;
onerror?: {
(event: string | object, source?: string | undefined, lineno?: number | undefined, colno?: number | undefined, error?: Error | undefined): any;
__SENTRY_INSTRUMENTED__?: true | undefined;
} | undefined;
onunhandledrejection?: {
(event: unknown): boolean;
__SENTRY_INSTRUMENTED__?: true | undefined;
} | undefined;
SENTRY_ENVIRONMENT?: string | undefined;
SENTRY_DSN?: string | undefined;
SENTRY_RELEASE?: {
id?: string | undefined;
} | undefined;
SENTRY_SDK_SOURCE?: import("@sentry/core").SdkSource | undefined;
_sentryDebugIds?: Record<string, string> | undefined;
_sentryModuleMetadata?: Record<string, any> | undefined;
_sentryEsmLoaderHookRegistered?: boolean | undefined;
} & import("@sentry/core").Carrier & Window;
export declare const REPLAY_SESSION_KEY = "sentryReplaySession";

@@ -3,0 +28,0 @@ export declare const REPLAY_EVENT_NAME = "replay_event";

@@ -20,5 +20,2 @@ import { Client, Integration, ReplayRecordingMode } from '@sentry/core';

* Replay integration
*
* TODO: Rewrite this to be functional integration
* Exported for tests.
*/

@@ -29,6 +26,2 @@ export declare class Replay implements Integration {

*/
static id: string;
/**
* @inheritDoc
*/
name: string;

@@ -35,0 +28,0 @@ /**

@@ -72,2 +72,19 @@ import { ReplayRecordingMode, Span } from '@sentry/core';

private _canvas;
/**
* Handle when visibility of the page content changes. Opening a new tab will
* cause the state to change to hidden because of content of current page will
* be hidden. Likewise, moving a different window to cover the contents of the
* page will also trigger a change to a hidden state.
*/
private _handleVisibilityChange;
/**
* Handle when page is blurred
*/
private _handleWindowBlur;
/**
* Handle when page is focused
*/
private _handleWindowFocus;
/** Ensure page remains active when a key is pressed. */
private _handleKeyboardEvent;
constructor({ options, recordingOptions, }: {

@@ -248,19 +265,2 @@ options: ReplayPluginOptions;

/**
* Handle when visibility of the page content changes. Opening a new tab will
* cause the state to change to hidden because of content of current page will
* be hidden. Likewise, moving a different window to cover the contents of the
* page will also trigger a change to a hidden state.
*/
private _handleVisibilityChange;
/**
* Handle when page is blurred
*/
private _handleWindowBlur;
/**
* Handle when page is focused
*/
private _handleWindowFocus;
/** Ensure page remains active when a key is pressed. */
private _handleKeyboardEvent;
/**
* Tasks to run when we consider a page to be hidden (via blurring and/or visibility)

@@ -267,0 +267,0 @@ */

@@ -22,3 +22,3 @@ import { ConsoleLevel } from '@sentry/core';

*/
setConfig(config: LoggerConfig): void;
setConfig(config: Partial<LoggerConfig>): void;
}

@@ -25,0 +25,0 @@ export declare const logger: ReplayLogger;

@@ -1,2 +0,1 @@

import { IntegrationIndex } from '@sentry/core';
import { Client, ReplayEvent, Scope } from '@sentry/core';

@@ -7,5 +6,3 @@ /**

export declare function prepareReplayEvent({ client, scope, replayId: event_id, event, }: {
client: Client & {
_integrations?: IntegrationIndex;
};
client: Client;
scope: Scope;

@@ -12,0 +9,0 @@ replayId: string;

@@ -1,2 +0,27 @@

export declare const WINDOW: import("@sentry/core").InternalGlobal & Window;
export declare const WINDOW: {
navigator?: {
userAgent?: string | undefined;
maxTouchPoints?: number | undefined;
} | undefined;
console: Console;
PerformanceObserver?: any;
Sentry?: any;
onerror?: {
(event: string | object, source?: string | undefined, lineno?: number | undefined, colno?: number | undefined, error?: Error | undefined): any;
__SENTRY_INSTRUMENTED__?: true | undefined;
} | undefined;
onunhandledrejection?: {
(event: unknown): boolean;
__SENTRY_INSTRUMENTED__?: true | undefined;
} | undefined;
SENTRY_ENVIRONMENT?: string | undefined;
SENTRY_DSN?: string | undefined;
SENTRY_RELEASE?: {
id?: string | undefined;
} | undefined;
SENTRY_SDK_SOURCE?: import("@sentry/core").SdkSource | undefined;
_sentryDebugIds?: Record<string, string> | undefined;
_sentryModuleMetadata?: Record<string, any> | undefined;
_sentryEsmLoaderHookRegistered?: boolean | undefined;
} & import("@sentry/core").Carrier & Window;
export declare const REPLAY_SESSION_KEY = "sentryReplaySession";

@@ -3,0 +28,0 @@ export declare const REPLAY_EVENT_NAME = "replay_event";

@@ -20,5 +20,2 @@ import type { Client, Integration, ReplayRecordingMode } from '@sentry/core';

* Replay integration
*
* TODO: Rewrite this to be functional integration
* Exported for tests.
*/

@@ -29,6 +26,2 @@ export declare class Replay implements Integration {

*/
static id: string;
/**
* @inheritDoc
*/
name: string;

@@ -35,0 +28,0 @@ /**

@@ -72,2 +72,19 @@ import type { ReplayRecordingMode, Span } from '@sentry/core';

private _canvas;
/**
* Handle when visibility of the page content changes. Opening a new tab will
* cause the state to change to hidden because of content of current page will
* be hidden. Likewise, moving a different window to cover the contents of the
* page will also trigger a change to a hidden state.
*/
private _handleVisibilityChange;
/**
* Handle when page is blurred
*/
private _handleWindowBlur;
/**
* Handle when page is focused
*/
private _handleWindowFocus;
/** Ensure page remains active when a key is pressed. */
private _handleKeyboardEvent;
constructor({ options, recordingOptions, }: {

@@ -248,19 +265,2 @@ options: ReplayPluginOptions;

/**
* Handle when visibility of the page content changes. Opening a new tab will
* cause the state to change to hidden because of content of current page will
* be hidden. Likewise, moving a different window to cover the contents of the
* page will also trigger a change to a hidden state.
*/
private _handleVisibilityChange;
/**
* Handle when page is blurred
*/
private _handleWindowBlur;
/**
* Handle when page is focused
*/
private _handleWindowFocus;
/** Ensure page remains active when a key is pressed. */
private _handleKeyboardEvent;
/**
* Tasks to run when we consider a page to be hidden (via blurring and/or visibility)

@@ -267,0 +267,0 @@ */

@@ -22,3 +22,3 @@ import type { ConsoleLevel } from '@sentry/core';

*/
setConfig(config: LoggerConfig): void;
setConfig(config: Partial<LoggerConfig>): void;
}

@@ -25,0 +25,0 @@ export declare const logger: ReplayLogger;

@@ -1,2 +0,1 @@

import type { IntegrationIndex } from '@sentry/core';
import type { Client, ReplayEvent, Scope } from '@sentry/core';

@@ -7,5 +6,3 @@ /**

export declare function prepareReplayEvent({ client, scope, replayId: event_id, event, }: {
client: Client & {
_integrations?: IntegrationIndex;
};
client: Client;
scope: Scope;

@@ -12,0 +9,0 @@ replayId: string;

{
"name": "@sentry-internal/replay",
"version": "8.50.0",
"version": "9.0.0-alpha.0",
"description": "User replays for Sentry",

@@ -22,3 +22,3 @@ "main": "build/npm/cjs/index.js",

"typesVersions": {
"<4.9": {
"<5.0": {
"build/npm/types/index.d.ts": [

@@ -72,6 +72,6 @@ "build/npm/types-ts3.8/index.d.ts"

"@babel/core": "^7.17.5",
"@sentry-internal/replay-worker": "8.50.0",
"@sentry-internal/replay-worker": "9.0.0-alpha.0",
"@sentry-internal/rrweb": "2.31.0",
"@sentry-internal/rrweb-snapshot": "2.31.0",
"fflate": "^0.8.1",
"fflate": "0.8.2",
"jest-matcher-utils": "^29.0.0",

@@ -81,7 +81,7 @@ "jsdom-worker": "^0.2.1"

"dependencies": {
"@sentry-internal/browser-utils": "8.50.0",
"@sentry/core": "8.50.0"
"@sentry-internal/browser-utils": "9.0.0-alpha.0",
"@sentry/core": "9.0.0-alpha.0"
},
"engines": {
"node": ">=14.18"
"node": ">=18"
},

@@ -88,0 +88,0 @@ "volta": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc