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

Remove dependency to @std/http/unstable-route in deno init --serve #26594

Closed
kt3k opened this issue Oct 28, 2024 · 0 comments · Fixed by #26595
Closed

Remove dependency to @std/http/unstable-route in deno init --serve #26594

kt3k opened this issue Oct 28, 2024 · 0 comments · Fixed by #26595

Comments

@kt3k
Copy link
Member

kt3k commented Oct 28, 2024

route in @std/http package is unstable, and shouldn't be considered to be working in the future.

Actually now a breaking change is suggested for improving the ergonomics ( ref: denoland/std#6094 ), but the dependency to it from deno init --serve prevents it.

I suggest we temporarily remove the dependency to it until it becomes stable, and I suggest replacing it with simple inline implementation using URLPattern directly in deno init output. What do you think?

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 a pull request may close this issue.

1 participant