diff --git a/package.json b/package.json index 25284ed..f4f6e6f 100644 --- a/package.json +++ b/package.json @@ -7,14 +7,14 @@ "bugs": "https://github.com/oclif/oclif/issues", "dependencies": { "@oclif/command": "^1.5.0", - "@oclif/config": "^1.7.2", + "@oclif/config": "^1.7.6", "@oclif/errors": "^1.2.0", "@oclif/fixpack": "^2.3.0", - "@oclif/plugin-help": "^2.1.0", + "@oclif/plugin-help": "^2.1.2", "@oclif/plugin-not-found": "^1.2.0", "@oclif/plugin-warn-if-update-available": "^1.5.2", - "debug": "^3.1.0", - "lodash": "^4.17.10", + "debug": "^4.0.1", + "lodash": "^4.17.11", "nps-utils": "^1.7.0", "sort-pjson": "^1.0.3", "tslib": "^1.9.3", @@ -23,18 +23,18 @@ "yosay": "^2.0.2" }, "devDependencies": { - "@oclif/dev-cli": "^1.17.0", - "@oclif/tslint": "^2.0.0", + "@oclif/dev-cli": "^1.18.0", + "@oclif/tslint": "^3.1.0", "@types/lodash": "^4.14.116", "@types/read-pkg": "^3.0.0", "@types/shelljs": "^0.8.0", "@types/yeoman-generator": "^2.0.3", "@types/yosay": "^0.0.29", "chai": "^4.1.2", - "eslint": "^5.4.0", - "eslint-config-oclif": "^3.0.0", + "eslint": "^5.5.0", + "eslint-config-oclif": "^3.1.0", "execa": "^1.0.0", - "fancy-test": "^1.3.0", + "fancy-test": "^1.4.1", "fs-extra": "^7.0.0", "globby": "^8.0.1", "mocha": "^5.2.0", @@ -44,7 +44,7 @@ "tmp": "^0.0.33", "ts-node": "^7.0.1", "tslint": "^5.11.0", - "typescript": "^3.0.1" + "typescript": "^3.0.3" }, "engines": { "node": ">=8.0.0" diff --git a/scripts/release-example.js b/scripts/release-example.js index 3f6c5e4..9a72e65 100644 --- a/scripts/release-example.js +++ b/scripts/release-example.js @@ -55,8 +55,8 @@ module.exports = (_, options) => { try { execa.sync('git', ['commit', '-m', `${releaseType === 'patch' ? 'fix' : 'feat'}: oclif v${version}\n\n${notes}`], {stdio: 'inherit'}) sh.exec('git push') - } catch (err) { - console.error(err) + } catch (error) { + console.error(error) } sh.popd() }) diff --git a/src/generators/app.ts b/src/generators/app.ts index f92be6c..171997a 100644 --- a/src/generators/app.ts +++ b/src/generators/app.ts @@ -112,14 +112,14 @@ class App extends Generator { async prompting() { let msg switch (this.type) { - case 'single': - msg = 'Time to build a single-command CLI with oclif!' - break - case 'multi': - msg = 'Time to build a multi-command CLI with oclif!' - break - default: - msg = `Time to build a oclif ${this.type}!` + case 'single': + msg = 'Time to build a single-command CLI with oclif!' + break + case 'multi': + msg = 'Time to build a multi-command CLI with oclif!' + break + default: + msg = `Time to build a oclif ${this.type}!` } this.log(yosay(`${msg} Version: ${version}`)) @@ -321,15 +321,15 @@ class App extends Generator { this.sourceRoot(path.join(__dirname, '../../templates')) switch (this.type) { - case 'multi': - case 'plugin': - this.pjson.oclif = { - commands: `./${this.ts ? 'lib' : 'src'}/commands`, + case 'multi': + case 'plugin': + this.pjson.oclif = { + commands: `./${this.ts ? 'lib' : 'src'}/commands`, // hooks: {init: `./${this.ts ? 'lib' : 'src'}/hooks/init`}, - ...this.pjson.oclif, - } - break - default: + ...this.pjson.oclif, + } + break + default: } if (this.type === 'plugin' && !this.pjson.oclif.devPlugins) { this.pjson.oclif.devPlugins = [ @@ -394,17 +394,17 @@ class App extends Generator { this.fs.write(this.destinationPath('.gitignore'), this._gitignore()) switch (this.type) { - case 'single': - this._writeSingle() - break - case 'plugin': - this._writePlugin() - break - case 'multi': - this._writeMulti() - break - default: - this._writeBase() + case 'single': + this._writeSingle() + break + case 'plugin': + this._writePlugin() + break + case 'multi': + this._writeMulti() + break + default: + this._writeBase() } } @@ -412,32 +412,32 @@ class App extends Generator { const dependencies: string[] = [] const devDependencies: string[] = [] switch (this.type) { - case 'base': break - case 'single': - dependencies.push( + case 'base': break + case 'single': + dependencies.push( '@oclif/config@^1', '@oclif/command@^1', '@oclif/plugin-help@^2', ) - break - case 'plugin': - dependencies.push( + break + case 'plugin': + dependencies.push( '@oclif/command@^1', '@oclif/config@^1', ) - devDependencies.push( + devDependencies.push( '@oclif/dev-cli@^1', '@oclif/plugin-help@^2', 'globby@^8', ) - break - case 'multi': - dependencies.push( + break + case 'multi': + dependencies.push( '@oclif/config@^1', '@oclif/command@^1', '@oclif/plugin-help@^2', ) - devDependencies.push( + devDependencies.push( '@oclif/dev-cli@^1', 'globby@^8', ) @@ -445,7 +445,7 @@ class App extends Generator { if (this.mocha) { devDependencies.push( 'mocha@^5', - 'nyc@^12', + 'nyc@^13', 'chai@^4', ) if (this.type !== 'base') devDependencies.push( @@ -465,14 +465,14 @@ class App extends Generator { ) if (this.tslint) { devDependencies.push( - '@oclif/tslint@^1', + '@oclif/tslint@^3', 'tslint@^5', ) } } else { devDependencies.push( - 'eslint@^5', - 'eslint-config-oclif@^3', + 'eslint@^5.5', + 'eslint-config-oclif@^3.1', ) } if (isWindows) devDependencies.push('rimraf') diff --git a/templates/test/command.test.ts.ejs b/templates/test/command.test.ts.ejs index 59ce251..da9ac2f 100644 --- a/templates/test/command.test.ts.ejs +++ b/templates/test/command.test.ts.ejs @@ -6,24 +6,24 @@ import cmd = require('../src') describe('<%- name %>', () => { test - .stdout() + .stdout() <%_ if (type === 'single') { _%> - .do(() => cmd.run([])) + .do(() => cmd.run([])) <%_ } else { _%> - .command(['<%- name %>']) + .command(['<%- name %>']) <%_ } _%> - .it('runs hello', ctx => { - expect(ctx.stdout).to.contain('hello world') - }) + .it('runs hello', ctx => { + expect(ctx.stdout).to.contain('hello world') + }) test - .stdout() + .stdout() <%_ if (type === 'single') { _%> - .do(() => cmd.run(['--name', 'jeff'])) + .do(() => cmd.run(['--name', 'jeff'])) <%_ } else { _%> - .command(['<%- name %>', '--name', 'jeff']) + .command(['<%- name %>', '--name', 'jeff']) <%_ } _%> - .it('runs hello --name jeff', ctx => { - expect(ctx.stdout).to.contain('hello jeff') - }) + .it('runs hello --name jeff', ctx => { + expect(ctx.stdout).to.contain('hello jeff') + }) }) diff --git a/templates/test/hook.test.ts.ejs b/templates/test/hook.test.ts.ejs index 28fb6c9..a5c6fad 100644 --- a/templates/test/hook.test.ts.ejs +++ b/templates/test/hook.test.ts.ejs @@ -2,8 +2,8 @@ import {expect, test} from '@oclif/test' describe('hooks', () => { test - .stdout() - .hook('init', {id: 'mycommand'}) - .do(output => expect(output.stdout).to.contain('example hook running mycommand')) - .it('shows a message') + .stdout() + .hook('init', {id: 'mycommand'}) + .do(output => expect(output.stdout).to.contain('example hook running mycommand')) + .it('shows a message') }) diff --git a/yarn.lock b/yarn.lock index 3773510..01386d9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,20 @@ # yarn lockfile v1 +"@babel/code-frame@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.0.0.tgz#06e2ab19bdb535385559aabb5ba59729482800f8" + dependencies: + "@babel/highlight" "^7.0.0" + +"@babel/highlight@^7.0.0": + version "7.0.0" + resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.0.0.tgz#f710c38c8d458e6dd9a201afb637fcb781ce99e4" + dependencies: + chalk "^2.0.0" + esutils "^2.0.2" + js-tokens "^4.0.0" + "@fimbul/bifrost@^0.11.0": version "0.11.0" resolved "https://registry.yarnpkg.com/@fimbul/bifrost/-/bifrost-0.11.0.tgz#83cacc21464198b12e3cc1c2204ae6c6d7afd158" @@ -27,8 +41,8 @@ glob-to-regexp "^0.3.0" "@nodelib/fs.stat@^1.0.1": - version "1.1.1" - resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.1.tgz#53f349bb986ab273d601175aa1b25a655ab90ee3" + version "1.1.2" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-1.1.2.tgz#54c5a964462be3d4d78af631363c18d6fa91ac26" "@oclif/color@^0.0.0": version "0.0.0" @@ -47,22 +61,22 @@ debug "^3.1.0" semver "^5.5.0" -"@oclif/config@^1.7.0", "@oclif/config@^1.7.2": - version "1.7.2" - resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.7.2.tgz#2b474e47fd46aea2ff2d2dcab2cef47fa39dbfcf" +"@oclif/config@^1.7.2", "@oclif/config@^1.7.4", "@oclif/config@^1.7.6": + version "1.7.6" + resolved "https://registry.yarnpkg.com/@oclif/config/-/config-1.7.6.tgz#849e5f79591c8dd29d99dd3aba0914b50e2c2e74" dependencies: - debug "^3.1.0" + debug "^4.0.1" tslib "^1.9.3" -"@oclif/dev-cli@^1.17.0": - version "1.17.0" - resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.17.0.tgz#b7af28a79f792f5981c43e104a667dfb5df28595" +"@oclif/dev-cli@^1.18.0": + version "1.18.0" + resolved "https://registry.yarnpkg.com/@oclif/dev-cli/-/dev-cli-1.18.0.tgz#729f8530dd183b2cbb9f92d6caee5ec5b490b5b5" dependencies: "@oclif/command" "^1.5.0" - "@oclif/config" "^1.7.0" + "@oclif/config" "^1.7.4" "@oclif/errors" "^1.2.0" - "@oclif/plugin-help" "^2.1.0" - cli-ux "^4.8.0" + "@oclif/plugin-help" "^2.1.1" + cli-ux "^4.8.1" debug "^3.1.0" fs-extra "^7.0.0" lodash "^4.17.10" @@ -94,24 +108,25 @@ resolved "https://registry.yarnpkg.com/@oclif/linewrap/-/linewrap-1.0.0.tgz#aedcb64b479d4db7be24196384897b5000901d91" "@oclif/parser@^3.6.0": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.6.0.tgz#8d0b4c3e012aa1f0d59a6936b3dedec318b11a6d" + version "3.6.1" + resolved "https://registry.yarnpkg.com/@oclif/parser/-/parser-3.6.1.tgz#dd0ad29d9178d75a2de30314874a6167675925ed" dependencies: "@oclif/linewrap" "^1.0.0" chalk "^2.4.1" tslib "^1.9.3" -"@oclif/plugin-help@^2.1.0": - version "2.1.0" - resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.1.0.tgz#eb0748904558b8e379416ab3ef7bbefed2151348" +"@oclif/plugin-help@^2.1.1", "@oclif/plugin-help@^2.1.2": + version "2.1.2" + resolved "https://registry.yarnpkg.com/@oclif/plugin-help/-/plugin-help-2.1.2.tgz#b6639e95157f563225a29b4329ce62e2e162afe9" dependencies: "@oclif/command" "^1.5.0" chalk "^2.4.1" indent-string "^3.2.0" lodash.template "^4.4.0" string-width "^2.1.1" + strip-ansi "^4.0.0" widest-line "^2.0.0" - wrap-ansi "^3.0.1" + wrap-ansi "^4.0.0" "@oclif/plugin-not-found@^1.2.0": version "1.2.0" @@ -140,10 +155,11 @@ version "1.0.2" resolved "https://registry.yarnpkg.com/@oclif/screen/-/screen-1.0.2.tgz#c9d7c84b0ea60ecec8dd7a9b22c012ba9967aed8" -"@oclif/tslint@^2.0.0": - version "2.0.0" - resolved "https://registry.yarnpkg.com/@oclif/tslint/-/tslint-2.0.0.tgz#6eb3a43cc288e0e8d84bc0808c3fbcba00d00ea6" +"@oclif/tslint@^3.1.0": + version "3.1.0" + resolved "https://registry.yarnpkg.com/@oclif/tslint/-/tslint-3.1.0.tgz#4beea4ddeeb9e8964f4c9d15d25349db799311a6" dependencies: + tslint-eslint-rules "^5.4.0" tslint-xo "^0.9.0" "@types/chai@^4.1.4": @@ -187,9 +203,9 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^10.7.1": - version "10.9.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-10.9.3.tgz#85f288502503ade0b3bfc049fe1777b05d0327d5" +"@types/node@*", "@types/node@^10.9.4": + version "10.9.4" + resolved "https://registry.yarnpkg.com/@types/node/-/node-10.9.4.tgz#0f4cb2dc7c1de6096055357f70179043c33e9897" "@types/normalize-package-data@*": version "2.4.0" @@ -296,7 +312,7 @@ "@types/glob" "*" "@types/node" "*" -"@types/sinon@^5.0.1": +"@types/sinon@^5.0.2": version "5.0.2" resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-5.0.2.tgz#7a9d64df40b26dd48d673f745addc2fdb2bda193" @@ -324,14 +340,14 @@ acorn-jsx@^4.1.1: acorn "^5.0.3" acorn@^5.0.3, acorn@^5.6.0: - version "5.7.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.2.tgz#91fa871883485d06708800318404e72bfb26dcc5" + version "5.7.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.7.3.tgz#67aa231bf8812974b85235a96771eb6bd07ea279" ajv-keywords@^3.0.0: version "3.2.0" resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-3.2.0.tgz#e86b819c602cf8821ad637413698f1dec021847a" -ajv@^6.0.1, ajv@^6.5.0: +ajv@^6.0.1, ajv@^6.5.3: version "6.5.3" resolved "https://registry.yarnpkg.com/ajv/-/ajv-6.5.3.tgz#71a569d189ecf4f4f321224fecb166f071dd90f9" dependencies: @@ -363,7 +379,7 @@ ansi-styles@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" -ansi-styles@^3.0.0, ansi-styles@^3.2.1: +ansi-styles@^3.0.0, ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" dependencies: @@ -439,7 +455,7 @@ atob@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9" -babel-code-frame@^6.22.0, babel-code-frame@^6.26.0: +babel-code-frame@^6.22.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" dependencies: @@ -602,13 +618,9 @@ chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.3.0, chalk@^2.4.1: escape-string-regexp "^1.0.5" supports-color "^5.3.0" -chardet@^0.4.0: - version "0.4.2" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" - -chardet@^0.5.0: - version "0.5.0" - resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.5.0.tgz#fe3ac73c00c3d865ffcc02a0682e2c20b6a06029" +chardet@^0.7.0: + version "0.7.0" + resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.7.0.tgz#90094849f0937f2eedc2425d0d28a9e5f0cbad9e" check-error@^1.0.1: version "1.0.2" @@ -657,13 +669,14 @@ cli-table@^0.3.1: dependencies: colors "1.0.3" -cli-ux@^4.7.3, cli-ux@^4.8.0: - version "4.8.1" - resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-4.8.1.tgz#aaaf3d9f0d48310955a208467800325fdeb67b7f" +cli-ux@^4.7.3, cli-ux@^4.8.1: + version "4.8.2" + resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-4.8.2.tgz#6be3c966919727106fba875de1dc771b2567de1d" dependencies: "@oclif/errors" "^1.2.0" "@oclif/linewrap" "^1.0.0" "@oclif/screen" "^1.0.2" + ansi-escapes "^3.1.0" ansi-styles "^3.2.1" cardinal "^2.1.1" chalk "^2.4.1" @@ -673,7 +686,7 @@ cli-ux@^4.7.3, cli-ux@^4.8.0: hyperlinker "^1.0.0" indent-string "^3.2.0" is-wsl "^1.1.0" - lodash "^4.17.10" + lodash "^4.17.11" password-prompt "^1.0.7" semver "^5.5.1" strip-ansi "^4.0.0" @@ -751,15 +764,15 @@ colors@1.0.3: commander@2.15.1: version "2.15.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" + resolved "http://registry.npmjs.org/commander/-/commander-2.15.1.tgz#df46e867d0fc2aec66a34662b406a9ccafff5b0f" commander@2.6.0: version "2.6.0" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" + resolved "http://registry.npmjs.org/commander/-/commander-2.6.0.tgz#9df7e52fb2a0cb0fb89058ee80c3104225f37e1d" commander@^2.12.1: - version "2.17.1" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf" + version "2.18.0" + resolved "https://registry.yarnpkg.com/commander/-/commander-2.18.0.tgz#2bf063ddee7c7891176981a2cc798e5754bc6970" common-tags@^1.4.0: version "1.8.0" @@ -876,7 +889,7 @@ dateformat@^3.0.3: version "3.0.3" resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-3.0.3.tgz#a6e37499a4d9a9cf85ef5872044d62901c9889ae" -debug@3.1.0, debug@^3.1.0: +debug@3.1.0: version "3.1.0" resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" dependencies: @@ -888,6 +901,18 @@ debug@^2.2.0, debug@^2.3.3: dependencies: ms "2.0.0" +debug@^3.1.0: + version "3.2.5" + resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.5.tgz#c2418fbfd7a29f4d4f70ff4cea604d4b64c46407" + dependencies: + ms "^2.1.1" + +debug@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.0.1.tgz#f9bb36d439b8d1f0dd52d8fb6b46e4ebb8c1cd5b" + dependencies: + ms "^2.1.1" + decamelize@^1.1.1, decamelize@^1.1.2: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" @@ -983,9 +1008,9 @@ duplexer3@^0.1.4: version "0.1.4" resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" -duplexer@~0.1.1: +duplexer@^0.1.1, duplexer@~0.1.1: version "0.1.1" - resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" + resolved "http://registry.npmjs.org/duplexer/-/duplexer-0.1.1.tgz#ace6ff808c1ce66b57d1ebf97977acb02334cfc1" editions@^1.3.3: version "1.3.4" @@ -1025,14 +1050,14 @@ eslint-ast-utils@^1.0.0: lodash.get "^4.4.2" lodash.zip "^4.2.0" -eslint-config-oclif@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/eslint-config-oclif/-/eslint-config-oclif-3.0.0.tgz#766bc14c51b4ca4973acf66d719df8c7c71dd700" +eslint-config-oclif@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/eslint-config-oclif/-/eslint-config-oclif-3.1.0.tgz#cbc207ced09e31676dcee2f724fc509cd20eb0bd" dependencies: eslint-config-xo-space "^0.20.0" eslint-plugin-mocha "^5.2.0" eslint-plugin-node "^7.0.1" - eslint-plugin-unicorn "^5.0.0" + eslint-plugin-unicorn "^6.0.1" eslint-config-xo-space@^0.20.0: version "0.20.0" @@ -1068,9 +1093,9 @@ eslint-plugin-node@^7.0.1: resolve "^1.8.1" semver "^5.5.0" -eslint-plugin-unicorn@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-5.0.0.tgz#3cd37e9202892c4f819c3ce76dcbcae415c84b1d" +eslint-plugin-unicorn@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-unicorn/-/eslint-plugin-unicorn-6.0.1.tgz#4a97f0bc9449e20b82848dad12094ee2ba72347e" dependencies: clean-regexp "^1.0.0" eslint-ast-utils "^1.0.0" @@ -1096,12 +1121,12 @@ eslint-visitor-keys@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz#3f3180fb2e291017716acb4c9d6d5b5c34a6a81d" -eslint@^5.4.0: - version "5.4.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.4.0.tgz#d068ec03006bb9e06b429dc85f7e46c1b69fac62" +eslint@^5.5.0: + version "5.5.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-5.5.0.tgz#8557fcceab5141a8197da9ffd9904f89f64425c6" dependencies: - ajv "^6.5.0" - babel-code-frame "^6.26.0" + "@babel/code-frame" "^7.0.0" + ajv "^6.5.3" chalk "^2.1.0" cross-spawn "^6.0.5" debug "^3.1.0" @@ -1116,11 +1141,11 @@ eslint@^5.4.0: functional-red-black-tree "^1.0.1" glob "^7.1.2" globals "^11.7.0" - ignore "^4.0.2" + ignore "^4.0.6" imurmurhash "^0.1.4" - inquirer "^5.2.0" + inquirer "^6.1.0" is-resolvable "^1.1.0" - js-yaml "^3.11.0" + js-yaml "^3.12.0" json-stable-stringify-without-jsonify "^1.0.1" levn "^0.3.0" lodash "^4.17.5" @@ -1133,7 +1158,7 @@ eslint@^5.4.0: progress "^2.0.0" regexpp "^2.0.0" require-uncached "^1.0.3" - semver "^5.5.0" + semver "^5.5.1" strip-ansi "^4.0.0" strip-json-comments "^2.0.1" table "^4.0.3" @@ -1183,16 +1208,17 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" event-stream@~3.3.0: - version "3.3.4" - resolved "http://registry.npmjs.org/event-stream/-/event-stream-3.3.4.tgz#4ab4c9a0f5a54db9338b4c34d86bfce8f4b35571" - dependencies: - duplexer "~0.1.1" - from "~0" - map-stream "~0.1.0" - pause-stream "0.0.11" - split "0.3" - stream-combiner "~0.0.4" - through "~2.3.1" + version "3.3.6" + resolved "https://registry.yarnpkg.com/event-stream/-/event-stream-3.3.6.tgz#cac1230890e07e73ec9cacd038f60a5b66173eef" + dependencies: + duplexer "^0.1.1" + flatmap-stream "^0.1.0" + from "^0.1.7" + map-stream "0.0.7" + pause-stream "^0.0.11" + split "^1.0.1" + stream-combiner "^0.2.2" + through "^2.3.8" execa@^0.10.0: version "0.10.0" @@ -1259,20 +1285,12 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -external-editor@^2.1.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.2.0.tgz#045511cfd8d133f3846673d1047c154e214ad3d5" - dependencies: - chardet "^0.4.0" - iconv-lite "^0.4.17" - tmp "^0.0.33" - external-editor@^3.0.0: - version "3.0.1" - resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.0.1.tgz#fc9638c4d7cde4f0bb82b12307a1a23912c492e3" + version "3.0.3" + resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-3.0.3.tgz#5866db29a97826dbe4bf3afd24070ead9ea43a27" dependencies: - chardet "^0.5.0" - iconv-lite "^0.4.22" + chardet "^0.7.0" + iconv-lite "^0.4.24" tmp "^0.0.33" extglob@^2.0.4: @@ -1292,17 +1310,17 @@ extract-stack@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/extract-stack/-/extract-stack-1.0.0.tgz#b97acaf9441eea2332529624b732fc5a1c8165fa" -fancy-test@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-1.3.0.tgz#014b63b5be0dd2dde602ec677cec443f34578f37" +fancy-test@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-1.4.1.tgz#c87267e01c71185ef4cd5a9cf508eb7e3adbdc94" dependencies: "@types/chai" "^4.1.4" "@types/lodash" "^4.14.116" "@types/mocha" "^5.2.5" "@types/nock" "^9.3.0" - "@types/node" "^10.7.1" - "@types/sinon" "^5.0.1" - lodash "^4.17.10" + "@types/node" "^10.9.4" + "@types/sinon" "^5.0.2" + lodash "^4.17.11" mock-stdin "^0.3.1" stdout-stderr "^0.1.9" @@ -1389,6 +1407,10 @@ flat-cache@^1.2.1: graceful-fs "^4.1.2" write "^0.2.1" +flatmap-stream@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/flatmap-stream/-/flatmap-stream-0.1.0.tgz#ed54e01422cd29281800914fcb968d58b685d5f1" + for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" @@ -1399,7 +1421,7 @@ fragment-cache@^0.2.1: dependencies: map-cache "^0.2.2" -from@~0: +from@^0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/from/-/from-0.1.7.tgz#83c60afc58b9c56997007ed1a768b3ab303a44fe" @@ -1665,7 +1687,7 @@ hyperlinker@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/hyperlinker/-/hyperlinker-1.0.0.tgz#23dc9e38a206b208ee49bc2d6c8ef47027df0c0e" -iconv-lite@^0.4.17, iconv-lite@^0.4.22: +iconv-lite@^0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" dependencies: @@ -1675,7 +1697,7 @@ ignore@^3.3.5: version "3.3.10" resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.10.tgz#0a97fb876986e8081c631160f8f9f389157f0043" -ignore@^4.0.2: +ignore@^4.0.2, ignore@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" @@ -1712,25 +1734,7 @@ ini@~1.3.0: version "1.3.5" resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" -inquirer@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-5.2.0.tgz#db350c2b73daca77ff1243962e9f22f099685726" - dependencies: - ansi-escapes "^3.0.0" - chalk "^2.0.0" - cli-cursor "^2.1.0" - cli-width "^2.0.0" - external-editor "^2.1.0" - figures "^2.0.0" - lodash "^4.3.0" - mute-stream "0.0.7" - run-async "^2.2.0" - rxjs "^5.5.2" - string-width "^2.1.0" - strip-ansi "^4.0.0" - through "^2.3.6" - -inquirer@^6.0.0: +inquirer@^6.0.0, inquirer@^6.1.0: version "6.2.0" resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-6.2.0.tgz#51adcd776f661369dc1e894859c2560a224abdd8" dependencies: @@ -1973,7 +1977,11 @@ js-tokens@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" -js-yaml@^3.11.0, js-yaml@^3.7.0, js-yaml@^3.9.0: +js-tokens@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" + +js-yaml@^3.12.0, js-yaml@^3.7.0, js-yaml@^3.9.0: version "3.12.0" resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.12.0.tgz#eaed656ec8344f10f527c6bfa1b6e2244de167d1" dependencies: @@ -2123,9 +2131,9 @@ lodash.zip@^4.2.0: version "4.2.0" resolved "https://registry.yarnpkg.com/lodash.zip/-/lodash.zip-4.2.0.tgz#ec6662e4896408ed4ab6c542a3990b72cc080020" -lodash@^4.17.10, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@^4.5.1: - version "4.17.10" - resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.10.tgz#1b7793cf7259ea38fb3661d4d38b3260af8ae4e7" +lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.2, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.5.1: + version "4.17.11" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" log-symbols@^2.2.0: version "2.2.0" @@ -2158,8 +2166,8 @@ make-dir@^1.0.0, make-dir@^1.1.0: pify "^3.0.0" make-error@^1.1.1: - version "1.3.4" - resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.4.tgz#19978ed575f9e9545d2ff8c13e33b5d18a67d535" + version "1.3.5" + resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.5.tgz#efe4e81f6db28cadd605c70f29c831b58ef776c8" manage-path@^2.0.0: version "2.0.0" @@ -2173,9 +2181,9 @@ map-obj@^1.0.0, map-obj@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" -map-stream@~0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194" +map-stream@0.0.7: + version "0.0.7" + resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.0.7.tgz#8a1f07896d82b10926bd3744a2420009f88974a8" map-visit@^1.0.0: version "1.0.0" @@ -2266,11 +2274,11 @@ mimic-response@^1.0.0: minimist@0.0.8: version "0.0.8" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" + resolved "http://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" minimist@^1.1.0, minimist@^1.1.3, minimist@^1.2.0: version "1.2.0" - resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" + resolved "http://registry.npmjs.org/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" mixin-deep@^1.2.0: version "1.3.1" @@ -2309,6 +2317,10 @@ ms@2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" +ms@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.1.tgz#30a5864eb3ebb0a66f2ebe6d727af06a09d86e0a" + multimatch@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/multimatch/-/multimatch-2.1.0.tgz#9c7906a22fb4c02919e2f5f75161b4cdbd4b2a2b" @@ -2611,9 +2623,9 @@ pathval@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" -pause-stream@0.0.11: +pause-stream@^0.0.11: version "0.0.11" - resolved "https://registry.yarnpkg.com/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" + resolved "http://registry.npmjs.org/pause-stream/-/pause-stream-0.0.11.tgz#fe5a34b0cbce12b5aa6a2b403ee2e73b602f1445" dependencies: through "~2.3" @@ -2789,7 +2801,7 @@ read-pkg@^3.0.0: readable-stream@^2.0.2, readable-stream@^2.1.4, readable-stream@^2.1.5, readable-stream@^2.3.0, readable-stream@^2.3.5: version "2.3.6" - resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" + resolved "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz#b11c27d88b8ff1fbe070643cf94b0c79ae1b0aaf" dependencies: core-util-is "~1.0.0" inherits "~2.0.3" @@ -2919,15 +2931,9 @@ rx@2.3.24: version "2.3.24" resolved "https://registry.yarnpkg.com/rx/-/rx-2.3.24.tgz#14f950a4217d7e35daa71bbcbe58eff68ea4b2b7" -rxjs@^5.5.2: - version "5.5.11" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-5.5.11.tgz#f733027ca43e3bec6b994473be4ab98ad43ced87" - dependencies: - symbol-observable "1.0.1" - rxjs@^6.1.0: - version "6.2.2" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.2.2.tgz#eb75fa3c186ff5289907d06483a77884586e1cf9" + version "6.3.2" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.3.2.tgz#6a688b16c4e6e980e62ea805ec30648e1c60907f" dependencies: tslib "^1.9.0" @@ -3105,8 +3111,8 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.0.tgz#7a7cd28470cc6d3a1cfe6d66886f6bc430d3ac87" + version "3.0.1" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.1.tgz#e2a303236cac54b04031fa7a5a79c7e701df852f" split-string@^3.0.1, split-string@^3.0.2: version "3.1.0" @@ -3114,9 +3120,9 @@ split-string@^3.0.1, split-string@^3.0.2: dependencies: extend-shallow "^3.0.0" -split@0.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/split/-/split-0.3.3.tgz#cd0eea5e63a211dfff7eb0f091c4133e2d0dd28f" +split@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" dependencies: through "2" @@ -3142,11 +3148,12 @@ stdout-stderr@^0.1.9: debug "^3.1.0" strip-ansi "^4.0.0" -stream-combiner@~0.0.4: - version "0.0.4" - resolved "https://registry.yarnpkg.com/stream-combiner/-/stream-combiner-0.0.4.tgz#4d5e433c185261dde623ca3f44c586bcf5c4ad14" +stream-combiner@^0.2.2: + version "0.2.2" + resolved "http://registry.npmjs.org/stream-combiner/-/stream-combiner-0.2.2.tgz#aec8cbac177b56b6f4fa479ced8c1912cee52858" dependencies: duplexer "~0.1.1" + through "~2.3.4" string-template@~0.2.1: version "0.2.1" @@ -3245,13 +3252,9 @@ supports-hyperlinks@^1.0.1: has-flag "^2.0.0" supports-color "^5.0.0" -symbol-observable@1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.1.tgz#8340fc4702c3122df5d22288f88283f513d3fdd4" - table@^4.0.3: version "4.0.3" - resolved "https://registry.yarnpkg.com/table/-/table-4.0.3.tgz#00b5e2b602f1794b9acaf9ca908a76386a7813bc" + resolved "http://registry.npmjs.org/table/-/table-4.0.3.tgz#00b5e2b602f1794b9acaf9ca908a76386a7813bc" dependencies: ajv "^6.0.1" ajv-keywords "^3.0.0" @@ -3314,9 +3317,9 @@ through2@^2.0.0: readable-stream "^2.1.5" xtend "~4.0.1" -through@2, through@^2.3.6, through@~2.3, through@~2.3.1: +through@2, through@^2.3.6, through@^2.3.8, through@~2.3, through@~2.3.4: version "2.3.8" - resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" + resolved "http://registry.npmjs.org/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" timed-out@^4.0.0: version "4.0.1" @@ -3391,7 +3394,7 @@ tslint-consistent-codestyle@^1.11.0: tslib "^1.7.1" tsutils "^2.27.0" -tslint-eslint-rules@^5.3.1: +tslint-eslint-rules@^5.3.1, tslint-eslint-rules@^5.4.0: version "5.4.0" resolved "https://registry.yarnpkg.com/tslint-eslint-rules/-/tslint-eslint-rules-5.4.0.tgz#e488cc9181bf193fe5cd7bfca213a7695f1737b5" dependencies: @@ -3464,9 +3467,9 @@ type-detect@^4.0.0, type-detect@^4.0.3: version "4.0.8" resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" -typescript@^3.0.1: - version "3.0.1" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.1.tgz#43738f29585d3a87575520a4b93ab6026ef11fdb" +typescript@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.3.tgz#4853b3e275ecdaa27f78fda46dc273a7eb7fc1c8" union-value@^1.0.0: version "1.0.0" @@ -3583,7 +3586,7 @@ wordwrap@~1.0.0: wrap-ansi@^2.0.0: version "2.1.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" + resolved "http://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz#d8fc3d284dd05794fe84973caecdd1cf824fdd85" dependencies: string-width "^1.0.1" strip-ansi "^3.0.1" @@ -3595,6 +3598,14 @@ wrap-ansi@^3.0.1: string-width "^2.1.1" strip-ansi "^4.0.0" +wrap-ansi@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-4.0.0.tgz#b3570d7c70156159a2d42be5cc942e957f7b1131" + dependencies: + ansi-styles "^3.2.0" + string-width "^2.1.1" + strip-ansi "^4.0.0" + wrappy@1: version "1.0.2" resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f"