mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
chore: remove warnOnDeprecatedApi()
(#25673)
This commit is contained in:
parent
b0525edd6f
commit
01b5dfd9ea
3 changed files with 3 additions and 6 deletions
|
@ -111,9 +111,6 @@ ObjectDefineProperties(Symbol, {
|
|||
let windowIsClosing = false;
|
||||
let globalThis_;
|
||||
|
||||
// TODO(2.0): remove once all deprecated APIs are removed.
|
||||
function warnOnDeprecatedApi() {}
|
||||
|
||||
function windowClose() {
|
||||
if (!windowIsClosing) {
|
||||
windowIsClosing = true;
|
||||
|
@ -506,7 +503,7 @@ function removeImportedOps() {
|
|||
// FIXME(bartlomieju): temporarily add whole `Deno.core` to
|
||||
// `Deno[Deno.internal]` namespace. It should be removed and only necessary
|
||||
// methods should be left there.
|
||||
ObjectAssign(internals, { core, warnOnDeprecatedApi });
|
||||
ObjectAssign(internals, { core });
|
||||
const internalSymbol = Symbol("Deno.internal");
|
||||
const finalDenoNs = {
|
||||
internal: internalSymbol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue