Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 95b1989

Browse filesBrowse files
authored
fs: remove workaround for esm package
PR-URL: #50907 Reviewed-By: Robert Nagy <ronagy@icloud.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br>
1 parent d42949e commit 95b1989
Copy full SHA for 95b1989

File tree

Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+0
-4
lines changed
Open diff view settings
Collapse file

‎lib/internal/fs/utils.js‎

Copy file name to clipboardExpand all lines: lib/internal/fs/utils.js
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,10 +497,6 @@ function Stats(dev, mode, nlink, uid, gid, rdev, blksize,
497497
ObjectSetPrototypeOf(Stats.prototype, StatsBase.prototype);
498498
ObjectSetPrototypeOf(Stats, StatsBase);
499499

500-
// HACK: Workaround for https://github.com/standard-things/esm/issues/821.
501-
// TODO(ronag): Remove this as soon as `esm` publishes a fixed version.
502-
Stats.prototype.isFile = StatsBase.prototype.isFile;
503-
504500
Stats.prototype._checkModeProperty = function(property) {
505501
if (isWindows && (property === S_IFIFO || property === S_IFBLK ||
506502
property === S_IFSOCK)) {

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.