summaryrefslogtreecommitdiff
path: root/runtime/js/99_main.js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-06 18:28:05 +1000
committerGitHub <noreply@github.com>2024-09-06 18:28:05 +1000
commitd8f3123c365d17bfb0f73431160dcb1a2af19c32 (patch)
tree5c42703ee742a71506eff63e5edab9794f34ee11 /runtime/js/99_main.js
parent7937ae3f2f5a8c11f52c42676ba56d12fcb59aeb (diff)
BREAKING(buffer): remove `Deno.Buffer` (#25441)
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r--runtime/js/99_main.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index e00c592f1..d83bfbff1 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -1,4 +1,3 @@
-// deno-lint-ignore-file no-deprecated-deno-api
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// Remove Intl.v8BreakIterator because it is a non-standard API.
@@ -800,7 +799,6 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
}
if (internals.future) {
delete globalThis.window;
- delete Deno.Buffer;
delete Deno.FsFile.prototype.rid;
}
} else {
@@ -959,7 +957,6 @@ function bootstrapWorkerRuntime(
}
if (internals.future) {
- delete Deno.Buffer;
delete Deno.FsFile.prototype.rid;
}
} else {