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

aligned-block-file

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aligned-block-file - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

8

blocks.js

@@ -27,4 +27,5 @@ var fs = require('fs')

function get(i, cb) {
if(Buffer.isBuffer(cache.get(i)))
cb(null, cache.get(i), block_size)
var c = cache.get(i)
if(Buffer.isBuffer(c))
cb(null, c, block_size)
else if(Array.isArray(cbs[i]))

@@ -38,3 +39,4 @@ cbs[i].push(cb)

if(!err) cache.set(i, buf)
while(cb.length) cb.shift()(err, buf, bytes_read)
for (var j = 0; j < cb.length; ++j)
cb[j](err, buf, bytes_read)
})

@@ -41,0 +43,0 @@ }

{
"name": "aligned-block-file",
"description": "",
"version": "1.1.2",
"version": "1.1.3",
"homepage": "https://github.com/flumedb/aligned-block-file",

@@ -6,0 +6,0 @@ "repository": {

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