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

cids

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cids - npm Package Versions

1245

0.7.2

Diff

Changelog

Source

0.7.2 (2020-01-14)

Bug Fixes

  • codecs -> record of codec: buffer (4cf17bb)
  • explicitly require .json ext of base-table (a9898ff), closes #96

Features

<a name="0.7.1"></a>

vmx
published 0.7.1 •

Changelog

Source

0.7.1 (2019-05-14)

Bug Fixes

  • create new CID from old CID (c888183)

<a name="0.7.0"></a>

vmx
published 0.7.0 •

Changelog

Source

0.7.0 (2019-05-09)

Bug Fixes

  • broken link to contributing document (c29d12e)
  • update typedefs to reflect API changes (63cd5f3), closes #77

Code Refactoring

  • default to base32 encoding for v1 CIDs (2f854c7)

BREAKING CHANGES

  • The default string encoding for v1 CIDs has changed from base58btc to base32.

License: MIT Signed-off-by: Alan Shaw alan.shaw@protocol.ai

<a name="0.6.0"></a>

vmx
published 0.6.0 •

Changelog

Source

0.6.0 (2019-04-08)

Features

  • add flow typedefs (1cf9740)
  • cache string represntation (537f604)
  • preserve base when constructed from a string (2e597b9)

BREAKING CHANGES

  • previously base was not preserved and all CIDs would be normalised to base58btc when asking for their string representation.

The default will change to base32 in https://github.com/multiformats/js-cid/pull/73/files

The idea behind this change is that we shouldnt lose information when the user passes us a base encoded string, but keep it and use it as the default base so toString returns the same string they provided.

I'd like this as a fix for ipld explorer, which currently forces all CIDs into base58btc, seee: https://github.com/ipfs-shipyard/ipfs-webui/issues/999

License: MIT Signed-off-by: Oli Evans oli@tableflip.io

<a name="0.5.8"></a>

vmx
published 0.5.8 •

Changelog

Source

0.5.8 (2019-03-14)

Performance Improvements

  • cache buffer form of CID when created (c7fc646)

<a name="0.5.7"></a>

vmx
published 0.5.7 •

Changelog

Source

0.5.7 (2018-12-06)

Bug Fixes

  • stricter validation for CID v1 to v0 conversion (0bd7318)

<a name="0.5.6"></a>

vmx
published 0.5.6 •

Changelog

Source

0.5.6 (2018-11-22)

Bug Fixes

  • add class name (b9fc845)
  • generated docs, re-add isCID (5b826fc)
  • package: update multibase to version 0.6.0 (e4e6508)

<a name="0.5.5"></a>

vmx
published 0.5.5 •

Changelog

Source

0.5.5 (2018-09-25)

Bug Fixes

  • toV0 and toV1 create instances that cause isCID be false (14ab8e4)

<a name="0.5.4"></a>

vmx
published 0.5.4 •

Changelog

Source

0.5.4 (2018-09-24)

Bug Fixes

  • linter errors (9f9359d)
  • migrate to class-is for instance comparise, fixes #53 (6b6873b)
  • remove direct access to codec lookup table (4027108)
  • use org/repo convention (5805660)

Features

<a name="0.5.3"></a>

daviddias
published 0.5.3 •

Changelog

Source

0.5.3 (2018-03-12)

Bug Fixes

<a name="0.5.2"></a>

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