Skip to content

Commit 51653d9

Browse files
committed
Update versions in package.json and fix them to specific numbers.
1 parent 8604304 commit 51653d9

File tree

3 files changed

+13
-14
lines changed

3 files changed

+13
-14
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ Tests
269269
To run tests:
270270
271271
npm install --dev
272-
make test
272+
npm test
273273
274274
License
275275
-------

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "jsftp",
33
"id": "jsftp",
4-
"version": "1.3.1",
4+
"version": "1.3.2",
55
"description": "A sane FTP client implementation for NodeJS",
66
"keywords": [ "ftp", "protocol", "files", "server", "client", "async" ],
77
"author": "Sergi Mansilla <sergi.mansilla@gmail.com> (http://sergimansilla.com)",
@@ -14,18 +14,18 @@
1414
"url": "https://github.com/sergi/jsftp/issues"
1515
},
1616
"dependencies": {
17-
"event-stream": "~3.0.14",
18-
"ftp-response-parser": "~1.0.0",
19-
"parse-listing": "~1.1.0",
20-
"once": "~1.3.0"
17+
"event-stream": "3.1.7",
18+
"ftp-response-parser": "1.0.0",
19+
"parse-listing": "1.1.0",
20+
"once": "1.3.0"
2121
},
2222
"devDependencies": {
23-
"mocha": "~1.10.0",
24-
"istanbul": "~0.1.36",
25-
"mocha-istanbul": "~0.2.0",
26-
"sinon": "~1.7.2",
27-
"ftp-test-server": "~0.0.1",
28-
"rimraf": "~2.2.0"
23+
"mocha": "1.21.4",
24+
"istanbul": "0.3.2",
25+
"mocha-istanbul": "0.2.0",
26+
"sinon": "1.10.3",
27+
"ftp-test-server": "0.0.1",
28+
"rimraf": "4.2.8"
2929
},
3030
"main": "./jsftp.js",
3131
"engines": {

test/jsftp_test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ describe("jsftp test suite", function() {
154154
assert(ftp.parse.calledWith(data, firstCmd));
155155
next();
156156
});
157-
158157
it("test parseResponse with no mark", function(next) {
159158
var cb = sinon.spy();
160159
var data = {
@@ -307,7 +306,7 @@ describe("jsftp test suite", function() {
307306

308307
it("test ftp node stat", function(next) {
309308
ftp.raw.pwd(function(err, res) {
310-
var parent = /.*"(.*)".*/.exec(res.text)[1];
309+
var parent = new RegExp('.*"(.*)".*').exec(res.text)[1];
311310
var path = Path.resolve(parent + "/" + remoteCWD);
312311
ftp.raw.stat(path, function(err, res) {
313312
assert.ok(!err, res);

0 commit comments

Comments
 (0)