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 dependencies to resolve dependabot alert #683

Merged
merged 2 commits into from
Jul 31, 2023

Conversation

pgautier404
Copy link
Contributor

This commit updates the version of the @grpc/grpc-js dependency such that its transitive dependency with protobufjs is bumped to the latest: 7.2.4. Prior versions had a vulnerability which is addressed in this latest version.

"@gomomento/sdk": "1.26.2",
"@grpc/grpc-js": "1.8.14",
"@gomomento/sdk": "1.28.0",
"@grpc/grpc-js": "1.8.17",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks fine but i'm wondering if for the grpc-js one, if we used one of those fuzzy match things like ^1.whatever, if that would make it less likely to hit this in the future. I genuinely don't know; probably not, if the version gets locked in package-lock.json anyway.

not a blocker either way, just food for thought.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, since we're shipping package-lock I also don't think that would help here. If this becomes a recurrent issue, we should think about maybe relaxing some of these selectors and removing the lockfiles for the examples.

@pgautier404 pgautier404 merged commit 6a76fd5 into main Jul 31, 2023
10 checks passed
@pgautier404 pgautier404 deleted the update-grpc-deps branch July 31, 2023 21:36
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