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

feature(node/http): Export STATUS_CODES and METHODS #1357

Merged
merged 6 commits into from
Oct 8, 2021
Merged

feature(node/http): Export STATUS_CODES and METHODS #1357

merged 6 commits into from
Oct 8, 2021

Conversation

UltiRequiem
Copy link
Contributor

@UltiRequiem UltiRequiem commented Oct 6, 2021

@UltiRequiem UltiRequiem changed the title feature(node/http/STATUS_CODES): Export STATUS_CODES feature(node/http/STATUS_CODES): Export STATUS_CODES and METHODS Oct 6, 2021
@UltiRequiem UltiRequiem changed the title feature(node/http/STATUS_CODES): Export STATUS_CODES and METHODS feature(node/http): Export STATUS_CODES and METHODS Oct 6, 2021
@bartlomieju
Copy link
Member

This will be fixed once denoland/deno#12348 lands

@UltiRequiem
Copy link
Contributor Author

This will be fixed once denoland/deno#12348 lands

The problem persist

image

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.

@UltiRequiem Thanks! Left one comment

node/http.ts Outdated
@@ -1 +1,42 @@
throw new Error('"http" is not yet implemented.');
import { Status as STATUS_CODES } from "../http/mod.ts";
Copy link
Member

Choose a reason for hiding this comment

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

Let's import from ../http/http_status.ts to avoid introducing the entire http dependency here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done!

@kt3k
Copy link
Member

kt3k commented Oct 7, 2021

Thank you @bartlomieju for resolving a lot of CI failures in std!

@UltiRequiem UltiRequiem requested a review from kt3k October 7, 2021 21:22
@bartlomieju bartlomieju merged commit 451e28f into denoland:main Oct 8, 2021
@UltiRequiem UltiRequiem deleted the feat_node_http_export_status_codes branch October 8, 2021 03:11
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.

3 participants