Skip to content

Commit 7d04d5f

Browse files
author
wafuwafu13
committed
docs(node/querystring): Do not group
1 parent a9a9559 commit 7d04d5f

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

node/querystring.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,18 @@
22
import { Buffer } from "./buffer.ts";
33
import { ERR_INVALID_URI } from "./_errors.ts";
44

5-
/******************** querystring.decode() ********************/
6-
75
/**
86
* Alias of querystring.parse()
97
* @deprecated
108
*/
119
export const decode = parse;
1210

13-
/******************** querystring.encode() ********************/
14-
1511
/**
1612
* Alias of querystring.stringify()
1713
* @deprecated
1814
*/
1915
export const encode = stringify;
2016

21-
/******************** querystring.escape(str) ********************/
22-
2317
const hexTable = new Array(256);
2418
for (let i = 0; i < 256; ++i) {
2519
hexTable[i] = "%" + ((i < 16 ? "0" : "") + i.toString(16)).toUpperCase();
@@ -107,8 +101,6 @@ function qsEscape(str: unknown): string {
107101
*/
108102
export const escape = qsEscape;
109103

110-
/******************** querystring.parse(str[, sep[, eq[, options]]]) ********************/
111-
112104
interface ParsedUrlQuery {
113105
[key: string]: string | string[] | undefined;
114106
}
@@ -353,8 +345,6 @@ export function parse(
353345
return obj;
354346
}
355347

356-
/******************** querystring.stringify(obj[, sep[, eq[, options]]]) ********************/
357-
358348
interface StringifyOptions {
359349
/** The function to use when converting URL-unsafe characters to percent-encoding in the query string. */
360350
encodeURIComponent: (string: string) => string;
@@ -482,8 +472,6 @@ export function stringify(
482472
return "";
483473
}
484474

485-
/******************** querystring.unescape(str) ********************/
486-
487475
// deno-fmt-ignore
488476
const unhexTable = new Int8Array([
489477
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, // 0 - 15

0 commit comments

Comments
 (0)