Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
chore: update deps (#9)
Browse files Browse the repository at this point in the history
* chore: update deps

Pulls in the latest multiaddrs that replaces node Buffers with
Uint8Arrays

BREAKING CHANGES:

- The multiaddr dep of this module uses Uint8Arrays and may not be
  compatible with previous versions

* chore: remove gh url
  • Loading branch information
achingbrain authored Aug 7, 2020
1 parent 46d17ca commit a2ea68f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
"homepage": "https://github.com/libp2p/js-libp2p-utils#readme",
"devDependencies": {
"aegir": "^25.0.0",
"chai": "^4.2.0",
"dirty-chai": "^2.0.1",
"it-pair": "^1.0.0",
"it-pipe": "^1.1.0",
"streaming-iterables": "^5.0.2"
Expand All @@ -41,7 +39,7 @@
"debug": "^4.1.1",
"err-code": "^2.0.3",
"ip-address": "^6.1.0",
"multiaddr": "^7.5.0"
"multiaddr": "^8.0.0"
},
"contributors": [
"Vasco Santos <[email protected]>"
Expand Down
6 changes: 1 addition & 5 deletions test/array-equals.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
/* eslint-env mocha */
'use strict'

const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
chai.use(dirtyChai)

const { expect } = require('aegir/utils/chai')
const multiaddr = require('multiaddr')

const arrayEquals = require('../src/array-equals')
Expand Down
6 changes: 1 addition & 5 deletions test/ip-port-to-multiaddr.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
/* eslint-env mocha */
'use strict'

const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
chai.use(dirtyChai)

const { expect } = require('aegir/utils/chai')
const toMultiaddr = require('../src/ip-port-to-multiaddr')
const { Errors } = require('../src/ip-port-to-multiaddr')

Expand Down
6 changes: 1 addition & 5 deletions test/stream-to-ma-conn.spec.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
/* eslint-env mocha */
'use strict'

const chai = require('chai')
const dirtyChai = require('dirty-chai')
const expect = chai.expect
chai.use(dirtyChai)

const { expect } = require('aegir/utils/chai')
const pair = require('it-pair')
const pipe = require('it-pipe')
const { collect } = require('streaming-iterables')
Expand Down

0 comments on commit a2ea68f

Please sign in to comment.