Skip to content

Commit ceebe88

Browse files
committed
Updated dev dependencies.
1 parent 405a69e commit ceebe88

3 files changed

Lines changed: 8 additions & 13 deletions

File tree

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"no-undef": 2,
4242
// Use if () { }
4343
// ^ space
44-
"space-after-keywords": [2, "always"],
44+
"keyword-spacing": 2,
4545
// Use if () { }
4646
// ^ space
4747
"space-before-blocks": [2, "always"],

lib/form_data.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,6 @@ FormData.prototype._trackLength = function(header, value, options) {
158158
}
159159
};
160160

161-
// TODO: Use request's response mime-type
162161
FormData.prototype._multiPartHeader = function(field, value, options) {
163162
// custom header specified (as string)?
164163
// it becomes responsible for boundary
@@ -207,8 +206,6 @@ FormData.prototype._getContentDisposition = function(value, options) {
207206
return contentDisposition;
208207
};
209208

210-
// TODO: Streamline logic here
211-
// maybe have content-type always present
212209
FormData.prototype._getContentType = function(value, options) {
213210

214211
// use custom content-type above all
@@ -392,8 +389,6 @@ FormData.prototype.submit = function(params, cb) {
392389
return;
393390
}
394391

395-
// TODO: Add chunked encoding when no length (if err)
396-
397392
// add content length
398393
request.setHeader('Content-Length', length);
399394

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"author": "Felix Geisendörfer <[email protected]> (http://debuggable.com/)",
33
"name": "form-data",
44
"description": "A library to create readable \"multipart/form-data\" streams. Can be used to submit forms and file uploads to other web applications.",
5-
"version": "1.0.0-rc3",
5+
"version": "1.0.0-rc4",
66
"repository": {
77
"type": "git",
88
"url": "git://github.com/form-data/form-data.git"
@@ -35,15 +35,15 @@
3535
"license": "MIT",
3636
"devDependencies": {
3737
"codacy-coverage": "^1.1.3",
38-
"coveralls": "^2.11.6",
38+
"coveralls": "^2.11.8",
3939
"cross-spawn": "^2.1.5",
40-
"eslint": "^1.10.3",
40+
"eslint": "^2.4.0",
4141
"fake": "^0.2.2",
4242
"far": "^0.0.7",
4343
"formidable": "^1.0.17",
44-
"istanbul": "^0.4.1",
45-
"pre-commit": "^1.0.10",
46-
"request": "^2.60.0",
47-
"rimraf": "^2.5.0"
44+
"istanbul": "^0.4.2",
45+
"pre-commit": "^1.1.2",
46+
"request": "^2.69.0",
47+
"rimraf": "^2.5.2"
4848
}
4949
}

0 commit comments

Comments
 (0)