Skip to content
This repository has been archived by the owner on Feb 5, 2022. It is now read-only.

update libs #136

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions Makefile

This file was deleted.

5 changes: 2 additions & 3 deletions bin/scp2
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env node

var fs = require('fs');
var path = require('path');
var client = require('../');

main(process.argv.slice());
Expand Down Expand Up @@ -127,9 +126,9 @@ function helpMessage() {
function versionMessage() {
var pkg = require('../package.json');
var format = require('util').format;
console.log()
console.log();
console.log(format(' %s %s (%s)', pkg.name, pkg.version, process.platform));
console.log()
console.log();
process.exit();
}

Expand Down
2 changes: 1 addition & 1 deletion lib/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Client.prototype.write = function(options, callback) {
options.source,
path.basename(options.source),
{
step
step: step
},
function(err) {
step.cancel();
Expand Down
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
"ssh2"
],
"dependencies": {
"async": "~0.9.0",
"glob": "~7.0.3",
"lodash": "~4.17.11",
"ssh2": "^0.6.0"
"async": "~3.2.0",
"glob": "~7.1.6",
"lodash": "~4.17.15",
"ssh2": "^0.8.9"
},
"repository": {
"type": "git",
Expand All @@ -25,15 +25,15 @@
"url": "https://github.com/lepture/node-scp2/issues"
},
"devDependencies": {
"expect.js": "0",
"jshint": "2",
"mocha": "2",
"jscoverage": "^0.5.9"
"expect.js": "^0.3.1",
"jshint": "~2.11.1",
"mocha": "~7.1.2"
},
"bin": {
"scp2": "bin/scp2"
},
"scripts": {
"test": "make test"
"test": "mocha --reporter spec test/client.test.js",
"lint": "jshint lib/client.js lib/scp.js index.js bin/scp2"
}
}