Permalink
Browse files

bump some version deps

Fixes #1096
  • Loading branch information...
starpit committed Sep 16, 2018
1 parent bada084 commit 91bb5abcd9e7970a47043f84cf1b25b2d643823a
Showing with 4,516 additions and 1,460 deletions.
  1. +14 −21 app/headless.js
  2. +3 −3 app/plugins/package.json
  3. +143 −272 package-lock.json
  4. +1 −2 package.json
  5. +4,355 −1,162 tests/package-lock.json
View
@@ -225,30 +225,23 @@ function mimicDom(app, { createWindow }, localStorage) {
global.plugins = grequire('plugins')
global.repl = grequire('repl')
global.repl.prompt = (msg, block, nextBlock, options, completion) => new Promise((resolve, reject) => {
const { prompt } = require('inquirer')
const schema = []
schema.push({
name: msg,
message: msg,
type: options.type
})
global.repl.prompt = (msg, block, nextBlock, options, completion) => new Promise((resolve, reject) => {
const prompt = require('readline').createInterface({ input: process.stdin, output: process.stdout })
try {
prompt.question(`${msg} ${options.placeholder} `, answer => {
try {
prompt(schema)
.then(answers => {
try {
log('ok'.green)
return completion(Object.assign({}, options, { field: answers[msg] }))
.then(resolve)
.catch(reject);
} catch (err) {
failure(quit)(err); reject(err)
}
})
log('ok'.green)
return completion(Object.assign({}, options, { field: answer }))
.then(resolve)
.catch(reject)
} catch (err) {
failure(quit)(err); reject(err)
failure(quit)(err); reject(err)
}
})
})
} catch (err) {
failure(quit)(err); reject(err)
}
})
// quit immediately after discovering we don't have a wskprops
global.repl.setNoAuth = () => {
View
@@ -13,10 +13,10 @@
"@shell/composer": "git://github.com/ibm-functions/shell-composer-plugin",
"@shell/local": "git://github.com/ibm-functions/shell-local-plugin",
"@shell/wskflow": "git://github.com/ibm-functions/shell-wskflow-plugin",
"archiver": "^2.1.1",
"debug": "^3.1.0",
"archiver": "^3.0.0",
"debug": "^4.0.1",
"htmlparser2": "^3.9.2",
"js-beautify": "1.7.5",
"js-beautify": "1.8.6",
"openwhisk": "git://github.com/starpit/openwhisk-client-js.git#add_client_timeout3",
"parse-duration": "^0.1.1",
"promise-retry": "^1.1.1",
Oops, something went wrong.

0 comments on commit 91bb5ab

Please sign in to comment.