no-deprecated-deno-api
Recommended
Warns the usage of the deprecated - Deno APIs
Warns the usage of the deprecated - Deno APIs
The following APIs will be removed from the Deno.* namespace but have newer
APIs to migrate to. See the
Deno 1.x to 2.x Migration Guide
for migration instructions.
Deno.BufferDeno.CloserDeno.close()Deno.Conn.ridDeno.copy()Deno.customInspectDeno.FileDeno.fstatSync()Deno.fstat()Deno.FsWatcher.ridDeno.ftruncateSync()Deno.ftruncate()Deno.futimeSync()Deno.futime()Deno.isatty()Deno.Listener.ridDeno.ListenTlsOptions.certFileDeno.ListenTlsOptions.keyFileDeno.readAllSync()Deno.readAll()Deno.ReaderDeno.ReaderSyncDeno.readSync()Deno.read()Deno.run()Deno.seekSync()Deno.seek()Deno.serveHttp()Deno.ServerDeno.shutdownDeno.stderr.ridDeno.stdin.ridDeno.stdout.ridDeno.TlsConn.ridDeno.UnixConn.ridDeno.writeAllSync()Deno.writeAll()Deno.WriterDeno.WriterSyncDeno.writeSync()Deno.write()new Deno.FsFile()
The following APIs will be removed from the Deno.* namespace without
replacement.
Deno.resources()Deno.metrics()