Skip to content

update bcryptjs#2368

Merged
GCHQDeveloper581 merged 2 commits intogchq:masterfrom
C85297:update-bcryptjs
May 9, 2026
Merged

update bcryptjs#2368
GCHQDeveloper581 merged 2 commits intogchq:masterfrom
C85297:update-bcryptjs

Conversation

@C85297
Copy link
Copy Markdown
Member

@C85297 C85297 commented May 8, 2026

Description
Updates bcryptjs to v3.0.3.
Updates usage of compare to match new typescript definitions expecting undefined not null.
Updates tests as bcryptjs now generates 2b hashes rather than 2a. It could be argued that this is a breaking change, but it is still outputting a valid Bcrypt hash, so I think it is OK.

Existing Issue
#2214

AI disclosure
gpt-5.5

Test Coverage
Yes

@C85297 C85297 requested a review from GCHQDeveloper581 May 8, 2026 15:14
@C85297 C85297 self-assigned this May 8, 2026
@C85297 C85297 added the dependencies Pull requests that update a dependency file label May 8, 2026
@GCHQDeveloper581 GCHQDeveloper581 enabled auto-merge (squash) May 9, 2026 10:57
Copy link
Copy Markdown
Contributor

@GCHQDeveloper581 GCHQDeveloper581 left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for the contribution.

@GCHQDeveloper581 GCHQDeveloper581 merged commit 9727e26 into gchq:master May 9, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants