Skip to content
This repository
  • 5 commits
  • 15 files changed
  • 0 comments
  • 3 contributors
9  Readme.md
Source Rendered
@@ -20,6 +20,15 @@ a big variety of clients and is considered production-ready.
20 20
 
21 21
 ## Changelog
22 22
 
  23
+### v1.0.0
  24
+
  25
+* Add support for multipart boundaries that are quoted strings. (Jeff Craig)
  26
+
  27
+This marks the begin of the development on version 2.0 which will include
  28
+several architecural improvements.
  29
+
  30
+[See Commits](https://github.com/felixge/node-formidable/compare/v0.9.11...v1.0.0)
  31
+
23 32
 ### v0.9.11
24 33
 
25 34
 * Emit `'progress'` event when receiving data, regardless of parsing it. (Tim Koschützki)
0  lib/formidable/file.js → lib/file.js
File renamed without changes
0  lib/formidable/incoming_form.js → lib/incoming_form.js
File renamed without changes
0  lib/formidable/index.js → lib/index.js
File renamed without changes
0  lib/formidable/multipart_parser.js → lib/multipart_parser.js
File renamed without changes
0  lib/formidable/querystring_parser.js → lib/querystring_parser.js
File renamed without changes
0  lib/formidable/util.js → lib/util.js
File renamed without changes
9  package.json
... ...
@@ -1,14 +1,15 @@
1 1
 {
2 2
   "name": "formidable",
3  
-  "version": "1.0.0",
  3
+  "version": "1.0.1",
4 4
   "dependencies": {
5 5
     "gently": ">=0.7.0"
6 6
   },
7 7
   "directories": {
8  
-    "lib": "./lib/formidable"
  8
+    "lib": "./lib"
9 9
   },
10  
-  "main": "./lib/formidable/index",
  10
+  "main": "./lib/index",
11 11
   "engines": {
12 12
     "node": "*"
13  
-  }
  13
+  },
  14
+  "devDependencies": {}
14 15
 }
9  test/common.js
... ...
@@ -1,21 +1,16 @@
1 1
 var path = require('path'),
2 2
     fs = require('fs');
3 3
 
4  
-require.paths.unshift(path.dirname(__dirname)+'/lib');
5  
-var util = require('formidable/util');
6  
-
7 4
 try {
8 5
   global.Gently = require('gently');
9 6
 } catch (e) {
10 7
   throw new Error('this test suite requires node-gently');
11 8
 }
12 9
 
  10
+exports.lib = path.join(__dirname, '../lib');
  11
+
13 12
 global.GENTLY = new Gently();
14 13
 
15  
-global.puts = util.puts;
16  
-global.p = function() {
17  
-  util.error(util.inspect.apply(null, arguments));
18  
-};
19 14
 global.assert = require('assert');
20 15
 global.TEST_PORT = 13532;
21 16
 global.TEST_FIXTURES = path.join(__dirname, 'fixture');
4  test/integration/test-multipart-parser.js
... ...
@@ -1,6 +1,6 @@
1  
-require('../common');
  1
+var common = require('../common');
2 2
 var CHUNK_LENGTH = 10,
3  
-    multipartParser = require('formidable/multipart_parser'),
  3
+    multipartParser = require(common.lib + '/multipart_parser'),
4 4
     MultipartParser = multipartParser.MultipartParser,
5 5
     parser = new MultipartParser(),
6 6
     fixtures = require('../fixture/multipart'),
4  test/simple/test-file.js
... ...
@@ -1,7 +1,7 @@
1  
-require('../common');
  1
+var common = require('../common');
2 2
 var WriteStreamStub = GENTLY.stub('fs', 'WriteStream');
3 3
 
4  
-var File = require('formidable/file'),
  4
+var File = require(common.lib + '/file'),
5 5
     EventEmitter = require('events').EventEmitter,
6 6
     file,
7 7
     gently;
4  test/simple/test-incoming-form.js
... ...
@@ -1,10 +1,10 @@
1  
-require('../common');
  1
+var common = require('../common');
2 2
 var MultipartParserStub = GENTLY.stub('./multipart_parser', 'MultipartParser'),
3 3
     QuerystringParserStub = GENTLY.stub('./querystring_parser', 'QuerystringParser'),
4 4
     EventEmitterStub = GENTLY.stub('events', 'EventEmitter'),
5 5
     FileStub = GENTLY.stub('./file');
6 6
 
7  
-var formidable = require('formidable'),
  7
+var formidable = require(common.lib + '/index'),
8 8
     IncomingForm = formidable.IncomingForm,
9 9
     events = require('events'),
10 10
     fs = require('fs'),
4  test/simple/test-multipart-parser.js
... ...
@@ -1,5 +1,5 @@
1  
-require('../common');
2  
-var multipartParser = require('formidable/multipart_parser'),
  1
+var common = require('../common');
  2
+var multipartParser = require(common.lib + '/multipart_parser'),
3 3
     MultipartParser = multipartParser.MultipartParser,
4 4
     events = require('events'),
5 5
     Buffer = require('buffer').Buffer,
4  test/simple/test-querystring-parser.js
... ...
@@ -1,5 +1,5 @@
1  
-require('../common');
2  
-var QuerystringParser = require('formidable/querystring_parser').QuerystringParser,
  1
+var common = require('../common');
  2
+var QuerystringParser = require(common.lib + '/querystring_parser').QuerystringParser,
3 3
     Buffer = require('buffer').Buffer,
4 4
     gently,
5 5
     parser;
6  test/system/test-multi-video-upload.js
... ...
@@ -1,10 +1,10 @@
1  
-require('../common');
  1
+var common = require('../common');
2 2
 var BOUNDARY = '---------------------------10102754414578508781458777923',
3 3
     FIXTURE = TEST_FIXTURES+'/multi_video.upload',
4 4
     fs = require('fs'),
5  
-    util = require('formidable/util'),
  5
+    util = require(common.lib + '/util'),
6 6
     http = require('http'),
7  
-    formidable = require('formidable'),
  7
+    formidable = require(common.lib + '/index'),
8 8
     server = http.createServer();
9 9
 
10 10
 server.on('request', function(req, res) {

No commit comments for this range

Something went wrong with that request. Please try again.