This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
Open
Description
Found the breakage with CITGM while preparing Node.js 12.5.0.
From this PR: nodejs/node#21387
Affected code:
Line 9 in 6feb50b
The isFile
method is no longer directly on Stats.prototype
but on StatsBase.prototype
instead.
The code should theoretically still work because the prototype chain is setup with Object.setPrototypeOf(Stats.prototype, StatsBase.prototype);
. My guess is that it's broken because the setup of safe/fs.js
does not handle this correctly.