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

castor

Package Overview
Dependencies
Maintainers
2
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

castor - npm Package Compare versions

Comparing version 1.3.2 to 1.3.4

6

package.json
{
"name": "castor",
"version": "1.3.2",
"version": "1.3.4",
"description": "An ES7 [CAS designed](https://en.wikipedia.org/wiki/Content-addressable_storage) file storage for nodejs with a simple API and robust implementation.",

@@ -9,3 +9,3 @@ "main": "store.js",

"checkall": "npm run eslint",
"test": "npm run checkall && npm run cover",
"test": "npm run checkall && npm run mocha",
"mocha": "mocha -b",

@@ -20,3 +20,3 @@ "coveralls": "npm install coveralls && node ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info",

"mout": "^1.1.0",
"nyks": "^6.8.5",
"nyks": "^6.9.2",
"send": "^0.16.2"

@@ -23,0 +23,0 @@ },

@@ -187,4 +187,8 @@ 'use strict';

await pipe(fs.createReadStream(tmp_path), hash);
let src = fs.createReadStream(tmp_path);
pipe(src, hash, {end : false}).catch(() => false);
await new Promise((resolve) => src.once('end', resolve));
file_url.headers['Range'] = `bytes=${current_size}-`;

@@ -191,0 +195,0 @@ } else {

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