New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ohash

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ohash - npm Package Versions

2

2.0.4

Diff

pi0
published 2.0.3 •

Changelog

Source

v2.0.3

compare changes

🔥 Performance

  • Use node crypto hash when available (#116)

🩹 Fixes

  • Workaround for stackblitz (#117)
  • Remove trailing slash from arrays (c2b8250)

🏡 Chore

❤️ Contributors

pi0
published 2.0.2 •

Changelog

Source

v2.0.2

compare changes

📦 Build

  • Mark Serializer as pure to allow tree-shaking (83fe375)

🏡 Chore

❤️ Contributors

pi0
published 2.0.0 •

Changelog

Source

v2.0.0

compare changes

🔥 Performance

  • Reduce js digest size (#109)

🩹 Fixes

  • hash, serialize: ⚠️ Always serialize string inputs (#110)

💅 Refactors

  • ⚠️ Drop murmurHash support (#104)
  • ⚠️ Rename sha256* to stringDigest (#106)
  • ⚠️ Rename objectHash to serialize (#107)
  • Rename stringDigest to digest (d4dd808)
  • ⚠️ Use standard base64url for digest (#111)
  • ⚠️ Rewrite serializer (#113)

📖 Documentation

📦 Build

  • ⚠️ Esm only (#105)
  • Selectively minify js hash impl (fe3db66)
  • ⚠️ Move utils to ohash/utils (#112)

🏡 Chore

✅ Tests

⚠️ Breaking Changes
  • hash, serialize: ⚠️ Always serialize string inputs (#110)
  • ⚠️ Drop murmurHash support (#104)
  • ⚠️ Rename sha256* to stringDigest (#106)
  • ⚠️ Rename objectHash to serialize (#107)
  • ⚠️ Use standard base64url for digest (#111)
  • ⚠️ Rewrite serializer (#113)
  • ⚠️ Esm only (#105)
  • ⚠️ Move utils to ohash/utils (#112)

❤️ Contributors

pi0
published 1.1.4 •

Changelog

Source

v1.1.4

compare changes

🩹 Fixes

  • murmurHash: Fix murmurHash3 implementation, add tests (#83)

📖 Documentation

  • Improved and finalized jsdocs in exported functions (#74)

🏡 Chore

  • Update badge (#46)
  • Update links in readme (#59)
  • Update repo (e09027f)

❤️ Contributors

pi0
published 1.1.3 •

Changelog

Source

v1.1.3

compare changes

🔥 Performance

  • object-hash: Avoid using array to just concatenate the string (#36)
  • object-hash: Avoid toString when we know that the value is already a string (#33)
  • object-hash: Faster isNativeFunction check (#30)
  • object-hash: Faster extract object type from toString (#31)
  • object-hash: Faster object access by avoid string concat (#32)
  • object-hash: Faster circular checking by using map (#34)
  • object-hash: Reuse default options when is not passed (#37)
  • object-hash: Avoid splice method to insert values (#35)

💅 Refactors

📖 Documentation

  • Improve jsdoc for objectHash() (#43)

🏡 Chore

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Owen Kieffer-Jones
  • Vinicius Lourenço
pi0
published 1.1.2 •

Changelog

Source

v1.1.2

compare changes

🩹 Fixes

  • objectHash: Serialize boolean as bool (186e719)

✅ Tests

❤️ Contributors

pi0
published 1.1.1 •

Changelog

Source

v1.1.1

compare changes

💅 Refactors

  • Expose diff function types (bc08321)

❤️ Contributors

pi0
published 1.1.0 •

Changelog

Source

v1.1.0

compare changes

🚀 Enhancements

  • Expose sha256base64 utility (#19)
  • objectHash: Serialize objects with entries (1c8e8b9)
  • objectHash: Support serializing classes with custom toJSON() (331eceb)
  • diff utility (#28)

🩹 Fixes

  • Fix type of SHA256.prototype.toString method (#23)
  • objectHash: Serialize boolean types (7fd580f)

🏡 Chore

  • Add @vitest/coverage-c8 (#24)
  • Update all dependencies (b17fa41)
  • Lint and format with prettier (373eac4)
  • Upgrade node version for ci (9532f47)
  • Update release script (3124feb)

❤️ Contributors

  • Pooya Parsa (@pi0)
  • Nozomu Ikuta
  • Damian Głowala
pi0
published 1.0.0 •

Changelog

Source

1.0.0 (2022-11-14)

2
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc