summaryrefslogtreecommitdiff
path: root/runtime/js
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-09-05 21:23:37 +1000
committerGitHub <noreply@github.com>2024-09-05 11:23:37 +0000
commit7d95c5c062c7d836bab912e95587bf7fa52326c4 (patch)
treeef6ea1644324ad82545720af0d7480a316a2a45d /runtime/js
parentc73b4a0877ca134a05262dc15524f54ff471cc3a (diff)
BREAKING(fs): remove `Deno.funlock[Sync]()` (#25442)
Towards #22079 --------- Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'runtime/js')
-rw-r--r--runtime/js/90_deno_ns.js4
-rw-r--r--runtime/js/99_main.js4
2 files changed, 0 insertions, 8 deletions
diff --git a/runtime/js/90_deno_ns.js b/runtime/js/90_deno_ns.js
index db928bdfd..e8e1ad57a 100644
--- a/runtime/js/90_deno_ns.js
+++ b/runtime/js/90_deno_ns.js
@@ -169,8 +169,6 @@ denoNsUnstableById[unstableIds.ffi] = {
};
denoNsUnstableById[unstableIds.fs] = {
- funlock: fs.funlock,
- funlockSync: fs.funlockSync,
umask: fs.umask,
};
@@ -217,8 +215,6 @@ const denoNsUnstable = {
UnsafePointerView: ffi.UnsafePointerView,
UnsafeFnPointer: ffi.UnsafeFnPointer,
UnsafeWindowSurface: webgpuSurface.UnsafeWindowSurface,
- funlock: fs.funlock,
- funlockSync: fs.funlockSync,
openKv: kv.openKv,
AtomicOperation: kv.AtomicOperation,
Kv: kv.Kv,
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js
index 1b8048725..e00c592f1 100644
--- a/runtime/js/99_main.js
+++ b/runtime/js/99_main.js
@@ -802,8 +802,6 @@ function bootstrapMainRuntime(runtimeOptions, warmup = false) {
delete globalThis.window;
delete Deno.Buffer;
delete Deno.FsFile.prototype.rid;
- delete Deno.funlock;
- delete Deno.funlockSync;
}
} else {
// Warmup
@@ -963,8 +961,6 @@ function bootstrapWorkerRuntime(
if (internals.future) {
delete Deno.Buffer;
delete Deno.FsFile.prototype.rid;
- delete Deno.funlock;
- delete Deno.funlockSync;
}
} else {
// Warmup