Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: multiformats/js-multiaddr
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 677e4ed4ad52a8b9106ddc24fd104e499f379fdf
Choose a base ref
...
head repository: multiformats/js-multiaddr
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 5f1e3d6b45bac106a9333d0f9d694f82f485efbb
Choose a head ref

Commits on Mar 30, 2018

  1. feat: use class-is module for type checks

    fsdiogo authored and vmx committed Mar 30, 2018
    Copy the full SHA
    b097af9 View commit details

Commits on Apr 3, 2018

  1. Copy the full SHA
    70c138b View commit details
  2. chore: update deps

    daviddias committed Apr 3, 2018
    Copy the full SHA
    3481206 View commit details

Commits on Apr 5, 2018

  1. chore: update deps

    daviddias committed Apr 5, 2018
    Copy the full SHA
    b78faf3 View commit details
  2. chore: update contributors

    daviddias committed Apr 5, 2018
    Copy the full SHA
    8904bf9 View commit details
  3. Copy the full SHA
    66fcfc0 View commit details
  4. chore: update contributors

    daviddias committed Apr 5, 2018
    Copy the full SHA
    8603930 View commit details
  5. Copy the full SHA
    1291a2f View commit details

Commits on Apr 24, 2018

  1. Copy the full SHA
    5d6b93a View commit details
  2. chore: update deps

    daviddias committed Apr 24, 2018
    Copy the full SHA
    6d9fe26 View commit details
  3. Copy the full SHA
    b0ae581 View commit details
  4. Copy the full SHA
    11d333b View commit details
  5. chore: update contributors

    daviddias committed Apr 24, 2018
    Copy the full SHA
    77f1038 View commit details
  6. Copy the full SHA
    b156af4 View commit details

Commits on May 9, 2018

  1. chore: add new lead-maintainer

    daviddias authored and victorb committed May 9, 2018
    Copy the full SHA
    09964e9 View commit details
  2. Merge pull request #66 from multiformats/lead-maintainer

    Lead maintainer
    victorb authored May 9, 2018
    Copy the full SHA
    fd4ff92 View commit details

Commits on Oct 2, 2018

  1. chore: remove old CIs

    Also updated README to point to jenkins build + codecov
    
    License: MIT
    Signed-off-by: Victor Bjelkholm <git@victor.earth>
    victorb committed Oct 2, 2018
    Copy the full SHA
    97c1b50 View commit details
  2. Merge pull request #70 from multiformats/update-ci

    chore: remove old CIs
    victorb authored Oct 2, 2018
    Copy the full SHA
    7e02b3a View commit details
  3. Correct mistake re build status for repo

    victorbjelkholm authored and victorb committed Oct 2, 2018
    Copy the full SHA
    667965b View commit details

Commits on Nov 3, 2018

  1. feat: add support for quic addresses

    License: MIT
    Signed-off-by: Marcin Rataj <lidel@lidel.org>
    lidel committed Nov 3, 2018
    Copy the full SHA
    9238d0d View commit details

Commits on Nov 5, 2018

  1. Merge pull request #71 from multiformats/feat/quic

    feat: Add support for QUIC addresses
    victorb authored Nov 5, 2018
    Copy the full SHA
    043b416 View commit details
  2. chore: update contributors

    victorb committed Nov 5, 2018
    Copy the full SHA
    4a672cb View commit details
  3. Copy the full SHA
    8bd1667 View commit details
  4. Upgrade aegir to v17

    License: MIT
    Signed-off-by: Victor Bjelkholm <git@victor.earth>
    victorb committed Nov 5, 2018
    Copy the full SHA
    c863dfc View commit details
  5. chore: update contributors

    victorb committed Nov 5, 2018
    Copy the full SHA
    c7ee5ee View commit details
  6. Copy the full SHA
    60251ad View commit details

Commits on Nov 28, 2018

  1. fix: change UDP code

    BREAKING CHANGE: The UDP code was changed in the multicodec table
    
    The UDP code is now `273` instead of `17`. For the full discussion of this change
    please see multiformats/multicodec#16.
    
    Fixes #17.
    Stebalien committed Nov 28, 2018
    Copy the full SHA
    e8c3d7d View commit details
  2. chore: fix {} formatting

    Stebalien committed Nov 28, 2018
    Copy the full SHA
    627978c View commit details
  3. Merge pull request #73 from multiformats/fix/72

    fix UDP code
    victorb authored Nov 28, 2018
    Copy the full SHA
    59d3663 View commit details
  4. chore: update aegir

    License: MIT
    Signed-off-by: Victor Bjelkholm <git@victor.earth>
    victorb committed Nov 28, 2018
    Copy the full SHA
    45d6fde View commit details
  5. chore: update contributors

    victorb committed Nov 28, 2018
    Copy the full SHA
    d7ef42b View commit details
  6. chore: release version v6.0.0

    victorb committed Nov 28, 2018
    Copy the full SHA
    594e133 View commit details

