From 424c7a9f4dd9dfb37478bc69ffa558b78d5adfd1 Mon Sep 17 00:00:00 2001 From: 1549469775 <1549469775@qq.com> Date: Thu, 14 Nov 2019 10:49:41 +0800 Subject: [PATCH] '111' --- app.js | 4 +- bin/xyx | 82 ++++++++++++++++++++++ changelog | 0 node_modules/ansi-escapes/package.json | 23 +++--- node_modules/ansi-regex/package.json | 23 +++--- node_modules/ansi-styles/package.json | 23 +++--- node_modules/chalk/package.json | 27 ++++--- node_modules/chardet/package.json | 23 +++--- node_modules/cli-cursor/package.json | 26 ++++--- node_modules/cli-spinners/package.json | 23 +++--- node_modules/cli-width/package.json | 23 +++--- node_modules/clone/package.json | 23 +++--- node_modules/color-convert/package.json | 23 +++--- node_modules/color-name/package.json | 13 ++-- node_modules/commander/package.json | 22 +++--- node_modules/defaults/package.json | 23 +++--- node_modules/emoji-regex/package.json | 23 +++--- node_modules/escape-string-regexp/package.json | 23 +++--- node_modules/external-editor/package.json | 23 +++--- node_modules/figures/package.json | 23 +++--- node_modules/has-flag/package.json | 23 +++--- node_modules/iconv-lite/package.json | 23 +++--- node_modules/inquirer/package.json | 22 +++--- node_modules/is-fullwidth-code-point/package.json | 23 +++--- node_modules/is-interactive/package.json | 23 +++--- node_modules/is-promise/package.json | 23 +++--- node_modules/lodash/package.json | 23 +++--- node_modules/log-symbols/package.json | 23 +++--- node_modules/mimic-fn/package.json | 23 +++--- node_modules/mute-stream/package.json | 13 ++-- node_modules/onetime/package.json | 23 +++--- node_modules/ora/package.json | 22 +++--- node_modules/os-tmpdir/package.json | 23 +++--- node_modules/restore-cursor/package.json | 23 +++--- node_modules/run-async/package.json | 23 +++--- node_modules/rxjs/package.json | 23 +++--- node_modules/safer-buffer/package.json | 23 +++--- node_modules/signal-exit/package.json | 23 +++--- .../node_modules/strip-ansi/package.json | 23 +++--- node_modules/string-width/package.json | 23 +++--- .../node_modules/ansi-regex/package.json | 23 +++--- node_modules/strip-ansi/package.json | 26 ++++--- node_modules/supports-color/package.json | 23 +++--- node_modules/through/package.json | 23 +++--- node_modules/tmp/package.json | 23 +++--- node_modules/tslib/package.json | 23 +++--- node_modules/type-fest/package.json | 23 +++--- node_modules/wcwidth/package.json | 23 +++--- package-lock.json | 4 +- package.json | 11 ++- readme | 5 +- util.js | 59 ++++++++++++++++ 52 files changed, 736 insertions(+), 451 deletions(-) create mode 100644 bin/xyx create mode 100644 changelog create mode 100644 util.js diff --git a/app.js b/app.js index 3acec25..47d06f7 100644 --- a/app.js +++ b/app.js @@ -14,7 +14,7 @@ const haveGit = fs.existsSync('./.git'); * 2. 添加GIT源 */ - +// 检查git是否干净 function isClean() { return new Promise((resolve, reject) => { exec('git status', function (error, stdout, stderr) { @@ -32,7 +32,7 @@ function isClean() { }) }) } - +// 获取当前所在分支 function getBranch() { return new Promise((resolve, reject) => { exec('git branch', function (error, stdout, stderr) { diff --git a/bin/xyx b/bin/xyx new file mode 100644 index 0000000..c938d5d --- /dev/null +++ b/bin/xyx @@ -0,0 +1,82 @@ +#!/usr/bin/env node + +const inquirer = require('inquirer'); +const program = require('commander'); +const util = require('../util') +const git_util = require('../git_util.js'); +program + .version(require('../package.json').version, '-v, --version') // 定义版本信息 + .usage(' [options]'); // 定义命令用法 + +program + .command('check [options]', { + noHelp: false, + isDefault: true + }) + .description('检查状态') // 给rm命令添加描述信息,获取命令帮助信息的时候会显示 + .option('--rb', '查看远程分支') + .action(async (options, cmd) => { // 对应命令的处理函数 + let currentPath = process.cwd(); + + let isClean = await util._isClean(); + console.log('当前节点是否干净?', isClean); + let branch = await util._getBranch(); + console.log('当前所在分支:', branch); + let remote = await util._getAllRemote(); + console.log('所有远程源:', remote); + if (cmd.rb) { + console.log('所有分支'); + let info = await util.exec('git branch -a'); + console.log(info); + } + // let info = await util.exec('git status'); + }); + +program + .command('sync') + .description('提交所有源') + .action(async (options, cmd) => { // 对应命令的处理函数 + // let currentPath = process.cwd(); + let remote = await util._getAllRemote(); + if (remote.length > 0) { + console.log('所有远程源:', remote); + inquirer.prompt([{ + type: 'confirm', // 问题类型,包括input,number,confirm,list,rawlist,password + name: 'all', + message: '是否提交所有源', // 问题 + default: true // 默认值 + }]).then(async answers => { + if (answers.all) { + // 所有源提交 + inquirer.prompt([{ + type: 'input', + name: 'msg', + message: '请输入需要提交的消息', // 问题 + default: '', // 默认值 + validate: (input) => { + if (input.length == 0) { // + return '消息不能为空' + } + return true; + } + }]).then(async answers => { + let msg = answers.msg; + let branch = await util._getBranch();; //当前分支 + for (let i = 0; i < remote.length; i++) { + const o = remote[i]; + let isclean = await util._isClean(); + if (!isclean) { + await git_util.all(msg, o, branch); + } else { + await git_util.push(o, branch); + } + } + }); + } + }) + } else { + console.log('请添加源'); + } + // let info = await util.exec('git status'); + }); +program.parse(process.argv); // commander的入口欧,传入命令行参数执行解析 \ No newline at end of file diff --git a/changelog b/changelog new file mode 100644 index 0000000..e69de29 diff --git a/node_modules/ansi-escapes/package.json b/node_modules/ansi-escapes/package.json index 6d275c5..aa90f38 100644 --- a/node_modules/ansi-escapes/package.json +++ b/node_modules/ansi-escapes/package.json @@ -1,27 +1,32 @@ { - "_from": "ansi-escapes@^4.2.1", + "_args": [ + [ + "ansi-escapes@4.2.1", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "ansi-escapes@4.2.1", "_id": "ansi-escapes@4.2.1", "_inBundle": false, "_integrity": "sha512-Cg3ymMAdN10wOk/VYfLV7KCQyv7EDirJ64500sU7n9UlmioEtDuU5Gd+hj73hXSU/ex7tHJSssmyftDdkMLO8Q==", "_location": "/ansi-escapes", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "ansi-escapes@^4.2.1", + "raw": "ansi-escapes@4.2.1", "name": "ansi-escapes", "escapedName": "ansi-escapes", - "rawSpec": "^4.2.1", + "rawSpec": "4.2.1", "saveSpec": null, - "fetchSpec": "^4.2.1" + "fetchSpec": "4.2.1" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.2.1.tgz", - "_shasum": "4dccdb846c3eee10f6d64dea66273eab90c37228", - "_spec": "ansi-escapes@^4.2.1", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "4.2.1", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,11 +35,9 @@ "bugs": { "url": "https://github.com/sindresorhus/ansi-escapes/issues" }, - "bundleDependencies": false, "dependencies": { "type-fest": "^0.5.2" }, - "deprecated": false, "description": "ANSI escape codes for manipulating the terminal", "devDependencies": { "@types/node": "^12.0.7", diff --git a/node_modules/ansi-regex/package.json b/node_modules/ansi-regex/package.json index 953449d..10f3520 100644 --- a/node_modules/ansi-regex/package.json +++ b/node_modules/ansi-regex/package.json @@ -1,27 +1,32 @@ { - "_from": "ansi-regex@^5.0.0", + "_args": [ + [ + "ansi-regex@5.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "ansi-regex@5.0.0", "_id": "ansi-regex@5.0.0", "_inBundle": false, "_integrity": "sha512-bY6fj56OUQ0hU1KjFNDQuJFezqKdrAyFdIevADiqrWHwSlbmBNMHp5ak2f40Pm8JTFyM2mqxkG6ngkHO11f/lg==", "_location": "/ansi-regex", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "ansi-regex@^5.0.0", + "raw": "ansi-regex@5.0.0", "name": "ansi-regex", "escapedName": "ansi-regex", - "rawSpec": "^5.0.0", + "rawSpec": "5.0.0", "saveSpec": null, - "fetchSpec": "^5.0.0" + "fetchSpec": "5.0.0" }, "_requiredBy": [ "/string-width/strip-ansi" ], "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.0.tgz", - "_shasum": "388539f55179bf39339c81af30a654d69f87cb75", - "_spec": "ansi-regex@^5.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\string-width\\node_modules\\strip-ansi", + "_spec": "5.0.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/chalk/ansi-regex/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Regular expression for matching ANSI escape codes", "devDependencies": { "ava": "^2.4.0", diff --git a/node_modules/ansi-styles/package.json b/node_modules/ansi-styles/package.json index c450ff8..6980a2e 100644 --- a/node_modules/ansi-styles/package.json +++ b/node_modules/ansi-styles/package.json @@ -1,27 +1,32 @@ { - "_from": "ansi-styles@^3.2.1", + "_args": [ + [ + "ansi-styles@3.2.1", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "ansi-styles@3.2.1", "_id": "ansi-styles@3.2.1", "_inBundle": false, "_integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", "_location": "/ansi-styles", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "ansi-styles@^3.2.1", + "raw": "ansi-styles@3.2.1", "name": "ansi-styles", "escapedName": "ansi-styles", - "rawSpec": "^3.2.1", + "rawSpec": "3.2.1", "saveSpec": null, - "fetchSpec": "^3.2.1" + "fetchSpec": "3.2.1" }, "_requiredBy": [ "/chalk" ], "_resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "_shasum": "41fbb20243e50b12be0f04b8dedbf07520ce841d", - "_spec": "ansi-styles@^3.2.1", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\chalk", + "_spec": "3.2.1", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -33,11 +38,9 @@ "bugs": { "url": "https://github.com/chalk/ansi-styles/issues" }, - "bundleDependencies": false, "dependencies": { "color-convert": "^1.9.0" }, - "deprecated": false, "description": "ANSI escape codes for styling strings in the terminal", "devDependencies": { "ava": "*", diff --git a/node_modules/chalk/package.json b/node_modules/chalk/package.json index 1696a0d..531699e 100644 --- a/node_modules/chalk/package.json +++ b/node_modules/chalk/package.json @@ -1,37 +1,42 @@ { - "_from": "chalk@^2.4.2", + "_args": [ + [ + "chalk@2.4.2", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "chalk@2.4.2", "_id": "chalk@2.4.2", "_inBundle": false, "_integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", "_location": "/chalk", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "chalk@^2.4.2", + "raw": "chalk@2.4.2", "name": "chalk", "escapedName": "chalk", - "rawSpec": "^2.4.2", + "rawSpec": "2.4.2", "saveSpec": null, - "fetchSpec": "^2.4.2" + "fetchSpec": "2.4.2" }, "_requiredBy": [ - "/inquirer" + "/inquirer", + "/log-symbols", + "/ora" ], "_resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "_shasum": "cd42541677a54333cf541a49108c1432b44c9424", - "_spec": "chalk@^2.4.2", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "2.4.2", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "bugs": { "url": "https://github.com/chalk/chalk/issues" }, - "bundleDependencies": false, "dependencies": { "ansi-styles": "^3.2.1", "escape-string-regexp": "^1.0.5", "supports-color": "^5.3.0" }, - "deprecated": false, "description": "Terminal string styling done right", "devDependencies": { "ava": "*", diff --git a/node_modules/chardet/package.json b/node_modules/chardet/package.json index a6c4df1..636937b 100644 --- a/node_modules/chardet/package.json +++ b/node_modules/chardet/package.json @@ -1,27 +1,32 @@ { - "_from": "chardet@^0.7.0", + "_args": [ + [ + "chardet@0.7.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "chardet@0.7.0", "_id": "chardet@0.7.0", "_inBundle": false, "_integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", "_location": "/chardet", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "chardet@^0.7.0", + "raw": "chardet@0.7.0", "name": "chardet", "escapedName": "chardet", - "rawSpec": "^0.7.0", + "rawSpec": "0.7.0", "saveSpec": null, - "fetchSpec": "^0.7.0" + "fetchSpec": "0.7.0" }, "_requiredBy": [ "/external-editor" ], "_resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "_shasum": "90094849f0937f2eedc2425d0d28a9e5f0cbad9e", - "_spec": "chardet@^0.7.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\external-editor", + "_spec": "0.7.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Dmitry Shirokov", "email": "deadrunk@gmail.com" @@ -29,7 +34,6 @@ "bugs": { "url": "http://github.com/runk/node-chardet/issues" }, - "bundleDependencies": false, "contributors": [ { "name": "@spikying" @@ -47,7 +51,6 @@ "name": "@zevanty" } ], - "deprecated": false, "description": "Character detector", "devDependencies": { "github-publish-release": "^5.0.0", diff --git a/node_modules/cli-cursor/package.json b/node_modules/cli-cursor/package.json index b0c3bb1..fb3b560 100644 --- a/node_modules/cli-cursor/package.json +++ b/node_modules/cli-cursor/package.json @@ -1,27 +1,33 @@ { - "_from": "cli-cursor@^3.1.0", + "_args": [ + [ + "cli-cursor@3.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "cli-cursor@3.1.0", "_id": "cli-cursor@3.1.0", "_inBundle": false, "_integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", "_location": "/cli-cursor", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "cli-cursor@^3.1.0", + "raw": "cli-cursor@3.1.0", "name": "cli-cursor", "escapedName": "cli-cursor", - "rawSpec": "^3.1.0", + "rawSpec": "3.1.0", "saveSpec": null, - "fetchSpec": "^3.1.0" + "fetchSpec": "3.1.0" }, "_requiredBy": [ - "/inquirer" + "/inquirer", + "/ora" ], "_resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", - "_shasum": "264305a7ae490d1d03bf0c9ba7c925d1753af307", - "_spec": "cli-cursor@^3.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "3.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,11 +36,9 @@ "bugs": { "url": "https://github.com/sindresorhus/cli-cursor/issues" }, - "bundleDependencies": false, "dependencies": { "restore-cursor": "^3.1.0" }, - "deprecated": false, "description": "Toggle the CLI cursor", "devDependencies": { "@types/node": "^12.0.7", diff --git a/node_modules/cli-spinners/package.json b/node_modules/cli-spinners/package.json index 3cd7580..aec5bce 100644 --- a/node_modules/cli-spinners/package.json +++ b/node_modules/cli-spinners/package.json @@ -1,27 +1,32 @@ { - "_from": "cli-spinners@^2.2.0", + "_args": [ + [ + "cli-spinners@2.2.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "cli-spinners@2.2.0", "_id": "cli-spinners@2.2.0", "_inBundle": false, "_integrity": "sha512-tgU3fKwzYjiLEQgPMD9Jt+JjHVL9kW93FiIMX/l7rivvOD4/LL0Mf7gda3+4U2KJBloybwgj5KEoQgGRioMiKQ==", "_location": "/cli-spinners", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "cli-spinners@^2.2.0", + "raw": "cli-spinners@2.2.0", "name": "cli-spinners", "escapedName": "cli-spinners", - "rawSpec": "^2.2.0", + "rawSpec": "2.2.0", "saveSpec": null, - "fetchSpec": "^2.2.0" + "fetchSpec": "2.2.0" }, "_requiredBy": [ "/ora" ], "_resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.2.0.tgz", - "_shasum": "e8b988d9206c692302d8ee834e7a85c0144d8f77", - "_spec": "cli-spinners@^2.2.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\ora", + "_spec": "2.2.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/cli-spinners/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Spinners for use in the terminal", "devDependencies": { "ava": "^1.4.1", diff --git a/node_modules/cli-width/package.json b/node_modules/cli-width/package.json index cf9bb04..ae994b3 100644 --- a/node_modules/cli-width/package.json +++ b/node_modules/cli-width/package.json @@ -1,27 +1,32 @@ { - "_from": "cli-width@^2.0.0", + "_args": [ + [ + "cli-width@2.2.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "cli-width@2.2.0", "_id": "cli-width@2.2.0", "_inBundle": false, "_integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=", "_location": "/cli-width", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "cli-width@^2.0.0", + "raw": "cli-width@2.2.0", "name": "cli-width", "escapedName": "cli-width", - "rawSpec": "^2.0.0", + "rawSpec": "2.2.0", "saveSpec": null, - "fetchSpec": "^2.0.0" + "fetchSpec": "2.2.0" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", - "_shasum": "ff19ede8a9a5e579324147b0c11f0fbcbabed639", - "_spec": "cli-width@^2.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "2.2.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Ilya Radchenko", "email": "ilya@burstcreations.com" @@ -29,8 +34,6 @@ "bugs": { "url": "https://github.com/knownasilya/cli-width/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Get stdout window width, with two fallbacks, tty and then a default.", "devDependencies": { "coveralls": "^2.11.4", diff --git a/node_modules/clone/package.json b/node_modules/clone/package.json index d80dd04..4326dd2 100644 --- a/node_modules/clone/package.json +++ b/node_modules/clone/package.json @@ -1,27 +1,32 @@ { - "_from": "clone@^1.0.2", + "_args": [ + [ + "clone@1.0.4", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "clone@1.0.4", "_id": "clone@1.0.4", "_inBundle": false, "_integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=", "_location": "/clone", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "clone@^1.0.2", + "raw": "clone@1.0.4", "name": "clone", "escapedName": "clone", - "rawSpec": "^1.0.2", + "rawSpec": "1.0.4", "saveSpec": null, - "fetchSpec": "^1.0.2" + "fetchSpec": "1.0.4" }, "_requiredBy": [ "/defaults" ], "_resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", - "_shasum": "da309cc263df15994c688ca902179ca3c7cd7c7e", - "_spec": "clone@^1.0.2", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\defaults", + "_spec": "1.0.4", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Paul Vorbach", "email": "paul@vorba.ch", @@ -30,7 +35,6 @@ "bugs": { "url": "https://github.com/pvorb/node-clone/issues" }, - "bundleDependencies": false, "contributors": [ { "name": "Blake Miner", @@ -106,7 +110,6 @@ } ], "dependencies": {}, - "deprecated": false, "description": "deep cloning of objects and arrays", "devDependencies": { "nodeunit": "~0.9.0" diff --git a/node_modules/color-convert/package.json b/node_modules/color-convert/package.json index 423acf1..f945bba 100644 --- a/node_modules/color-convert/package.json +++ b/node_modules/color-convert/package.json @@ -1,27 +1,32 @@ { - "_from": "color-convert@^1.9.0", + "_args": [ + [ + "color-convert@1.9.3", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "color-convert@1.9.3", "_id": "color-convert@1.9.3", "_inBundle": false, "_integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", "_location": "/color-convert", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "color-convert@^1.9.0", + "raw": "color-convert@1.9.3", "name": "color-convert", "escapedName": "color-convert", - "rawSpec": "^1.9.0", + "rawSpec": "1.9.3", "saveSpec": null, - "fetchSpec": "^1.9.0" + "fetchSpec": "1.9.3" }, "_requiredBy": [ "/ansi-styles" ], "_resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "_shasum": "bb71850690e1f136567de629d2d5471deda4c1e8", - "_spec": "color-convert@^1.9.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\ansi-styles", + "_spec": "1.9.3", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Heather Arthur", "email": "fayearthur@gmail.com" @@ -29,11 +34,9 @@ "bugs": { "url": "https://github.com/Qix-/color-convert/issues" }, - "bundleDependencies": false, "dependencies": { "color-name": "1.1.3" }, - "deprecated": false, "description": "Plain color conversion functions", "devDependencies": { "chalk": "1.1.1", diff --git a/node_modules/color-name/package.json b/node_modules/color-name/package.json index baee107..28b6a8d 100644 --- a/node_modules/color-name/package.json +++ b/node_modules/color-name/package.json @@ -1,4 +1,10 @@ { + "_args": [ + [ + "color-name@1.1.3", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], "_from": "color-name@1.1.3", "_id": "color-name@1.1.3", "_inBundle": false, @@ -19,9 +25,8 @@ "/color-convert" ], "_resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "_shasum": "a7d0558bd89c42f795dd42328f740831ca53bc25", - "_spec": "color-name@1.1.3", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\color-convert", + "_spec": "1.1.3", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "DY", "email": "dfcreative@gmail.com" @@ -29,8 +34,6 @@ "bugs": { "url": "https://github.com/dfcreative/color-name/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "A list of color names and its values", "homepage": "https://github.com/dfcreative/color-name", "keywords": [ diff --git a/node_modules/commander/package.json b/node_modules/commander/package.json index 9d7742e..489e7ee 100644 --- a/node_modules/commander/package.json +++ b/node_modules/commander/package.json @@ -1,27 +1,31 @@ { - "_from": "commander", + "_args": [ + [ + "commander@4.0.1", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "commander@4.0.1", "_id": "commander@4.0.1", "_inBundle": false, "_integrity": "sha512-IPF4ouhCP+qdlcmCedhxX4xiGBPyigb8v5NeUp+0LyhwLgxMqyp3S0vl7TAPfS/hiP7FC3caI/PB9lTmP8r1NA==", "_location": "/commander", "_phantomChildren": {}, "_requested": { - "type": "tag", + "type": "version", "registry": true, - "raw": "commander", + "raw": "commander@4.0.1", "name": "commander", "escapedName": "commander", - "rawSpec": "", + "rawSpec": "4.0.1", "saveSpec": null, - "fetchSpec": "latest" + "fetchSpec": "4.0.1" }, "_requiredBy": [ - "#USER", "/" ], "_resolved": "https://registry.npmjs.org/commander/-/commander-4.0.1.tgz", - "_shasum": "b67622721785993182e807f4883633e6401ba53c", - "_spec": "commander", + "_spec": "4.0.1", "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "TJ Holowaychuk", @@ -30,9 +34,7 @@ "bugs": { "url": "https://github.com/tj/commander.js/issues" }, - "bundleDependencies": false, "dependencies": {}, - "deprecated": false, "description": "the complete solution for node.js command-line programs", "devDependencies": { "@types/jest": "^24.0.18", diff --git a/node_modules/defaults/package.json b/node_modules/defaults/package.json index ebf036c..21aae2b 100644 --- a/node_modules/defaults/package.json +++ b/node_modules/defaults/package.json @@ -1,27 +1,32 @@ { - "_from": "defaults@^1.0.3", + "_args": [ + [ + "defaults@1.0.3", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "defaults@1.0.3", "_id": "defaults@1.0.3", "_inBundle": false, "_integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", "_location": "/defaults", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "defaults@^1.0.3", + "raw": "defaults@1.0.3", "name": "defaults", "escapedName": "defaults", - "rawSpec": "^1.0.3", + "rawSpec": "1.0.3", "saveSpec": null, - "fetchSpec": "^1.0.3" + "fetchSpec": "1.0.3" }, "_requiredBy": [ "/wcwidth" ], "_resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.3.tgz", - "_shasum": "c656051e9817d9ff08ed881477f3fe4019f3ef7d", - "_spec": "defaults@^1.0.3", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\wcwidth", + "_spec": "1.0.3", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Elijah Insua", "email": "tmpvar@gmail.com" @@ -29,11 +34,9 @@ "bugs": { "url": "https://github.com/tmpvar/defaults/issues" }, - "bundleDependencies": false, "dependencies": { "clone": "^1.0.2" }, - "deprecated": false, "description": "merge single level defaults over a config object", "devDependencies": { "tap": "^2.0.0" diff --git a/node_modules/emoji-regex/package.json b/node_modules/emoji-regex/package.json index 3ce067c..8340e84 100644 --- a/node_modules/emoji-regex/package.json +++ b/node_modules/emoji-regex/package.json @@ -1,27 +1,32 @@ { - "_from": "emoji-regex@^8.0.0", + "_args": [ + [ + "emoji-regex@8.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "emoji-regex@8.0.0", "_id": "emoji-regex@8.0.0", "_inBundle": false, "_integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", "_location": "/emoji-regex", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "emoji-regex@^8.0.0", + "raw": "emoji-regex@8.0.0", "name": "emoji-regex", "escapedName": "emoji-regex", - "rawSpec": "^8.0.0", + "rawSpec": "8.0.0", "saveSpec": null, - "fetchSpec": "^8.0.0" + "fetchSpec": "8.0.0" }, "_requiredBy": [ "/string-width" ], "_resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "_shasum": "e818fd69ce5ccfcb404594f842963bf53164cc37", - "_spec": "emoji-regex@^8.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\string-width", + "_spec": "8.0.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Mathias Bynens", "url": "https://mathiasbynens.be/" @@ -29,8 +34,6 @@ "bugs": { "url": "https://github.com/mathiasbynens/emoji-regex/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "A regular expression to match all Emoji-only symbols as per the Unicode Standard.", "devDependencies": { "@babel/cli": "^7.2.3", diff --git a/node_modules/escape-string-regexp/package.json b/node_modules/escape-string-regexp/package.json index 7e21b30..9a34972 100644 --- a/node_modules/escape-string-regexp/package.json +++ b/node_modules/escape-string-regexp/package.json @@ -1,28 +1,33 @@ { - "_from": "escape-string-regexp@^1.0.5", + "_args": [ + [ + "escape-string-regexp@1.0.5", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "escape-string-regexp@1.0.5", "_id": "escape-string-regexp@1.0.5", "_inBundle": false, "_integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", "_location": "/escape-string-regexp", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "escape-string-regexp@^1.0.5", + "raw": "escape-string-regexp@1.0.5", "name": "escape-string-regexp", "escapedName": "escape-string-regexp", - "rawSpec": "^1.0.5", + "rawSpec": "1.0.5", "saveSpec": null, - "fetchSpec": "^1.0.5" + "fetchSpec": "1.0.5" }, "_requiredBy": [ "/chalk", "/figures" ], "_resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "_shasum": "1b61c0562190a8dff6ae3bb2cf0200ca130b86d4", - "_spec": "escape-string-regexp@^1.0.5", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\chalk", + "_spec": "1.0.5", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -31,8 +36,6 @@ "bugs": { "url": "https://github.com/sindresorhus/escape-string-regexp/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Escape RegExp special characters", "devDependencies": { "ava": "*", diff --git a/node_modules/external-editor/package.json b/node_modules/external-editor/package.json index 2eb8e28..ad6f9de 100644 --- a/node_modules/external-editor/package.json +++ b/node_modules/external-editor/package.json @@ -1,27 +1,32 @@ { - "_from": "external-editor@^3.0.3", + "_args": [ + [ + "external-editor@3.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "external-editor@3.1.0", "_id": "external-editor@3.1.0", "_inBundle": false, "_integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", "_location": "/external-editor", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "external-editor@^3.0.3", + "raw": "external-editor@3.1.0", "name": "external-editor", "escapedName": "external-editor", - "rawSpec": "^3.0.3", + "rawSpec": "3.1.0", "saveSpec": null, - "fetchSpec": "^3.0.3" + "fetchSpec": "3.1.0" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "_shasum": "cb03f740befae03ea4d283caed2741a83f335495", - "_spec": "external-editor@^3.0.3", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "3.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Kevin Gravier", "email": "kevin@mrkmg.com", @@ -30,7 +35,6 @@ "bugs": { "url": "https://github.com/mrkmg/node-external-editor/issues" }, - "bundleDependencies": false, "config": { "ndt": { "versions": [ @@ -43,7 +47,6 @@ "iconv-lite": "^0.4.24", "tmp": "^0.0.33" }, - "deprecated": false, "description": "Edit a string with the users preferred text editor using $VISUAL or $ENVIRONMENT", "devDependencies": { "@types/chai": "^4.1.4", diff --git a/node_modules/figures/package.json b/node_modules/figures/package.json index 7abf55c..49044f9 100644 --- a/node_modules/figures/package.json +++ b/node_modules/figures/package.json @@ -1,27 +1,32 @@ { - "_from": "figures@^3.0.0", + "_args": [ + [ + "figures@3.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "figures@3.1.0", "_id": "figures@3.1.0", "_inBundle": false, "_integrity": "sha512-ravh8VRXqHuMvZt/d8GblBeqDMkdJMBdv/2KntFH+ra5MXkO7nxNKpzQ3n6QD/2da1kH0aWmNISdvhM7gl2gVg==", "_location": "/figures", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "figures@^3.0.0", + "raw": "figures@3.1.0", "name": "figures", "escapedName": "figures", - "rawSpec": "^3.0.0", + "rawSpec": "3.1.0", "saveSpec": null, - "fetchSpec": "^3.0.0" + "fetchSpec": "3.1.0" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/figures/-/figures-3.1.0.tgz", - "_shasum": "4b198dd07d8d71530642864af2d45dd9e459c4ec", - "_spec": "figures@^3.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "3.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,11 +35,9 @@ "bugs": { "url": "https://github.com/sindresorhus/figures/issues" }, - "bundleDependencies": false, "dependencies": { "escape-string-regexp": "^1.0.5" }, - "deprecated": false, "description": "Unicode symbols with Windows CMD fallbacks", "devDependencies": { "ava": "^1.4.1", diff --git a/node_modules/has-flag/package.json b/node_modules/has-flag/package.json index d7139d7..23cf149 100644 --- a/node_modules/has-flag/package.json +++ b/node_modules/has-flag/package.json @@ -1,27 +1,32 @@ { - "_from": "has-flag@^3.0.0", + "_args": [ + [ + "has-flag@3.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "has-flag@3.0.0", "_id": "has-flag@3.0.0", "_inBundle": false, "_integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", "_location": "/has-flag", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "has-flag@^3.0.0", + "raw": "has-flag@3.0.0", "name": "has-flag", "escapedName": "has-flag", - "rawSpec": "^3.0.0", + "rawSpec": "3.0.0", "saveSpec": null, - "fetchSpec": "^3.0.0" + "fetchSpec": "3.0.0" }, "_requiredBy": [ "/supports-color" ], "_resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "_shasum": "b5d454dc2199ae225699f3467e5a07f3b955bafd", - "_spec": "has-flag@^3.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\supports-color", + "_spec": "3.0.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/has-flag/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Check if argv has a specific flag", "devDependencies": { "ava": "*", diff --git a/node_modules/iconv-lite/package.json b/node_modules/iconv-lite/package.json index 54ec40d..1992572 100644 --- a/node_modules/iconv-lite/package.json +++ b/node_modules/iconv-lite/package.json @@ -1,27 +1,32 @@ { - "_from": "iconv-lite@^0.4.24", + "_args": [ + [ + "iconv-lite@0.4.24", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "iconv-lite@0.4.24", "_id": "iconv-lite@0.4.24", "_inBundle": false, "_integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", "_location": "/iconv-lite", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "iconv-lite@^0.4.24", + "raw": "iconv-lite@0.4.24", "name": "iconv-lite", "escapedName": "iconv-lite", - "rawSpec": "^0.4.24", + "rawSpec": "0.4.24", "saveSpec": null, - "fetchSpec": "^0.4.24" + "fetchSpec": "0.4.24" }, "_requiredBy": [ "/external-editor" ], "_resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "_shasum": "2022b4b25fbddc21d2f524974a474aafe733908b", - "_spec": "iconv-lite@^0.4.24", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\external-editor", + "_spec": "0.4.24", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Alexander Shtuchkin", "email": "ashtuchkin@gmail.com" @@ -33,11 +38,9 @@ "bugs": { "url": "https://github.com/ashtuchkin/iconv-lite/issues" }, - "bundleDependencies": false, "dependencies": { "safer-buffer": ">= 2.1.2 < 3" }, - "deprecated": false, "description": "Convert character encodings in pure javascript.", "devDependencies": { "async": "*", diff --git a/node_modules/inquirer/package.json b/node_modules/inquirer/package.json index aba8dfc..7e1f233 100644 --- a/node_modules/inquirer/package.json +++ b/node_modules/inquirer/package.json @@ -1,27 +1,31 @@ { - "_from": "inquirer", + "_args": [ + [ + "inquirer@7.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "inquirer@7.0.0", "_id": "inquirer@7.0.0", "_inBundle": false, "_integrity": "sha512-rSdC7zelHdRQFkWnhsMu2+2SO41mpv2oF2zy4tMhmiLWkcKbOAs87fWAJhVXttKVwhdZvymvnuM95EyEXg2/tQ==", "_location": "/inquirer", "_phantomChildren": {}, "_requested": { - "type": "tag", + "type": "version", "registry": true, - "raw": "inquirer", + "raw": "inquirer@7.0.0", "name": "inquirer", "escapedName": "inquirer", - "rawSpec": "", + "rawSpec": "7.0.0", "saveSpec": null, - "fetchSpec": "latest" + "fetchSpec": "7.0.0" }, "_requiredBy": [ - "#USER", "/" ], "_resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.0.0.tgz", - "_shasum": "9e2b032dde77da1db5db804758b8fea3a970519a", - "_spec": "inquirer", + "_spec": "7.0.0", "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Simon Boudrias", @@ -30,7 +34,6 @@ "bugs": { "url": "https://github.com/SBoudrias/Inquirer.js/issues" }, - "bundleDependencies": false, "dependencies": { "ansi-escapes": "^4.2.1", "chalk": "^2.4.2", @@ -46,7 +49,6 @@ "strip-ansi": "^5.1.0", "through": "^2.3.6" }, - "deprecated": false, "description": "A collection of common interactive command line user interfaces.", "devDependencies": { "chai": "^4.2.0", diff --git a/node_modules/is-fullwidth-code-point/package.json b/node_modules/is-fullwidth-code-point/package.json index be752d9..07d7a06 100644 --- a/node_modules/is-fullwidth-code-point/package.json +++ b/node_modules/is-fullwidth-code-point/package.json @@ -1,27 +1,32 @@ { - "_from": "is-fullwidth-code-point@^3.0.0", + "_args": [ + [ + "is-fullwidth-code-point@3.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "is-fullwidth-code-point@3.0.0", "_id": "is-fullwidth-code-point@3.0.0", "_inBundle": false, "_integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", "_location": "/is-fullwidth-code-point", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "is-fullwidth-code-point@^3.0.0", + "raw": "is-fullwidth-code-point@3.0.0", "name": "is-fullwidth-code-point", "escapedName": "is-fullwidth-code-point", - "rawSpec": "^3.0.0", + "rawSpec": "3.0.0", "saveSpec": null, - "fetchSpec": "^3.0.0" + "fetchSpec": "3.0.0" }, "_requiredBy": [ "/string-width" ], "_resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "_shasum": "f116f8064fe90b3f7844a38997c0b75051269f1d", - "_spec": "is-fullwidth-code-point@^3.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\string-width", + "_spec": "3.0.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/is-fullwidth-code-point/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Check if the character represented by a given Unicode code point is fullwidth", "devDependencies": { "ava": "^1.3.1", diff --git a/node_modules/is-interactive/package.json b/node_modules/is-interactive/package.json index b6dae0c..4d604d1 100644 --- a/node_modules/is-interactive/package.json +++ b/node_modules/is-interactive/package.json @@ -1,27 +1,32 @@ { - "_from": "is-interactive@^1.0.0", + "_args": [ + [ + "is-interactive@1.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "is-interactive@1.0.0", "_id": "is-interactive@1.0.0", "_inBundle": false, "_integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", "_location": "/is-interactive", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "is-interactive@^1.0.0", + "raw": "is-interactive@1.0.0", "name": "is-interactive", "escapedName": "is-interactive", - "rawSpec": "^1.0.0", + "rawSpec": "1.0.0", "saveSpec": null, - "fetchSpec": "^1.0.0" + "fetchSpec": "1.0.0" }, "_requiredBy": [ "/ora" ], "_resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", - "_shasum": "cea6e6ae5c870a7b0a0004070b7b587e0252912e", - "_spec": "is-interactive@^1.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\ora", + "_spec": "1.0.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/is-interactive/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Check if stdout or stderr is interactive", "devDependencies": { "@types/node": "^12.0.12", diff --git a/node_modules/is-promise/package.json b/node_modules/is-promise/package.json index b417cbd..45675b8 100644 --- a/node_modules/is-promise/package.json +++ b/node_modules/is-promise/package.json @@ -1,35 +1,38 @@ { - "_from": "is-promise@^2.1.0", + "_args": [ + [ + "is-promise@2.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "is-promise@2.1.0", "_id": "is-promise@2.1.0", "_inBundle": false, "_integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=", "_location": "/is-promise", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "is-promise@^2.1.0", + "raw": "is-promise@2.1.0", "name": "is-promise", "escapedName": "is-promise", - "rawSpec": "^2.1.0", + "rawSpec": "2.1.0", "saveSpec": null, - "fetchSpec": "^2.1.0" + "fetchSpec": "2.1.0" }, "_requiredBy": [ "/run-async" ], "_resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", - "_shasum": "79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa", - "_spec": "is-promise@^2.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\run-async", + "_spec": "2.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "ForbesLindesay" }, "bugs": { "url": "https://github.com/then/is-promise/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Test whether an object looks like a promises-a+ promise", "devDependencies": { "better-assert": "~0.1.0", diff --git a/node_modules/lodash/package.json b/node_modules/lodash/package.json index 19fe3b2..d1f7136 100644 --- a/node_modules/lodash/package.json +++ b/node_modules/lodash/package.json @@ -1,27 +1,32 @@ { - "_from": "lodash@^4.17.15", + "_args": [ + [ + "lodash@4.17.15", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "lodash@4.17.15", "_id": "lodash@4.17.15", "_inBundle": false, "_integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==", "_location": "/lodash", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "lodash@^4.17.15", + "raw": "lodash@4.17.15", "name": "lodash", "escapedName": "lodash", - "rawSpec": "^4.17.15", + "rawSpec": "4.17.15", "saveSpec": null, - "fetchSpec": "^4.17.15" + "fetchSpec": "4.17.15" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", - "_shasum": "b447f6670a0455bbfeedd11392eff330ea097548", - "_spec": "lodash@^4.17.15", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "4.17.15", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "John-David Dalton", "email": "john.david.dalton@gmail.com" @@ -29,7 +34,6 @@ "bugs": { "url": "https://github.com/lodash/lodash/issues" }, - "bundleDependencies": false, "contributors": [ { "name": "John-David Dalton", @@ -40,7 +44,6 @@ "email": "mathias@qiwi.be" } ], - "deprecated": false, "description": "Lodash modular utilities.", "homepage": "https://lodash.com/", "icon": "https://lodash.com/icon.svg", diff --git a/node_modules/log-symbols/package.json b/node_modules/log-symbols/package.json index 62af3b1..c4b2ec3 100644 --- a/node_modules/log-symbols/package.json +++ b/node_modules/log-symbols/package.json @@ -1,27 +1,32 @@ { - "_from": "log-symbols@^3.0.0", + "_args": [ + [ + "log-symbols@3.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "log-symbols@3.0.0", "_id": "log-symbols@3.0.0", "_inBundle": false, "_integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", "_location": "/log-symbols", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "log-symbols@^3.0.0", + "raw": "log-symbols@3.0.0", "name": "log-symbols", "escapedName": "log-symbols", - "rawSpec": "^3.0.0", + "rawSpec": "3.0.0", "saveSpec": null, - "fetchSpec": "^3.0.0" + "fetchSpec": "3.0.0" }, "_requiredBy": [ "/ora" ], "_resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", - "_shasum": "f3a08516a5dea893336a7dee14d18a1cfdab77c4", - "_spec": "log-symbols@^3.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\ora", + "_spec": "3.0.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -31,11 +36,9 @@ "bugs": { "url": "https://github.com/sindresorhus/log-symbols/issues" }, - "bundleDependencies": false, "dependencies": { "chalk": "^2.4.2" }, - "deprecated": false, "description": "Colored symbols for various log levels. Example: `✔︎ Success`", "devDependencies": { "ava": "^1.4.1", diff --git a/node_modules/mimic-fn/package.json b/node_modules/mimic-fn/package.json index 9a3f427..5ba1654 100644 --- a/node_modules/mimic-fn/package.json +++ b/node_modules/mimic-fn/package.json @@ -1,27 +1,32 @@ { - "_from": "mimic-fn@^2.1.0", + "_args": [ + [ + "mimic-fn@2.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "mimic-fn@2.1.0", "_id": "mimic-fn@2.1.0", "_inBundle": false, "_integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "_location": "/mimic-fn", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "mimic-fn@^2.1.0", + "raw": "mimic-fn@2.1.0", "name": "mimic-fn", "escapedName": "mimic-fn", - "rawSpec": "^2.1.0", + "rawSpec": "2.1.0", "saveSpec": null, - "fetchSpec": "^2.1.0" + "fetchSpec": "2.1.0" }, "_requiredBy": [ "/onetime" ], "_resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "_shasum": "7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b", - "_spec": "mimic-fn@^2.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\onetime", + "_spec": "2.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/mimic-fn/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Make a function mimic another one", "devDependencies": { "ava": "^1.4.1", diff --git a/node_modules/mute-stream/package.json b/node_modules/mute-stream/package.json index 286edb2..3f8ca26 100644 --- a/node_modules/mute-stream/package.json +++ b/node_modules/mute-stream/package.json @@ -1,4 +1,10 @@ { + "_args": [ + [ + "mute-stream@0.0.8", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], "_from": "mute-stream@0.0.8", "_id": "mute-stream@0.0.8", "_inBundle": false, @@ -19,9 +25,8 @@ "/inquirer" ], "_resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", - "_shasum": "1630c42b2251ff81e2a283de96a5497ea92e5e0d", - "_spec": "mute-stream@0.0.8", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "0.0.8", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Isaac Z. Schlueter", "email": "i@izs.me", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/isaacs/mute-stream/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Bytes go in, but they don't come out (when muted).", "devDependencies": { "tap": "^12.1.1" diff --git a/node_modules/onetime/package.json b/node_modules/onetime/package.json index 60c84c5..5df1690 100644 --- a/node_modules/onetime/package.json +++ b/node_modules/onetime/package.json @@ -1,27 +1,32 @@ { - "_from": "onetime@^5.1.0", + "_args": [ + [ + "onetime@5.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "onetime@5.1.0", "_id": "onetime@5.1.0", "_inBundle": false, "_integrity": "sha512-5NcSkPHhwTVFIQN+TUqXoS5+dlElHXdpAWu9I0HP20YOtIi+aZ0Ct82jdlILDxjLEAWwvm+qj1m6aEtsDVmm6Q==", "_location": "/onetime", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "onetime@^5.1.0", + "raw": "onetime@5.1.0", "name": "onetime", "escapedName": "onetime", - "rawSpec": "^5.1.0", + "rawSpec": "5.1.0", "saveSpec": null, - "fetchSpec": "^5.1.0" + "fetchSpec": "5.1.0" }, "_requiredBy": [ "/restore-cursor" ], "_resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.0.tgz", - "_shasum": "fff0f3c91617fe62bb50189636e99ac8a6df7be5", - "_spec": "onetime@^5.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\restore-cursor", + "_spec": "5.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,11 +35,9 @@ "bugs": { "url": "https://github.com/sindresorhus/onetime/issues" }, - "bundleDependencies": false, "dependencies": { "mimic-fn": "^2.1.0" }, - "deprecated": false, "description": "Ensure a function is only called once", "devDependencies": { "ava": "^1.4.1", diff --git a/node_modules/ora/package.json b/node_modules/ora/package.json index 7133c9e..58e1274 100644 --- a/node_modules/ora/package.json +++ b/node_modules/ora/package.json @@ -1,27 +1,31 @@ { - "_from": "ora", + "_args": [ + [ + "ora@4.0.2", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "ora@4.0.2", "_id": "ora@4.0.2", "_inBundle": false, "_integrity": "sha512-YUOZbamht5mfLxPmk4M35CD/5DuOkAacxlEUbStVXpBAt4fyhBf+vZHI/HRkI++QUp3sNoeA2Gw4C+hi4eGSig==", "_location": "/ora", "_phantomChildren": {}, "_requested": { - "type": "tag", + "type": "version", "registry": true, - "raw": "ora", + "raw": "ora@4.0.2", "name": "ora", "escapedName": "ora", - "rawSpec": "", + "rawSpec": "4.0.2", "saveSpec": null, - "fetchSpec": "latest" + "fetchSpec": "4.0.2" }, "_requiredBy": [ - "#USER", "/" ], "_resolved": "https://registry.npmjs.org/ora/-/ora-4.0.2.tgz", - "_shasum": "0e1e68fd45b135d28648b27cf08081fa6e8a297d", - "_spec": "ora", + "_spec": "4.0.2", "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", @@ -31,7 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/ora/issues" }, - "bundleDependencies": false, "dependencies": { "chalk": "^2.4.2", "cli-cursor": "^3.1.0", @@ -41,7 +44,6 @@ "strip-ansi": "^5.2.0", "wcwidth": "^1.0.1" }, - "deprecated": false, "description": "Elegant terminal spinner", "devDependencies": { "@types/node": "^12.7.5", diff --git a/node_modules/os-tmpdir/package.json b/node_modules/os-tmpdir/package.json index 8519152..c38adca 100644 --- a/node_modules/os-tmpdir/package.json +++ b/node_modules/os-tmpdir/package.json @@ -1,27 +1,32 @@ { - "_from": "os-tmpdir@~1.0.2", + "_args": [ + [ + "os-tmpdir@1.0.2", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "os-tmpdir@1.0.2", "_id": "os-tmpdir@1.0.2", "_inBundle": false, "_integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", "_location": "/os-tmpdir", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "os-tmpdir@~1.0.2", + "raw": "os-tmpdir@1.0.2", "name": "os-tmpdir", "escapedName": "os-tmpdir", - "rawSpec": "~1.0.2", + "rawSpec": "1.0.2", "saveSpec": null, - "fetchSpec": "~1.0.2" + "fetchSpec": "1.0.2" }, "_requiredBy": [ "/tmp" ], "_resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "_shasum": "bbe67406c79aa85c5cfec766fe5734555dfa1274", - "_spec": "os-tmpdir@~1.0.2", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\tmp", + "_spec": "1.0.2", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/os-tmpdir/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Node.js os.tmpdir() ponyfill", "devDependencies": { "ava": "*", diff --git a/node_modules/restore-cursor/package.json b/node_modules/restore-cursor/package.json index 0f62aeb..14e7ae1 100644 --- a/node_modules/restore-cursor/package.json +++ b/node_modules/restore-cursor/package.json @@ -1,27 +1,32 @@ { - "_from": "restore-cursor@^3.1.0", + "_args": [ + [ + "restore-cursor@3.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "restore-cursor@3.1.0", "_id": "restore-cursor@3.1.0", "_inBundle": false, "_integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", "_location": "/restore-cursor", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "restore-cursor@^3.1.0", + "raw": "restore-cursor@3.1.0", "name": "restore-cursor", "escapedName": "restore-cursor", - "rawSpec": "^3.1.0", + "rawSpec": "3.1.0", "saveSpec": null, - "fetchSpec": "^3.1.0" + "fetchSpec": "3.1.0" }, "_requiredBy": [ "/cli-cursor" ], "_resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", - "_shasum": "39f67c54b3a7a58cea5236d95cf0034239631f7e", - "_spec": "restore-cursor@^3.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\cli-cursor", + "_spec": "3.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,12 +35,10 @@ "bugs": { "url": "https://github.com/sindresorhus/restore-cursor/issues" }, - "bundleDependencies": false, "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" }, - "deprecated": false, "description": "Gracefully restore the CLI cursor on exit", "devDependencies": { "tsd": "^0.7.2", diff --git a/node_modules/run-async/package.json b/node_modules/run-async/package.json index 3f6b750..978145e 100644 --- a/node_modules/run-async/package.json +++ b/node_modules/run-async/package.json @@ -1,27 +1,32 @@ { - "_from": "run-async@^2.2.0", + "_args": [ + [ + "run-async@2.3.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "run-async@2.3.0", "_id": "run-async@2.3.0", "_inBundle": false, "_integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", "_location": "/run-async", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "run-async@^2.2.0", + "raw": "run-async@2.3.0", "name": "run-async", "escapedName": "run-async", - "rawSpec": "^2.2.0", + "rawSpec": "2.3.0", "saveSpec": null, - "fetchSpec": "^2.2.0" + "fetchSpec": "2.3.0" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", - "_shasum": "0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0", - "_spec": "run-async@^2.2.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "2.3.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Simon Boudrias", "email": "admin@simonboudrias.com" @@ -29,11 +34,9 @@ "bugs": { "url": "https://github.com/SBoudrias/run-async/issues" }, - "bundleDependencies": false, "dependencies": { "is-promise": "^2.1.0" }, - "deprecated": false, "description": "Utility method to run function either synchronously or asynchronously using the common `this.async()` style.", "devDependencies": { "mocha": "^3.1.2" diff --git a/node_modules/rxjs/package.json b/node_modules/rxjs/package.json index ecf2a88..fc25f8b 100644 --- a/node_modules/rxjs/package.json +++ b/node_modules/rxjs/package.json @@ -1,27 +1,32 @@ { - "_from": "rxjs@^6.4.0", + "_args": [ + [ + "rxjs@6.5.3", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "rxjs@6.5.3", "_id": "rxjs@6.5.3", "_inBundle": false, "_integrity": "sha512-wuYsAYYFdWTAnAaPoKGNhfpWwKZbJW+HgAJ+mImp+Epl7BG8oNWBCTyRM8gba9k4lk8BgWdoYm21Mo/RYhhbgA==", "_location": "/rxjs", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "rxjs@^6.4.0", + "raw": "rxjs@6.5.3", "name": "rxjs", "escapedName": "rxjs", - "rawSpec": "^6.4.0", + "rawSpec": "6.5.3", "saveSpec": null, - "fetchSpec": "^6.4.0" + "fetchSpec": "6.5.3" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.3.tgz", - "_shasum": "510e26317f4db91a7eb1de77d9dd9ba0a4899a3a", - "_spec": "rxjs@^6.4.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "6.5.3", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Ben Lesh", "email": "ben@benlesh.com" @@ -29,7 +34,6 @@ "bugs": { "url": "https://github.com/ReactiveX/RxJS/issues" }, - "bundleDependencies": false, "config": { "commitizen": { "path": "cz-conventional-changelog" @@ -64,7 +68,6 @@ "dependencies": { "tslib": "^1.9.0" }, - "deprecated": false, "description": "Reactive Extensions for modern JavaScript", "devDependencies": { "@angular-devkit/build-optimizer": "0.4.6", diff --git a/node_modules/safer-buffer/package.json b/node_modules/safer-buffer/package.json index 6b0ee21..c714e71 100644 --- a/node_modules/safer-buffer/package.json +++ b/node_modules/safer-buffer/package.json @@ -1,27 +1,32 @@ { - "_from": "safer-buffer@>= 2.1.2 < 3", + "_args": [ + [ + "safer-buffer@2.1.2", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "safer-buffer@2.1.2", "_id": "safer-buffer@2.1.2", "_inBundle": false, "_integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", "_location": "/safer-buffer", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "safer-buffer@>= 2.1.2 < 3", + "raw": "safer-buffer@2.1.2", "name": "safer-buffer", "escapedName": "safer-buffer", - "rawSpec": ">= 2.1.2 < 3", + "rawSpec": "2.1.2", "saveSpec": null, - "fetchSpec": ">= 2.1.2 < 3" + "fetchSpec": "2.1.2" }, "_requiredBy": [ "/iconv-lite" ], "_resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "_shasum": "44fa161b0187b9549dd84bb91802f9bd8385cd6a", - "_spec": "safer-buffer@>= 2.1.2 < 3", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\iconv-lite", + "_spec": "2.1.2", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Nikita Skovoroda", "email": "chalkerx@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/ChALkeR/safer-buffer/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Modern Buffer API polyfill without footguns", "devDependencies": { "standard": "^11.0.1", diff --git a/node_modules/signal-exit/package.json b/node_modules/signal-exit/package.json index 3c5c7e5..7543834 100644 --- a/node_modules/signal-exit/package.json +++ b/node_modules/signal-exit/package.json @@ -1,27 +1,32 @@ { - "_from": "signal-exit@^3.0.2", + "_args": [ + [ + "signal-exit@3.0.2", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "signal-exit@3.0.2", "_id": "signal-exit@3.0.2", "_inBundle": false, "_integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=", "_location": "/signal-exit", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "signal-exit@^3.0.2", + "raw": "signal-exit@3.0.2", "name": "signal-exit", "escapedName": "signal-exit", - "rawSpec": "^3.0.2", + "rawSpec": "3.0.2", "saveSpec": null, - "fetchSpec": "^3.0.2" + "fetchSpec": "3.0.2" }, "_requiredBy": [ "/restore-cursor" ], "_resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", - "_shasum": "b5fdc08f1287ea1178628e415e25132b73646c6d", - "_spec": "signal-exit@^3.0.2", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\restore-cursor", + "_spec": "3.0.2", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Ben Coe", "email": "ben@npmjs.com" @@ -29,8 +34,6 @@ "bugs": { "url": "https://github.com/tapjs/signal-exit/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "when you want to fire an event no matter how a process exits.", "devDependencies": { "chai": "^3.5.0", diff --git a/node_modules/string-width/node_modules/strip-ansi/package.json b/node_modules/string-width/node_modules/strip-ansi/package.json index b2790e4..f4ad589 100644 --- a/node_modules/string-width/node_modules/strip-ansi/package.json +++ b/node_modules/string-width/node_modules/strip-ansi/package.json @@ -1,27 +1,32 @@ { - "_from": "strip-ansi@^6.0.0", + "_args": [ + [ + "strip-ansi@6.0.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "strip-ansi@6.0.0", "_id": "strip-ansi@6.0.0", "_inBundle": false, "_integrity": "sha512-AuvKTrTfQNYNIctbR1K/YGTR1756GycPsg7b9bdV9Duqur4gv6aKqHXah67Z8ImS7WEz5QVcOtlfW2rZEugt6w==", "_location": "/string-width/strip-ansi", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "strip-ansi@^6.0.0", + "raw": "strip-ansi@6.0.0", "name": "strip-ansi", "escapedName": "strip-ansi", - "rawSpec": "^6.0.0", + "rawSpec": "6.0.0", "saveSpec": null, - "fetchSpec": "^6.0.0" + "fetchSpec": "6.0.0" }, "_requiredBy": [ "/string-width" ], "_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.0.tgz", - "_shasum": "0b1571dd7669ccd4f3e06e14ef1eed26225ae532", - "_spec": "strip-ansi@^6.0.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\string-width", + "_spec": "6.0.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,11 +35,9 @@ "bugs": { "url": "https://github.com/chalk/strip-ansi/issues" }, - "bundleDependencies": false, "dependencies": { "ansi-regex": "^5.0.0" }, - "deprecated": false, "description": "Strip ANSI escape codes from a string", "devDependencies": { "ava": "^2.4.0", diff --git a/node_modules/string-width/package.json b/node_modules/string-width/package.json index 931375b..08a85e2 100644 --- a/node_modules/string-width/package.json +++ b/node_modules/string-width/package.json @@ -1,5 +1,11 @@ { - "_from": "string-width@^4.1.0", + "_args": [ + [ + "string-width@4.2.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "string-width@4.2.0", "_id": "string-width@4.2.0", "_inBundle": false, "_integrity": "sha512-zUz5JD+tgqtuDjMhwIg5uFVV3dtqZ9yQJlZVfq4I01/K5Paj5UHj7VyrQOJvzawSVlKpObApbfD0Ed6yJc+1eg==", @@ -8,22 +14,21 @@ "ansi-regex": "5.0.0" }, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "string-width@^4.1.0", + "raw": "string-width@4.2.0", "name": "string-width", "escapedName": "string-width", - "rawSpec": "^4.1.0", + "rawSpec": "4.2.0", "saveSpec": null, - "fetchSpec": "^4.1.0" + "fetchSpec": "4.2.0" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.0.tgz", - "_shasum": "952182c46cc7b2c313d1596e623992bd163b72b5", - "_spec": "string-width@^4.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "4.2.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -32,13 +37,11 @@ "bugs": { "url": "https://github.com/sindresorhus/string-width/issues" }, - "bundleDependencies": false, "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.0" }, - "deprecated": false, "description": "Get the visual width of a string - the number of columns required to display it", "devDependencies": { "ava": "^1.4.1", diff --git a/node_modules/strip-ansi/node_modules/ansi-regex/package.json b/node_modules/strip-ansi/node_modules/ansi-regex/package.json index ca0e5f3..05e8d08 100644 --- a/node_modules/strip-ansi/node_modules/ansi-regex/package.json +++ b/node_modules/strip-ansi/node_modules/ansi-regex/package.json @@ -1,27 +1,32 @@ { - "_from": "ansi-regex@^4.1.0", + "_args": [ + [ + "ansi-regex@4.1.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "ansi-regex@4.1.0", "_id": "ansi-regex@4.1.0", "_inBundle": false, "_integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", "_location": "/strip-ansi/ansi-regex", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "ansi-regex@^4.1.0", + "raw": "ansi-regex@4.1.0", "name": "ansi-regex", "escapedName": "ansi-regex", - "rawSpec": "^4.1.0", + "rawSpec": "4.1.0", "saveSpec": null, - "fetchSpec": "^4.1.0" + "fetchSpec": "4.1.0" }, "_requiredBy": [ "/strip-ansi" ], "_resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "_shasum": "8b9f8f08cf1acb843756a839ca8c7e3168c51997", - "_spec": "ansi-regex@^4.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\strip-ansi", + "_spec": "4.1.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/chalk/ansi-regex/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Regular expression for matching ANSI escape codes", "devDependencies": { "ava": "^0.25.0", diff --git a/node_modules/strip-ansi/package.json b/node_modules/strip-ansi/package.json index 5a036d4..71a8d18 100644 --- a/node_modules/strip-ansi/package.json +++ b/node_modules/strip-ansi/package.json @@ -1,27 +1,33 @@ { - "_from": "strip-ansi@^5.1.0", + "_args": [ + [ + "strip-ansi@5.2.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "strip-ansi@5.2.0", "_id": "strip-ansi@5.2.0", "_inBundle": false, "_integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", "_location": "/strip-ansi", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "strip-ansi@^5.1.0", + "raw": "strip-ansi@5.2.0", "name": "strip-ansi", "escapedName": "strip-ansi", - "rawSpec": "^5.1.0", + "rawSpec": "5.2.0", "saveSpec": null, - "fetchSpec": "^5.1.0" + "fetchSpec": "5.2.0" }, "_requiredBy": [ - "/inquirer" + "/inquirer", + "/ora" ], "_resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "_shasum": "8c9a536feb6afc962bdfa5b104a5091c1ad9c0ae", - "_spec": "strip-ansi@^5.1.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "5.2.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,11 +36,9 @@ "bugs": { "url": "https://github.com/chalk/strip-ansi/issues" }, - "bundleDependencies": false, "dependencies": { "ansi-regex": "^4.1.0" }, - "deprecated": false, "description": "Strip ANSI escape codes from a string", "devDependencies": { "ava": "^1.3.1", diff --git a/node_modules/supports-color/package.json b/node_modules/supports-color/package.json index d5f28bc..7d97c0c 100644 --- a/node_modules/supports-color/package.json +++ b/node_modules/supports-color/package.json @@ -1,27 +1,32 @@ { - "_from": "supports-color@^5.3.0", + "_args": [ + [ + "supports-color@5.5.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "supports-color@5.5.0", "_id": "supports-color@5.5.0", "_inBundle": false, "_integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", "_location": "/supports-color", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "supports-color@^5.3.0", + "raw": "supports-color@5.5.0", "name": "supports-color", "escapedName": "supports-color", - "rawSpec": "^5.3.0", + "rawSpec": "5.5.0", "saveSpec": null, - "fetchSpec": "^5.3.0" + "fetchSpec": "5.5.0" }, "_requiredBy": [ "/chalk" ], "_resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "_shasum": "e2e69a44ac8772f78a1ec0b35b689df6530efc8f", - "_spec": "supports-color@^5.3.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\chalk", + "_spec": "5.5.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -31,11 +36,9 @@ "bugs": { "url": "https://github.com/chalk/supports-color/issues" }, - "bundleDependencies": false, "dependencies": { "has-flag": "^3.0.0" }, - "deprecated": false, "description": "Detect whether a terminal supports color", "devDependencies": { "ava": "^0.25.0", diff --git a/node_modules/through/package.json b/node_modules/through/package.json index 1cb2305..3c72e15 100644 --- a/node_modules/through/package.json +++ b/node_modules/through/package.json @@ -1,27 +1,32 @@ { - "_from": "through@^2.3.6", + "_args": [ + [ + "through@2.3.8", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "through@2.3.8", "_id": "through@2.3.8", "_inBundle": false, "_integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "_location": "/through", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "through@^2.3.6", + "raw": "through@2.3.8", "name": "through", "escapedName": "through", - "rawSpec": "^2.3.6", + "rawSpec": "2.3.8", "saveSpec": null, - "fetchSpec": "^2.3.6" + "fetchSpec": "2.3.8" }, "_requiredBy": [ "/inquirer" ], "_resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "_shasum": "0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5", - "_spec": "through@^2.3.6", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\inquirer", + "_spec": "2.3.8", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Dominic Tarr", "email": "dominic.tarr@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/dominictarr/through/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "simplified stream construction", "devDependencies": { "from": "~0.1.3", diff --git a/node_modules/tmp/package.json b/node_modules/tmp/package.json index 50f91b1..2cc41d7 100644 --- a/node_modules/tmp/package.json +++ b/node_modules/tmp/package.json @@ -1,27 +1,32 @@ { - "_from": "tmp@^0.0.33", + "_args": [ + [ + "tmp@0.0.33", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "tmp@0.0.33", "_id": "tmp@0.0.33", "_inBundle": false, "_integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", "_location": "/tmp", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "tmp@^0.0.33", + "raw": "tmp@0.0.33", "name": "tmp", "escapedName": "tmp", - "rawSpec": "^0.0.33", + "rawSpec": "0.0.33", "saveSpec": null, - "fetchSpec": "^0.0.33" + "fetchSpec": "0.0.33" }, "_requiredBy": [ "/external-editor" ], "_resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "_shasum": "6d34335889768d21b2bcda0aa277ced3b1bfadf9", - "_spec": "tmp@^0.0.33", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\external-editor", + "_spec": "0.0.33", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "KARASZI István", "email": "github@spam.raszi.hu", @@ -30,11 +35,9 @@ "bugs": { "url": "http://github.com/raszi/node-tmp/issues" }, - "bundleDependencies": false, "dependencies": { "os-tmpdir": "~1.0.2" }, - "deprecated": false, "description": "Temporary file and directory creator", "devDependencies": { "vows": "~0.7.0" diff --git a/node_modules/tslib/package.json b/node_modules/tslib/package.json index 2dea737..c0a751c 100644 --- a/node_modules/tslib/package.json +++ b/node_modules/tslib/package.json @@ -1,35 +1,38 @@ { - "_from": "tslib@^1.9.0", + "_args": [ + [ + "tslib@1.10.0", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "tslib@1.10.0", "_id": "tslib@1.10.0", "_inBundle": false, "_integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==", "_location": "/tslib", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "tslib@^1.9.0", + "raw": "tslib@1.10.0", "name": "tslib", "escapedName": "tslib", - "rawSpec": "^1.9.0", + "rawSpec": "1.10.0", "saveSpec": null, - "fetchSpec": "^1.9.0" + "fetchSpec": "1.10.0" }, "_requiredBy": [ "/rxjs" ], "_resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", - "_shasum": "c3c19f95973fb0a62973fb09d90d961ee43e5c8a", - "_spec": "tslib@^1.9.0", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\rxjs", + "_spec": "1.10.0", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Microsoft Corp." }, "bugs": { "url": "https://github.com/Microsoft/TypeScript/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "Runtime library for TypeScript helper functions", "homepage": "http://typescriptlang.org/", "jsnext:main": "tslib.es6.js", diff --git a/node_modules/type-fest/package.json b/node_modules/type-fest/package.json index 963dc88..f1d3605 100644 --- a/node_modules/type-fest/package.json +++ b/node_modules/type-fest/package.json @@ -1,27 +1,32 @@ { - "_from": "type-fest@^0.5.2", + "_args": [ + [ + "type-fest@0.5.2", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "type-fest@0.5.2", "_id": "type-fest@0.5.2", "_inBundle": false, "_integrity": "sha512-DWkS49EQKVX//Tbupb9TFa19c7+MK1XmzkrZUR8TAktmE/DizXoaoJV6TZ/tSIPXipqNiRI6CyAe7x69Jb6RSw==", "_location": "/type-fest", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "type-fest@^0.5.2", + "raw": "type-fest@0.5.2", "name": "type-fest", "escapedName": "type-fest", - "rawSpec": "^0.5.2", + "rawSpec": "0.5.2", "saveSpec": null, - "fetchSpec": "^0.5.2" + "fetchSpec": "0.5.2" }, "_requiredBy": [ "/ansi-escapes" ], "_resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.5.2.tgz", - "_shasum": "d6ef42a0356c6cd45f49485c3b6281fc148e48a2", - "_spec": "type-fest@^0.5.2", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\ansi-escapes", + "_spec": "0.5.2", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Sindre Sorhus", "email": "sindresorhus@gmail.com", @@ -30,8 +35,6 @@ "bugs": { "url": "https://github.com/sindresorhus/type-fest/issues" }, - "bundleDependencies": false, - "deprecated": false, "description": "A collection of essential TypeScript types", "devDependencies": { "@sindresorhus/tsconfig": "^0.3.0", diff --git a/node_modules/wcwidth/package.json b/node_modules/wcwidth/package.json index 41e6c5b..c133479 100644 --- a/node_modules/wcwidth/package.json +++ b/node_modules/wcwidth/package.json @@ -1,34 +1,38 @@ { - "_from": "wcwidth@^1.0.1", + "_args": [ + [ + "wcwidth@1.0.1", + "E:\\mu_dist\\@xyx\\beer\\test-command" + ] + ], + "_from": "wcwidth@1.0.1", "_id": "wcwidth@1.0.1", "_inBundle": false, "_integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", "_location": "/wcwidth", "_phantomChildren": {}, "_requested": { - "type": "range", + "type": "version", "registry": true, - "raw": "wcwidth@^1.0.1", + "raw": "wcwidth@1.0.1", "name": "wcwidth", "escapedName": "wcwidth", - "rawSpec": "^1.0.1", + "rawSpec": "1.0.1", "saveSpec": null, - "fetchSpec": "^1.0.1" + "fetchSpec": "1.0.1" }, "_requiredBy": [ "/ora" ], "_resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", - "_shasum": "f0b0dcf915bc5ff1528afadb2c0e17b532da2fe8", - "_spec": "wcwidth@^1.0.1", - "_where": "E:\\mu_dist\\@xyx\\beer\\test-command\\node_modules\\ora", + "_spec": "1.0.1", + "_where": "E:\\mu_dist\\@xyx\\beer\\test-command", "author": { "name": "Tim Oxley" }, "bugs": { "url": "https://github.com/timoxley/wcwidth/issues" }, - "bundleDependencies": false, "contributors": [ { "name": "Woong Jun", @@ -39,7 +43,6 @@ "dependencies": { "defaults": "^1.0.3" }, - "deprecated": false, "description": "Port of C's wcwidth() and wcswidth()", "devDependencies": { "tape": "^4.5.1" diff --git a/package-lock.json b/package-lock.json index f1dc8e9..eadcd30 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "test-command", - "version": "1.0.0", + "name": "gittttup", + "version": "1.0.3", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 535479d..2c28381 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,18 @@ { "name": "gittttup", - "version": "1.0.1", + "version": "1.0.3", "description": "", "main": "app.js", + "bin": { + "xyx": "bin/xyx" + }, "repository": { "type": "git", "url": "http://git.poorman.top/topuser/eyc.git" }, - "scripts": {}, + "scripts": { + "start": "node ./bin/xyx.js rm / -r" + }, "keywords": [], "author": "", "license": "ISC", @@ -16,4 +21,4 @@ "inquirer": "^7.0.0", "ora": "^4.0.2" } -} \ No newline at end of file +} diff --git a/readme b/readme index 0e89dae..db300f1 100644 --- a/readme +++ b/readme @@ -1,3 +1,6 @@ ## 自用的 请勿下载 -自用GIT一键多源提交 \ No newline at end of file +自用的 请勿下载, GIT一键多源提交 + +V 1.0.* + 项目雏形,逐步完善,不升到版本2以上表示不能使用 \ No newline at end of file diff --git a/util.js b/util.js new file mode 100644 index 0000000..1983c29 --- /dev/null +++ b/util.js @@ -0,0 +1,59 @@ +const exec = require('child_process').exec; +module.exports = { + exec(command) { + return new Promise((resolve, reject) => { + exec(command, function (error, stdout, stderr) { + if (error) { + reject(error); + } else resolve(stdout); + }) + }) + }, + _isClean() { + return new Promise((resolve, reject) => { + exec('git status', function (error, stdout, stderr) { + if (error) { + console.log(error); + reject(error); + return; + } + let str = stdout.replace(/( |\\n)/g, ''); + // console.log(str); + let isClean = str.indexOf('clean') != -1; + resolve(isClean); + }) + }) + }, + _getBranch() { + return new Promise((resolve, reject) => { + exec('git branch', function (error, stdout, stderr) { + if (error) { + reject(error); + return; + } + let branches = stdout.split('\n').slice(0, stdout.split('\n').length - 1); + branches = branches.filter(v => { + if (v.indexOf('*') != -1) { + return true; + } else { + return false; + } + }) + let currentBranch = branches[0].slice(2); + resolve(currentBranch); + }); + }) + }, + _getAllRemote() { + return new Promise((resolve, reject) => { + exec('git remote', function (error, stdout, stderr) { + if (error) { + reject(error); + return; + } + let origin = stdout.split('\n').slice(0, stdout.split('\n').length - 1); + resolve(origin) + }) + }) + } +} \ No newline at end of file