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

build(deps): bump bcryptjs from 2.4.3 to 3.0.1 in /packages/backend #1430

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 18, 2025

Bumps bcryptjs from 2.4.3 to 3.0.1.

Release notes

Sourced from bcryptjs's releases.

v3.0.1

Bug fixes

  • Separate ESM and UMD type definitions (e7055caf0c723cbcf8bc3f0784b8c30ee332380f)

v3.0.0

Breaking changes

  • Modernize project structure (2f45985738604c743c4b8cc8464e3e7d3e04c73d) 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 (d36bfb42fa642b6d6986a84ce106a7110e5824db) 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 (d5656b39e2e368c87724a312e4e454456a4e5d1b)

Other

  • Update publish workflow (2a9bea9e276e6be04dbd403f9695937788b3b10a)
  • Add note on using the ESM variant in the browser (e09eb9afb14170069aaea19631b763307ee7b480)
  • Update types (58333a1533dd53838e2697628f84b98d54a5c079)
  • Merge lint and test workflows (2e3b17659e8856696acfe3015631ce2989eb3084)
  • Fix tests (ec02e8a0ada7a8f6c71a91df164db8c25bbbb7b4)
  • Update legacy fallback to handle crypto dependency (9db275fa10b1b40da4a6844480d7f8ae8df27fb8)
  • Update lint workflow title (ac70ac57c2f99ad5639eddf54578e5fdd07b9c4c)
  • Adapt crypto module usage for ESM environments (574d690d4972bcebbd5ca07880a62abab9ae3c0b)
  • Format with prettier (e7465479282d8155852ce88d6407eccb14adc106)
  • Rename default branch to 'main' (548559d032d7dd5ac3e4e16d7afd87b36ebe96ca)
  • Update description to mention TypeScript support (4977df0849eaf8cad5b0d0b543fe452432a2d761)
  • Add stale action for issues and PRs (a84d4e45487df0972d8781feafa477d5db4c1dbd)
  • Fix typo (c8c9c01799bbc13092fcbb20cfab4d9015d14c61)
  • Fix Node.js version in CI (1b54cc48d4120b50e1d9058e5a67f326102fd744)

Backlog from v2

  • Added externs to .npmignore (#124) (7e2e93af99df2952253f9cf32db29aefa8f272f7) 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 (684fac6814a81d974c805a15e22fd69922c7ca6e)
  • Post-merge; Clean up a bit (b09f7f266a7015456b7b36deeb026dc636f64542)
  • Improve safeStringCompare using xor (#77) (648482a5395bef074ad34e52759fede957a89397)
  • Added bin entry (49a1d1ab46d22ac02659cb787ded08d644f79cb5)
Commits
  • e7055ca fix: Separate ESM and UMD type definitions
  • 2a9bea9 Update publish workflow
  • d5656b3 Add helper to check for password input length
  • e09eb9a Add note on using the ESM variant in the browser
  • 58333a1 Update types
  • 2e3b176 Merge lint and test workflows
  • ec02e8a Fix tests
  • 9db275f Update legacy fallback to handle crypto dependency
  • ac70ac5 Update lint workflow title
  • 574d690 Adapt crypto module usage for ESM environments
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bcryptjs](https://github.com/dcodeIO/bcrypt.js) from 2.4.3 to 3.0.1.
- [Release notes](https://github.com/dcodeIO/bcrypt.js/releases)
- [Commits](dcodeIO/bcrypt.js@2.4.3...v3.0.1)

---
updated-dependencies:
- dependency-name: bcryptjs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Feb 18, 2025
Copy link

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

Package New capabilities Transitives Size Publisher
npm/[email protected] 🔁 npm/[email protected] None 0 112 kB dcode
npm/[email protected] None 0 12.2 kB nyalab
npm/[email protected] None 0 2.15 MB caniuse-lite
npm/[email protected] None 0 114 kB omgovich
npm/[email protected] None 0 96.3 kB siilwyn
npm/[email protected] None 0 17.5 kB mathias
npm/[email protected] None 0 25.7 kB ludovicofischer
npm/[email protected] None 0 6.74 kB ludovicofischer
npm/[email protected] None 0 7.33 kB ludovicofischer
npm/[email protected] None 0 145 kB kilianvalkhof
npm/[email protected] filesystem 0 11.6 kB lukeed
npm/[email protected] filesystem 0 17.9 kB antonk52
npm/[email protected] None 0 35.7 kB chicoxyzzy
npm/[email protected] None 0 161 kB ludovicofischer
npm/[email protected] None 0 10.7 kB ludovicofischer
npm/[email protected] None 0 14.1 kB ludovicofischer
npm/[email protected] None 0 13.3 kB ludovicofischer
npm/[email protected] None 0 7.07 kB ludovicofischer
npm/[email protected] None 0 4.5 kB ludovicofischer
npm/[email protected] None 0 6.59 kB ludovicofischer
npm/[email protected] None 0 55.4 kB ludovicofischer
npm/[email protected] None 0 25.6 kB ludovicofischer
npm/[email protected] None 0 18.6 kB ludovicofischer
npm/[email protected] None 0 10.3 kB ludovicofischer
npm/[email protected] None 0 8.16 kB ludovicofischer
npm/[email protected] None 0 10.3 kB ludovicofischer
npm/[email protected] None 0 4.55 kB ludovicofischer
npm/[email protected] None 0 6.04 kB ludovicofischer
npm/[email protected] None 0 8.52 kB ludovicofischer
npm/[email protected] None 0 7.27 kB ludovicofischer
npm/[email protected] None 0 11.7 kB ludovicofischer
npm/[email protected] None 0 6.51 kB ludovicofischer
npm/[email protected] None 0 7.35 kB ludovicofischer
npm/[email protected] None 0 11.1 kB ludovicofischer
npm/[email protected] None 0 6.02 kB ludovicofischer
npm/[email protected] None 0 32.4 kB ludovicofischer
npm/[email protected] None 0 18.7 kB ludovicofischer
npm/[email protected] None 0 9.2 kB ludovicofischer
npm/[email protected] None 0 186 kB evilebottnawi
npm/[email protected] None 0 10.6 kB ludovicofischer
npm/[email protected] None 0 4.98 kB ludovicofischer
npm/[email protected] None 0 27.2 kB evilebottnawi
npm/[email protected] None 0 38.7 kB ludovicofischer
npm/[email protected] filesystem +1 1.49 MB sethiii
npm/[email protected] environment, filesystem, shell 0 14.8 kB ai

🚮 Removed packages: npm/@eslint-community/[email protected], npm/@eslint/[email protected], npm/@eslint/[email protected], npm/@eslint/[email protected], npm/@eslint/[email protected], npm/@eslint/[email protected], npm/@eslint/[email protected], npm/@humanfs/[email protected], npm/@humanfs/[email protected], npm/@humanwhocodes/[email protected], npm/@humanwhocodes/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@jridgewell/[email protected], npm/@trysound/[email protected], npm/@types/[email protected], npm/@types/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/@typescript-eslint/[email protected], npm/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 20, 2025

Superseded by #1435.

@dependabot dependabot bot closed this Feb 20, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/packages/backend/nightly/bcryptjs-3.0.1 branch February 20, 2025 03:33
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.

0 participants