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

dat-cp

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dat-cp - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

35

build/lib/dat-cp.js

@@ -266,19 +266,28 @@ 'use strict';

const readRoot = setInterval(_asyncToGenerator(function* () {
const paths = yield _this9.readdir('/');
const readRoot = (() => {
var _ref2 = _asyncToGenerator(function* () {
const paths = yield _this9.readdir('/');
if (paths.length !== 0) {
clearInterval(readRoot);
clearTimeout(abort);
if (paths.length !== 0) {
clearTimeout(abort);
for (const path of paths) {
yield _this9.downloadPath(path, listOnly);
for (const path of paths) {
yield _this9.downloadPath(path, listOnly);
}
if (_this9.program.dryRun || !listOnly && _this9.files > 30 || _this9.files === 0) {
_this9.printTotal();
}
resolve();
} else {
setTimeout(readRoot, 300);
}
});
if (_this9.program.dryRun || !listOnly && _this9.files > 30 || _this9.files === 0) {
_this9.printTotal();
}
resolve();
}
}), 300);
return function readRoot() {
return _ref2.apply(this, arguments);
};
})();
readRoot();
});

@@ -285,0 +294,0 @@ }

{
"name": "dat-cp",
"version": "0.7.0",
"version": "0.7.1",
"description": "Dat Copy - remote file copy, powered by the dat protocol",

@@ -5,0 +5,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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