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

Commit

Permalink
deps: bump aegir from 37.12.1 to 38.1.0 (#335)
Browse files Browse the repository at this point in the history
* 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] <support@github.com>

* chore: fix linting errors

* chore: update config

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: achingbrain <alex@achingbrain.net>
  • Loading branch information
dependabot[bot] and achingbrain committed Jan 18, 2023
1 parent d887537 commit 7368a36
Show file tree
Hide file tree
Showing 100 changed files with 244 additions and 223 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"release": "npm run docs:no-publish && aegir run release && npm run docs"
},
"dependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"workspaces": [
"packages/*"
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-address-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- [Usage](#usage)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-address-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-compliance-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- [Usage](#usage)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-compliance-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@
"release": "aegir release"
},
"dependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-compliance-tests/src/is-valid-tick.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* A tick is considered valid if it happened between now
* and `ms` milliseconds ago
*/
export function isValidTick (date?: number, ms: number = 5000) {
export function isValidTick (date?: number, ms: number = 5000): boolean {
if (date == null) {
throw new Error('date must be a number')
}
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-connection-compliance-tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- [Usage](#usage)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"dependencies": {
"@libp2p/interface-compliance-tests": "^3.0.0",
"@libp2p/interface-connection": "^3.0.0",
"aegir": "^37.9.0",
"aegir": "^38.1.0",
"sinon": "^15.0.0",
"ts-sinon": "^2.0.2"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-connection-compliance-tests/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { stubInterface } from 'ts-sinon'
import type { TestSetup } from '@libp2p/interface-compliance-tests'
import type { Connection, Stream } from '@libp2p/interface-connection'

export default (test: TestSetup<Connection>) => {
export default (test: TestSetup<Connection>): void => {
describe('connection', () => {
describe('open connection', () => {
let connection: Connection
Expand Down Expand Up @@ -129,7 +129,7 @@ export default (test: TestSetup<Connection>) => {
it.skip('should track inbound streams', async () => {
// Add an remotely opened stream
const stream = stubInterface<Stream>()
await connection.addStream(stream)
connection.addStream(stream)
expect(stream).to.have.property('direction', 'inbound')
})

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- [Usage](#usage)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"@libp2p/interface-peer-id": "^2.0.0",
"@libp2p/peer-id-factory": "^2.0.0",
"@multiformats/multiaddr": "^11.0.0",
"aegir": "^37.9.0",
"aegir": "^38.1.0",
"it-all": "^2.0.0",
"it-pair": "^2.0.2",
"it-pipe": "^2.0.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import type { TestSetup } from '@libp2p/interface-compliance-tests'
import type { ConnectionEncrypter } from '@libp2p/interface-connection-encrypter'
import type { PeerId } from '@libp2p/interface-peer-id'

export default (common: TestSetup<ConnectionEncrypter>) => {
export default (common: TestSetup<ConnectionEncrypter>): void => {
describe('interface-connection-encrypter compliance tests', () => {
let crypto: ConnectionEncrypter
let localPeer: PeerId
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-connection-encrypter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
- [Error Types](#error-types)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.

Expand Down
2 changes: 1 addition & 1 deletion packages/interface-connection-encrypter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
"uint8arraylist": "^2.1.2"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
6 changes: 3 additions & 3 deletions packages/interface-connection-encrypter/src/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export class UnexpectedPeerError extends Error {
this.code = UnexpectedPeerError.code
}

static get code () {
static get code (): string {
return 'ERR_UNEXPECTED_PEER'
}
}
Expand All @@ -20,7 +20,7 @@ export class InvalidCryptoExchangeError extends Error {
this.code = InvalidCryptoExchangeError.code
}

static get code () {
static get code (): string {
return 'ERR_INVALID_CRYPTO_EXCHANGE'
}
}
Expand All @@ -33,7 +33,7 @@ export class InvalidCryptoTransmissionError extends Error {
this.code = InvalidCryptoTransmissionError.code
}

static get code () {
static get code (): string {
return 'ERR_INVALID_CRYPTO_TRANSMISSION'
}
}
4 changes: 2 additions & 2 deletions packages/interface-connection-manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- [Usage](#usage)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-connection-manager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-connection/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
- [Tags](#tags)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-connection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
"uint8arraylist": "^2.1.2"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-content-routing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- [provide](#provide)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-content-routing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
"multiformats": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-dht/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
- [Install](#install)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-dht/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"multiformats": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
4 changes: 2 additions & 2 deletions packages/interface-keychain/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
- [provide](#provide)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-keychain/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
"multiformats": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
5 changes: 5 additions & 0 deletions packages/interface-keychain/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
},
"include": [
"src"
],
"references": [
{
"path": "../interface-peer-id"
}
]
}
4 changes: 2 additions & 2 deletions packages/interface-keys/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- [Using the Test Suite](#using-the-test-suite)
- [API Docs](#api-docs)
- [License](#license)
- [Contribute](#contribute)
- [Contribution](#contribution)

## Install

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

## Contribute
## Contribution

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.
2 changes: 1 addition & 1 deletion packages/interface-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
"release": "aegir release"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
2 changes: 1 addition & 1 deletion packages/interface-libp2p/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"@multiformats/multiaddr": "^11.0.0"
},
"devDependencies": {
"aegir": "^37.9.0"
"aegir": "^38.1.0"
},
"typedoc": {
"entryPoint": "./src/index.ts"
Expand Down
3 changes: 0 additions & 3 deletions packages/interface-libp2p/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
{
"path": "../interface-connection"
},
{
"path": "../interface-connection-manager"
},
{
"path": "../interface-content-routing"
},
Expand Down
Loading

0 comments on commit 7368a36

Please sign in to comment.