Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ipfs-log

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-log - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

test/log-perf.spec.js

5

lib/log.js

@@ -52,3 +52,3 @@ 'use strict';

resolve(node);
});
}).catch(reject);
});

@@ -185,3 +185,2 @@ }

return Lazy(log.items)
.reverse()
.filter((f) => !Log.isReferencedInChain(log, f))

@@ -192,3 +191,3 @@ .toArray();

static isReferencedInChain(log, item) {
return Lazy(log.items).reverse().find((e) => e.hasChild(item)) !== undefined;
return Lazy(log.items).find((e) => e.hasChild(item)) !== undefined;
}

@@ -195,0 +194,0 @@

2

package.json
{
"name": "ipfs-log",
"version": "1.0.1",
"version": "1.0.2",
"description": "Append-only log for IPFS",

@@ -5,0 +5,0 @@ "main": "lib/log.js",

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