node-mv
node-mv copied to clipboard
Like `fs.rename`, but works across devices, and works with directories. Think of the unix utility `mv`.
We have a reported security vuln: https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 Dependency tree looks like this: `[email protected] › [email protected] › [email protected] › [email protected] › [email protected]` The current solution is to upgrade glob to [beyond...
minimatch =2.5.3 to resolve this vulnerability https://github.com/isaacs/minimatch/commit/6944abf9e0694bd22fd9dad293faa40c2bc8a955 https://github.com/isaacs/node-glob/commit/f0f0872b660d83b1986cd1dd16ec4808fa183adc https://github.com/isaacs/rimraf/commit/9e2c3102182f65bda76ca4051663784dd2db05e8
Trying to work back through each node module for `bunyan` to fix a vulnerability. `[email protected]` has a vulnerable package `[email protected]` which needs to be fixed. Updating to the latest version...
mkdirp had a vulnerability. Rather than fix it, am using node built in mkdir with {recursive: true}. Sadly this means updating Mocha as that too uses mkdirp, which thus breaks...
When i use the module, it says that it is not a function. Node 5.1.0  
I'm trying to move files from a subfolder to `process.cwd()` but when I try, it gives an `ENOTEMPTY` error. ``` { [Error: ENOTEMPTY, rename '/Users/wouter/Dev/project-templates/project-template/bin/'] errno: -66, code: 'ENOTEMPTY', path:...
mv(path.resolve('..', 'file'), path.resolve('..', 'empty1'), function(err){console.log(err)}) Error {errno: 50, code: "EPERM", path: "C:\miukki\file"}
## Steps to reproduce: Move a directory to a location that already exists with `clobber` set to false. ## Expected behavior An error is passed to the callback. ## Actual...
node.js supports async await now, it would be nice if this library supported promises. Actually there is already a same lib called `move-file`. If you think that this is a...