Commits on Dec 17, 2018

  1. feat: add p2p protocol support (#76)

    jacobheun authored and vmx committed Dec 17, 2018
    Copy the full SHA
    9c0139e View commit details
  2. chore: update contributors

    vmx committed Dec 17, 2018
    Copy the full SHA
    d65ae23 View commit details
  3. chore: release version v6.0.1

    vmx committed Dec 17, 2018
    Copy the full SHA
    309fcd0 View commit details
  4. Copy the full SHA
    bab6edb View commit details
  5. chore: update contributors

    vmx committed Dec 17, 2018
    Copy the full SHA
    055ef28 View commit details
  6. chore: release version v6.0.2

    vmx committed Dec 17, 2018
    Copy the full SHA
    c6f5f6a View commit details

Commits on Jan 8, 2019

  1. Copy the full SHA
    136315a View commit details
  2. fix: update max bundle size

    hugomrdias authored and daviddias committed Jan 8, 2019
    Copy the full SHA
    116f227 View commit details
  3. fix: remove unused deps

    hugomrdias authored and daviddias committed Jan 8, 2019
    Copy the full SHA
    3d8cb42 View commit details
  4. fix: increase bundle size limit

    hugomrdias authored and daviddias committed Jan 8, 2019
    Copy the full SHA
    b7fc015 View commit details
  5. chore: fix lint

    hugomrdias authored and daviddias committed Jan 8, 2019
    Copy the full SHA
    69b54e7 View commit details
  6. chore: update deps

    hugomrdias authored and daviddias committed Jan 8, 2019
    Copy the full SHA
    b9b668b View commit details
  7. chore: update deps

    daviddias committed Jan 8, 2019
    Copy the full SHA
    8c31a3b View commit details
  8. chore: update contributors

    daviddias committed Jan 8, 2019
    Copy the full SHA
    cbfe730 View commit details
  9. Copy the full SHA
    06da240 View commit details

Commits on Jan 25, 2019

  1. feat: add /p2p-stardust (#78)

    This is part of the endeavor to replace ws-star with the newly created stardust protocol. See libp2p/js-libp2p-websocket-star#70 for a reference
    mkg20001 authored and vmx committed Jan 25, 2019
    Copy the full SHA
    54e6837 View commit details
  2. chore: update contributors

    vmx committed Jan 25, 2019
    Copy the full SHA
    f190e4e View commit details
  3. chore: release version v6.0.4

    vmx committed Jan 25, 2019
    Copy the full SHA
    7ab0b65 View commit details
Showing with 2,364 additions and 1,010 deletions.
  1. +38 −0 .github/ISSUE_TEMPLATE/bug_report.md
  2. +20 −0 .github/ISSUE_TEMPLATE/feature_request.md
  3. +78 −0 .github/workflows/main.yml
  4. +2 −0 .gitignore
  5. +0 −29 .npmignore
  6. +0 −32 .travis.yml
  7. +374 −0 CHANGELOG.md
  8. +61 −61 README.md
  9. +0 −29 appveyor.yml
  10. +0 −2 ci/Jenkinsfile
  11. +0 −15 circle.yml
  12. +0 −3 documentation.yml
  13. +11 −11 examples/try.js
  14. +0 −84 intro.md
  15. +59 −38 package.json
  16. +122 −51 src/codec.js
  17. +181 −39 src/convert.js
  18. +557 −394 src/index.js
  19. +104 −0 src/ip.js
  20. +51 −17 src/protocols-table.js
  21. +7 −0 src/resolvers/dns.browser.js
  22. +3 −0 src/resolvers/dns.js
  23. +36 −0 src/resolvers/index.js
  24. +14 −0 src/types.d.ts
  25. +11 −13 test/codec.spec.js
  26. +50 −13 test/convert.spec.js
  27. +468 −174 test/index.spec.js
  28. +3 −5 test/protocols.spec.js
  29. +104 −0 test/resolvers.spec.js
  30. +10 −0 tsconfig.json
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
78 changes: 78 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: ci
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npx aegir lint
- run: npx aegir ts -p check
- run: npx aegir build
- run: npx aegir dep-check
- uses: ipfs/aegir/actions/bundle-size@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
test-node:
needs: check
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [14, 15]
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npx aegir test -t node --bail --cov
- uses: codecov/codecov-action@v1
test-chrome:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/playwright-github-action@v1
- run: npm install
- run: npx aegir test -t browser --bail --cov
- run: npx aegir test -t webworker --bail
- uses: codecov/codecov-action@v1
test-firefox:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/playwright-github-action@v1
- run: npm install
- run: npx aegir test -t browser -t webworker --bail -- --browser firefox
test-webkit:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: microsoft/playwright-github-action@v1
- run: npm install
- run: npx aegir test -t browser -t webworker --bail -- --browser webkit
test-electron-main:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npx xvfb-maybe aegir test -t electron-main --bail
test-electron-renderer:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install
- run: npx xvfb-maybe aegir test -t electron-renderer --bail
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -27,6 +27,7 @@ coverage
.lock-wscript

build
docs

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
@@ -40,3 +41,4 @@ test/test-data/go-ipfs-repo/LOG.old

# while testing npm5
package-lock.json
yarn.lock
29 changes: 0 additions & 29 deletions .npmignore

This file was deleted.

32 changes: 0 additions & 32 deletions .travis.yml

This file was deleted.

Loading