mirror of
https://github.com/log4js-node/log4js-node.git
synced 2025-12-08 19:26:01 +00:00
`fs-extra@10.0.0` broke it as it removed the check for `fs.realpath.native`.
```diff
+L064 exports.realpath.native = u(fs.realpath.native)
-L126
-L127 // fs.realpath.native only available in Node v9.2+
-L128 if (typeof fs.realpath.native === 'function') {
-L129 exports.realpath.native = u(fs.realpath.native)
-L130 }
```
_(https://github.com/jprichardson/node-fs-extra/pull/887/files)_
When `fs.realpath` is an empty function, fs.realpath.native is `undefined`.
25c17ad980/test/tap/configuration-test.js (L17)