Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

fix(deps): update dependency @as-integrations/aws-lambda to v3 #525

Merged
merged 1 commit into from
Aug 8, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 30, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@as-integrations/aws-lambda 2.0.1 -> 3.0.0 age adoption passing confidence

Release Notes

apollo-server-integrations/apollo-server-integration-aws-lambda (@​as-integrations/aws-lambda)

v3.0.0

Compare Source

Major Changes
Minor Changes
  • #​91 71c94df Thanks @​BlenderDude! - ## Short circuit middleware execution

    You can now opt to return a Lambda result object directly from the middleware. This will cancel the middleware chain, bypass GraphQL request processing, and immediately return the Lambda result.

    Example

    export const handler = startServerAndCreateLambdaHandler(
      server,
      handlers.createAPIGatewayProxyEventV2RequestHandler(),
      {
        context: async () => {
          return {};
        },
        middleware: [
          async (event) => {
            const psk = Buffer.from('SuperSecretPSK');
            const token = Buffer.from(event.headers['X-Auth-Token']);
            if (
              psk.byteLength !== token.byteLength ||
              crypto.timingSafeEqual(psk, token)
            ) {
              return {
                statusCode: '403',
                body: 'Forbidden',
              };
            }
          },
        ],
      },
    );

Configuration

📅 Schedule: Branch creation - "before 3pm on Sunday" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependency label Jul 30, 2023
@renovate renovate bot requested a review from ChrisW-B July 30, 2023 04:03
@renovate renovate bot force-pushed the renovate/as-integrations-aws-lambda-3.x branch 2 times, most recently from 1ff7e27 to b42380f Compare August 7, 2023 22:11
@renovate renovate bot force-pushed the renovate/as-integrations-aws-lambda-3.x branch from b42380f to 9345392 Compare August 8, 2023 01:57
@renovate renovate bot merged commit fff736f into main Aug 8, 2023
3 checks passed
@renovate renovate bot deleted the renovate/as-integrations-aws-lambda-3.x branch August 8, 2023 04:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant