Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(node/querystring): Add docs #1531

Merged
merged 3 commits into from Nov 8, 2021
Merged

Conversation

wafuwafu13
Copy link
Contributor

  • Change functions order(No logical change)
  • Add docs
  • Remove unnecessary hexTable export
  • Clean up deno test


/**
* Alias of querystring.parse()
* @deprecated
Copy link
Member

@kt3k kt3k Nov 8, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

querystring APIs are tagged as Legacy but it seems that legacy is different from deprecated in Node.js documentation (ref: nodejs/node#37784 for example )

So maybe we should tag this as @legacy?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 349b5f1

@@ -2,7 +2,114 @@
import { Buffer } from "./buffer.ts";
import { ERR_INVALID_URI } from "./_errors.ts";

export interface ParsedUrlQuery {
/******************** querystring.decode() ********************/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm afraid this kind of comments are just confusing to other contributors because we don't have rule to group functions & variable by the position in the source code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@kt3k kt3k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wafuwafu13 LGTM. Thanks for updating!

@kt3k kt3k merged commit 3cd70cb into denoland:main Nov 8, 2021
bartlomieju pushed a commit to bartlomieju/deno_std that referenced this pull request Nov 9, 2021
traceypooh pushed a commit to traceypooh/deno_std that referenced this pull request Nov 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants