### Is there an existing issue for this? - [X] I have searched the existing issues ### Current Behavior Node.js v20.1.0 add the support `mode` flag to [`fsPromises.cp()`](https://nodejs.org/docs/latest-v20.x/api/fs.html#fspromisescpsrc-dest-options). But the current polyfill for `cp()` implementation has not supported it yet. https://github.com/npm/fs/blob/b78893107ae447c4ac65182aef24d9f39a46cd45/lib/cp/index.js#L11 ### Expected Behavior `cp()` polyfill should support ### Steps To Reproduce I wrote in the above. ### Environment I wrote in the above.
Activity
tetsuharuohzeki commentedon May 4, 2023
The PR for Node.js is nodejs/node#47084