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
2
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 9.0.7 to 9.0.8

2

cjs/src/dag-builder/file/index.js

@@ -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

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