From 909ea21645805e9bda8da1f61d1491f14ce02fb1 Mon Sep 17 00:00:00 2001 From: William Wong Date: Thu, 11 Aug 2016 11:18:17 +0800 Subject: [PATCH 1/3] Update README.md on createWriteStream requirement According to https://github.com/sstur/nodeftpd/blob/master/lib/FtpConnection.js#L1127, `createWriteStream` use more than those functions listed in README.md. I am updating the list. --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 84c59b7..f83ef2a 100644 --- a/README.md +++ b/README.md @@ -197,8 +197,9 @@ The following must be implemented: - specific object properties: `{ mode, isDirectory(), size, mtime }` - if `useWriteFile` option is not set or is false - `createWriteStream`: _Returns a writable stream, requiring:_ - - events: 'open', 'error', 'close' - - functions: 'write' + - events: 'open', 'error', 'finish' + - functions: 'write', 'end' + - properties: 'bytesWritten' - if `useWriteFile` option is set to 'true' - `writeFile` - if `useReadFile` option is not set or is false From d145073fa28ca9d862227c79aa89ecf3a63d95d0 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 24 Jun 2020 15:30:42 -0700 Subject: [PATCH 2/3] Update links --- README.md | 2 +- package.json | 51 +++++++++++++++++++++++++++------------------------ 2 files changed, 28 insertions(+), 25 deletions(-) diff --git a/README.md b/README.md index f83ef2a..c4d463f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # Simple, Extensible FTP Server in Pure JavaScript -[![Build Status](https://travis-ci.org/sstur/nodeftpd.png?branch=master)](https://travis-ci.org/sstur/nodeftpd) +[![Build Status](https://travis-ci.org/nodeftpd/nodeftpd.png?branch=master)](https://travis-ci.org/nodeftpd/nodeftpd) - [Introduction](#introduction) - [Usage](#usage) diff --git a/package.json b/package.json index 2332189..78ef929 100644 --- a/package.json +++ b/package.json @@ -3,24 +3,44 @@ "version": "0.2.14", "description": "Node FTP Server", "main": "./ftpd.js", - "engines": { - "node": ">=0.10.0" - }, "scripts": { "test": "eslint --max-warnings 0 . && ./node_modules/.bin/istanbul test _mocha", "lint": "eslint --max-warnings 0 ." }, + "dependencies": { + "dateformat": "1.0.7-1.2.3", + "stat-mode": "^0.2.1" + }, + "devDependencies": { + "async": "~0.1.15", + "collect-stream": "^1.1.1", + "eslint": "^1.10.3", + "istanbul": "~0.2.4", + "jsftp": "git://github.com/sergi/jsftp.git#master", + "mocha": "^2.3.4", + "should": "~3.1.2", + "ftp": "^0.3.10" + }, + "engines": { + "node": ">=0.10.0" + }, "repository": { "type": "git", - "url": "git@github.com:sstur/nodeftpd.git" + "url": "git@github.com:nodeftpd/nodeftpd.git" + }, + "bugs": { + "url": "https://github.com/nodeftpd/nodeftpd/issues" }, "keywords": [ "ftp", "ftp-server", "ftpd" ], - "author": "sstur", "contributors": [ + { + "name": "Simon Sturmer", + "url": "https://github.com/sstur" + }, { "name": "Alex Drummond", "url": "https://github.com/addrummond" @@ -99,29 +119,12 @@ }, { "name": "Simon Sturmer", - "url": "https://github.com/sstur" + "url": "https://github.com/nodeftpd" }, { "name": "Thomas Schaaf", "url": "https://github.com/thomaschaaf" } ], - "license": "BSD-2-Clause", - "bugs": { - "url": "https://github.com/sstur/nodeftpd/issues" - }, - "dependencies": { - "dateformat": "1.0.7-1.2.3", - "stat-mode": "^0.2.1" - }, - "devDependencies": { - "async": "~0.1.15", - "collect-stream": "^1.1.1", - "eslint": "^1.10.3", - "istanbul": "~0.2.4", - "jsftp": "git://github.com/sergi/jsftp.git#master", - "mocha": "^2.3.4", - "should": "~3.1.2", - "ftp": "^0.3.10" - } + "license": "BSD-2-Clause" } From 75760462fb49ee3956966491627ffb4ffac54cb1 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 24 Jun 2020 15:30:58 -0700 Subject: [PATCH 3/3] Version bump 0.2.16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 78ef929..069b038 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ftpd", - "version": "0.2.14", + "version": "0.2.16", "description": "Node FTP Server", "main": "./ftpd.js", "scripts": {