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

Usage of deprecated Deno APIs #2276

Closed
mikelpint opened this issue Jan 25, 2024 · 4 comments
Closed

Usage of deprecated Deno APIs #2276

mikelpint opened this issue Jan 25, 2024 · 4 comments
Labels
upstream The issue is with an upstream dependency.

Comments

@mikelpint
Copy link

Hello there,

I have noticed that after upgrading to Deno v1.40.1 several warnings regarding the usage of deprecated Deno APIs appear.

Here is the terminal output after I try to start the server:

%cwarning: %cUse of deprecated "Deno.TcpConn.rid" API. This API will be removed in Deno 2.
undefined
Stack trace:
  at ext:deno_node/internal_binding/tcp_wrap.ts:295:14
undefined
%chint: Use `Deno.TcpConn` instance methods instead.
%chint: It appears this API is used by a remote dependency. Try upgrading to the latest version of that dependency.
undefined
%cwarning: %cUse of deprecated "Deno.TcpConn.rid" API. This API will be removed in Deno 2.
undefined
%chint: Use `Deno.TcpConn` instance methods instead.
undefined
%cwarning: %cUse of deprecated "Deno.TcpConn.rid" API. This API will be removed in Deno 2.
undefined
%chint: Use `Deno.TcpConn` instance methods instead.
undefined
The manifest has been generated for 46 routes and 50 islands.
%cwarning: %cUse of deprecated "Deno.TlsConn.rid" API. This API will be removed in Deno 2.
undefined
%chint: Use `Deno.TlsConn` instance methods instead.
undefined
%cwarning: %cUse of deprecated "Deno.TlsConn.rid" API. This API will be removed in Deno 2.
undefined
%chint: Use `Deno.TlsConn` instance methods instead.
undefined
%cwarning: %cUse of deprecated "Deno.TlsConn.rid" API. This API will be removed in Deno 2.
undefined
%chint: Use `Deno.TlsConn` instance methods instead.
undefined

The messages do not really bother me but I just though I should notify somebody about the issue.

@marvinhagemeister marvinhagemeister added the upstream The issue is with an upstream dependency. label Jan 25, 2024
@marvinhagemeister
Copy link
Collaborator

Filed an upstream issue evanw/esbuild#3609

@itsfuad
Copy link

itsfuad commented Jan 26, 2024

I'm getting this message.

warning: Use of deprecated "Deno.serveHttp()" API. This API will be removed in Deno 2. Run again with DENO_VERBOSE_WARNINGS=1 to get more details.

@marvinhagemeister
Copy link
Collaborator

@itsfuad Are you using the latest Fresh version 1.6.3 or are you on an older one?

@marvinhagemeister
Copy link
Collaborator

Closing as this is resolved in newer Fresh versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream The issue is with an upstream dependency.
Projects
None yet
Development

No branches or pull requests

3 participants