fs icon indicating copy to clipboard operation
fs copied to clipboard

feat: Support `mode` flag by `cp()` polyfill

Open tetsuharuohzeki opened this issue 1 year ago • 1 comments

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().

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.

tetsuharuohzeki avatar May 04 '23 13:05 tetsuharuohzeki