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

linkdex

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

linkdex - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

8

bin.js

@@ -5,3 +5,4 @@ #!/usr/bin/env node

import sade from 'sade'
import { linkdex, LinkIndexer } from './index.js'
import { linkdex } from './index.js'
import { HashingLinkIndexer } from './hashing-indexer.js'
import { CarBlockIterator } from '@ipld/car/iterator'

@@ -18,8 +19,7 @@ import { pipeline } from 'node:stream/promises'

cli.command('report <car>')
.describe('Print a linkdex report for a car')
cli.command('report <car>', 'Print a linkdex report for a car', { default: true })
.option('--error-if-partial')
.action(async (first, opts) => {
const cars = [first, ...opts._]
const index = new LinkIndexer()
const index = new HashingLinkIndexer()
for (const car of cars) {

@@ -26,0 +26,0 @@ const carStream = fs.createReadStream(car)

{
"name": "linkdex",
"version": "2.1.2",
"version": "2.2.0",
"type": "module",

@@ -5,0 +5,0 @@ "description": "An index mapping block CID to linked block CID.",

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