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

Added package json files for the blocks and mount modules #5

Closed
wants to merge 3 commits into from
Closed

Added package json files for the blocks and mount modules #5

wants to merge 3 commits into from

Conversation

travisperson
Copy link
Member

Sorry for the messy commit log, I was trying to revert a commit due to naming the package ipfs-fuse instead of ipfs-mount and I guess I went about it wrong.

With this PR everything should build correctly after running make, prior you'd get warnings due to missing packages in the blocks and mount modules.

@jbenet
Copy link
Member

jbenet commented Aug 17, 2014

Oh, sorry I had missed this! I just merged #6 and #7 from @malandrew -- this should be the same, no? pls reopen otherwise.

@jbenet jbenet closed this Aug 17, 2014
MicrowaveDev pushed a commit to galtproject/js-ipfs that referenced this pull request May 22, 2020
* feat: consolidate ipfs.add input normalisation

Allows input normalisation function to be shared between ipfs and the
http client.

* feat: support pull streams (ipfs#8)

* feat: support pull streams

This PR updates the `normaliseInput` function to accept pull streams.

I've also made the following changes:

1. Update the docs for supported inputs
  * `Buffer|ArrayBuffer|TypedArray` is aliased as `Bytes`
  * `Blob|File` is aliased as `Bloby`
  * Added info for what a input "means" i.e. causes single/multiple files to be added
1. Peek the first item of an (async) iterator properly
1. Move file object check below `input[Symbol.asyncIterator]` check because Node.js streams have a path property that will false positive the `isFileObject` check
1. Fix `toFileObject` to allow objects with no `content` property
1. Simplify `toBuffer` to remove checks that `Buffer.from` already does
vasco-santos pushed a commit that referenced this pull request Sep 21, 2021
The service-worker-gateway was only responding with the correct content-type for some mime-types, see https://github.com/sindresorhus/file-type#supported-file-types.
This commit now fall-backs to detecting based on the extension as well.

Note that SVGs aren't supported by the `file-type` module.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants