Skip to content

fix(deps): update dependency bcryptjs to v3#3651

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/bcryptjs-3.x
Closed

fix(deps): update dependency bcryptjs to v3#3651
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/bcryptjs-3.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate bot commented Feb 15, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
bcryptjs ^2.4.3 -> ^3.0.0 age adoption passing confidence

Release Notes

dcodeIO/bcrypt.js (bcryptjs)

v3.0.0

Compare Source

Breaking changes
  • Modernize project structure (2f45985)
    The project now exports an ECMAScript module by default, albeit with an UMD fallback, ships with types, the dist/ directory no longer exists in version control, and Closure Compiler externs have been removed.
  • Generate 2b hashes by default (d36bfb4)
    This library was not affected by the bug that led to incrementing the bcrypt version from 2a to 2b, but nowadays most implementations use 2b, including the native bcrypt binding, so this change aligns with them. Existing hashes will continue to work, but test logic that generates hashes and compares them literally might need to be updated to account for the new default.
Features
  • Add helper to check for password input length (d5656b3)
Other
  • Update publish workflow (2a9bea9)
  • Add note on using the ESM variant in the browser (e09eb9a)
  • Update types (58333a1)
  • Merge lint and test workflows (2e3b176)
  • Fix tests (ec02e8a)
  • Update legacy fallback to handle crypto dependency (9db275f)
  • Update lint workflow title (ac70ac5)
  • Adapt crypto module usage for ESM environments (574d690)
  • Format with prettier (e746547)
  • Rename default branch to 'main' (548559d)
  • Update description to mention TypeScript support (4977df0)
  • Add stale action for issues and PRs (a84d4e4)
  • Fix typo (c8c9c01)
  • Fix Node.js version in CI (1b54cc4)
Backlog from v2
  • Added externs to .npmignore (#​124) (7e2e93a)
    The npm package does not need externs as it is needed only for closure compiler. Added it in .npmignore since bcryptjs overrides global module and process in WebStorm IDE.
  • Make sure the bin script uses LF (684fac6)
  • Post-merge; Clean up a bit (b09f7f2)
  • Improve safeStringCompare using xor (#​77) (648482a)
  • Added bin entry (49a1d1a)

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@socket-security
Copy link
Copy Markdown

socket-security bot commented Feb 15, 2025

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

View full report↗︎

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 17, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.41%. Comparing base (7717ec6) to head (9dd524f).
Report is 5 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           master    #3651    +/-   ##
========================================
  Coverage   66.41%   66.41%            
========================================
  Files         930      930            
  Lines       15398    15398            
  Branches     2109     2108     -1     
========================================
  Hits        10226    10226            
- Misses       4858     4995   +137     
+ Partials      314      177   -137     

see 63 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7717ec6...9dd524f. Read the comment docs.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 852fd5f to c81086e Compare February 17, 2025 18:23
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from c81086e to 4b02b32 Compare February 17, 2025 18:31
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 4b02b32 to 71dafaa Compare February 17, 2025 23:22
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 71dafaa to a5e40ae Compare February 18, 2025 23:56
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from a5e40ae to eb605d7 Compare February 18, 2025 23:58
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from eb605d7 to d9bf9fd Compare February 23, 2025 14:41
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from d9bf9fd to e620a7d Compare February 23, 2025 14:44
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from e620a7d to 737af69 Compare February 24, 2025 11:35
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 737af69 to a2de7db Compare February 24, 2025 11:37
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from a2de7db to 03b693b Compare February 24, 2025 12:31
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 03b693b to b7a2910 Compare February 24, 2025 12:34
@socket-security
Copy link
Copy Markdown

socket-security bot commented Feb 25, 2025

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/bcryptjs@2.4.33.0.2 None 0 112 kB dcode

View full report↗︎

@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from d10ad63 to 98825dc Compare February 25, 2025 16:15
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 98825dc to 8bab95a Compare February 25, 2025 16:17
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 8bab95a to 833520a Compare February 26, 2025 00:27
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 833520a to 88d0006 Compare February 26, 2025 00:30
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 88d0006 to dcfdf5a Compare February 27, 2025 00:11
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from dcfdf5a to 48a0009 Compare February 27, 2025 00:14
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 48a0009 to 22cff12 Compare February 27, 2025 12:53
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 22cff12 to 8efe3f8 Compare February 27, 2025 12:55
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from 8efe3f8 to d39ad9b Compare March 3, 2025 23:21
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from d39ad9b to c7e0f5a Compare March 3, 2025 23:24
@renovate renovate bot force-pushed the renovate/bcryptjs-3.x branch from c7e0f5a to 989fe10 Compare March 5, 2025 00:00
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 5, 2025

@pYassine pYassine closed this Mar 5, 2025
@renovate
Copy link
Copy Markdown
Contributor Author

renovate bot commented Mar 5, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

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