From a69b1e699ef76568a4a3da47939134abda545ec7 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Wed, 11 Sep 2024 07:19:34 +1000 Subject: BREAKING(fs): remove `Deno.FsFile.prototype.rid` (#25499) Towards #22079 --------- Signed-off-by: Asher Gomez --- ext/fs/30_fs.js | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'ext/fs') diff --git a/ext/fs/30_fs.js b/ext/fs/30_fs.js index 48e09c032..c8e19ac75 100644 --- a/ext/fs/30_fs.js +++ b/ext/fs/30_fs.js @@ -1,6 +1,6 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { core, internals, primordials } from "ext:core/mod.js"; +import { core, primordials } from "ext:core/mod.js"; const { isDate, internalRidSymbol, @@ -581,15 +581,6 @@ class FsFile { } } - get rid() { - internals.warnOnDeprecatedApi( - "Deno.FsFile.rid", - new Error().stack, - "Use `Deno.FsFile` methods directly instead.", - ); - return this.#rid; - } - write(p) { return write(this.#rid, p); } -- cgit v1.2.3