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

chore(middleware-flexible-checksums): move inline class NodeCrc32 outside #6648

Merged
merged 3 commits into from
Nov 8, 2024

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Nov 8, 2024

Issue

Internal JS-5558

Description

Move inline class NodeCrc32 outside the function, so that a new copy of it is not created.

It's not an issue right now, since the function getCrc32ChecksumAlgorithmFunction is called just once. But it lead to some test failures requiring us to disable a test case in #6647

Testing

The yarn test:unit is successful on both Node.js 18 and 20.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr trivikr marked this pull request as ready for review November 8, 2024 20:50
@trivikr trivikr requested a review from a team as a code owner November 8, 2024 20:50
@trivikr trivikr merged commit 17b37b7 into aws:main Nov 8, 2024
4 checks passed
@trivikr trivikr deleted the test-middleware-flexible-checksums branch November 8, 2024 20:54
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants