Commit 56d2923
1 file changed
+2
-2
lines changed+2-2
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 |
| - | |
| 142 | + | |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
121 | 121 |
| |
122 | 122 |
| |
123 | 123 |
| |
124 |
| - | |
| 124 | + | |
125 | 125 |
| |
126 | 126 |
| |
127 | 127 |
| |
| |||
139 | 139 |
| |
140 | 140 |
| |
141 | 141 |
| |
142 |
| - | |
| 142 | + | |
143 | 143 |
| |
144 | 144 |
| |
145 | 145 |
| |
|
4 commit comments
krtrice commentedon Sep 24, 2020
@sindresorhus In your readme file,
undefined
is described as the means of removing a param from a URL. Since this is a breaking change that no longer supports this use case for typescript users, I would suggest removing references toundefined
from your docs.undefined
keys being skipped when stringifying params (https://github.com/sindresorhus/query-string#skipnull)undefined
to remove it from the stringified string (https://github.com/sindresorhus/query-string#falsy-values)sindresorhus commentedon Sep 24, 2020
This change is about the return value for parsing, not stringifying.
krtrice commentedon Sep 24, 2020
Reviewing https://github.com/sindresorhus/query-string/blob/master/index.d.ts, the
ParsedQuery
interface is being used in thestringifyUrl()
parameter types in addition to theparse()
return types.sindresorhus commentedon Sep 27, 2020
https://github.com/sindresorhus/query-string/releases/tag/v6.13.3