@helia/mfs 7.0.4 → 7.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.min.js +4 -4
- package/dist/index.min.js.map +4 -4
- package/dist/src/index.js +1 -1
- package/dist/src/mfs.d.ts +1 -1
- package/dist/src/mfs.js +1 -1
- package/package.json +3 -3
- package/src/index.ts +1 -1
- package/src/mfs.ts +2 -2
package/dist/src/index.js
CHANGED
package/dist/src/mfs.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CID } from 'multiformats/cid';
|
|
2
|
-
import type { MFSComponents, MFSInit, MFS as MFSInterface, MkdirOptions, RmOptions, WriteOptions } from './index.
|
|
2
|
+
import type { MFSComponents, MFSInit, MFS as MFSInterface, MkdirOptions, RmOptions, WriteOptions } from './index.ts';
|
|
3
3
|
import type { CatOptions, ChmodOptions, CpOptions, LsOptions, StatOptions, TouchOptions, FileStats, DirectoryStats, RawStats, ExtendedStatOptions, ExtendedFileStats, ExtendedDirectoryStats, ExtendedRawStats } from '@helia/unixfs';
|
|
4
4
|
import type { UnixFSDirectoryEntry } from 'ipfs-unixfs-exporter';
|
|
5
5
|
import type { ByteStream } from 'ipfs-unixfs-importer';
|
package/dist/src/mfs.js
CHANGED
|
@@ -4,7 +4,7 @@ import { Key } from 'interface-datastore';
|
|
|
4
4
|
import { UnixFS as IPFSUnixFS } from 'ipfs-unixfs';
|
|
5
5
|
import map from 'it-map';
|
|
6
6
|
import { CID } from 'multiformats/cid';
|
|
7
|
-
import { basename } from
|
|
7
|
+
import { basename } from "./utils/basename.js";
|
|
8
8
|
export class MFS {
|
|
9
9
|
components;
|
|
10
10
|
unixfs;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/mfs",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.5",
|
|
4
4
|
"description": "A mutable filesystem powered by Helia",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia/tree/main/packages/mfs#readme",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"test:electron-main": "aegir test -t electron-main"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@helia/unixfs": "^7.0
|
|
50
|
+
"@helia/unixfs": "^7.1.0",
|
|
51
51
|
"@libp2p/interface": "^3.1.0",
|
|
52
52
|
"interface-blockstore": "^6.0.1",
|
|
53
53
|
"interface-datastore": "^9.0.2",
|
|
54
54
|
"ipfs-unixfs": "^12.0.0",
|
|
55
55
|
"ipfs-unixfs-exporter": "^15.0.2",
|
|
56
|
-
"ipfs-unixfs-importer": "^16.
|
|
56
|
+
"ipfs-unixfs-importer": "^16.1.4",
|
|
57
57
|
"it-map": "^3.1.4",
|
|
58
58
|
"multiformats": "^13.4.1"
|
|
59
59
|
},
|
package/src/index.ts
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
*/
|
|
29
29
|
|
|
30
30
|
import { CID } from 'multiformats/cid'
|
|
31
|
-
import { MFS as MFSClass } from './mfs.
|
|
31
|
+
import { MFS as MFSClass } from './mfs.ts'
|
|
32
32
|
import type { AddOptions, CatOptions, ChmodOptions, CpOptions, LsOptions, MkdirOptions as UnixFsMkdirOptions, RmOptions as UnixFsRmOptions, StatOptions, TouchOptions, FileStats, DirectoryStats, RawStats, ExtendedStatOptions, ExtendedFileStats, ExtendedDirectoryStats, ExtendedRawStats } from '@helia/unixfs'
|
|
33
33
|
import type { ComponentLogger } from '@libp2p/interface'
|
|
34
34
|
import type { Blockstore } from 'interface-blockstore'
|
package/src/mfs.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { Key } from 'interface-datastore'
|
|
|
4
4
|
import { UnixFS as IPFSUnixFS } from 'ipfs-unixfs'
|
|
5
5
|
import map from 'it-map'
|
|
6
6
|
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { basename } from './utils/basename.
|
|
8
|
-
import type { MFSComponents, MFSInit, MFS as MFSInterface, MkdirOptions, RmOptions, WriteOptions } from './index.
|
|
7
|
+
import { basename } from './utils/basename.ts'
|
|
8
|
+
import type { MFSComponents, MFSInit, MFS as MFSInterface, MkdirOptions, RmOptions, WriteOptions } from './index.ts'
|
|
9
9
|
import type { CatOptions, ChmodOptions, CpOptions, LsOptions, StatOptions, TouchOptions, UnixFS, FileStats, DirectoryStats, RawStats, ExtendedStatOptions, ExtendedFileStats, ExtendedDirectoryStats, ExtendedRawStats } from '@helia/unixfs'
|
|
10
10
|
import type { AbortOptions, Logger } from '@libp2p/interface'
|
|
11
11
|
import type { UnixFSDirectoryEntry } from 'ipfs-unixfs-exporter'
|