Skip to content

Commit

Permalink
馃 Merge PR #62702 [node] Remove legacy status from querystring by @RDIL
Browse files Browse the repository at this point in the history
  • Loading branch information
RDIL committed Oct 18, 2022
1 parent bf393db commit 211d19a
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions types/node/querystring.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* const querystring = require('querystring');
* ```
*
* The `querystring` API is considered Legacy. While it is still maintained,
* new code should use the `URLSearchParams` API instead.
* @deprecated Legacy
* `querystring` is more performant than `URLSearchParams` but is not a
* standardized API. Use `URLSearchParams` when performance is not critical
* or when compatibility with browser code is desirable.
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/querystring.js)
*/
declare module 'querystring' {
Expand Down
6 changes: 3 additions & 3 deletions types/node/ts4.8/querystring.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* const querystring = require('querystring');
* ```
*
* The `querystring` API is considered Legacy. While it is still maintained,
* new code should use the `URLSearchParams` API instead.
* @deprecated Legacy
* `querystring` is more performant than `URLSearchParams` but is not a
* standardized API. Use `URLSearchParams` when performance is not critical
* or when compatibility with browser code is desirable.
* @see [source](https://github.com/nodejs/node/blob/v18.0.0/lib/querystring.js)
*/
declare module 'querystring' {
Expand Down
6 changes: 3 additions & 3 deletions types/node/v16/querystring.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* const querystring = require('querystring');
* ```
*
* The `querystring` API is considered Legacy. While it is still maintained,
* new code should use the `URLSearchParams` API instead.
* @deprecated Legacy
* `querystring` is more performant than `URLSearchParams` but is not a
* standardized API. Use `URLSearchParams` when performance is not critical
* or when compatibility with browser code is desirable.
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/querystring.js)
*/
declare module 'querystring' {
Expand Down
6 changes: 3 additions & 3 deletions types/node/v16/ts4.8/querystring.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
* const querystring = require('querystring');
* ```
*
* The `querystring` API is considered Legacy. While it is still maintained,
* new code should use the `URLSearchParams` API instead.
* @deprecated Legacy
* `querystring` is more performant than `URLSearchParams` but is not a
* standardized API. Use `URLSearchParams` when performance is not critical
* or when compatibility with browser code is desirable.
* @see [source](https://github.com/nodejs/node/blob/v16.9.0/lib/querystring.js)
*/
declare module 'querystring' {
Expand Down

0 comments on commit 211d19a

Please sign in to comment.