-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Deno: Usage of deprecated API with >= Deno 1.40 #3609
Comments
The warnings have gotten rather obnoxious now! I guess Deno 2 is getting closer? I've added a PR to update to the new APIs |
I did some work on this: #3611. However, I'm blocked by some weird Deno behavior with the new APIs on Windows. I don't currently have access to Windows and also don't use Deno myself and am pretty unfamiliar with it. I could use some tips for how to terminate a Deno child process on Windows using the new APIs (or at least, how to get Deno's tests to not care that the test started a child process). |
I just realized that Deno now supports npm packages. So I believe a workaround for this is to import from |
yes both I noticed at the end of a GitHub action (denoland/setup-deno@v1) I was seeing:
|
@evanw Right good point, I'll try to move to the npm package on Monday. If it works then it's something we should recommend deno users to switch to. |
I'm getting that too. It looks like perhaps this just always happens right now whenever you call the node |
Unfortunately
The current Deno version from I tried
I don't think it'd work anyway even with the binary. If I remember Deno Deploy having no writeable file system was an issue. @marvinhagemeister do you know if Fresh is running esbuild on Deploy? edit: nevermind 0.20.0 is all good nice work |
With the recent Deno 1.40 release some older APIs were marked as deprecated. Some of those are used within the deno esbuild adapter and print warning messages to the terminal.
Steps to reproduce
deno upgrade
foo.ts
with these contents:deno run -A foo.ts
The text was updated successfully, but these errors were encountered: