Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update fastify + others #1055

Merged
merged 21 commits into from
Oct 20, 2022
Merged

fix: update fastify + others #1055

merged 21 commits into from
Oct 20, 2022

Conversation

Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Oct 18, 2022

  • fix: update some fastify packages
  • dont use deprecated method
  • update even more

@netlify
Copy link

netlify bot commented Oct 18, 2022

Deploy Preview for quirrel-docs canceled.

Name Link
🔨 Latest commit 9d24401
🔍 Latest deploy log https://app.netlify.com/sites/quirrel-docs/deploys/63515d8e8e9db80008e2577e

@netlify
Copy link

netlify bot commented Oct 18, 2022

Deploy Preview for quirrel-development-ui ready!

Name Link
🔨 Latest commit 9d24401
🔍 Latest deploy log https://app.netlify.com/sites/quirrel-development-ui/deploys/63515d8ea677990008572d44
😎 Deploy Preview https://deploy-preview-1055--quirrel-development-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@Skn0tt Skn0tt changed the title update fastify fix: update fastify Oct 19, 2022
@Skn0tt Skn0tt changed the title fix: update fastify fix: update fastify + others Oct 19, 2022
Comment on lines +34 to +49
async (connection, req) => {
workAroundWebsocketAuth(req);

const tokenId = await fastify.tokenAuth.authenticate(req);
const tokenId = await fastify.tokenAuth.authenticate(req);

if (!tokenId) {
connection.socket.close();
return;
}
if (!tokenId) {
connection.socket.close();
return;
}

const close = fastify.jobs.onEvent(tokenId, (event, job) => {
connection.socket.send(JSON.stringify([event, job]));
});
const close = fastify.jobs.onEvent(tokenId, (event, job) => {
connection.socket.send(JSON.stringify([event, job]));
});

connection.on("close", close);
}
);
connection.on("close", close);
}

Check failure

Code scanning / CodeQL

Missing rate limiting

This route handler performs [authorization](1), but is not rate-limited. This route handler performs [authorization](2), but is not rate-limited.
@kodiakhq kodiakhq bot removed the automerge label Oct 20, 2022
@kodiakhq
Copy link
Contributor

kodiakhq bot commented Oct 20, 2022

This PR currently has a merge conflict. Please resolve this and then re-add the automerge label.

@coveralls
Copy link

coveralls commented Oct 20, 2022

Coverage Status

Coverage decreased (-0.07%) to 81.973% when pulling 9d24401 on update-fastify into 175ba86 on main.

@Skn0tt Skn0tt merged commit 7404f84 into main Oct 20, 2022
Skn0tt added a commit that referenced this pull request Oct 21, 2022
🤖 I have created a release *beep* *boop*
---


##
[1.11.0](v1.10.0...v1.11.0)
(2022-10-21)


### Features

* support node v18
([#1047](#1047))
([2d520e0](2d520e0))
* support node v18
([#1057](#1057))
([a306f8e](a306f8e))


### Bug Fixes

* **deps:** update dependency conditional-type-checks to v1.0.6
([#1060](#1060))
([7084e8d](7084e8d))
* **deps:** update dependency fastify-plugin to v4
([#1070](#1070))
([913f202](913f202))
* update fastify + others
([#1055](#1055))
([7404f84](7404f84))
* update some deps
([#1046](#1046))
([6f3a8b7](6f3a8b7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants