Oleg Efimov
0ce9cbab29
GJSLint continue
14 years ago
Ryan Dahl
a0159b4b29
Fix global leaks
14 years ago
Ryan Dahl
2a750bffcc
Add tests for querystring.unescapeBuffer
14 years ago
Ryan Dahl
8b1082825c
Rename require('javascript') to require('vm')
14 years ago
Ryan Dahl
d787a444c5
Use require('javascript') instead of process.binding('evals')
14 years ago
Peter Griess
422d3c93bc
Get rid of PHP/Rails style parameter munging.
- Handle only the most basic of query string parsing and construction.
Leave the rest (e.g. Rails/PHP behaviors) to modules higher up the
stack, like Express.
14 years ago
cloudhead
fe3e419687
querystring.parse: handle undefined value properly
14 years ago
Micheil Smith
299671b731
querystring: Removing typecasting of numeric strings to numbers
The tests did not accurately test for a strict equality, meaning that the
number == to the string.
14 years ago
Jan Kassens
f18d9d8466
querystring.js: JSLint warnings fixed
14 years ago
Jan Kassens
bb2acd5e75
querystring.stringify is now more solid
* handles NaN and Infinity
* works with arrays from other contexts
14 years ago
Ryan Dahl
9fd5e3c89c
Update tests to work with module contexts
15 years ago
Dmitry Baranovskiy
f8ca6b383c
Rewrote QueryString.parse to make it smaller and more effective.
Also added ability to parse foo.bar=4 equal to foo[bar]=4
Added tests for this as well
15 years ago
isaacs
4ce100fa62
A replacement for decodeURIComponent that doesn't throw.
And add a few more tests.
15 years ago
Thomas Lee
a63ce5cd72
Allow callers to disable PHP/Rails style parameter mungeing in querystring.stringify
15 years ago
isaacs
5861db8a69
Remove process.mixin dependency from all tests.
15 years ago
Ryan Dahl
b9cd3363ef
Bugfix in querystring
15 years ago
arlolra
04fac19822
Split tests.
15 years ago
isaacs
7ff04c1f86
Add URL and QueryString modules, and tests for each.
Also, make a slight change from original on url-module to put the
spacePattern into the function. On closer inspection, it turns out that the
nonlocal-var cost is higher than the compiling-a-regexp cost.
Also, documentation.
15 years ago