Commit Graph

34 Commits

Author SHA1 Message Date
Pavel Murygin
652deaf3e2 bump dependencies 2021-04-09 17:48:04 +03:00
Alan Shaw
5020cc17a7
6.0.0 2020-08-11 09:29:28 +01:00
Alan Shaw
d8dedbd903
chore: update dependencies 2020-08-11 09:21:57 +01:00
dependabot[bot]
888da273dc
chore(deps): bump minimist from 1.2.0 to 1.2.5 (#46)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.0 to 1.2.5.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.0...1.2.5)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 09:16:29 +01:00
dependabot-preview[bot]
5406483888
chore(deps): [security] bump acorn from 7.1.0 to 7.4.0 (#42)
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.4.0. **This update includes security fixes.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-11 09:13:19 +01:00
dependabot[bot]
7947b26088
chore(deps): bump lodash from 4.17.15 to 4.17.19 (#40)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-11 09:13:04 +01:00
dependabot-preview[bot]
599019b3e9
chore(deps-dev): bump nyc from 15.0.0 to 15.1.0 (#34)
Bumps [nyc](https://github.com/istanbuljs/nyc) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/istanbuljs/nyc/releases)
- [Changelog](https://github.com/istanbuljs/nyc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/istanbuljs/nyc/compare/v15.0.0...v15.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-11 09:12:39 +01:00
dependabot-preview[bot]
36b1ad395f
chore(deps-dev): bump standard from 14.3.1 to 14.3.4 (#33)
Bumps [standard](https://github.com/standard/standard) from 14.3.1 to 14.3.4.
- [Release notes](https://github.com/standard/standard/releases)
- [Changelog](https://github.com/standard/standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/standard/standard/compare/v14.3.1...v14.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-08-11 09:06:58 +01:00
Alex Potsides
e2caa8574a
chore: update deps (#45)
BREAKING CHANGES:

- Upgrades the multiaddr dep to one that uses Uint8Arrays internally
2020-08-11 09:04:05 +01:00
Alan Shaw
73966a97bf
5.1.0 2020-01-01 22:33:11 +00:00
Alan Shaw
3021c00543
feat: retain aliased protocols (#11)
The upgrade to multiaddr 7 brings with it a change that means multiaddrs with libp2p peer ID keys like `/ipfs/QmXXX` will be transformed to `/p
2p/QmXXX` when converted from a string, to a multiaddr instance and back to a string.

This is because `p2p` and `ipfs` are name aliases for the same codec. `p2p` has now become the default and older `ipfs` names do not round trip(they are converted to `p2p` - as stated above).

This change allows us to use the new multiaddr 7 lib but retain backward compatibility by ensuring the protocol specified in a string multiaddr is the protocol used in the resulting URI.
2020-01-01 22:29:49 +00:00
Alan Shaw
5afa996d08
5.0.0 2019-08-21 11:19:47 +01:00
Alan Shaw
a338d53658
chore: update dependencies
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
2019-08-21 11:17:41 +01:00
Alan Shaw
0bcf4c9e77
chore: update travis config
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
2019-08-21 11:14:58 +01:00
Alan Shaw
f54eb2c629
chore: update repo URL
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
2019-08-21 11:13:53 +01:00
Alan Shaw
3eefbb5ebf
chore: udate devDependencies
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
2019-08-21 11:12:11 +01:00
Marcin Rataj
adda9366c1 feat: assume HTTP when multiaddr ends with /tcp (#7)
This makes multiaddrs ending with `/tcp/8080` to default to HTTP unless
an explicit assumeHttp: false is passed.

We also skip default ports for HTTP and HTTPS in the URL.

Motivation:
https://github.com/ipfs/js-ipfs/pull/2358#issue-307463029

License: MIT
Signed-off-by: Marcin Rataj <lidel@lidel.org>
2019-08-21 11:09:35 +01:00
Alan Shaw
ad08d43abb
4.0.1 2019-01-14 09:44:30 +00:00
Alan Shaw
e28ef44776
chore: update dependencies
License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
2019-01-14 09:41:04 +00:00
Alan Shaw
109f77ae76
Merge pull request #3 from hacdias/master
fix: IPv6 rfc3986 compliancy
2019-01-14 09:31:33 +00:00
Henrique Dias
7fbb65a470 fix: add all protocols
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-13 10:22:17 +00:00
Henrique Dias
ac2d98c49a fix: IPv6 rfc3986 compliancy
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
2019-01-13 10:12:30 +00:00
Alan Shaw
15cb33ac15
test: add additional test cases
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
2018-07-25 13:27:40 +01:00
Alan Shaw
4f9c8def1f
4.0.0 2018-07-24 13:28:45 +01:00
Alan Shaw
4c67093d4f
chore: update dependencies
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
2018-07-24 13:28:18 +01:00
Alan Shaw
ee29154de2
3.0.0 2018-04-05 22:26:16 +01:00
Alan Shaw
25b753a012
updates test name 2018-04-05 22:26:03 +01:00
Alan Shaw
46f6ac5db2
updates package-lock with new multiaddr version 2018-04-05 22:25:34 +01:00
Alan Shaw
e2ed7011d2
Merge pull request #1 from diasdavid/patch-1
chore: update multiaddr
2018-04-05 22:24:10 +01:00
David Dias
374e3bf8d5
chore: update multiaddr 2018-04-05 16:37:21 +01:00
Alan Shaw
7954091d46
2.0.0 2018-03-21 10:10:19 +00:00
Alan Shaw
42d8704061
renames to multiaddr-to-uri 2018-03-21 10:09:39 +00:00
Alan Shaw
4ac5788b5e
1.0.0 2018-03-20 14:44:35 +00:00
Alan Shaw
f159234297
initial commit 2018-03-20 14:39:26 +00:00