Releases: sindresorhus/move-file
Releases · sindresorhus/move-file
v3.1.0
v3.0.0
Breaking
- Require Node.js 12.20 ef6798c
- This package is now pure ESM. Please read this.
- Changed from a default export to named exports.
v2.1.0
- Add
directoryMode
option (#14) cfc010b
v2.0.0
Breaking
Breaking for TypeScript users
- Only use a CommonJS export for the TypeScript definition (reason)
You need to changeimport moveFile from 'move-file';
toimport moveFile = require('move-file');