Skip to content

Commit 3cbfde1

Browse files
jasnelltargos
authored andcommitted
doc: mark querystring api as legacy
Signed-off-by: James M Snell <[email protected]> Fixes: #38231 PR-URL: #38436 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
1 parent a5929c2 commit 3cbfde1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/api/querystring.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!--introduced_in=v0.1.25-->
44

5-
> Stability: 2 - Stable
5+
> Stability: 3 - Legacy
66
77
<!--name=querystring-->
88

@@ -15,6 +15,9 @@ query strings. It can be accessed using:
1515
const querystring = require('querystring');
1616
```
1717

18+
The `querystring` API is considered Legacy. While it is still maintained,
19+
new code should use the {URLSearchParams} API instead.
20+
1821
## `querystring.decode()`
1922
<!-- YAML
2023
added: v0.1.99

0 commit comments

Comments
 (0)