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

skipper-disk

Package Overview
Dependencies
Maintainers
3
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

skipper-disk - npm Package Compare versions

Comparing version 0.5.7 to 0.5.8

2

package.json
{
"name": "skipper-disk",
"version": "0.5.7",
"version": "0.5.8",
"description": "Receive Skipper's file uploads on your local filesystem",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -119,5 +119,14 @@ /**

var file = _.find(receiver__._files, {fd: __newFile.fd});
// Set the byteCount of the stream to the "total" value of the file, which has
// been updated as the file was written.
__newFile.byteCount = file.total;
if (file) {
// Set the byteCount of the stream to the "total" value of the file, which has
// been updated as the file was written.
__newFile.byteCount = file.total;
}
// If we couldn't find the file in the receiver, that's super weird, but output
// a notice and try to continue anyway.
else {
debug('Warning: received `finish` event for file `' + __newFile.fd + '`, but could not find a record of that file in the receiver.');
debug('Was this a zero-byte file?');
debug('Attempting to return the file anyway...');
}
// Indicate that a file was persisted.

@@ -124,0 +133,0 @@ receiver__.emit('writefile', __newFile);

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