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

Commit

Permalink
deps(dev): bump aegir from 38.1.8 to 39.0.10 (#233)
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: update linting

* chore: add missing dep

* chore: update deps

---------

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 27, 2023
1 parent 3e98edd commit e073298
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 16 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"scripts": {
"clean": "aegir clean",
"lint": "aegir lint",
"dep-check": "aegir dep-check -i protons",
"dep-check": "aegir dep-check",
"build": "aegir build",
"generate": "protons ./src/message/rpc.proto",
"test": "aegir test",
Expand All @@ -156,12 +156,13 @@
"uint8arrays": "^4.0.3"
},
"devDependencies": {
"@libp2p/interface-mocks": "^10.0.0",
"@libp2p/interface-pubsub-compliance-tests": "^5.0.0",
"@libp2p/interface-mocks": "^12.0.1",
"@libp2p/interface-pubsub-compliance-tests": "^5.0.9",
"@libp2p/peer-collections": "^3.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"@multiformats/multiaddr": "^12.0.0",
"aegir": "^38.1.7",
"@types/sinon": "^10.0.15",
"aegir": "^39.0.10",
"multiformats": "^11.0.0",
"p-wait-for": "^5.0.0",
"protons": "^7.0.2",
Expand Down
10 changes: 5 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { logger } from '@libp2p/logger'
import { PubSubBaseProtocol, type PubSubComponents } from '@libp2p/pubsub'
import { toString } from 'uint8arrays/to-string'
import { PubSubBaseProtocol, PubSubComponents } from '@libp2p/pubsub'
import { multicodec } from './config.js'
import { SimpleTimeCache } from './cache.js'
import type { PubSubInit, Message, PubSubRPC, PubSubRPCMessage, PublishResult, PubSub } from '@libp2p/interface-pubsub'
import type { PeerId } from '@libp2p/interface-peer-id'
import { logger } from '@libp2p/logger'
import { multicodec } from './config.js'
import { RPC } from './message/rpc.js'
import type { PeerId } from '@libp2p/interface-peer-id'
import type { PubSubInit, Message, PubSubRPC, PubSubRPCMessage, PublishResult, PubSub } from '@libp2p/interface-pubsub'
import type { Uint8ArrayList } from 'uint8arraylist'

const log = logger('libp2p:floodsub')
Expand Down
14 changes: 7 additions & 7 deletions test/floodsub.spec.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
/* eslint-env mocha */

import { mockRegistrar } from '@libp2p/interface-mocks'
import { type Message, type PubSubRPC, StrictNoSign } from '@libp2p/interface-pubsub'
import { PeerSet } from '@libp2p/peer-collections'
import { createEd25519PeerId } from '@libp2p/peer-id-factory'
import { PeerStreams } from '@libp2p/pubsub/peer-streams'
import { expect } from 'aegir/chai'
import { sha256 } from 'multiformats/hashes/sha2'
import pWaitFor from 'p-wait-for'
import sinon from 'sinon'
import { fromString as uint8ArrayFromString } from 'uint8arrays/from-string'
import { toString as uint8ArrayToString } from 'uint8arrays/to-string'
import { sha256 } from 'multiformats/hashes/sha2'
import { Message, PubSubRPC, StrictNoSign } from '@libp2p/interface-pubsub'
import { PeerStreams } from '@libp2p/pubsub/peer-streams'
import { FloodSub, multicodec } from '../src/index.js'
import { createEd25519PeerId } from '@libp2p/peer-id-factory'
import { mockRegistrar } from '@libp2p/interface-mocks'
import pWaitFor from 'p-wait-for'
import { PeerSet } from '@libp2p/peer-collections'

const topic = 'my-topic'
const message = uint8ArrayFromString('a neat message')
Expand Down

0 comments on commit e073298

Please sign in to comment.