@helia/unixfs 5.0.4 → 5.1.0-34d3ecd7

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.
Files changed (78) hide show
  1. package/dist/index.min.js +2 -1
  2. package/dist/index.min.js.map +4 -4
  3. package/dist/src/commands/cat.d.ts.map +1 -1
  4. package/dist/src/commands/cat.js +3 -7
  5. package/dist/src/commands/cat.js.map +1 -1
  6. package/dist/src/commands/chmod.d.ts.map +1 -1
  7. package/dist/src/commands/chmod.js +8 -15
  8. package/dist/src/commands/chmod.js.map +1 -1
  9. package/dist/src/commands/cp.d.ts.map +1 -1
  10. package/dist/src/commands/cp.js +4 -12
  11. package/dist/src/commands/cp.js.map +1 -1
  12. package/dist/src/commands/ls.d.ts +4 -1
  13. package/dist/src/commands/ls.d.ts.map +1 -1
  14. package/dist/src/commands/ls.js +17 -11
  15. package/dist/src/commands/ls.js.map +1 -1
  16. package/dist/src/commands/mkdir.d.ts.map +1 -1
  17. package/dist/src/commands/mkdir.js +8 -16
  18. package/dist/src/commands/mkdir.js.map +1 -1
  19. package/dist/src/commands/rm.d.ts.map +1 -1
  20. package/dist/src/commands/rm.js +2 -9
  21. package/dist/src/commands/rm.js.map +1 -1
  22. package/dist/src/commands/stat.d.ts.map +1 -1
  23. package/dist/src/commands/stat.js +5 -8
  24. package/dist/src/commands/stat.js.map +1 -1
  25. package/dist/src/commands/touch.d.ts.map +1 -1
  26. package/dist/src/commands/touch.js +9 -16
  27. package/dist/src/commands/touch.js.map +1 -1
  28. package/dist/src/commands/utils/add-link.d.ts +3 -3
  29. package/dist/src/commands/utils/add-link.d.ts.map +1 -1
  30. package/dist/src/commands/utils/add-link.js +4 -2
  31. package/dist/src/commands/utils/add-link.js.map +1 -1
  32. package/dist/src/commands/utils/hamt-utils.d.ts +2 -2
  33. package/dist/src/commands/utils/hamt-utils.d.ts.map +1 -1
  34. package/dist/src/commands/utils/hamt-utils.js +2 -1
  35. package/dist/src/commands/utils/hamt-utils.js.map +1 -1
  36. package/dist/src/commands/utils/is-over-shard-threshold.d.ts.map +1 -1
  37. package/dist/src/commands/utils/is-over-shard-threshold.js +2 -1
  38. package/dist/src/commands/utils/is-over-shard-threshold.js.map +1 -1
  39. package/dist/src/commands/utils/persist.d.ts +1 -1
  40. package/dist/src/commands/utils/persist.d.ts.map +1 -1
  41. package/dist/src/commands/utils/persist.js +2 -1
  42. package/dist/src/commands/utils/persist.js.map +1 -1
  43. package/dist/src/commands/utils/remove-link.d.ts +2 -2
  44. package/dist/src/commands/utils/remove-link.d.ts.map +1 -1
  45. package/dist/src/commands/utils/remove-link.js +2 -1
  46. package/dist/src/commands/utils/remove-link.js.map +1 -1
  47. package/dist/src/commands/utils/resolve.d.ts +1 -1
  48. package/dist/src/commands/utils/resolve.d.ts.map +1 -1
  49. package/dist/src/constants.d.ts +3 -0
  50. package/dist/src/constants.d.ts.map +1 -0
  51. package/dist/src/constants.js +3 -0
  52. package/dist/src/constants.js.map +1 -0
  53. package/dist/src/index.d.ts +19 -9
  54. package/dist/src/index.d.ts.map +1 -1
  55. package/dist/src/index.js.map +1 -1
  56. package/package.json +19 -26
  57. package/src/commands/cat.ts +3 -11
  58. package/src/commands/chmod.ts +8 -16
  59. package/src/commands/cp.ts +4 -14
  60. package/src/commands/ls.ts +22 -17
  61. package/src/commands/mkdir.ts +8 -18
  62. package/src/commands/rm.ts +2 -11
  63. package/src/commands/stat.ts +6 -12
  64. package/src/commands/touch.ts +9 -17
  65. package/src/commands/utils/add-link.ts +7 -5
  66. package/src/commands/utils/hamt-utils.ts +4 -3
  67. package/src/commands/utils/is-over-shard-threshold.ts +2 -1
  68. package/src/commands/utils/persist.ts +3 -2
  69. package/src/commands/utils/remove-link.ts +4 -3
  70. package/src/commands/utils/resolve.ts +1 -1
  71. package/src/constants.ts +2 -0
  72. package/src/index.ts +18 -9
  73. package/dist/src/commands/utils/constants.d.ts +0 -2
  74. package/dist/src/commands/utils/constants.d.ts.map +0 -1
  75. package/dist/src/commands/utils/constants.js +0 -2
  76. package/dist/src/commands/utils/constants.js.map +0 -1
  77. package/dist/typedoc-urls.json +0 -76
  78. package/src/commands/utils/constants.ts +0 -1
