Skip to content

Commit

Permalink
deps(dev): bump aegir from 37.12.1 to 38.1.8 (#55)
Browse files Browse the repository at this point in the history
* deps(dev): bump aegir from 37.12.1 to 38.1.8

Bumps [aegir](https://github.com/ipfs/aegir) from 37.12.1 to 38.1.8.
- [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.8)

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

Signed-off-by: dependabot[bot] <[email protected]>

* chore: fix linting

---------

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 Apr 19, 2023
1 parent 4dee482 commit 07b6b6f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
node_modules
.coverage
package-lock.json
build
dist
.docs
.coverage
node_modules
package-lock.json
yarn.lock
.vscode
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@
"uint8arraylist": "^2.0.0"
},
"devDependencies": {
"aegir": "^37.4.7",
"aegir": "^38.1.8",
"iso-random-stream": "^2.0.2"
}
}
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface Reader extends AsyncGenerator<Uint8ArrayList, void, any> {
* }
* ```
*/
export function reader (source: Source<Uint8Array | Uint8ArrayList>) {
export function reader (source: Source<Uint8Array | Uint8ArrayList>): Reader {
const reader: Reader = (async function * (): AsyncGenerator<Uint8ArrayList, void, any> {
// @ts-expect-error first yield in stream is ignored
let bytes: number | undefined = yield // Allows us to receive 8 when reader.next(8) is called
Expand Down

0 comments on commit 07b6b6f

Please sign in to comment.