Skip to content
New issue

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

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

Already on GitHub? # 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants