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

[Snyk] Upgrade @noble/hashes from 1.0.0 to 1.4.0 #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

snyk-io[bot]
Copy link

@snyk-io snyk-io bot commented May 21, 2024

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade @noble/hashes from 1.0.0 to 1.4.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 12 versions ahead of your current version.

  • The recommended version was released 2 months ago, on 2024-03-14.

Release notes
Package name: @noble/hashes
  • 1.4.0 - 2024-03-14
    • Add support for big endian platforms by @ jonathan-albrecht-ibm in #81
    • Use XOF constructor wrapper for cShake by @ stknob in #82
    • Rename _sha2 to _md
    • utils, _assert: reduce code duplication
    • tsconfig: change module to Node16

    Full Changelog: 1.3.3...1.4.0

  • 1.3.3 - 2023-12-11
    • Add module sha2, an alias to already-existing sha256 and sha512
    • sha3-addons: Implement TurboSHAKE (https://eprint.iacr.org/2023/342)
    • utils improvements
      • hexToBytes: speed-up 6x, improve error formatting
      • isBytes: improve reliability in bad environments such as jsdom
      • concatBytes: improve safety by early-checking the type
    • Bump typescript version used to build the package to 5.3.2

    Full Changelog: 1.3.2...1.3.3

  • 1.3.2 - 2023-08-23
    • Tree shaking improvements:
      • annotate top-level incovations as pure
      • use const enums
      • decrease wildcard imports of _assert and _u64
      • declare package side-effects free
    • argon2: fix checks for parallelism and iterations parameters
    • utils: fix isPlainObject in serverless environments, used in scrypt and pbkdf2
    • typescript: Disable moduleResolution config setting, since it is viral

    New Contributors

    Full Changelog: 1.3.1...1.3.2

  • 1.3.1 - 2023-06-03

    What's Changed

    • Fix utf8ToBytes in firefox extension context (https://bugzil.la/1681809)
    • Ensure blake3 inputs are immutable by @ libitx in #51
    • sha3-addons: add PURE annotations to reduce bundle size
    • utils: harmonize with noble-curves
    • Type fixes
      • sha3, blake3: Fix XOF type issue, closes #55
      • hmac: export HMAC type, fix #52
      • cryptoNode: remove dependency on @ types/node

    New Contributors

    Full Changelog: 1.3.0...1.3.1

  • 1.3.0 - 2023-03-16

    Changed logic for importing native cryptography. Built-in crypto (webcrypto) is now used through all platforms, including node.js.

    Full Changelog: 1.2.0...1.3.0

  • 1.2.0 - 2023-02-02

    Full Changelog: 1.1.5...1.2.0

  • 1.1.5 - 2022-12-15

    Add two additional SHA2 functions: SHA224 and SHA512-224

    Full Changelog: 1.1.4...1.1.5

  • 1.1.4 - 2022-12-04

    Bugfix for SHA2

    Full Changelog: 1.1.3...1.1.4

  • 1.1.3 - 2022-09-30

    What's Changed

    • HMAC: improved type check in worker contexts
    • Add TS types field to exports map by @ jacogr in #36

    New Contributors

    Full Changelog: 1.1.2...1.1.3

  • 1.1.2 - 2022-06-18

    Add support for SHA1

  • 1.1.1 - 2022-06-11
  • 1.1.0 - 2022-06-11
  • 1.0.0 - 2022-01-17
from @noble/hashes GitHub release notes
Commit messages
Package name: @noble/hashes

Compare


Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Note: This is a default PR template raised by Snyk. Find out more about how you can customise Snyk PRs in our documentation.

Snyk has created this PR to upgrade @noble/hashes from 1.0.0 to 1.4.0.

See this package in npm:
@noble/hashes

See this project in Snyk:
https://app.snyk.io/org/hawthorne001/project/c55cda72-aea2-415a-9206-f61369ebc3c6?utm_source=github-cloud-app&utm_medium=referral&page=upgrade-pr
Copy link

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

Package New capabilities Transitives Size Publisher
npm/@noble/hashes@1.4.0 None 0 773 kB paulmillr
npm/@types/bn.js@4.11.6 None 0 13.9 kB types
npm/@types/create-hash@1.2.2 None 0 4.44 kB types
npm/@types/create-hmac@1.1.0 None 0 3.06 kB types
npm/@types/crypto-js@4.2.2 None 0 60.4 kB types
npm/@types/jsrsasign@10.5.14 None 0 446 kB types
npm/@types/randombytes@2.0.0 None 0 2.8 kB types

View full report↗︎

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.

Can't use shake256 as Keccak without casting Can't seem to use hmac.create() as return type
0 participants