Skip to content

Commit 7b0de9b

Browse files
committed
chore: bump prettier to 3.8
1 parent a8acff4 commit 7b0de9b

File tree

9 files changed

+24
-18
lines changed

9 files changed

+24
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
"madge": "8.0.0",
130130
"nodemon": "^3.1.10",
131131
"npm-run-all2": "^6.2.0",
132-
"prettier": "^3.6.2",
132+
"prettier": "^3.8.1",
133133
"prettier-plugin-astro": "^0.14.1",
134134
"rimraf": "^5.0.10",
135135
"rollup": "^4.35.0",

packages/browser/src/integrations/spotlight.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,9 @@ export const spotlightBrowserIntegration = defineIntegration(_spotlightIntegrati
8080
export function isSpotlightInteraction(event: Event): boolean {
8181
return Boolean(
8282
event.type === 'transaction' &&
83-
event.spans &&
84-
event.contexts?.trace &&
85-
event.contexts.trace.op === 'ui.action.click' &&
86-
event.spans.some(({ description }) => description?.includes('#sentry-spotlight')),
83+
event.spans &&
84+
event.contexts?.trace &&
85+
event.contexts.trace.op === 'ui.action.click' &&
86+
event.spans.some(({ description }) => description?.includes('#sentry-spotlight')),
8787
);
8888
}

packages/core/src/types-hoist/feedback/index.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ export type { FeedbackEvent, UserFeedback, SendFeedback, SendFeedbackParams };
1515
* The integration's internal `options` member where every value should be set
1616
*/
1717
export interface FeedbackInternalOptions
18-
extends FeedbackGeneralConfiguration,
19-
FeedbackThemeConfiguration,
20-
FeedbackTextConfiguration,
21-
FeedbackCallbacks {}
18+
extends FeedbackGeneralConfiguration, FeedbackThemeConfiguration, FeedbackTextConfiguration, FeedbackCallbacks {}
2219

2320
type Hooks = unknown;
2421
type HTMLElement = unknown;

packages/core/src/types-hoist/options.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,8 +616,10 @@ export interface ClientOptions<TO extends BaseTransportOptions = BaseTransportOp
616616
}
617617

618618
/** Base configuration options for every SDK. */
619-
export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOptions>
620-
extends Omit<Partial<ClientOptions<TO>>, 'integrations' | 'transport' | 'stackParser'> {
619+
export interface CoreOptions<TO extends BaseTransportOptions = BaseTransportOptions> extends Omit<
620+
Partial<ClientOptions<TO>>,
621+
'integrations' | 'transport' | 'stackParser'
622+
> {
621623
/**
622624
* If this is set to false, default integrations will not be added, otherwise this will internally be set to the
623625
* recommended default integrations.

packages/core/src/utils/flushIfServerless.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function flushWithTimeout(timeout: number): Promise<void> {
3636
*/
3737
export async function flushIfServerless(
3838
params: // eslint-disable-next-line @typescript-eslint/no-explicit-any
39-
| { timeout?: number; cloudflareWaitUntil?: (task: Promise<any>) => void }
39+
| { timeout?: number; cloudflareWaitUntil?: (task: Promise<any>) => void }
4040
| { timeout?: number; cloudflareCtx?: MinimalCloudflareContext } = {},
4141
): Promise<void> {
4242
const { timeout = 2000 } = params;

packages/feedback/src/core/types.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import type { FeedbackInternalOptions } from '@sentry/core';
55
*
66
* This is the config that gets passed into the integration constructor
77
*/
8-
export interface OptionalFeedbackConfiguration
9-
extends Omit<Partial<FeedbackInternalOptions>, 'themeLight' | 'themeDark'> {
8+
export interface OptionalFeedbackConfiguration extends Omit<
9+
Partial<FeedbackInternalOptions>,
10+
'themeLight' | 'themeDark'
11+
> {
1012
themeLight?: Partial<FeedbackInternalOptions['themeLight']>;
1113
themeDark?: Partial<FeedbackInternalOptions['themeLight']>;
1214
}

packages/react/test/reactrouter-compat-utils/instrumentation.test.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,9 +1114,8 @@ describe('tryUpdateSpanNameBeforeEnd - source upgrade logic', () => {
11141114
const { handleNavigation } = await import('../../src/reactrouter-compat-utils/instrumentation');
11151115
const { startBrowserTracingNavigationSpan } = await import('@sentry/browser');
11161116
const { spanToJSON } = await import('@sentry/core');
1117-
const { transactionNameHasWildcard, resolveRouteNameAndSource } = await import(
1118-
'../../src/reactrouter-compat-utils/utils'
1119-
);
1117+
const { transactionNameHasWildcard, resolveRouteNameAndSource } =
1118+
await import('../../src/reactrouter-compat-utils/utils');
11201119

11211120
const location: Location = {
11221121
pathname: '/users/123',

packages/replay-internal/src/types/replay.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,8 @@ export interface ReplayIntegrationPrivacyOptions {
321321
}
322322

323323
export interface ReplayConfiguration
324-
extends ReplayIntegrationPrivacyOptions,
324+
extends
325+
ReplayIntegrationPrivacyOptions,
325326
OptionalReplayPluginOptions,
326327
Pick<RecordingOptions, 'maskAllText' | 'maskAllInputs'> {}
327328

yarn.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26789,6 +26789,11 @@ prettier@^3.0.0, prettier@^3.6.2:
2678926789
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393"
2679026790
integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==
2679126791

26792+
prettier@^3.8.1:
26793+
version "3.8.1"
26794+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.8.1.tgz#edf48977cf991558f4fcbd8a3ba6015ba2a3a173"
26795+
integrity sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==
26796+
2679226797
pretty-bytes@^5.3.0, pretty-bytes@^5.4.1:
2679326798
version "5.6.0"
2679426799
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"

0 commit comments

Comments
 (0)