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

deps(dev): bump aegir from 38.1.8 to 39.0.10 #100

Merged
merged 2 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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