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

hyperdrive

Package Overview
Dependencies
Maintainers
3
Versions
273
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperdrive - npm Package Compare versions

Comparing version 10.12.1 to 10.12.2

6

index.js

@@ -30,3 +30,3 @@ const pathRoot = require('path')

const STDIO_CAP = 20
const WRITEFILE_BLOCK_SIZE = 524288
const WRITE_STREAM_BLOCK_SIZE = 524288

@@ -492,3 +492,3 @@ module.exports = (...args) => new Hyperdrive(...args)

// TODO: revert the content feed if this fails!!!! (add an option to the write stream for this (atomic: true))
const stream = contentState.feed.createWriteStream()
const stream = contentState.feed.createWriteStream({ maxBlockSize: WRITE_STREAM_BLOCK_SIZE })

@@ -563,3 +563,3 @@ proxy.on('close', ondone)

// Make sure that the buffer is chunked into blocks of 0.5MB.
let stream = this.createWriteStream(name, { ...opts, maxBlockSize: WRITEFILE_BLOCK_SIZE })
let stream = this.createWriteStream(name, opts)

@@ -566,0 +566,0 @@ // TODO: Do we need to maintain the error state? What's triggering 'finish' after 'error'?

{
"name": "hyperdrive",
"version": "10.12.1",
"version": "10.12.2",
"description": "Hyperdrive is a secure, real time distributed file system",

@@ -5,0 +5,0 @@ "main": "index.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