Skip to content

Commit

Permalink
deps: bump aegir from 43.0.3 to 44.0.1 (#2603)
Browse files Browse the repository at this point in the history
Bumps [aegir](https://github.com/ipfs/aegir) from 43.0.3 to 44.0.1.
- [Release notes](https://github.com/ipfs/aegir/releases)
- [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md)
- [Commits](ipfs/aegir@v43.0.3...v44.0.1)

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

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alex Potsides <[email protected]>
  • Loading branch information
dependabot[bot] and achingbrain authored Jul 29, 2024
1 parent 4c75575 commit 944935f
Show file tree
Hide file tree
Showing 55 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"doc-check": "aegir doc-check"
},
"devDependencies": {
"aegir": "^43.0.1"
"aegir": "^44.0.1"
},
"private": true
}
2 changes: 1 addition & 1 deletion interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@libp2p/websockets": "^8.0.24",
"@libp2p/webtransport": "^4.0.32",
"@multiformats/multiaddr": "^12.2.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"libp2p": "^1.6.0",
"p-event": "^6.0.1",
"redis": "^4.6.14"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"docs:no-publish": "aegir docs --publish false -- --exclude interop --exclude doc"
},
"devDependencies": {
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"npm-run-all": "^4.1.5"
},
"eslintConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/connection-encrypter-plaintext/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"@multiformats/multiaddr": "^12.2.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"protons": "^7.5.0",
"sinon": "^18.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/connection-encrypter-tls/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"@multiformats/multiaddr": "^12.2.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"protons": "^7.5.0",
"sinon": "^18.0.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/connection-encrypter-tls/src/tls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,15 +100,15 @@ export class TLS implements ConnectionEncrypter {
}
})
})
.catch(err => {
.catch((err: Error) => {
reject(err)
})
.finally(() => {
clearTimeout(abortTimeout)
})
}

socket.on('error', err => {
socket.on('error', (err: Error) => {
reject(err)
clearTimeout(abortTimeout)
})
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"benchmark": "^2.1.4",
"protons": "^7.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/src/webcrypto-browser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default {
get (win = globalThis) {
const nativeCrypto = win.crypto

if (nativeCrypto == null || nativeCrypto.subtle == null) {
if (nativeCrypto?.subtle == null) {
throw Object.assign(
new Error(
'Missing Web Crypto API. ' +
Expand Down
2 changes: 1 addition & 1 deletion packages/integration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"@multiformats/mafmt": "^12.1.6",
"@multiformats/multiaddr": "^12.2.3",
"@multiformats/multiaddr-matcher": "^1.2.1",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"delay": "^6.0.0",
"detect-browser": "^5.3.0",
"execa": "^9.1.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"@libp2p/utils": "^5.4.7",
"@multiformats/multiaddr": "^12.2.3",
"abortable-iterator": "^5.0.1",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"delay": "^6.0.0",
"it-all": "^3.0.6",
"it-byte-stream": "^1.0.10",
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-internal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"uint8arraylist": "^2.4.8"
},
"devDependencies": {
"aegir": "^43.0.1"
"aegir": "^44.0.1"
},
"sideEffects": false
}
2 changes: 1 addition & 1 deletion packages/interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"uint8arraylist": "^2.4.8"
},
"devDependencies": {
"aegir": "^43.0.1"
"aegir": "^44.0.1"
},
"browser": {
"events": "./dist/src/events.browser.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface/src/event-target.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export interface TypedEventTarget <EventMap extends Record<string, any>> extends
* etc
*/
export class TypedEventEmitter<EventMap extends Record<string, any>> extends EventTarget implements TypedEventTarget<EventMap> {
#listeners = new Map<any, Listener[]>()
readonly #listeners = new Map<any, Listener[]>()

constructor () {
super()
Expand Down
2 changes: 1 addition & 1 deletion packages/kad-dht/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@types/lodash.range": "^3.2.9",
"@types/sinon": "^17.0.3",
"@types/which": "^3.0.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"datastore-core": "^9.2.9",
"datastore-level": "^10.1.8",
"delay": "^6.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/kad-dht/src/query/events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ export function peerResponseEvent (fields: PeerResponseEventFields, options: Pro
name: 'PEER_RESPONSE',
type: 1,
messageName: fields.messageType,
closer: (fields.closer != null) ? fields.closer : [],
providers: (fields.providers != null) ? fields.providers : []
closer: fields.closer ?? [],
providers: fields.providers ?? []
}

options.onProgress?.(new CustomEvent('kad-dht:query:peer-response', { detail: event }))
Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"devDependencies": {
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"datastore-core": "^9.2.9"
},
"sideEffects": false
Expand Down
2 changes: 1 addition & 1 deletion packages/libp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"@libp2p/tcp": "^9.1.3",
"@libp2p/websockets": "^8.1.3",
"@multiformats/mafmt": "^12.1.6",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"delay": "^6.0.0",
"it-all": "^3.0.6",
"it-drain": "^3.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/libp2p/src/get-peer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function getPeerAddress (peer: PeerId | Multiaddr | Multiaddr[]): PeerAdd
} else {
const maPeerId = peerIdFromString(maPeerIdStr)

if (peerId == null || !peerId.equals(maPeerId)) {
if (peerId?.equals(maPeerId) !== true) {
throw new CodeError('Multiaddrs must all have the same peer id or have no peer id', codes.ERR_INVALID_PARAMETERS)
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"devDependencies": {
"@libp2p/peer-id": "^4.2.2",
"@types/debug": "^4.1.12",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"sinon": "^18.0.0",
"uint8arrays": "^5.1.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/metrics-devtools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
},
"devDependencies": {
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"sinon-ts": "^2.0.0"
},
"sideEffects": false
Expand Down
2 changes: 1 addition & 1 deletion packages/metrics-prometheus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"@multiformats/multiaddr": "^12.2.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"it-drain": "^3.0.7",
"it-pipe": "^3.0.1",
"p-defer": "^4.0.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/metrics-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"it-stream-types": "^2.0.1"
},
"devDependencies": {
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"p-defer": "^4.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/multistream-select/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
},
"devDependencies": {
"@libp2p/logger": "^4.0.18",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"iso-random-stream": "^2.0.2",
"it-all": "^3.0.6",
"it-drain": "^3.0.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-collections/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"devDependencies": {
"@libp2p/peer-id-factory": "^4.2.2",
"@types/sinon": "^17.0.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"sinon": "^18.0.0",
"sinon-ts": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-discovery-bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"devDependencies": {
"@libp2p/interface-compliance-tests": "^5.4.10",
"@libp2p/logger": "^4.0.18",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"sinon-ts": "^2.0.0"
},
"sideEffects": false
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-discovery-mdns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@libp2p/interface-compliance-tests": "^5.4.10",
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"p-wait-for": "^5.0.2",
"sinon-ts": "^2.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-id-factory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"multiformats": "^13.1.0",
"protons": "^7.5.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-id/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"uint8arrays": "^5.1.0"
},
"devDependencies": {
"aegir": "^43.0.1"
"aegir": "^44.0.1"
},
"sideEffects": false
}
2 changes: 1 addition & 1 deletion packages/peer-id/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ export function peerIdFromBytes (buf: Uint8Array): Ed25519PeerId | Secp256k1Peer
}

export function peerIdFromCID (cid: CID): Ed25519PeerId | Secp256k1PeerId | RSAPeerId | URLPeerId {
if (cid == null || cid.multihash == null || cid.version == null || (cid.version === 1 && (cid.code !== LIBP2P_KEY_CODE) && cid.code !== TRANSPORT_IPFS_GATEWAY_HTTP_CODE)) {
if (cid?.multihash == null || cid.version == null || (cid.version === 1 && (cid.code !== LIBP2P_KEY_CODE) && cid.code !== TRANSPORT_IPFS_GATEWAY_HTTP_CODE)) {
throw new Error('Supplied PeerID CID is invalid')
}

Expand Down
2 changes: 1 addition & 1 deletion packages/peer-record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
},
"devDependencies": {
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"protons": "^7.5.0"
},
"sideEffects": false
Expand Down
2 changes: 1 addition & 1 deletion packages/peer-store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"@types/sinon": "^17.0.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"datastore-core": "^9.2.9",
"delay": "^6.0.0",
"p-defer": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/pnet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"@libp2p/peer-id-factory": "^4.1.1",
"@multiformats/multiaddr": "^12.2.3",
"@types/xsalsa20": "^1.1.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"it-all": "^3.0.6"
},
"sideEffects": false
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-autonat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"devDependencies": {
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"it-all": "^3.0.6",
"it-pushable": "^3.2.3",
"protons": "^7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-autonat/src/autonat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class AutoNATService implements Startable {
let peerId: PeerId
const peer = dialRequest.peer

if (peer == null || peer.id == null) {
if (peer?.id == null) {
this.log.error('PeerId missing from message')

return {
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-dcutr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"uint8arraylist": "^2.4.8"
},
"devDependencies": {
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"protons": "^7.5.0",
"sinon": "^18.0.0",
"sinon-ts": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-echo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
},
"devDependencies": {
"@libp2p/logger": "^4.0.18",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"it-all": "^3.0.6",
"it-pair": "^2.0.6",
"sinon": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-fetch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
"devDependencies": {
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"it-pair": "^2.0.6",
"protons": "^7.5.0",
"sinon": "^18.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-identify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"@libp2p/interface-compliance-tests": "^5.4.10",
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"delay": "^6.0.0",
"it-length-prefixed": "^9.0.4",
"it-pair": "^2.0.6",
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-perf/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"devDependencies": {
"@libp2p/interface-compliance-tests": "^5.4.10",
"@libp2p/logger": "^4.0.18",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"it-last": "^3.0.6",
"it-pair": "^2.0.6",
"sinon-ts": "^2.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol-ping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"devDependencies": {
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"it-byte-stream": "^1.0.10",
"it-pair": "^2.0.6",
"p-defer": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/pubsub-floodsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"@libp2p/peer-id-factory": "^4.2.2",
"@multiformats/multiaddr": "^12.2.3",
"@types/sinon": "^17.0.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"multiformats": "^13.1.0",
"p-wait-for": "^5.0.2",
"protons": "^7.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/pubsub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
"@libp2p/logger": "^4.0.18",
"@libp2p/peer-id-factory": "^4.2.2",
"@types/sinon": "^17.0.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"delay": "^6.0.0",
"it-pair": "^2.0.6",
"p-defer": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/record/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@types/lodash.random": "^3.2.9",
"@types/lodash.range": "^3.2.9",
"@types/which": "^3.0.3",
"aegir": "^43.0.1",
"aegir": "^44.0.1",
"multiformats": "^13.1.0",
"protons": "^7.5.0"
},
Expand Down
Loading

0 comments on commit 944935f

Please sign in to comment.