@helia/unixfs 1.4.3 → 2.0.0-3f4c6bf
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/README.md +13 -21
- package/dist/index.min.js +1 -1
- package/dist/src/index.d.ts +4 -4
- package/dist/src/index.js +4 -4
- package/package.json +21 -17
- package/src/index.ts +4 -4
- package/dist/typedoc-urls.json +0 -54
package/dist/src/index.d.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* `@helia/unixfs` is an implementation of a {@link https://github.com/ipfs/specs/blob/main/UNIXFS.md UnixFS filesystem} compatible with {@link https://github.com/ipfs/helia Helia}.
|
|
5
5
|
*
|
|
6
|
-
* See the
|
|
6
|
+
* See the [API docs](https://ipfs.github.io/helia/modules/_helia_unixfs.html) for all available operations.
|
|
7
7
|
*
|
|
8
|
-
* @example
|
|
8
|
+
* @example Creating files and directories
|
|
9
9
|
*
|
|
10
10
|
* ```typescript
|
|
11
11
|
* import { createHelia } from 'helia'
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
* }
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
-
* @example
|
|
33
|
+
* @example Recursively adding a directory
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* Node.js-compatibly environments only:
|
|
36
36
|
*
|
|
37
37
|
* ```typescript
|
|
38
38
|
* import { globSource } from '@helia/unixfs'
|
package/dist/src/index.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* `@helia/unixfs` is an implementation of a {@link https://github.com/ipfs/specs/blob/main/UNIXFS.md UnixFS filesystem} compatible with {@link https://github.com/ipfs/helia Helia}.
|
|
5
5
|
*
|
|
6
|
-
* See the
|
|
6
|
+
* See the [API docs](https://ipfs.github.io/helia/modules/_helia_unixfs.html) for all available operations.
|
|
7
7
|
*
|
|
8
|
-
* @example
|
|
8
|
+
* @example Creating files and directories
|
|
9
9
|
*
|
|
10
10
|
* ```typescript
|
|
11
11
|
* import { createHelia } from 'helia'
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
* }
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
-
* @example
|
|
33
|
+
* @example Recursively adding a directory
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* Node.js-compatibly environments only:
|
|
36
36
|
*
|
|
37
37
|
* ```typescript
|
|
38
38
|
* import { globSource } from '@helia/unixfs'
|
package/package.json
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/unixfs",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-3f4c6bf",
|
|
4
4
|
"description": "A Helia-compatible wrapper for UnixFS",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
|
-
"homepage": "https://github.com/ipfs/helia
|
|
6
|
+
"homepage": "https://github.com/ipfs/helia/tree/main/packages/unixfs#readme",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "git+https://github.com/ipfs/helia
|
|
9
|
+
"url": "git+https://github.com/ipfs/helia.git"
|
|
10
10
|
},
|
|
11
11
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/ipfs/helia
|
|
12
|
+
"url": "https://github.com/ipfs/helia/issues"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public",
|
|
16
|
+
"provenance": true
|
|
13
17
|
},
|
|
14
18
|
"keywords": [
|
|
15
19
|
"IPFS"
|
|
@@ -155,13 +159,12 @@
|
|
|
155
159
|
"release": "aegir release"
|
|
156
160
|
},
|
|
157
161
|
"dependencies": {
|
|
158
|
-
"@helia/interface": "
|
|
159
|
-
"@ipld/dag-pb": "^4.0.
|
|
160
|
-
"@libp2p/interface": "^
|
|
161
|
-
"@libp2p/logger": "^
|
|
162
|
+
"@helia/interface": "3.0.0-3f4c6bf",
|
|
163
|
+
"@ipld/dag-pb": "^4.0.3",
|
|
164
|
+
"@libp2p/interface": "^1.1.1",
|
|
165
|
+
"@libp2p/logger": "^4.0.4",
|
|
162
166
|
"@multiformats/murmur3": "^2.1.2",
|
|
163
167
|
"hamt-sharding": "^3.0.2",
|
|
164
|
-
"interface-blockstore": "^5.0.0",
|
|
165
168
|
"ipfs-unixfs": "^11.0.0",
|
|
166
169
|
"ipfs-unixfs-exporter": "^13.1.0",
|
|
167
170
|
"ipfs-unixfs-importer": "^15.1.0",
|
|
@@ -169,20 +172,21 @@
|
|
|
169
172
|
"it-last": "^3.0.1",
|
|
170
173
|
"it-pipe": "^3.0.1",
|
|
171
174
|
"merge-options": "^3.0.4",
|
|
172
|
-
"multiformats": "^
|
|
175
|
+
"multiformats": "^13.0.0",
|
|
173
176
|
"progress-events": "^1.0.0",
|
|
174
|
-
"sparse-array": "^1.3.2"
|
|
177
|
+
"sparse-array": "^1.3.2",
|
|
178
|
+
"uint8arrays": "^5.0.1"
|
|
175
179
|
},
|
|
176
180
|
"devDependencies": {
|
|
177
|
-
"aegir": "^
|
|
178
|
-
"blockstore-core": "^4.
|
|
181
|
+
"aegir": "^42.1.0",
|
|
182
|
+
"blockstore-core": "^4.3.8",
|
|
179
183
|
"delay": "^6.0.0",
|
|
184
|
+
"interface-blockstore": "^5.2.9",
|
|
180
185
|
"iso-url": "^1.2.1",
|
|
181
|
-
"it-all": "^3.0.
|
|
182
|
-
"it-drain": "^3.0.
|
|
186
|
+
"it-all": "^3.0.4",
|
|
187
|
+
"it-drain": "^3.0.5",
|
|
183
188
|
"it-first": "^3.0.1",
|
|
184
|
-
"it-to-buffer": "^4.0.
|
|
185
|
-
"uint8arrays": "^4.0.3",
|
|
189
|
+
"it-to-buffer": "^4.0.2",
|
|
186
190
|
"wherearewe": "^2.0.1"
|
|
187
191
|
},
|
|
188
192
|
"browser": {
|
package/src/index.ts
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* `@helia/unixfs` is an implementation of a {@link https://github.com/ipfs/specs/blob/main/UNIXFS.md UnixFS filesystem} compatible with {@link https://github.com/ipfs/helia Helia}.
|
|
5
5
|
*
|
|
6
|
-
* See the
|
|
6
|
+
* See the [API docs](https://ipfs.github.io/helia/modules/_helia_unixfs.html) for all available operations.
|
|
7
7
|
*
|
|
8
|
-
* @example
|
|
8
|
+
* @example Creating files and directories
|
|
9
9
|
*
|
|
10
10
|
* ```typescript
|
|
11
11
|
* import { createHelia } from 'helia'
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
* }
|
|
31
31
|
* ```
|
|
32
32
|
*
|
|
33
|
-
* @example
|
|
33
|
+
* @example Recursively adding a directory
|
|
34
34
|
*
|
|
35
|
-
*
|
|
35
|
+
* Node.js-compatibly environments only:
|
|
36
36
|
*
|
|
37
37
|
* ```typescript
|
|
38
38
|
* import { globSource } from '@helia/unixfs'
|
package/dist/typedoc-urls.json
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"AlreadyExistsError": "https://ipfs.github.io/helia-unixfs/classes/errors.AlreadyExistsError.html",
|
|
3
|
-
"./errors:AlreadyExistsError": "https://ipfs.github.io/helia-unixfs/classes/errors.AlreadyExistsError.html",
|
|
4
|
-
"DoesNotExistError": "https://ipfs.github.io/helia-unixfs/classes/errors.DoesNotExistError.html",
|
|
5
|
-
"./errors:DoesNotExistError": "https://ipfs.github.io/helia-unixfs/classes/errors.DoesNotExistError.html",
|
|
6
|
-
"InvalidPBNodeError": "https://ipfs.github.io/helia-unixfs/classes/errors.InvalidPBNodeError.html",
|
|
7
|
-
"./errors:InvalidPBNodeError": "https://ipfs.github.io/helia-unixfs/classes/errors.InvalidPBNodeError.html",
|
|
8
|
-
"InvalidParametersError": "https://ipfs.github.io/helia-unixfs/classes/errors.InvalidParametersError.html",
|
|
9
|
-
"./errors:InvalidParametersError": "https://ipfs.github.io/helia-unixfs/classes/errors.InvalidParametersError.html",
|
|
10
|
-
"NoContentError": "https://ipfs.github.io/helia-unixfs/classes/errors.NoContentError.html",
|
|
11
|
-
"./errors:NoContentError": "https://ipfs.github.io/helia-unixfs/classes/errors.NoContentError.html",
|
|
12
|
-
"NotADirectoryError": "https://ipfs.github.io/helia-unixfs/classes/errors.NotADirectoryError.html",
|
|
13
|
-
"./errors:NotADirectoryError": "https://ipfs.github.io/helia-unixfs/classes/errors.NotADirectoryError.html",
|
|
14
|
-
"NotAFileError": "https://ipfs.github.io/helia-unixfs/classes/errors.NotAFileError.html",
|
|
15
|
-
"./errors:NotAFileError": "https://ipfs.github.io/helia-unixfs/classes/errors.NotAFileError.html",
|
|
16
|
-
"NotUnixFSError": "https://ipfs.github.io/helia-unixfs/classes/errors.NotUnixFSError.html",
|
|
17
|
-
"./errors:NotUnixFSError": "https://ipfs.github.io/helia-unixfs/classes/errors.NotUnixFSError.html",
|
|
18
|
-
"UnixFSError": "https://ipfs.github.io/helia-unixfs/classes/errors.UnixFSError.html",
|
|
19
|
-
"./errors:UnixFSError": "https://ipfs.github.io/helia-unixfs/classes/errors.UnixFSError.html",
|
|
20
|
-
"UnknownError": "https://ipfs.github.io/helia-unixfs/classes/errors.UnknownError.html",
|
|
21
|
-
"./errors:UnknownError": "https://ipfs.github.io/helia-unixfs/classes/errors.UnknownError.html",
|
|
22
|
-
"AddOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.AddOptions.html",
|
|
23
|
-
".:AddOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.AddOptions.html",
|
|
24
|
-
"CatOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.CatOptions.html",
|
|
25
|
-
".:CatOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.CatOptions.html",
|
|
26
|
-
"ChmodOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.ChmodOptions.html",
|
|
27
|
-
".:ChmodOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.ChmodOptions.html",
|
|
28
|
-
"CpOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.CpOptions.html",
|
|
29
|
-
".:CpOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.CpOptions.html",
|
|
30
|
-
"LsOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.LsOptions.html",
|
|
31
|
-
".:LsOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.LsOptions.html",
|
|
32
|
-
"MkdirOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.MkdirOptions.html",
|
|
33
|
-
".:MkdirOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.MkdirOptions.html",
|
|
34
|
-
"RmOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.RmOptions.html",
|
|
35
|
-
".:RmOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.RmOptions.html",
|
|
36
|
-
"StatOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.StatOptions.html",
|
|
37
|
-
".:StatOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.StatOptions.html",
|
|
38
|
-
"TouchOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.TouchOptions.html",
|
|
39
|
-
".:TouchOptions": "https://ipfs.github.io/helia-unixfs/interfaces/index.TouchOptions.html",
|
|
40
|
-
"UnixFS": "https://ipfs.github.io/helia-unixfs/interfaces/index.UnixFS.html",
|
|
41
|
-
".:UnixFS": "https://ipfs.github.io/helia-unixfs/interfaces/index.UnixFS.html",
|
|
42
|
-
"UnixFSComponents": "https://ipfs.github.io/helia-unixfs/interfaces/index.UnixFSComponents.html",
|
|
43
|
-
".:UnixFSComponents": "https://ipfs.github.io/helia-unixfs/interfaces/index.UnixFSComponents.html",
|
|
44
|
-
"UnixFSStats": "https://ipfs.github.io/helia-unixfs/interfaces/index.UnixFSStats.html",
|
|
45
|
-
".:UnixFSStats": "https://ipfs.github.io/helia-unixfs/interfaces/index.UnixFSStats.html",
|
|
46
|
-
"AddEvents": "https://ipfs.github.io/helia-unixfs/types/index.AddEvents.html",
|
|
47
|
-
".:AddEvents": "https://ipfs.github.io/helia-unixfs/types/index.AddEvents.html",
|
|
48
|
-
"GetEvents": "https://ipfs.github.io/helia-unixfs/types/index.GetEvents.html",
|
|
49
|
-
".:GetEvents": "https://ipfs.github.io/helia-unixfs/types/index.GetEvents.html",
|
|
50
|
-
"globSource": "https://ipfs.github.io/helia-unixfs/functions/index.globSource.html",
|
|
51
|
-
"unixfs": "https://ipfs.github.io/helia-unixfs/functions/index.unixfs-1.html",
|
|
52
|
-
".:unixfs": "https://ipfs.github.io/helia-unixfs/functions/index.unixfs-1.html",
|
|
53
|
-
"urlSource": "https://ipfs.github.io/helia-unixfs/functions/index.urlSource.html"
|
|
54
|
-
}
|