Socket
Socket
Sign inDemoInstall

is-ipfs

Package Overview
Dependencies
27
Maintainers
5
Versions
35
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
Previous134Next

6.0.1

Diff

Changelog

Source

6.0.1 (2021-07-07)

chore

  • update to new multiformats (#42) (22bf9b7)

BREAKING CHANGES

  • uses the CID class from the new multiformats module

Co-authored-by: Marcin Rataj lidel@lidel.org

lidel
published 6.0.0 •

Changelog

Source

6.0.1 (2021-07-07)

chore

BREAKING CHANGES

  • uses the CID class from the new multiformats module

Co-authored-by: Marcin Rataj lidel@lidel.org

achingbrain
published 5.0.0 •

Changelog

Source

5.0.0 (2021-04-19)

lidel
published 4.0.0 •

Changelog

Source

4.0.0 (2021-03-03)

Bug Fixes

Features

BREAKING CHANGES

  • peerMultiaddr: /dnsaddr without explicit /p2p/{key} is no longer a valid peer multiaddr. See https://github.com/ipfs-shipyard/is-ipfs/issues/38 for rationale why.
lidel
published 3.0.0 •

Changelog

Source

3.0.0 (2021-02-03)

Features

  • dnsaddr support in peerMultiaddr (#35) (4a4710d)
  • subdomain: support inlined DNSLink names (#36) (7ab7125)

<a name="2.0.0"></a>

lidel
published 2.0.0 •

Changelog

Source

2.0.0 (2020-08-10)

Bug Fixes

  • replace node buffers with uint8arrays (#34) (ac5ec19)

BREAKING CHANGES

  • this module now only has deps that use Uint8Arrays and not Buffers

Co-authored-by: Marcin Rataj lidel@lidel.org

<a name="1.0.3"></a>

lidel
published 1.0.3 •

Changelog

Source

1.0.3 (2020-04-22)

<a name="1.0.2"></a>

lidel
published 1.0.0 •

Changelog

Source

1.0.0 (2020-04-05)

Features

BREAKING CHANGES

  • isIPFS.subdomain now returns true for <domain.tld>.ipns.localhost

  • isIPFS.subdomainPattern changed

  • test: support peer multiaddr with /p2p/

Context: https://github.com/libp2p/libp2p/issues/79

  • fix: explicitly ignore URL param and hash

.url and .path now return true when validating: https://ipfs.io/ipfs/<CID>?filename=name.png#foo

  • refactor: simplify dnslinkSubdomain

License: MIT Signed-off-by: Marcin Rataj lidel@lidel.org

  • fix: url() check should include subdomain()

When .url was created we only had path gateways. When .subdomain was added, we did not update .url to test for subdomain gateways, which in the long run will confuse people and feels like a bug.

Let's fix this: .url() will now check for both subdomain and path gateways

  • .url(url) now returns true if .subdomain(url) is true

  • refactor: merge DNSLink check into ipnsSubdomain()

This makes subdomain checks follow what path gateway checks do, removing confusion.

In both cases (IPNS and DNSLink) user needs to perform online record check, so this is just a handy way of detecting potential matches.

  • docs: update examples
  • refactor: switch to iso-url
  • refactor: lint-package-json
  • chore: update deps

License: MIT Signed-off-by: Marcin Rataj lidel@lidel.org

<a name="0.6.3"></a>

lidel
published 0.6.3 •

Changelog

Source

0.6.3 (2020-01-07)

<a name="0.6.2"></a>

lidel
published 0.6.2 •

Changelog

Source

0.6.2 (2020-01-07)

<a name="0.6.1"></a>

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc