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 Apr 9, 2019
1 parent 91d0232 commit d198d87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ unreleased
- deps: statuses@'>= 1.5.0 < 2'
* deps: iconv-lite@0.4.24
- Added encoding MIK
* deps: qs@6.6.0
* deps: qs@6.7.0
- Fix parsing array brackets after index

1.18.3 / 2018-05-14
===================
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"http-errors": "1.7.2",
"iconv-lite": "0.4.24",
"on-finished": "~2.3.0",
"qs": "6.6.0",
"qs": "6.7.0",
"raw-body": "2.3.3",
"type-is": "~1.6.16"
},
Expand Down
4 changes: 2 additions & 2 deletions test/urlencoded.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ describe('bodyParser.urlencoded()', function () {
request(this.server)
.post('/')
.set('Content-Type', 'application/x-www-form-urlencoded')
.send('foo[0][bar]=baz&foo[0][fizz]=buzz')
.expect(200, '{"foo":[{"bar":"baz","fizz":"buzz"}]}', done)
.send('foo[0][bar]=baz&foo[0][fizz]=buzz&foo[]=done!')
.expect(200, '{"foo":[{"bar":"baz","fizz":"buzz"},"done!"]}', done)
})

it('should parse deep object', function (done) {
Expand Down

0 comments on commit d198d87

Please sign in to comment.