Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
deps(dev): bump helia from 2.0.1 to 2.0.3 (#10)
Browse files Browse the repository at this point in the history
Bumps [helia](https://github.com/ipfs/helia) from 2.0.1 to 2.0.3.
- [Release notes](https://github.com/ipfs/helia/releases)
- [Changelog](https://github.com/ipfs/helia/blob/main/CHANGELOG.md)
- [Commits](ipfs/helia@helia-v2.0.1...helia-v2.0.3)

---
updated-dependencies:
- dependency-name: helia
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

---------

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 authored Oct 7, 2023
1 parent 077021a commit 6911470
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,15 @@
"generate": "aegir run generate",
"build": "aegir run build",
"lint": "aegir run lint",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop",
"dep-check": "aegir run dep-check",
"release": "npm run docs:no-publish && aegir run release && npm run docs"
"release": "run-s build docs:no-publish npm:release docs",
"npm:release": "aegir run release",
"docs": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs -- --exclude packages/interop --excludeExternals",
"docs:no-publish": "NODE_OPTIONS=--max_old_space_size=8192 aegir docs --publish false -- --exclude packages/interop"
},
"devDependencies": {
"aegir": "^40.0.9"
"aegir": "^41.0.0",
"npm-run-all": "^4.1.5"
},
"type": "module",
"workspaces": [
Expand Down
5 changes: 3 additions & 2 deletions packages/interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
Expand All @@ -50,9 +51,9 @@
"devDependencies": {
"@helia/interface": "^2.0.0",
"@helia/mfs": "^1.0.0",
"aegir": "^40.0.9",
"aegir": "^41.0.3",
"go-ipfs": "^0.22.0",
"helia": "2.0.1",
"helia": "^2.0.3",
"ipfsd-ctl": "^13.0.0",
"kubo-rpc-client": "^3.0.0",
"merge-options": "^3.0.4",
Expand Down
3 changes: 2 additions & 1 deletion packages/mfs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"project": true,
"sourceType": "module"
}
},
Expand Down Expand Up @@ -148,7 +149,7 @@
"multiformats": "^12.0.1"
},
"devDependencies": {
"aegir": "^40.0.9",
"aegir": "^41.0.3",
"blockstore-core": "^4.0.1",
"datastore-core": "^9.2.0",
"delay": "^6.0.0",
Expand Down
20 changes: 10 additions & 10 deletions packages/mfs/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export interface MFS {
* await fs.writeBytes(Uint8Array.from([0, 1, 2, 3]), '/foo.txt')
* ```
*/
writeBytes: (bytes: Uint8Array, path: string, options?: Partial<WriteOptions>) => Promise<void>
writeBytes(bytes: Uint8Array, path: string, options?: Partial<WriteOptions>): Promise<void>

/**
* Add a stream of `Uint8Array` to your MFS as a file.
Expand All @@ -110,7 +110,7 @@ export interface MFS {
* await fs.writeByteStream(stream, '/foo.txt')
* ```
*/
writeByteStream: (bytes: ByteStream, path: string, options?: Partial<WriteOptions>) => Promise<void>
writeByteStream(bytes: ByteStream, path: string, options?: Partial<WriteOptions>): Promise<void>

/**
* Retrieve the contents of a file from your MFS.
Expand All @@ -123,7 +123,7 @@ export interface MFS {
* }
* ```
*/
cat: (path: string, options?: Partial<CatOptions>) => AsyncIterable<Uint8Array>
cat(path: string, options?: Partial<CatOptions>): AsyncIterable<Uint8Array>

/**
* Change the permissions on a file or directory in your MFS
Expand All @@ -141,7 +141,7 @@ export interface MFS {
* console.info(afterStats)
* ```
*/
chmod: (path: string, mode: number, options?: Partial<ChmodOptions>) => Promise<void>
chmod(path: string, mode: number, options?: Partial<ChmodOptions>): Promise<void>

/**
* Add a file or directory to a target directory in your MFS.
Expand All @@ -165,7 +165,7 @@ export interface MFS {
* await fs.cp('/foo.txt', '/bar.txt')
* ```
*/
cp: (source: CID | string, destination: string, options?: Partial<CpOptions>) => Promise<void>
cp(source: CID | string, destination: string, options?: Partial<CpOptions>): Promise<void>

/**
* List directory contents from your MFS.
Expand All @@ -178,7 +178,7 @@ export interface MFS {
* }
* ```
*/
ls: (path?: string, options?: Partial<LsOptions>) => AsyncIterable<UnixFSEntry>
ls(path?: string, options?: Partial<LsOptions>): AsyncIterable<UnixFSEntry>

/**
* Make a new directory in your MFS.
Expand All @@ -189,7 +189,7 @@ export interface MFS {
* await fs.mkdir('/new-dir')
* ```
*/
mkdir: (path: string, options?: Partial<MkdirOptions>) => Promise<void>
mkdir(path: string, options?: Partial<MkdirOptions>): Promise<void>

/**
* Remove a file or directory from your MFS.
Expand All @@ -201,7 +201,7 @@ export interface MFS {
* await fs.rm('/new-dir')
* ```
*/
rm: (path: string, options?: Partial<RmOptions>) => Promise<void>
rm(path: string, options?: Partial<RmOptions>): Promise<void>

/**
* Return statistics about a UnixFS DAG in your MFS.
Expand All @@ -215,7 +215,7 @@ export interface MFS {
* console.info(stats)
* ```
*/
stat: (path: string, options?: Partial<StatOptions>) => Promise<UnixFSStats>
stat(path: string, options?: Partial<StatOptions>): Promise<UnixFSStats>

/**
* Update the mtime of a UnixFS DAG in your MFS.
Expand All @@ -233,7 +233,7 @@ export interface MFS {
* console.info(afterStats)
* ```
*/
touch: (path: string, options?: Partial<TouchOptions>) => Promise<void>
touch(path: string, options?: Partial<TouchOptions>): Promise<void>
}

interface PathEntry {
Expand Down

0 comments on commit 6911470

Please sign in to comment.