From 105c2e336a4312ed1714ab893c57eae2a19068c7 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 5 Sep 2024 16:23:28 +1000 Subject: BREAKING(fs): remove `Deno.FsWatcher.prototype.rid` (#25444) Towards #22079 --- runtime/js/40_fs_events.js | 9 --------- 1 file changed, 9 deletions(-) (limited to 'runtime/js') diff --git a/runtime/js/40_fs_events.js b/runtime/js/40_fs_events.js index d7aa5de05..a0495540c 100644 --- a/runtime/js/40_fs_events.js +++ b/runtime/js/40_fs_events.js @@ -31,15 +31,6 @@ class FsWatcher { this.#rid = op_fs_events_open({ recursive, paths }); } - get rid() { - internals.warnOnDeprecatedApi( - "Deno.FsWatcher.rid", - new Error().stack, - "Use `Deno.FsWatcher` instance methods instead.", - ); - return this.#rid; - } - unref() { core.unrefOpPromise(this.#promise); } -- cgit v1.2.3