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

skipper-disk

Package Overview
Dependencies
Maintainers
1
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.2 to 0.5.3

13

index.js

@@ -5,2 +5,4 @@ /**

var path = require('path');
var _ = require('lodash');
var fsx = require('fs-extra');

@@ -10,2 +12,3 @@ var r_buildDiskReceiverStream = require('./standalone/build-disk-receiver-stream');

/**

@@ -36,3 +39,11 @@ * skipper-disk

ls: function(dirpath, cb) {
return fsx.readdir(dirpath, cb);
return fsx.readdir(dirpath, function (err, files){
if (err) return cb(err);
files = _.reduce(_.isArray(files)?files:[], function (m, filename){
var fd = path.join(dirpath,filename);
m.push(fd);
return m;
}, []);
cb(null, files);
});
},

@@ -39,0 +50,0 @@

4

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

@@ -31,3 +31,3 @@ "main": "index.js",

"devDependencies": {
"skipper-adapter-tests": "~1.5.1"
"skipper-adapter-tests": "~1.5.2"
},

@@ -34,0 +34,0 @@ "dependencies": {

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