Skip to content

Commit

Permalink
[Dev Deps] update @ljharb/eslint-config, object-inspect, tape
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Mar 2, 2023
1 parent 20820fa commit 1778ed4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"side-channel": "^1.0.4"
},
"devDependencies": {
"@ljharb/eslint-config": "^21.0.0",
"@ljharb/eslint-config": "^21.0.1",
"aud": "^2.0.2",
"browserify": "^16.5.2",
"eclint": "^2.8.1",
Expand All @@ -46,11 +46,11 @@
"mkdirp": "^0.5.5",
"npmignore": "^0.3.0",
"nyc": "^10.3.2",
"object-inspect": "^1.12.2",
"object-inspect": "^1.12.3",
"qs-iconv": "^1.0.4",
"safe-publish-latest": "^2.0.0",
"safer-buffer": "^2.1.2",
"tape": "^5.6.1"
"tape": "^5.6.3"
},
"scripts": {
"prepack": "npmignore --auto --commentLines=autogenerated",
Expand Down
7 changes: 7 additions & 0 deletions test/stringify.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,13 @@ test('stringify()', function (t) {
s2t.end();
});

st.test('array with multiple items with a comma inside', function (s2t) {
s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { encodeValuesOnly: true, arrayFormat: 'comma' }), 'a=c%2Cd,e');
s2t.equal(qs.stringify({ a: ['c,d', 'e'] }, { arrayFormat: 'comma' }), 'a=c%25%2Cd%2Ce');

s2t.end();
});

st.end();
});

Expand Down

0 comments on commit 1778ed4

Please sign in to comment.