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

Commit 7368a36

Browse files
deps: bump aegir from 37.12.1 to 38.1.0 (#335)
* deps: bump aegir from 37.12.1 to 38.1.0 Bumps [aegir](https://github.com/ipfs/aegir) from 37.12.1 to 38.1.0. - [Release notes](https://github.com/ipfs/aegir/releases) - [Changelog](https://github.com/ipfs/aegir/blob/master/CHANGELOG.md) - [Commits](ipfs/aegir@v37.12.1...v38.1.0) --- updated-dependencies: - dependency-name: aegir dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * chore: fix linting errors * chore: update config 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]>
1 parent d887537 commit 7368a36

File tree

100 files changed

+244
-223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+244
-223
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"release": "npm run docs:no-publish && aegir run release && npm run docs"
4141
},
4242
"dependencies": {
43-
"aegir": "^37.9.0"
43+
"aegir": "^38.1.0"
4444
},
4545
"workspaces": [
4646
"packages/*"

packages/interface-address-manager/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Usage](#usage)
1414
- [API Docs](#api-docs)
1515
- [License](#license)
16-
- [Contribute](#contribute)
16+
- [Contribution](#contribution)
1717

1818
## Install
1919

@@ -38,6 +38,6 @@ Licensed under either of
3838
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
3939
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
4040

41-
## Contribute
41+
## Contribution
4242

4343
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-address-manager/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"@multiformats/multiaddr": "^11.0.0"
137137
},
138138
"devDependencies": {
139-
"aegir": "^37.9.0"
139+
"aegir": "^38.1.0"
140140
},
141141
"typedoc": {
142142
"entryPoint": "./src/index.ts"

packages/interface-compliance-tests/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Usage](#usage)
1414
- [API Docs](#api-docs)
1515
- [License](#license)
16-
- [Contribute](#contribute)
16+
- [Contribution](#contribution)
1717

1818
## Install
1919

@@ -36,6 +36,6 @@ Licensed under either of
3636
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
3737
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
3838

39-
## Contribute
39+
## Contribution
4040

4141
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-compliance-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
"release": "aegir release"
157157
},
158158
"dependencies": {
159-
"aegir": "^37.9.0"
159+
"aegir": "^38.1.0"
160160
},
161161
"typedoc": {
162162
"entryPoint": "./src/index.ts"

packages/interface-compliance-tests/src/is-valid-tick.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* A tick is considered valid if it happened between now
44
* and `ms` milliseconds ago
55
*/
6-
export function isValidTick (date?: number, ms: number = 5000) {
6+
export function isValidTick (date?: number, ms: number = 5000): boolean {
77
if (date == null) {
88
throw new Error('date must be a number')
99
}

packages/interface-connection-compliance-tests/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Usage](#usage)
1414
- [API Docs](#api-docs)
1515
- [License](#license)
16-
- [Contribute](#contribute)
16+
- [Contribution](#contribution)
1717

1818
## Install
1919

@@ -56,6 +56,6 @@ Licensed under either of
5656
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
5757
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
5858

59-
## Contribute
59+
## Contribution
6060

6161
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-connection-compliance-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"dependencies": {
135135
"@libp2p/interface-compliance-tests": "^3.0.0",
136136
"@libp2p/interface-connection": "^3.0.0",
137-
"aegir": "^37.9.0",
137+
"aegir": "^38.1.0",
138138
"sinon": "^15.0.0",
139139
"ts-sinon": "^2.0.2"
140140
},

packages/interface-connection-compliance-tests/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { stubInterface } from 'ts-sinon'
44
import type { TestSetup } from '@libp2p/interface-compliance-tests'
55
import type { Connection, Stream } from '@libp2p/interface-connection'
66

7-
export default (test: TestSetup<Connection>) => {
7+
export default (test: TestSetup<Connection>): void => {
88
describe('connection', () => {
99
describe('open connection', () => {
1010
let connection: Connection
@@ -129,7 +129,7 @@ export default (test: TestSetup<Connection>) => {
129129
it.skip('should track inbound streams', async () => {
130130
// Add an remotely opened stream
131131
const stream = stubInterface<Stream>()
132-
await connection.addStream(stream)
132+
connection.addStream(stream)
133133
expect(stream).to.have.property('direction', 'inbound')
134134
})
135135

packages/interface-connection-encrypter-compliance-tests/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Usage](#usage)
1414
- [API Docs](#api-docs)
1515
- [License](#license)
16-
- [Contribute](#contribute)
16+
- [Contribution](#contribution)
1717

1818
## Install
1919

@@ -49,6 +49,6 @@ Licensed under either of
4949
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
5050
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
5151

52-
## Contribute
52+
## Contribution
5353

5454
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-connection-encrypter-compliance-tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"@libp2p/interface-peer-id": "^2.0.0",
139139
"@libp2p/peer-id-factory": "^2.0.0",
140140
"@multiformats/multiaddr": "^11.0.0",
141-
"aegir": "^37.9.0",
141+
"aegir": "^38.1.0",
142142
"it-all": "^2.0.0",
143143
"it-pair": "^2.0.2",
144144
"it-pipe": "^2.0.3",

packages/interface-connection-encrypter-compliance-tests/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import type { TestSetup } from '@libp2p/interface-compliance-tests'
1010
import type { ConnectionEncrypter } from '@libp2p/interface-connection-encrypter'
1111
import type { PeerId } from '@libp2p/interface-peer-id'
1212

13-
export default (common: TestSetup<ConnectionEncrypter>) => {
13+
export default (common: TestSetup<ConnectionEncrypter>): void => {
1414
describe('interface-connection-encrypter compliance tests', () => {
1515
let crypto: ConnectionEncrypter
1616
let localPeer: PeerId

packages/interface-connection-encrypter/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
- [Error Types](#error-types)
1818
- [API Docs](#api-docs)
1919
- [License](#license)
20-
- [Contribute](#contribute)
20+
- [Contribution](#contribution)
2121

2222
## Install
2323

@@ -105,7 +105,7 @@ Licensed under either of
105105
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
106106
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
107107

108-
## Contribute
108+
## Contribution
109109

110110
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
111111

packages/interface-connection-encrypter/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
"uint8arraylist": "^2.1.2"
158158
},
159159
"devDependencies": {
160-
"aegir": "^37.9.0"
160+
"aegir": "^38.1.0"
161161
},
162162
"typedoc": {
163163
"entryPoint": "./src/index.ts"

packages/interface-connection-encrypter/src/errors.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export class UnexpectedPeerError extends Error {
77
this.code = UnexpectedPeerError.code
88
}
99

10-
static get code () {
10+
static get code (): string {
1111
return 'ERR_UNEXPECTED_PEER'
1212
}
1313
}
@@ -20,7 +20,7 @@ export class InvalidCryptoExchangeError extends Error {
2020
this.code = InvalidCryptoExchangeError.code
2121
}
2222

23-
static get code () {
23+
static get code (): string {
2424
return 'ERR_INVALID_CRYPTO_EXCHANGE'
2525
}
2626
}
@@ -33,7 +33,7 @@ export class InvalidCryptoTransmissionError extends Error {
3333
this.code = InvalidCryptoTransmissionError.code
3434
}
3535

36-
static get code () {
36+
static get code (): string {
3737
return 'ERR_INVALID_CRYPTO_TRANSMISSION'
3838
}
3939
}

packages/interface-connection-manager/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Usage](#usage)
1414
- [API Docs](#api-docs)
1515
- [License](#license)
16-
- [Contribute](#contribute)
16+
- [Contribution](#contribution)
1717

1818
## Install
1919

@@ -38,6 +38,6 @@ Licensed under either of
3838
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
3939
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
4040

41-
## Contribute
41+
## Contribution
4242

4343
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-connection-manager/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@
138138
"@multiformats/multiaddr": "^11.0.0"
139139
},
140140
"devDependencies": {
141-
"aegir": "^37.9.0"
141+
"aegir": "^38.1.0"
142142
},
143143
"typedoc": {
144144
"entryPoint": "./src/index.ts"

packages/interface-connection/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
- [Tags](#tags)
3232
- [API Docs](#api-docs)
3333
- [License](#license)
34-
- [Contribute](#contribute)
34+
- [Contribution](#contribution)
3535

3636
## Install
3737

@@ -310,6 +310,6 @@ Licensed under either of
310310
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
311311
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
312312

313-
## Contribute
313+
## Contribution
314314

315315
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-connection/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@
159159
"uint8arraylist": "^2.1.2"
160160
},
161161
"devDependencies": {
162-
"aegir": "^37.9.0"
162+
"aegir": "^38.1.0"
163163
},
164164
"typedoc": {
165165
"entryPoint": "./src/index.ts"

packages/interface-content-routing/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- [provide](#provide)
2020
- [API Docs](#api-docs)
2121
- [License](#license)
22-
- [Contribute](#contribute)
22+
- [Contribution](#contribution)
2323

2424
## Install
2525

@@ -95,6 +95,6 @@ Licensed under either of
9595
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
9696
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
9797

98-
## Contribute
98+
## Contribution
9999

100100
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-content-routing/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"multiformats": "^11.0.0"
138138
},
139139
"devDependencies": {
140-
"aegir": "^37.9.0"
140+
"aegir": "^38.1.0"
141141
},
142142
"typedoc": {
143143
"entryPoint": "./src/index.ts"

packages/interface-dht/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- [Install](#install)
1313
- [API Docs](#api-docs)
1414
- [License](#license)
15-
- [Contribute](#contribute)
15+
- [Contribution](#contribution)
1616

1717
## Install
1818

@@ -31,6 +31,6 @@ Licensed under either of
3131
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
3232
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
3333

34-
## Contribute
34+
## Contribution
3535

3636
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-dht/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"multiformats": "^11.0.0"
140140
},
141141
"devDependencies": {
142-
"aegir": "^37.9.0"
142+
"aegir": "^38.1.0"
143143
},
144144
"typedoc": {
145145
"entryPoint": "./src/index.ts"

packages/interface-keychain/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
- [provide](#provide)
2020
- [API Docs](#api-docs)
2121
- [License](#license)
22-
- [Contribute](#contribute)
22+
- [Contribution](#contribution)
2323

2424
## Install
2525

@@ -95,6 +95,6 @@ Licensed under either of
9595
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
9696
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
9797

98-
## Contribute
98+
## Contribution
9999

100100
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-keychain/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
"multiformats": "^11.0.0"
137137
},
138138
"devDependencies": {
139-
"aegir": "^37.9.0"
139+
"aegir": "^38.1.0"
140140
},
141141
"typedoc": {
142142
"entryPoint": "./src/index.ts"

packages/interface-keychain/tsconfig.json

+5
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,10 @@
55
},
66
"include": [
77
"src"
8+
],
9+
"references": [
10+
{
11+
"path": "../interface-peer-id"
12+
}
813
]
914
}

packages/interface-keys/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- [Using the Test Suite](#using-the-test-suite)
1414
- [API Docs](#api-docs)
1515
- [License](#license)
16-
- [Contribute](#contribute)
16+
- [Contribution](#contribution)
1717

1818
## Install
1919

@@ -51,6 +51,6 @@ Licensed under either of
5151
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
5252
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
5353

54-
## Contribute
54+
## Contribution
5555

5656
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

packages/interface-keys/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
"release": "aegir release"
133133
},
134134
"devDependencies": {
135-
"aegir": "^37.9.0"
135+
"aegir": "^38.1.0"
136136
},
137137
"typedoc": {
138138
"entryPoint": "./src/index.ts"

packages/interface-libp2p/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
"@multiformats/multiaddr": "^11.0.0"
148148
},
149149
"devDependencies": {
150-
"aegir": "^37.9.0"
150+
"aegir": "^38.1.0"
151151
},
152152
"typedoc": {
153153
"entryPoint": "./src/index.ts"

packages/interface-libp2p/tsconfig.json

-3
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010
{
1111
"path": "../interface-connection"
1212
},
13-
{
14-
"path": "../interface-connection-manager"
15-
},
1613
{
1714
"path": "../interface-content-routing"
1815
},

0 commit comments

Comments
 (0)