Skip to content

Commit e2a66d4

Browse files
Bump the all-minor-patch group across 1 directory with 5 updates (#1737)
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Arda TANRIKULU <[email protected]>
1 parent 9c96fe6 commit e2a66d4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+506
-476
lines changed

internal/heapsnapshot/src/HeapSnapshot.ts

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -138,9 +138,7 @@ export interface HeapSnapshotItemIndexProvider {
138138
itemForIndex(newIndex: number): HeapSnapshotItem;
139139
}
140140

141-
export class HeapSnapshotNodeIndexProvider
142-
implements HeapSnapshotItemIndexProvider
143-
{
141+
export class HeapSnapshotNodeIndexProvider implements HeapSnapshotItemIndexProvider {
144142
#node: HeapSnapshotNode;
145143
constructor(snapshot: HeapSnapshot) {
146144
this.#node = snapshot.createNode();
@@ -152,9 +150,7 @@ export class HeapSnapshotNodeIndexProvider
152150
}
153151
}
154152

155-
export class HeapSnapshotEdgeIndexProvider
156-
implements HeapSnapshotItemIndexProvider
157-
{
153+
export class HeapSnapshotEdgeIndexProvider implements HeapSnapshotItemIndexProvider {
158154
#edge: JSHeapSnapshotEdge;
159155
constructor(snapshot: HeapSnapshot) {
160156
this.#edge = snapshot.createEdge(0);
@@ -166,9 +162,7 @@ export class HeapSnapshotEdgeIndexProvider
166162
}
167163
}
168164

169-
export class HeapSnapshotRetainerEdgeIndexProvider
170-
implements HeapSnapshotItemIndexProvider
171-
{
165+
export class HeapSnapshotRetainerEdgeIndexProvider implements HeapSnapshotItemIndexProvider {
172166
readonly #retainerEdge: JSHeapSnapshotRetainerEdge;
173167
constructor(snapshot: HeapSnapshot) {
174168
this.#retainerEdge = snapshot.createRetainingEdge(0);
@@ -331,9 +325,7 @@ export class HeapSnapshotRetainerEdge implements HeapSnapshotItem {
331325
}
332326
}
333327

334-
export class HeapSnapshotRetainerEdgeIterator
335-
implements HeapSnapshotItemIterator
336-
{
328+
export class HeapSnapshotRetainerEdgeIterator implements HeapSnapshotItemIterator {
337329
readonly #retainersEnd: number;
338330
retainer: JSHeapSnapshotRetainerEdge;
339331
constructor(retainedNode: HeapSnapshotNode) {
@@ -631,9 +623,7 @@ export class HeapSnapshotNodeIterator implements HeapSnapshotItemIterator {
631623
}
632624
}
633625

634-
export class HeapSnapshotIndexRangeIterator
635-
implements HeapSnapshotItemIterator
636-
{
626+
export class HeapSnapshotIndexRangeIterator implements HeapSnapshotItemIterator {
637627
readonly #itemProvider: HeapSnapshotItemIndexProvider;
638628
readonly #indexes: number[] | Uint32Array;
639629
#position: number;
@@ -838,9 +828,7 @@ interface Retainers {
838828
}
839829

840830
interface ArgumentsToComputeDominatorsAndRetainedSizes
841-
extends SecondaryInitArgumentsStep1,
842-
Retainers,
843-
SecondaryInitArgumentsStep2 {
831+
extends SecondaryInitArgumentsStep1, Retainers, SecondaryInitArgumentsStep2 {
844832
// For each edge ordinal, this bit vector contains whether the edge
845833
// should be used when computing dominators.
846834
essentialEdges: Platform.TypedArrayUtilities.BitVector;
@@ -858,7 +846,8 @@ interface DominatorsAndRetainedSizes {
858846
}
859847

860848
interface ArgumentsToBuildDominatedNodes
861-
extends ArgumentsToComputeDominatorsAndRetainedSizes,
849+
extends
850+
ArgumentsToComputeDominatorsAndRetainedSizes,
862851
DominatorsAndRetainedSizes {}
863852

864853
interface DominatedNodes {
@@ -872,9 +861,7 @@ interface DominatedNodes {
872861

873862
// The data transferred from the secondary worker to the primary.
874863
interface ResultsFromSecondWorker
875-
extends Retainers,
876-
DominatorsAndRetainedSizes,
877-
DominatedNodes {}
864+
extends Retainers, DominatorsAndRetainedSizes, DominatedNodes {}
878865

879866
// Initialization work is split into two threads. This class is the entry point
880867
// for work done by the second thread.

internal/perf/src/memtest.ts

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,17 @@ const flags =
4545
return flag as (typeof supportedFlags)[number];
4646
}) || [];
4747

48-
export interface MemtestOptions
49-
extends Omit<
50-
LoadtestOptions,
51-
| 'memorySnapshotWindow'
52-
| 'idle'
53-
| 'duration'
54-
| 'calmdown'
55-
| 'runs'
56-
| 'server'
57-
| 'query'
58-
| 'pathname'
59-
> {
48+
export interface MemtestOptions extends Omit<
49+
LoadtestOptions,
50+
| 'memorySnapshotWindow'
51+
| 'idle'
52+
| 'duration'
53+
| 'calmdown'
54+
| 'runs'
55+
| 'server'
56+
| 'query'
57+
| 'pathname'
58+
> {
6059
/**
6160
* The GraphQL query to execute for the loadtest.
6261
* Either `query` or `pathname` must be provided.

internal/testing/src/composeLocalSchemasWithApollo.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ export interface ComposeLocalSchemaWithApolloSubgraphOpts {
99
export async function composeLocalSchemasWithApollo(
1010
subgraphs: ComposeLocalSchemaWithApolloSubgraphOpts[],
1111
) {
12-
const { IntrospectAndCompose, LocalGraphQLDataSource } = await import(
13-
'@apollo/gateway'
14-
);
12+
const { IntrospectAndCompose, LocalGraphQLDataSource } =
13+
await import('@apollo/gateway');
1514
let { supergraphSdl, cleanup } = await new IntrospectAndCompose({
1615
subgraphs: subgraphs.map(({ name, url = `http://localhost/${name}` }) => ({
1716
name,

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@
5151
"eslint-plugin-n": "17.23.1",
5252
"graphql": "16.12.0",
5353
"jest": "30.2.0",
54-
"prettier": "3.6.2",
54+
"prettier": "3.7.1",
5555
"prettier-plugin-pkg": "0.21.2",
5656
"prettier-plugin-sh": "0.18.0",
5757
"ts-jest": "29.4.5",
5858
"ts-node": "10.9.2",
5959
"typescript": "5.9.3",
60-
"typescript-eslint": "8.47.0",
60+
"typescript-eslint": "8.48.0",
6161
"vite": "7.2.4",
6262
"vite-tsconfig-paths": "patch:vite-tsconfig-paths@npm:5.1.3#~/.yarn/patches/vite-tsconfig-paths-npm-5.1.3-1736ca1872.patch",
6363
"vitest": "3.2.4"

packages/delegate/src/Subschema.ts

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,21 @@ export function isSubschema(value: any): value is Subschema {
1313
return Boolean(value.transformedSchema);
1414
}
1515

16-
interface ISubschema<K = any, V = any, C = K, TContext = Record<string, any>>
17-
extends SubschemaConfig<K, V, C, TContext> {
16+
interface ISubschema<
17+
K = any,
18+
V = any,
19+
C = K,
20+
TContext = Record<string, any>,
21+
> extends SubschemaConfig<K, V, C, TContext> {
1822
transformedSchema: GraphQLSchema;
1923
}
2024

21-
export class Subschema<K = any, V = any, C = K, TContext = Record<string, any>>
22-
implements ISubschema<K, V, C, TContext>
23-
{
25+
export class Subschema<
26+
K = any,
27+
V = any,
28+
C = K,
29+
TContext = Record<string, any>,
30+
> implements ISubschema<K, V, C, TContext> {
2431
public name?: string;
2532
public schema: GraphQLSchema;
2633

packages/federation/src/supergraph.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,10 @@ const memoizedTypePrint = memoize1((type: GraphQLOutputType) =>
100100
type.toString(),
101101
);
102102

103-
export interface FederationSubschemaConfig
104-
extends Omit<SubschemaConfig, 'executor' | 'name'> {
103+
export interface FederationSubschemaConfig extends Omit<
104+
SubschemaConfig,
105+
'executor' | 'name'
106+
> {
105107
executor: Executor;
106108
name: string;
107109
endpoint: string;
@@ -1651,8 +1653,7 @@ export function getStitchingOptionsFromSupergraphSdl(
16511653
};
16521654
}
16531655

1654-
export interface GetStitchedSchemaFromSupergraphSdlOpts
1655-
extends GetStitchingOptionsFromSupergraphSdlOpts {
1656+
export interface GetStitchedSchemaFromSupergraphSdlOpts extends GetStitchingOptionsFromSupergraphSdlOpts {
16561657
supergraphSdl: string | DocumentNode;
16571658
onStitchingOptions?(
16581659
opts: ReturnType<typeof getStitchingOptionsFromSupergraphSdl>,

packages/federation/tests/managed-federation.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,8 @@ describe('Managed Federation', () => {
270270

271271
it.skipIf(process.env['LEAK_TEST'])('works with ApolloServer', async () => {
272272
const { ApolloServer } = await import('@apollo/server');
273-
const { startStandaloneServer } = await import(
274-
'@apollo/server/standalone'
275-
);
273+
const { startStandaloneServer } =
274+
await import('@apollo/server/standalone');
276275
using gateway = new SupergraphSchemaManager({
277276
fetch: mockSDL,
278277
onStitchedSchema(schema) {

packages/fusion-runtime/src/federation/supergraph.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,7 @@ export function handleResolveToDirectives(
153153
return mergedTypeDefs;
154154
}
155155

156-
export interface HandleFederationSupergraphResult
157-
extends UnifiedGraphHandlerResult {
156+
export interface HandleFederationSupergraphResult extends UnifiedGraphHandlerResult {
158157
getSubschema(subgraphName: string): SubschemaConfig;
159158
}
160159

packages/gateway/src/cli.ts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ export type GatewayCLIConfig<
5656
export interface GatewayCLISupergraphConfig<
5757
TContext extends Record<string, any> = Record<string, any>,
5858
> extends Omit<
59-
GatewayConfigSupergraph<TContext>,
60-
'supergraph' | 'cache' | 'reporting'
61-
> {
59+
GatewayConfigSupergraph<TContext>,
60+
'supergraph' | 'cache' | 'reporting'
61+
> {
6262
/**
6363
* SDL, path or an URL to the Federation Supergraph.
6464
*
@@ -73,8 +73,10 @@ export interface GatewayCLISupergraphConfig<
7373
reporting?: GatewayCLIHiveReportingOptions | GatewayGraphOSReportingOptions;
7474
}
7575

76-
export interface GatewayCLIHiveReportingOptions
77-
extends Omit<GatewayHiveReportingOptions, 'target' | 'token'> {
76+
export interface GatewayCLIHiveReportingOptions extends Omit<
77+
GatewayHiveReportingOptions,
78+
'target' | 'token'
79+
> {
7880
/**
7981
* The target to which the usage data should be reported to.
8082
*

packages/gateway/src/commands/handleOpenTelemetryCLIOpts.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ export async function handleOpenTelemetryCLIOpts(
3030
'Initializing OpenTelemetry SDK',
3131
);
3232

33-
const { openTelemetrySetup, HiveTracingSpanProcessor } = await import(
34-
'@graphql-hive/plugin-opentelemetry/setup'
35-
);
33+
const { openTelemetrySetup, HiveTracingSpanProcessor } =
34+
await import('@graphql-hive/plugin-opentelemetry/setup');
3635
const processors: SpanProcessor[] = [];
3736

3837
const logAttributes = {

0 commit comments

Comments
 (0)