Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: felixge/node-formidable
base: v1.0.0
...
head fork: felixge/node-formidable
compare: v1.0.1
Checking mergeability… Don't worry, you can still create the pull request.
  • 5 commits
  • 15 files changed
  • 0 commit comments
  • 3 contributors
Commits on Apr 13, 2011
@felixge Add 1.0 release notes 230d0d3
@felixge Don't use require.paths
node will remove this at some point, let's get rid of it.
eb4468b
Commits on Apr 20, 2011
@deanlandolt deanlandolt update package.json for package refactor 29d5e3f
Commits on Apr 27, 2011
@felixge Merged pull request #68 from deanlandolt/master.
package.json fix
9749e1b
@felixge version 1.0.1 30fcda9
View
9 Readme.md
@@ -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)
View
0  lib/formidable/file.js → lib/file.js
File renamed without changes
View
0  lib/formidable/incoming_form.js → lib/incoming_form.js
File renamed without changes
View
0  lib/formidable/index.js → lib/index.js
File renamed without changes
View
0  lib/formidable/multipart_parser.js → lib/multipart_parser.js
File renamed without changes
View
0  lib/formidable/querystring_parser.js → lib/querystring_parser.js
File renamed without changes
View
0  lib/formidable/util.js → lib/util.js
File renamed without changes
View
9 package.json
@@ -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": {}
}
View
9 test/common.js
@@ -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');
View
4 test/integration/test-multipart-parser.js
@@ -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'),
View
4 test/simple/test-file.js
@@ -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;
View
4 test/simple/test-incoming-form.js
@@ -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'),
View
4 test/simple/test-multipart-parser.js
@@ -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,
View
4 test/simple/test-querystring-parser.js
@@ -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;
View
6 test/system/test-multi-video-upload.js
@@ -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.