New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ipfs-unixfs-importer

Package Overview
Dependencies
Maintainers
3
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-unixfs-importer - npm Package Compare versions

Comparing version 10.0.1 to 10.0.2

8

dist/src/index.d.ts

@@ -22,9 +22,5 @@ /**

* @param {UserImporterOptions} options
* @returns {AsyncGenerator<ImportResult, void, unknown>}
*/
export function importer(source: AsyncIterable<ImportCandidate> | Iterable<ImportCandidate> | ImportCandidate, blockstore: Blockstore, options?: UserImporterOptions): AsyncGenerator<{
cid: import("multiformats").CID;
path: string | undefined;
unixfs: import("ipfs-unixfs/dist/src").UnixFS | undefined;
size: number;
}, void, unknown>;
export function importer(source: AsyncIterable<ImportCandidate> | Iterable<ImportCandidate> | ImportCandidate, blockstore: Blockstore, options?: UserImporterOptions): AsyncGenerator<ImportResult, void, unknown>;
export type Blockstore = import('interface-blockstore').Blockstore;

@@ -31,0 +27,0 @@ export type ImportCandidate = import('./types').ImportCandidate;

{
"name": "ipfs-unixfs-importer",
"version": "10.0.1",
"version": "10.0.2",
"description": "JavaScript implementation of the UnixFs importer used by IPFS",

@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT",

@@ -28,2 +28,3 @@ import parallelBatch from 'it-parallel-batch'

* @param {UserImporterOptions} options
* @returns {AsyncGenerator<ImportResult, void, unknown>}
*/

@@ -30,0 +31,0 @@ export async function * importer (source, blockstore, options = {}) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc