-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
todo: remove APIs using DENO_FUTURE=1
#23089
Comments
The solution to most of these is to read the |
Which is problematic, because we only have information if the env var is present after the code in relevant extensions has been evaluated. I'll try to come up with a solution. |
I'm unsure whether we're planning to make the `Deno.FsFile` constructor illegal or remove `FsFile` from the `Deno.*` namspace in Deno 2. Either way, this PR works towards the former. I'll create a superceding PR if the latter is planned instead. Towards #23089
…Conn).prototype.rid` (#23219) Towards #23089 --------- Signed-off-by: Asher Gomez <[email protected]>
I'm unsure whether we're planning to make the `Deno.FsFile` constructor illegal or remove `FsFile` from the `Deno.*` namspace in Deno 2. Either way, this PR works towards the former. I'll create a superceding PR if the latter is planned instead. Towards #23089
…Conn).prototype.rid` (#23219) Towards #23089 --------- Signed-off-by: Asher Gomez <[email protected]>
…23271) Towards #23089 --------- Signed-off-by: Asher Gomez <[email protected]>
…rivateKey)` (#23270) Towards #23089 --------- Signed-off-by: Asher Gomez <[email protected]>
Talked with Bartek. This can now be considered completed as flags cannot be easily targeted with |
The following symbols need to be made inaccessible/undefined when
DENO_FUTURE=1
is set:Deno.(Conn|TlsConn|Listener|TlsListener|UnixConn).prototype.rid
#23219Deno.ConnectTlsOptions.(certFile|certChain|privateKey)
#23270Deno.customInspect
#23453Deno.FsWatcher.prototype.rid
#23234Deno.ListenTlsOptions.(keyFile|certFile)
#23271Deno.FsFile
constructor illegal #23235Deno.FsFile.rid
#23087--unstable
--jobs
--ts/T
Related #22079
The text was updated successfully, but these errors were encountered: