Skip to content

Commit b7dc32e

Browse files
chore(deps): update typescript-eslint monorepo to v8.50.0 (#2802)
* chore(deps): update typescript-eslint monorepo to v8.50.0 * Fix --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Arda TANRIKULU <[email protected]>
1 parent cecd3f6 commit b7dc32e

File tree

18 files changed

+134
-97
lines changed

18 files changed

+134
-97
lines changed

examples/apollo-server/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,9 @@ const getEnveloped = envelop({
3131
});
3232

3333
const executor: GatewayExecutor = async requestContext => {
34-
const { schema, execute, contextFactory } = getEnveloped({ req: requestContext.request.http });
34+
const { schema, execute, contextFactory } = getEnveloped({
35+
req: requestContext.request.http,
36+
});
3537

3638
return execute({
3739
schema,

examples/azure-functions/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ const getEnveloped = envelop({
2626
});
2727

2828
export const index: AzureFunction = async (context: Context, req: HttpRequest): Promise<void> => {
29-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req });
29+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
30+
req,
31+
});
3032
const request = {
3133
body: req.body,
3234
headers: req.headers,

examples/cloudflare-workers/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ const getEnveloped = envelop({
2525
});
2626

2727
router.add('POST', '/graphql', async (req, res) => {
28-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req });
28+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
29+
req,
30+
});
2931
const request = {
3032
body: req.body,
3133
headers: req.headers,

examples/express-graphql/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,10 @@ const app = express();
2626
app.use(
2727
'/graphql',
2828
graphqlHTTP(async (req, res) => {
29-
const { parse, validate, contextFactory, execute } = getEnveloped({ req, res });
29+
const { parse, validate, contextFactory, execute } = getEnveloped({
30+
req,
31+
res,
32+
});
3033
return {
3134
schema,
3235
graphiql: true,

examples/google-cloud-functions/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ const getEnveloped = envelop({
2727

2828
// https://firebase.google.com/docs/functions/typescript
2929
export const helloWorld = functions.https.onRequest(async (req, res) => {
30-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req });
30+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
31+
req,
32+
});
3133
const request = {
3234
body: req.body,
3335
headers: req.headers,

examples/graphql-helix-auth0/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ app.route({
9696
method: ['GET', 'POST'],
9797
url: '/graphql',
9898
async handler(req, res) {
99-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req });
99+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
100+
req,
101+
});
100102
const request = {
101103
body: req.body,
102104
headers: req.headers,

examples/graphql-helix-defer-stream/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,9 @@ app.route({
159159
method: ['GET', 'POST'],
160160
url: '/graphql',
161161
async handler(req, res) {
162-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req });
162+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
163+
req,
164+
});
163165
const request = {
164166
body: req.body,
165167
headers: req.headers,

examples/graphql-helix/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ app.route({
3737
method: ['GET', 'POST'],
3838
url: '/graphql',
3939
async handler(req, res) {
40-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req });
40+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
41+
req,
42+
});
4143
const request = {
4244
body: req.body,
4345
headers: req.headers,

examples/lambda-aws/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ const getEnveloped = envelop({
2626
});
2727

2828
export const lambdaHandler: APIGatewayProxyHandler = async event => {
29-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req: event });
29+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
30+
req: event,
31+
});
3032
const request = {
3133
body: event.body,
3234
headers: event.headers,

examples/nexus/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,9 @@ app.route({
8181
method: ['GET', 'POST'],
8282
url: '/graphql',
8383
async handler(req, res) {
84-
const { parse, validate, contextFactory, execute, schema } = getEnveloped({ req });
84+
const { parse, validate, contextFactory, execute, schema } = getEnveloped({
85+
req,
86+
});
8587
const request = {
8688
body: req.body,
8789
headers: req.headers,

0 commit comments

Comments
 (0)