You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: node/querystring.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,13 @@ import { ERR_INVALID_URI } from "./_errors.ts";
4
4
5
5
/**
6
6
* Alias of querystring.parse()
7
-
* @deprecated
7
+
* @legacy
8
8
*/
9
9
exportconstdecode=parse;
10
10
11
11
/**
12
12
* Alias of querystring.stringify()
13
-
* @deprecated
13
+
* @legacy
14
14
*/
15
15
exportconstencode=stringify;
16
16
@@ -96,7 +96,7 @@ function qsEscape(str: unknown): string {
96
96
* Performs URL percent-encoding on the given `str` in a manner that is optimized for the specific requirements of URL query strings.
97
97
* Used by `querystring.stringify()` and is generally not expected to be used directly.
98
98
* It is exported primarily to allow application code to provide a replacement percent-encoding implementation if necessary by assigning `querystring.escape` to an alternative function.
99
-
* @deprecated
99
+
* @legacy
100
100
* @see Tested in `test-querystring-escape.js`
101
101
*/
102
102
exportconstescape=qsEscape;
@@ -178,7 +178,7 @@ function addKeyVal(
178
178
* @param options The parse options
179
179
* @param options.decodeURIComponent The function to use when decoding percent-encoded characters in the query string. Default: `querystring.unescape()`.
180
180
* @param options.maxKeys Specifies the maximum number of keys to parse. Specify `0` to remove key counting limitations. Default: `1000`.
* @param eq The substring used to delimit keys and values in the query string. Default: '='.
422
422
* @param options The stringify options
423
423
* @param options.encodeURIComponent The function to use when converting URL-unsafe characters to percent-encoding in the query string. Default: `querystring.escape()`.
424
-
* @deprecated
424
+
* @legacy
425
425
* @see Tested in `test-querystring.js`
426
426
*/
427
427
exportfunctionstringify(
@@ -549,7 +549,7 @@ function qsUnescape(s: string): string {
549
549
* Performs decoding of URL percent-encoded characters on the given `str`.
550
550
* Used by `querystring.parse()` and is generally not expected to be used directly.
551
551
* It is exported primarily to allow application code to provide a replacement decoding implementation if necessary by assigning `querystring.unescape` to an alternative function.
0 commit comments