@@ -1,76 +0,0 @@
1
- {
2
- "AlreadyExistsError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.AlreadyExistsError.html",
3
- "./errors:AlreadyExistsError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.AlreadyExistsError.html",
4
- "DoesNotExistError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.DoesNotExistError.html",
5
- "./errors:DoesNotExistError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.DoesNotExistError.html",
6
- "InvalidParametersError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.InvalidParametersError.html",
7
- "./errors:InvalidParametersError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.InvalidParametersError.html",
8
- "InvalidPBNodeError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.InvalidPBNodeError.html",
9
- "./errors:InvalidPBNodeError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.InvalidPBNodeError.html",
10
- "NoContentError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NoContentError.html",
11
- "./errors:NoContentError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NoContentError.html",
12
- "NotADirectoryError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NotADirectoryError.html",
13
- "./errors:NotADirectoryError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NotADirectoryError.html",
14
- "NotAFileError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NotAFileError.html",
15
- "./errors:NotAFileError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NotAFileError.html",
16
- "NotUnixFSError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NotUnixFSError.html",
17
- "./errors:NotUnixFSError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.NotUnixFSError.html",
18
- "UnixFSError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.UnixFSError.html",
19
- "./errors:UnixFSError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.UnixFSError.html",
20
- "UnknownError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.UnknownError.html",
21
- "./errors:UnknownError": "https://ipfs.github.io/helia/classes/_helia_unixfs.errors.UnknownError.html",
22
- "AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.AddOptions.html",
23
- ".:AddOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.AddOptions.html",
24
- "CatOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.CatOptions.html",
25
- ".:CatOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.CatOptions.html",
26
- "ChmodOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ChmodOptions.html",
27
- ".:ChmodOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ChmodOptions.html",
28
- "CpOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.CpOptions.html",
29
- ".:CpOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.CpOptions.html",
30
- "DirectoryStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.DirectoryStats.html",
31
- ".:DirectoryStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.DirectoryStats.html",
32
- "ExtendedDirectoryStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedDirectoryStats.html",
33
- ".:ExtendedDirectoryStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedDirectoryStats.html",
34
- "ExtendedFileStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedFileStats.html",
35
- ".:ExtendedFileStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedFileStats.html",
36
- "ExtendedRawStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedRawStats.html",
37
- ".:ExtendedRawStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedRawStats.html",
38
- "ExtendedStatOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedStatOptions.html",
39
- ".:ExtendedStatOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedStatOptions.html",
40
- "ExtendedStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedStats.html",
41
- ".:ExtendedStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.ExtendedStats.html",
42
- "FileCandidate": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.FileCandidate.html",
43
- ".:FileCandidate": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.FileCandidate.html",
44
- "FileStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.FileStats.html",
45
- ".:FileStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.FileStats.html",
46
- "GlobSourceOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.GlobSourceOptions.html",
47
- "GlobSourceResult": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.GlobSourceResult.html",
48
- "LsOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.LsOptions.html",
49
- ".:LsOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.LsOptions.html",
50
- "MkdirOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.MkdirOptions.html",
51
- ".:MkdirOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.MkdirOptions.html",
52
- "RawStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.RawStats.html",
53
- ".:RawStats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.RawStats.html",
54
- "RmOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.RmOptions.html",
55
- ".:RmOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.RmOptions.html",
56
- "StatOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.StatOptions.html",
57
- ".:StatOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.StatOptions.html",
58
- "Stats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.Stats.html",
59
- ".:Stats": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.Stats.html",
60
- "TouchOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.TouchOptions.html",
61
- ".:TouchOptions": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.TouchOptions.html",
62
- "UnixFS": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.UnixFS.html",
63
- ".:UnixFS": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.UnixFS.html",
64
- "UnixFSComponents": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.UnixFSComponents.html",
65
- ".:UnixFSComponents": "https://ipfs.github.io/helia/interfaces/_helia_unixfs.index.UnixFSComponents.html",
66
- "AddEvents": "https://ipfs.github.io/helia/types/_helia_unixfs.index.AddEvents.html",
67
- ".:AddEvents": "https://ipfs.github.io/helia/types/_helia_unixfs.index.AddEvents.html",
68
- "AddFileOptions": "https://ipfs.github.io/helia/types/_helia_unixfs.index.AddFileOptions.html",
69
- ".:AddFileOptions": "https://ipfs.github.io/helia/types/_helia_unixfs.index.AddFileOptions.html",
70
- "GetEvents": "https://ipfs.github.io/helia/types/_helia_unixfs.index.GetEvents.html",
71
- ".:GetEvents": "https://ipfs.github.io/helia/types/_helia_unixfs.index.GetEvents.html",
72
- "globSource": "https://ipfs.github.io/helia/functions/_helia_unixfs.index.globSource.html",
73
- "unixfs": "https://ipfs.github.io/helia/functions/_helia_unixfs.index.unixfs.html",
74
- ".:unixfs": "https://ipfs.github.io/helia/functions/_helia_unixfs.index.unixfs.html",
75
- "urlSource": "https://ipfs.github.io/helia/functions/_helia_unixfs.index.urlSource.html"
76
- }
@@ -1 +0,0 @@
1
- export const SHARD_SPLIT_THRESHOLD_BYTES = 262144