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

Commit

Permalink
deps(dev): bump aegir from 38.1.8 to 39.0.10 (#100)
Browse files Browse the repository at this point in the history
* deps(dev): bump aegir from 38.1.8 to 39.0.10

Bumps [aegir](https://github.com/ipfs/aegir) from 38.1.8 to 39.0.10.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](ipfs/aegir@v38.1.8...v39.0.10)

---
updated-dependencies:
- dependency-name: aegir
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* chore: fix linting

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: achingbrain <[email protected]>
  • Loading branch information
dependabot[bot] and achingbrain authored Jun 15, 2023
1 parent e5fbee9 commit da6547c
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 16 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"uint8arraylist": "^2.3.2"
},
"devDependencies": {
"aegir": "^38.1.7",
"aegir": "^39.0.10",
"it-all": "^3.0.1",
"it-pair": "^2.0.6",
"it-pipe": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/address-sort.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
* ```
*/

import type { Address } from '@libp2p/interface-peer-store'
import { isPrivate } from './multiaddr/is-private.js'
import type { Address } from '@libp2p/interface-peer-store'

/**
* Compare function for array.sort().
Expand Down
6 changes: 3 additions & 3 deletions src/ip-port-to-multiaddr.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { logger } from '@libp2p/logger'
import { Multiaddr, multiaddr } from '@multiformats/multiaddr'
import { CodeError } from '@libp2p/interfaces/errors'
import { Address4, Address6 } from '@achingbrain/ip-address'
import { CodeError } from '@libp2p/interfaces/errors'
import { logger } from '@libp2p/logger'
import { type Multiaddr, multiaddr } from '@multiformats/multiaddr'

const log = logger('libp2p:ip-port-to-multiaddr')

Expand Down
2 changes: 1 addition & 1 deletion src/multiaddr/is-private.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Multiaddr } from '@multiformats/multiaddr'
import isIpPrivate from 'private-ip'
import type { Multiaddr } from '@multiformats/multiaddr'

/**
* Check if a given multiaddr has a private address.
Expand Down
4 changes: 2 additions & 2 deletions src/stream-to-ma-conn.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { abortableSource } from 'abortable-iterator'
import { logger } from '@libp2p/logger'
import type { Multiaddr } from '@multiformats/multiaddr'
import { abortableSource } from 'abortable-iterator'
import type { MultiaddrConnection } from '@libp2p/interface-connection'
import type { Multiaddr } from '@multiformats/multiaddr'
import type { Duplex, Source } from 'it-stream-types'
import type { Uint8ArrayList } from 'uint8arraylist'

Expand Down
2 changes: 1 addition & 1 deletion test/address-sort.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */

import { expect } from 'aegir/chai'
import { multiaddr } from '@multiformats/multiaddr'
import { expect } from 'aegir/chai'
import { publicAddressesFirst } from '../src/address-sort.js'

describe('address-sort', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/array-equals.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */

import { expect } from 'aegir/chai'
import { multiaddr } from '@multiformats/multiaddr'
import { expect } from 'aegir/chai'
import { arrayEquals } from '../src/array-equals.js'

describe('non primitive array equals', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/multiaddr/is-loopback.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */

import { expect } from 'aegir/chai'
import { multiaddr } from '@multiformats/multiaddr'
import { expect } from 'aegir/chai'
import { isLoopback } from '../../src/multiaddr/is-loopback.js'

describe('multiaddr isLoopback', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/multiaddr/is-private.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-env mocha */

import { expect } from 'aegir/chai'
import { multiaddr } from '@multiformats/multiaddr'
import { expect } from 'aegir/chai'
import { isPrivate } from '../../src/multiaddr/is-private.js'

describe('multiaddr isPrivate', () => {
Expand Down
8 changes: 4 additions & 4 deletions test/stream-to-ma-conn.spec.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/* eslint-env mocha */

import { multiaddr } from '@multiformats/multiaddr'
import { expect } from 'aegir/chai'
import all from 'it-all'
import { pair } from 'it-pair'
import { pipe } from 'it-pipe'
import { multiaddr } from '@multiformats/multiaddr'
import { streamToMaConnection } from '../src/stream-to-ma-conn.js'
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
import all from 'it-all'
import { streamToMaConnection } from '../src/stream-to-ma-conn.js'
import type { Stream } from '@libp2p/interface-connection'
import type { Duplex, Source } from 'it-stream-types'
import type { Uint8ArrayList } from 'uint8arraylist'
Expand Down Expand Up @@ -69,7 +69,7 @@ describe('Convert stream into a multiaddr connection', () => {
const streamData = await pipe(
[data],
maConn,
async (source) => await all(source)
async (source) => all(source)
)

expect(streamData).to.eql([data])
Expand Down

0 comments on commit da6547c

Please sign in to comment.