Skip to content

Commit

Permalink
deps: qs@6.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dougwilson committed May 1, 2019
1 parent 6d9dd2d commit 32f5293
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions History.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ unreleased
* deps: parseurl@~1.3.3
* deps: proxy-addr@~2.0.5
- deps: ipaddr.js@1.9.0
* deps: qs@6.7.0
- Fix parsing array brackets after index
* deps: setprototypeof@1.1.1
* deps: statuses@~1.5.0
- Add `103 Early Hints`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"parseurl": "~1.3.3",
"path-to-regexp": "0.1.7",
"proxy-addr": "~2.0.5",
"qs": "6.5.2",
"qs": "6.7.0",
"range-parser": "~1.2.0",
"safe-buffer": "5.1.2",
"send": "0.16.2",
Expand Down
4 changes: 2 additions & 2 deletions test/req.query.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ describe('req', function(){
var app = createApp('extended');

request(app)
.get('/?user[name]=tj')
.expect(200, '{"user":{"name":"tj"}}', done);
.get('/?foo[0][bar]=baz&foo[0][fizz]=buzz&foo[]=done!')
.expect(200, '{"foo":[{"bar":"baz","fizz":"buzz"},"done!"]}', done);
});

it('should parse parameters with dots', function (done) {
Expand Down

0 comments on commit 32f5293

Please sign in to comment.