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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
"madge": "8.0.0",
"nodemon": "^3.1.10",
"npm-run-all2": "^6.2.0",
"prettier": "^3.6.2",
"prettier": "^3.8.1",
"prettier-plugin-astro": "^0.14.1",
"rimraf": "^5.0.10",
"rollup": "^4.35.0",
Expand Down
8 changes: 4 additions & 4 deletions packages/browser/src/integrations/spotlight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ export const spotlightBrowserIntegration = defineIntegration(_spotlightIntegrati
export function isSpotlightInteraction(event: Event): boolean {
return Boolean(
event.type === 'transaction' &&
event.spans &&
event.contexts?.trace &&
event.contexts.trace.op === 'ui.action.click' &&
event.spans.some(({ description }) => description?.includes('#sentry-spotlight')),
event.spans &&
event.contexts?.trace &&
event.contexts.trace.op === 'ui.action.click' &&
event.spans.some(({ description }) => description?.includes('#sentry-spotlight')),
);
}
5 changes: 1 addition & 4 deletions packages/core/src/types-hoist/feedback/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ export type { FeedbackEvent, UserFeedback, SendFeedback, SendFeedbackParams };
* The integration's internal `options` member where every value should be set
*/
export interface FeedbackInternalOptions
extends FeedbackGeneralConfiguration,
FeedbackThemeConfiguration,
FeedbackTextConfiguration,
FeedbackCallbacks {}
extends FeedbackGeneralConfiguration, FeedbackThemeConfiguration, FeedbackTextConfiguration, FeedbackCallbacks {}

type Hooks = unknown;
type HTMLElement = unknown;
Expand Down
6 changes: 4 additions & 2 deletions packages/core/src/types-hoist/options.ts
Original file line number Diff line number Diff line change
Expand Up @@ -616,8 +616,10 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
}

/** Base configuration options for every SDK. */
export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOptions>
extends Omit<Partial<ClientOptions<TO>>, 'integrations' | 'transport' | 'stackParser'> {
export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOptions> extends Omit<
Partial<ClientOptions<TO>>,
'integrations' | 'transport' | 'stackParser'
> {
/**
* If this is set to false, default integrations will not be added, otherwise this will internally be set to the
* recommended default integrations.
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/utils/flushIfServerless.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async function flushWithTimeout(timeout: number): Promise<void> {
*/
export async function flushIfServerless(
params: // eslint-disable-next-line @typescript-eslint/no-explicit-any
| { timeout?: number; cloudflareWaitUntil?: (task: Promise<any>) => void }
| { timeout?: number; cloudflareWaitUntil?: (task: Promise<any>) => void }
| { timeout?: number; cloudflareCtx?: MinimalCloudflareContext } = {},
): Promise<void> {
const { timeout = 2000 } = params;
Expand Down
6 changes: 4 additions & 2 deletions packages/feedback/src/core/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import type { FeedbackInternalOptions } from '@sentry/core';
*
* This is the config that gets passed into the integration constructor
*/
export interface OptionalFeedbackConfiguration
extends Omit<Partial<FeedbackInternalOptions>, 'themeLight' | 'themeDark'> {
export interface OptionalFeedbackConfiguration extends Omit<
Partial<FeedbackInternalOptions>,
'themeLight' | 'themeDark'
> {
themeLight?: Partial<FeedbackInternalOptions['themeLight']>;
themeDark?: Partial<FeedbackInternalOptions['themeLight']>;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1114,9 +1114,8 @@ describe('tryUpdateSpanNameBeforeEnd - source upgrade logic', () => {
const { handleNavigation } = await import('../../src/reactrouter-compat-utils/instrumentation');
const { startBrowserTracingNavigationSpan } = await import('@sentry/browser');
const { spanToJSON } = await import('@sentry/core');
const { transactionNameHasWildcard, resolveRouteNameAndSource } = await import(
'../../src/reactrouter-compat-utils/utils'
);
const { transactionNameHasWildcard, resolveRouteNameAndSource } =
await import('../../src/reactrouter-compat-utils/utils');

const location: Location = {
pathname: '/users/123',
Expand Down
3 changes: 2 additions & 1 deletion packages/replay-internal/src/types/replay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,8 @@ export interface ReplayIntegrationPrivacyOptions {
}

export interface ReplayConfiguration
extends ReplayIntegrationPrivacyOptions,
extends
ReplayIntegrationPrivacyOptions,
OptionalReplayPluginOptions,
Pick<RecordingOptions, 'maskAllText' | 'maskAllInputs'> {}

Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26784,10 +26784,10 @@ prettier@^2.5.1:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==

prettier@^3.0.0, prettier@^3.6.2:
version "3.6.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393"
integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==
prettier@^3.0.0, prettier@^3.6.2, prettier@^3.8.1:
version "3.8.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.8.1.tgz#edf48977cf991558f4fcbd8a3ba6015ba2a3a173"
integrity sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==

pretty-bytes@^5.3.0, pretty-bytes@^5.4.1:
version "5.6.0"
Expand Down
Loading