diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-11 07:19:34 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-11 07:19:34 +1000 |
commit | a69b1e699ef76568a4a3da47939134abda545ec7 (patch) | |
tree | 951091db6743b2cd0a4e726f2d784386882a3dc3 /ext/fs | |
parent | f9007d3386bbe9f709ce413ac0cf099b86d4c4bf (diff) |
BREAKING(fs): remove `Deno.FsFile.prototype.rid` (#25499)
Towards #22079
---------
Signed-off-by: Asher Gomez <ashersaupingomez@gmail.com>
Diffstat (limited to 'ext/fs')
-rw-r--r-- | ext/fs/30_fs.js | 11 |
1 files changed, 1 insertions, 10 deletions
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); } |