Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: felixge/node-formidable
base: v1.0.0
...
head fork: felixge/node-formidable
compare: v1.0.1
  • 5 commits
  • 15 files changed
  • 0 commit comments
  • 3 contributors
Commits on Apr 13, 2011
Felix Geisendörfer Add 1.0 release notes 230d0d3
Felix Geisendörfer Don't use require.paths
node will remove this at some point, let's get rid of it.
eb4468b
Commits on Apr 20, 2011
Dean Landolt deanlandolt update package.json for package refactor 29d5e3f
Commits on Apr 27, 2011
Felix Geisendörfer Merged pull request #68 from deanlandolt/master.
package.json fix
9749e1b
Felix Geisendörfer version 1.0.1 30fcda9
9 Readme.md
View
@@ -20,6 +20,15 @@ a big variety of clients and is considered production-ready.
## Changelog
+### v1.0.0
+
+* Add support for multipart boundaries that are quoted strings. (Jeff Craig)
+
+This marks the begin of the development on version 2.0 which will include
+several architecural improvements.
+
+[See Commits](https://github.com/felixge/node-formidable/compare/v0.9.11...v1.0.0)
+
### v0.9.11
* Emit `'progress'` event when receiving data, regardless of parsing it. (Tim Koschützki)
0  lib/formidable/file.js → lib/file.js
View
File renamed without changes
0  lib/formidable/incoming_form.js → lib/incoming_form.js
View
File renamed without changes
0  lib/formidable/index.js → lib/index.js
View
File renamed without changes
0  lib/formidable/multipart_parser.js → lib/multipart_parser.js
View
File renamed without changes
0  lib/formidable/querystring_parser.js → lib/querystring_parser.js
View
File renamed without changes
0  lib/formidable/util.js → lib/util.js
View
File renamed without changes
9 package.json
View
@@ -1,14 +1,15 @@
{
"name": "formidable",
- "version": "1.0.0",
+ "version": "1.0.1",
"dependencies": {
"gently": ">=0.7.0"
},
"directories": {
- "lib": "./lib/formidable"
+ "lib": "./lib"
},
- "main": "./lib/formidable/index",
+ "main": "./lib/index",
"engines": {
"node": "*"
- }
+ },
+ "devDependencies": {}
}
9 test/common.js
View
@@ -1,21 +1,16 @@
var path = require('path'),
fs = require('fs');
-require.paths.unshift(path.dirname(__dirname)+'/lib');
-var util = require('formidable/util');
-
try {
global.Gently = require('gently');
} catch (e) {
throw new Error('this test suite requires node-gently');
}
+exports.lib = path.join(__dirname, '../lib');
+
global.GENTLY = new Gently();
-global.puts = util.puts;
-global.p = function() {
- util.error(util.inspect.apply(null, arguments));
-};
global.assert = require('assert');
global.TEST_PORT = 13532;
global.TEST_FIXTURES = path.join(__dirname, 'fixture');
4 test/integration/test-multipart-parser.js
View
@@ -1,6 +1,6 @@
-require('../common');
+var common = require('../common');
var CHUNK_LENGTH = 10,
- multipartParser = require('formidable/multipart_parser'),
+ multipartParser = require(common.lib + '/multipart_parser'),
MultipartParser = multipartParser.MultipartParser,
parser = new MultipartParser(),
fixtures = require('../fixture/multipart'),
4 test/simple/test-file.js
View
@@ -1,7 +1,7 @@
-require('../common');
+var common = require('../common');
var WriteStreamStub = GENTLY.stub('fs', 'WriteStream');
-var File = require('formidable/file'),
+var File = require(common.lib + '/file'),
EventEmitter = require('events').EventEmitter,
file,
gently;
4 test/simple/test-incoming-form.js
View
@@ -1,10 +1,10 @@
-require('../common');
+var common = require('../common');
var MultipartParserStub = GENTLY.stub('./multipart_parser', 'MultipartParser'),
QuerystringParserStub = GENTLY.stub('./querystring_parser', 'QuerystringParser'),
EventEmitterStub = GENTLY.stub('events', 'EventEmitter'),
FileStub = GENTLY.stub('./file');
-var formidable = require('formidable'),
+var formidable = require(common.lib + '/index'),
IncomingForm = formidable.IncomingForm,
events = require('events'),
fs = require('fs'),
4 test/simple/test-multipart-parser.js
View
@@ -1,5 +1,5 @@
-require('../common');
-var multipartParser = require('formidable/multipart_parser'),
+var common = require('../common');
+var multipartParser = require(common.lib + '/multipart_parser'),
MultipartParser = multipartParser.MultipartParser,
events = require('events'),
Buffer = require('buffer').Buffer,
4 test/simple/test-querystring-parser.js
View
@@ -1,5 +1,5 @@
-require('../common');
-var QuerystringParser = require('formidable/querystring_parser').QuerystringParser,
+var common = require('../common');
+var QuerystringParser = require(common.lib + '/querystring_parser').QuerystringParser,
Buffer = require('buffer').Buffer,
gently,
parser;
6 test/system/test-multi-video-upload.js
View
@@ -1,10 +1,10 @@
-require('../common');
+var common = require('../common');
var BOUNDARY = '---------------------------10102754414578508781458777923',
FIXTURE = TEST_FIXTURES+'/multi_video.upload',
fs = require('fs'),
- util = require('formidable/util'),
+ util = require(common.lib + '/util'),
http = require('http'),
- formidable = require('formidable'),
+ formidable = require(common.lib + '/index'),
server = http.createServer();
server.on('request', function(req, res) {

No commit comments for this range

Something went wrong with that request. Please try again.