diff --git a/examples/apollo-server/index.ts b/examples/apollo-server/index.ts index fdee954820..33f6facd62 100644 --- a/examples/apollo-server/index.ts +++ b/examples/apollo-server/index.ts @@ -31,7 +31,9 @@ const getEnveloped = envelop({ }); const executor: GatewayExecutor = async requestContext => { - const { schema, execute, contextFactory } = getEnveloped({ req: requestContext.request.http }); + const { schema, execute, contextFactory } = getEnveloped({ + req: requestContext.request.http, + }); return execute({ schema, diff --git a/examples/azure-functions/index.ts b/examples/azure-functions/index.ts index 4bff4f2718..32107a5b32 100644 --- a/examples/azure-functions/index.ts +++ b/examples/azure-functions/index.ts @@ -26,7 +26,9 @@ const getEnveloped = envelop({ }); export const index: AzureFunction = async (context: Context, req: HttpRequest): Promise => { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/cloudflare-workers/index.ts b/examples/cloudflare-workers/index.ts index 436aff77da..a8f3a76953 100644 --- a/examples/cloudflare-workers/index.ts +++ b/examples/cloudflare-workers/index.ts @@ -25,7 +25,9 @@ const getEnveloped = envelop({ }); router.add('POST', '/graphql', async (req, res) => { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/express-graphql/index.ts b/examples/express-graphql/index.ts index 45c8c346b6..991fafff1f 100644 --- a/examples/express-graphql/index.ts +++ b/examples/express-graphql/index.ts @@ -26,7 +26,10 @@ const app = express(); app.use( '/graphql', graphqlHTTP(async (req, res) => { - const { parse, validate, contextFactory, execute } = getEnveloped({ req, res }); + const { parse, validate, contextFactory, execute } = getEnveloped({ + req, + res, + }); return { schema, graphiql: true, diff --git a/examples/google-cloud-functions/index.ts b/examples/google-cloud-functions/index.ts index a8d3bd0b00..17b927ba86 100644 --- a/examples/google-cloud-functions/index.ts +++ b/examples/google-cloud-functions/index.ts @@ -27,7 +27,9 @@ const getEnveloped = envelop({ // https://firebase.google.com/docs/functions/typescript export const helloWorld = functions.https.onRequest(async (req, res) => { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/graphql-helix-auth0/index.ts b/examples/graphql-helix-auth0/index.ts index 2ddfa1e650..15c1328dad 100644 --- a/examples/graphql-helix-auth0/index.ts +++ b/examples/graphql-helix-auth0/index.ts @@ -96,7 +96,9 @@ app.route({ method: ['GET', 'POST'], url: '/graphql', async handler(req, res) { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/graphql-helix-defer-stream/index.ts b/examples/graphql-helix-defer-stream/index.ts index 1afb0eade0..fdcdc1e2a4 100644 --- a/examples/graphql-helix-defer-stream/index.ts +++ b/examples/graphql-helix-defer-stream/index.ts @@ -159,7 +159,9 @@ app.route({ method: ['GET', 'POST'], url: '/graphql', async handler(req, res) { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/graphql-helix/index.ts b/examples/graphql-helix/index.ts index b694e12709..0cd9215049 100644 --- a/examples/graphql-helix/index.ts +++ b/examples/graphql-helix/index.ts @@ -37,7 +37,9 @@ app.route({ method: ['GET', 'POST'], url: '/graphql', async handler(req, res) { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/lambda-aws/index.ts b/examples/lambda-aws/index.ts index 900866f108..34efa5dba4 100644 --- a/examples/lambda-aws/index.ts +++ b/examples/lambda-aws/index.ts @@ -26,7 +26,9 @@ const getEnveloped = envelop({ }); export const lambdaHandler: APIGatewayProxyHandler = async event => { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req: event }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req: event, + }); const request = { body: event.body, headers: event.headers, diff --git a/examples/nexus/index.ts b/examples/nexus/index.ts index 51f33443bb..074f9d1df0 100644 --- a/examples/nexus/index.ts +++ b/examples/nexus/index.ts @@ -81,7 +81,9 @@ app.route({ method: ['GET', 'POST'], url: '/graphql', async handler(req, res) { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/simple-http/index.ts b/examples/simple-http/index.ts index fba9a4cf20..c6391cfde0 100644 --- a/examples/simple-http/index.ts +++ b/examples/simple-http/index.ts @@ -25,7 +25,9 @@ const getEnveloped = envelop({ }); const server = createServer((req, res) => { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); let payload = ''; req.on('data', chunk => { diff --git a/examples/typegraphql/index.ts b/examples/typegraphql/index.ts index 27d4b6e704..562ef0a074 100644 --- a/examples/typegraphql/index.ts +++ b/examples/typegraphql/index.ts @@ -68,7 +68,9 @@ app.route({ method: ['GET', 'POST'], url: '/graphql', async handler(req, res) { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, diff --git a/examples/with-esm/src/index.ts b/examples/with-esm/src/index.ts index 90cbf56c07..1a4e53b72e 100644 --- a/examples/with-esm/src/index.ts +++ b/examples/with-esm/src/index.ts @@ -37,7 +37,9 @@ app.route({ method: ['GET', 'POST'], url: '/graphql', async handler(req, res) { - const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req }); + const { parse, validate, contextFactory, execute, schema } = getEnveloped({ + req, + }); const request = { body: req.body, headers: req.headers, @@ -70,6 +72,11 @@ app.route({ }, }); -app.listen(3000, () => { - console.log(`GraphQL server is running in http://127.0.0.1:3000/graphql.`); -}); +app.listen( + { + port: 3000, + }, + () => { + console.log(`GraphQL server is running in http://127.0.0.1:3000/graphql.`); + }, +); diff --git a/package.json b/package.json index ae9e41e489..91e8315dbd 100644 --- a/package.json +++ b/package.json @@ -37,8 +37,8 @@ "@types/jest": "30.0.0", "@types/k6": "1.4.0", "@types/node": "24.10.4", - "@typescript-eslint/eslint-plugin": "8.48.1", - "@typescript-eslint/parser": "8.48.1", + "@typescript-eslint/eslint-plugin": "8.50.0", + "@typescript-eslint/parser": "8.50.0", "bob-the-bundler": "7.0.1", "caniuse-lite": "^1.0.30001692", "chalk": "5.6.2", diff --git a/packages/core/src/plugins/use-error-handler.ts b/packages/core/src/plugins/use-error-handler.ts index 20b1332064..88f7797354 100644 --- a/packages/core/src/plugins/use-error-handler.ts +++ b/packages/core/src/plugins/use-error-handler.ts @@ -55,7 +55,11 @@ export const useErrorHandler = >( onValidate() { return function onValidateEnd({ valid, result, context }) { if (valid === false && result.length > 0) { - errorHandler({ errors: result as Error[], context, phase: 'validate' }); + errorHandler({ + errors: result as Error[], + context, + phase: 'validate', + }); } }; }, @@ -64,8 +68,12 @@ export const useErrorHandler = >( if (isGraphQLError(error)) { errorHandler({ errors: [error], context, phase: 'context' }); } else { - // @ts-expect-error its not an error at this point so we just create a new one - can we handle this better? - errorHandler({ errors: [new Error(error)], context, phase: 'context' }); + errorHandler({ + // @ts-expect-error its not an error at this point so we just create a new one - can we handle this better? + errors: [new Error(error)], + context, + phase: 'context', + }); } }); }, diff --git a/packages/core/src/plugins/use-masked-errors.ts b/packages/core/src/plugins/use-masked-errors.ts index 05bcab4b13..93177d80a6 100644 --- a/packages/core/src/plugins/use-masked-errors.ts +++ b/packages/core/src/plugins/use-masked-errors.ts @@ -87,7 +87,10 @@ const makeHandleResult = setResult: (result: ExecutionResult) => void; }) => { if (result.errors != null) { - setResult({ ...result, errors: result.errors.map(error => maskError(error, message)) }); + setResult({ + ...result, + errors: result.errors.map(error => maskError(error, message)), + }); } }; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1cd6c1a198..8d31bd56fb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -81,11 +81,11 @@ importers: specifier: 24.10.4 version: 24.10.4 '@typescript-eslint/eslint-plugin': - specifier: 8.48.1 - version: 8.48.1(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + specifier: 8.50.0 + version: 8.50.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) '@typescript-eslint/parser': - specifier: 8.48.1 - version: 8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + specifier: 8.50.0 + version: 8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) bob-the-bundler: specifier: 7.0.1 version: 7.0.1(typescript@5.9.3) @@ -106,10 +106,10 @@ importers: version: 10.1.8(eslint@9.39.2(jiti@1.21.7)) eslint-config-standard: specifier: 17.1.0 - version: 17.1.0(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)))(eslint-plugin-n@17.23.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-plugin-promise@7.2.1(eslint@9.39.2(jiti@1.21.7)))(eslint@9.39.2(jiti@1.21.7)) + version: 17.1.0(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)))(eslint-plugin-n@17.23.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-plugin-promise@7.2.1(eslint@9.39.2(jiti@1.21.7)))(eslint@9.39.2(jiti@1.21.7)) eslint-plugin-import: specifier: 2.32.0 - version: 2.32.0(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)) + version: 2.32.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)) eslint-plugin-n: specifier: 17.23.1 version: 17.23.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) @@ -5394,63 +5394,63 @@ packages: '@types/yup@0.29.13': resolution: {integrity: sha512-qRyuv+P/1t1JK1rA+elmK1MmCL1BapEzKKfbEhDBV/LMMse4lmhZ/XbgETI39JveDJRpLjmToOI6uFtMW/WR2g==} - '@typescript-eslint/eslint-plugin@8.48.1': - resolution: {integrity: sha512-X63hI1bxl5ohelzr0LY5coufyl0LJNthld+abwxpCoo6Gq+hSqhKwci7MUWkXo67mzgUK6YFByhmaHmUcuBJmA==} + '@typescript-eslint/eslint-plugin@8.50.0': + resolution: {integrity: sha512-O7QnmOXYKVtPrfYzMolrCTfkezCJS9+ljLdKW/+DCvRsc3UAz+sbH6Xcsv7p30+0OwUbeWfUDAQE0vpabZ3QLg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: - '@typescript-eslint/parser': ^8.48.1 + '@typescript-eslint/parser': ^8.50.0 eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/parser@8.48.1': - resolution: {integrity: sha512-PC0PDZfJg8sP7cmKe6L3QIL8GZwU5aRvUFedqSIpw3B+QjRSUZeeITC2M5XKeMXEzL6wccN196iy3JLwKNvDVA==} + '@typescript-eslint/parser@8.50.0': + resolution: {integrity: sha512-6/cmF2piao+f6wSxUsJLZjck7OQsYyRtcOZS02k7XINSNlz93v6emM8WutDQSXnroG2xwYlEVHJI+cPA7CPM3Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/project-service@8.48.1': - resolution: {integrity: sha512-HQWSicah4s9z2/HifRPQ6b6R7G+SBx64JlFQpgSSHWPKdvCZX57XCbszg/bapbRsOEv42q5tayTYcEFpACcX1w==} + '@typescript-eslint/project-service@8.50.0': + resolution: {integrity: sha512-Cg/nQcL1BcoTijEWyx4mkVC56r8dj44bFDvBdygifuS20f3OZCHmFbjF34DPSi07kwlFvqfv/xOLnJ5DquxSGQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/scope-manager@8.48.1': - resolution: {integrity: sha512-rj4vWQsytQbLxC5Bf4XwZ0/CKd362DkWMUkviT7DCS057SK64D5lH74sSGzhI6PDD2HCEq02xAP9cX68dYyg1w==} + '@typescript-eslint/scope-manager@8.50.0': + resolution: {integrity: sha512-xCwfuCZjhIqy7+HKxBLrDVT5q/iq7XBVBXLn57RTIIpelLtEIZHXAF/Upa3+gaCpeV1NNS5Z9A+ID6jn50VD4A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/tsconfig-utils@8.48.1': - resolution: {integrity: sha512-k0Jhs4CpEffIBm6wPaCXBAD7jxBtrHjrSgtfCjUvPp9AZ78lXKdTR8fxyZO5y4vWNlOvYXRtngSZNSn+H53Jkw==} + '@typescript-eslint/tsconfig-utils@8.50.0': + resolution: {integrity: sha512-vxd3G/ybKTSlm31MOA96gqvrRGv9RJ7LGtZCn2Vrc5htA0zCDvcMqUkifcjrWNNKXHUU3WCkYOzzVSFBd0wa2w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/type-utils@8.48.1': - resolution: {integrity: sha512-1jEop81a3LrJQLTf/1VfPQdhIY4PlGDBc/i67EVWObrtvcziysbLN3oReexHOM6N3jyXgCrkBsZpqwH0hiDOQg==} + '@typescript-eslint/type-utils@8.50.0': + resolution: {integrity: sha512-7OciHT2lKCewR0mFoBrvZJ4AXTMe/sYOe87289WAViOocEmDjjv8MvIOT2XESuKj9jp8u3SZYUSh89QA4S1kQw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/types@8.48.1': - resolution: {integrity: sha512-+fZ3LZNeiELGmimrujsDCT4CRIbq5oXdHe7chLiW8qzqyPMnn1puNstCrMNVAqwcl2FdIxkuJ4tOs/RFDBVc/Q==} + '@typescript-eslint/types@8.50.0': + resolution: {integrity: sha512-iX1mgmGrXdANhhITbpp2QQM2fGehBse9LbTf0sidWK6yg/NE+uhV5dfU1g6EYPlcReYmkE9QLPq/2irKAmtS9w==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} - '@typescript-eslint/typescript-estree@8.48.1': - resolution: {integrity: sha512-/9wQ4PqaefTK6POVTjJaYS0bynCgzh6ClJHGSBj06XEHjkfylzB+A3qvyaXnErEZSaxhIo4YdyBgq6j4RysxDg==} + '@typescript-eslint/typescript-estree@8.50.0': + resolution: {integrity: sha512-W7SVAGBR/IX7zm1t70Yujpbk+zdPq/u4soeFSknWFdXIFuWsBGBOUu/Tn/I6KHSKvSh91OiMuaSnYp3mtPt5IQ==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/utils@8.48.1': - resolution: {integrity: sha512-fAnhLrDjiVfey5wwFRwrweyRlCmdz5ZxXz2G/4cLn0YDLjTapmN4gcCsTBR1N2rWnZSDeWpYtgLDsJt+FpmcwA==} + '@typescript-eslint/utils@8.50.0': + resolution: {integrity: sha512-87KgUXET09CRjGCi2Ejxy3PULXna63/bMYv72tCAlDJC3Yqwln0HiFJ3VJMst2+mEtNtZu5oFvX4qJGjKsnAgg==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: eslint: ^8.57.0 || ^9.0.0 typescript: '>=4.8.4 <6.0.0' - '@typescript-eslint/visitor-keys@8.48.1': - resolution: {integrity: sha512-BmxxndzEWhE4TIEEMBs8lP3MBWN3jFPs/p6gPm/wkv02o41hI6cq9AuSmGAaTTHPtA1FTi2jBre4A9rm5ZmX+Q==} + '@typescript-eslint/visitor-keys@8.50.0': + resolution: {integrity: sha512-Xzmnb58+Db78gT/CCj/PVCvK+zxbnsw6F+O1oheYszJbBSdEjVhQi3C/Xttzxgi/GLmpvOggRs1RFpiJ8+c34Q==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} '@typescript/vfs@1.6.2': @@ -7601,9 +7601,6 @@ packages: graceful-fs@4.2.11: resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} - graphemer@1.4.0: - resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} - graphql-depth-limit@1.1.0: resolution: {integrity: sha512-+3B2BaG8qQ8E18kzk9yiSdAa75i/hnnOwgSeAxVJctGQPvmeiLtqKOYF6HETCyRjiF7Xfsyal0HbLlxCQkgkrw==} engines: {node: '>=6.0.0'} @@ -16120,16 +16117,15 @@ snapshots: '@types/yup@0.29.13': {} - '@typescript-eslint/eslint-plugin@8.48.1(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': + '@typescript-eslint/eslint-plugin@8.50.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': dependencies: '@eslint-community/regexpp': 4.12.2 - '@typescript-eslint/parser': 8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) - '@typescript-eslint/scope-manager': 8.48.1 - '@typescript-eslint/type-utils': 8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) - '@typescript-eslint/utils': 8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) - '@typescript-eslint/visitor-keys': 8.48.1 + '@typescript-eslint/parser': 8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/scope-manager': 8.50.0 + '@typescript-eslint/type-utils': 8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/utils': 8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.50.0 eslint: 9.39.2(jiti@1.21.7) - graphemer: 1.4.0 ignore: 7.0.5 natural-compare: 1.4.0 ts-api-utils: 2.1.0(typescript@5.9.3) @@ -16137,41 +16133,41 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': + '@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': dependencies: - '@typescript-eslint/scope-manager': 8.48.1 - '@typescript-eslint/types': 8.48.1 - '@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3) - '@typescript-eslint/visitor-keys': 8.48.1 + '@typescript-eslint/scope-manager': 8.50.0 + '@typescript-eslint/types': 8.50.0 + '@typescript-eslint/typescript-estree': 8.50.0(typescript@5.9.3) + '@typescript-eslint/visitor-keys': 8.50.0 debug: 4.4.3 eslint: 9.39.2(jiti@1.21.7) typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/project-service@8.48.1(typescript@5.9.3)': + '@typescript-eslint/project-service@8.50.0(typescript@5.9.3)': dependencies: - '@typescript-eslint/tsconfig-utils': 8.48.1(typescript@5.9.3) - '@typescript-eslint/types': 8.48.1 + '@typescript-eslint/tsconfig-utils': 8.50.0(typescript@5.9.3) + '@typescript-eslint/types': 8.50.0 debug: 4.4.3 typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/scope-manager@8.48.1': + '@typescript-eslint/scope-manager@8.50.0': dependencies: - '@typescript-eslint/types': 8.48.1 - '@typescript-eslint/visitor-keys': 8.48.1 + '@typescript-eslint/types': 8.50.0 + '@typescript-eslint/visitor-keys': 8.50.0 - '@typescript-eslint/tsconfig-utils@8.48.1(typescript@5.9.3)': + '@typescript-eslint/tsconfig-utils@8.50.0(typescript@5.9.3)': dependencies: typescript: 5.9.3 - '@typescript-eslint/type-utils@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': + '@typescript-eslint/type-utils@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': dependencies: - '@typescript-eslint/types': 8.48.1 - '@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3) - '@typescript-eslint/utils': 8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/types': 8.50.0 + '@typescript-eslint/typescript-estree': 8.50.0(typescript@5.9.3) + '@typescript-eslint/utils': 8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) debug: 4.4.3 eslint: 9.39.2(jiti@1.21.7) ts-api-utils: 2.1.0(typescript@5.9.3) @@ -16179,14 +16175,14 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/types@8.48.1': {} + '@typescript-eslint/types@8.50.0': {} - '@typescript-eslint/typescript-estree@8.48.1(typescript@5.9.3)': + '@typescript-eslint/typescript-estree@8.50.0(typescript@5.9.3)': dependencies: - '@typescript-eslint/project-service': 8.48.1(typescript@5.9.3) - '@typescript-eslint/tsconfig-utils': 8.48.1(typescript@5.9.3) - '@typescript-eslint/types': 8.48.1 - '@typescript-eslint/visitor-keys': 8.48.1 + '@typescript-eslint/project-service': 8.50.0(typescript@5.9.3) + '@typescript-eslint/tsconfig-utils': 8.50.0(typescript@5.9.3) + '@typescript-eslint/types': 8.50.0 + '@typescript-eslint/visitor-keys': 8.50.0 debug: 4.4.3 minimatch: 9.0.5 semver: 7.7.3 @@ -16196,20 +16192,20 @@ snapshots: transitivePeerDependencies: - supports-color - '@typescript-eslint/utils@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': + '@typescript-eslint/utils@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3)': dependencies: '@eslint-community/eslint-utils': 4.9.0(eslint@9.39.2(jiti@1.21.7)) - '@typescript-eslint/scope-manager': 8.48.1 - '@typescript-eslint/types': 8.48.1 - '@typescript-eslint/typescript-estree': 8.48.1(typescript@5.9.3) + '@typescript-eslint/scope-manager': 8.50.0 + '@typescript-eslint/types': 8.50.0 + '@typescript-eslint/typescript-estree': 8.50.0(typescript@5.9.3) eslint: 9.39.2(jiti@1.21.7) typescript: 5.9.3 transitivePeerDependencies: - supports-color - '@typescript-eslint/visitor-keys@8.48.1': + '@typescript-eslint/visitor-keys@8.50.0': dependencies: - '@typescript-eslint/types': 8.48.1 + '@typescript-eslint/types': 8.50.0 eslint-visitor-keys: 4.2.1 '@typescript/vfs@1.6.2(typescript@5.9.3)': @@ -17880,10 +17876,10 @@ snapshots: dependencies: eslint: 9.39.2(jiti@1.21.7) - eslint-config-standard@17.1.0(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)))(eslint-plugin-n@17.23.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-plugin-promise@7.2.1(eslint@9.39.2(jiti@1.21.7)))(eslint@9.39.2(jiti@1.21.7)): + eslint-config-standard@17.1.0(eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)))(eslint-plugin-n@17.23.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-plugin-promise@7.2.1(eslint@9.39.2(jiti@1.21.7)))(eslint@9.39.2(jiti@1.21.7)): dependencies: eslint: 9.39.2(jiti@1.21.7) - eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)) + eslint-plugin-import: 2.32.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)) eslint-plugin-n: 17.23.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) eslint-plugin-promise: 7.2.1(eslint@9.39.2(jiti@1.21.7)) @@ -17901,11 +17897,11 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.1(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2(jiti@1.21.7)): + eslint-module-utils@2.12.1(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2(jiti@1.21.7)): dependencies: debug: 3.2.7 optionalDependencies: - '@typescript-eslint/parser': 8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/parser': 8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) eslint: 9.39.2(jiti@1.21.7) eslint-import-resolver-node: 0.3.9 transitivePeerDependencies: @@ -17918,7 +17914,7 @@ snapshots: eslint: 9.39.2(jiti@1.21.7) eslint-compat-utils: 0.5.1(eslint@9.39.2(jiti@1.21.7)) - eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)): + eslint-plugin-import@2.32.0(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint@9.39.2(jiti@1.21.7)): dependencies: '@rtsao/scc': 1.1.0 array-includes: 3.1.9 @@ -17929,7 +17925,7 @@ snapshots: doctrine: 2.1.0 eslint: 9.39.2(jiti@1.21.7) eslint-import-resolver-node: 0.3.9 - eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2(jiti@1.21.7)) + eslint-module-utils: 2.12.1(@typescript-eslint/parser@8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3))(eslint-import-resolver-node@0.3.9)(eslint@9.39.2(jiti@1.21.7)) hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 @@ -17941,7 +17937,7 @@ snapshots: string.prototype.trimend: 1.0.9 tsconfig-paths: 3.15.0 optionalDependencies: - '@typescript-eslint/parser': 8.48.1(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) + '@typescript-eslint/parser': 8.50.0(eslint@9.39.2(jiti@1.21.7))(typescript@5.9.3) transitivePeerDependencies: - eslint-import-resolver-typescript - eslint-import-resolver-webpack @@ -18769,8 +18765,6 @@ snapshots: graceful-fs@4.2.11: {} - graphemer@1.4.0: {} - graphql-depth-limit@1.1.0(graphql@16.8.1): dependencies: arrify: 1.0.1 diff --git a/prettier.config.cjs b/prettier.config.cjs index fc5ea06fe9..61d52fa6c2 100644 --- a/prettier.config.cjs +++ b/prettier.config.cjs @@ -1 +1 @@ -module.exports = require('@theguild/prettier-config'); +module.exports = require('@theguild/prettier-config').default;