Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

move-file-cli

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

move-file-cli - npm Package Compare versions

Comparing version 2.0.0 to 3.0.0

16

cli.js
#!/usr/bin/env node
'use strict';
const meow = require('meow');
const moveFile = require('move-file');
import meow from 'meow';
import {moveFileSync} from 'move-file';

@@ -16,8 +15,9 @@ const cli = meow(`

`, {
importMeta: import.meta,
flags: {
overwrite: {
type: 'boolean',
default: true
}
}
default: true,
},
},
});

@@ -27,4 +27,2 @@

(async () => {
await moveFile(source, destination, cli.flags);
})();
moveFileSync(source, destination, cli.flags);
{
"name": "move-file-cli",
"version": "2.0.0",
"version": "3.0.0",
"description": "Move a file on the command-line",

@@ -13,7 +13,8 @@ "license": "MIT",

},
"type": "module",
"bin": {
"move-file": "cli.js"
"move-file": "./cli.js"
},
"engines": {
"node": ">=10"
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},

@@ -45,11 +46,11 @@ "scripts": {

"dependencies": {
"meow": "^7.0.1",
"move-file": "^2.0.0"
"meow": "^10.1.1",
"move-file": "^3.0.0"
},
"devDependencies": {
"ava": "^2.4.0",
"execa": "^4.0.2",
"tempy": "^0.5.0",
"xo": "^0.32.0"
"ava": "^3.15.0",
"execa": "^5.1.1",
"tempy": "^1.0.1",
"xo": "^0.44.0"
}
}

@@ -1,2 +0,2 @@

# move-file-cli [![Build Status](https://travis-ci.com/sindresorhus/move-file-cli.svg?branch=master)](https://travis-ci.com/github/sindresorhus/move-file-cli)
# move-file-cli

@@ -3,0 +3,0 @@ > Move a file on the command-line

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc