Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

multiformats

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiformats - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

coverage/tmp/coverage-3666-1595131098528-0.json

2

package.json
{
"name": "multiformats",
"version": "2.0.0",
"version": "2.0.1",
"description": "Interface for multihash, multicodec, multibase and CID.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -135,12 +135,4 @@ # multiformats

to encode V0 into anything but base58btc. this means that you can't have
deterministic hash keys without also requiring base58btc support, so we
deterministic hash keys without also requiring base58btc support, so we
removed this feature.
* no longer accept bare multihash buffers as V0, only base58btc encoded strings
or the complete set of parts with the multihash as the third argument.
* The logic for treating these as V0 was problematic and could lead to
unwanted errors. In practice, the places we need to handle V0 are known
and we can move this logic there if necessary and then instantiate a CID
with all the necessary args.
* Some of the prior code relied on knowing the full set of possible base
prefixes, which we can no longer do.
* no more .toBaseEncodedString(), just toString()

@@ -147,0 +139,0 @@ * no more .multibaseName

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