ipfs-unixfs-importer
Advanced tools
Comparing version 9.0.7 to 9.0.8
@@ -73,3 +73,3 @@ 'use strict'; | ||
const leaf = leaves[0]; | ||
if (leaf.cid.code === rawCodec__namespace.code && (file.mtime !== undefined || file.mode !== undefined)) { | ||
if (file.mtime !== undefined || file.mode !== undefined) { | ||
let buffer = await blockstore.get(leaf.cid); | ||
@@ -76,0 +76,0 @@ leaf.unixfs = new ipfsUnixfs.UnixFS({ |
@@ -49,3 +49,3 @@ import errCode from 'err-code'; | ||
const leaf = leaves[0]; | ||
if (leaf.cid.code === rawCodec.code && (file.mtime !== undefined || file.mode !== undefined)) { | ||
if (file.mtime !== undefined || file.mode !== undefined) { | ||
let buffer = await blockstore.get(leaf.cid); | ||
@@ -52,0 +52,0 @@ leaf.unixfs = new UnixFS({ |
{ | ||
"name": "ipfs-unixfs-importer", | ||
"version": "9.0.7", | ||
"version": "9.0.8", | ||
"description": "JavaScript implementation of the UnixFs importer used by IPFS", | ||
@@ -5,0 +5,0 @@ "license": "Apache-2.0 OR MIT", |
Sorry, the diff of this file is too big to display
282405