From b930f9d913b48981781e064317869f932e16730f Mon Sep 17 00:00:00 2001 From: Jeff Dickey <216188+jdxcode@users.noreply.github.com> Date: Fri, 26 Jan 2018 13:52:45 -0800 Subject: [PATCH] fix: updated fancy-test --- package.json | 12 +++--- src/index.ts | 11 ++---- yarn.lock | 105 +++++++++++++++++++++++++++++++++------------------ 3 files changed, 78 insertions(+), 50 deletions(-) diff --git a/package.json b/package.json index 02a32b5b..7ff20234 100644 --- a/package.json +++ b/package.json @@ -5,25 +5,25 @@ "author": "Jeff Dickey @jdxcode", "bugs": "https://github.com/dxcli/dev-test/issues", "dependencies": { - "fancy-test": "^0.3.6", + "fancy-test": "^0.3.9", "lodash": "^4.17.4" }, "devDependencies": { "@dxcli/dev-nyc-config": "^0.0.3", "@dxcli/dev-semantic-release": "^0.1.0", - "@dxcli/dev-tslint": "^0.0.15", - "@dxcli/engine": "^0.1.7", + "@dxcli/dev-tslint": "^0.0.17", + "@dxcli/engine": "^0.1.11", "@dxcli/version": "^0.1.5", "@types/chai": "^4.1.2", "@types/chai-as-promised": "^7.1.0", - "@types/lodash": "^4.14.96", + "@types/lodash": "^4.14.97", "@types/mocha": "^2.2.47", "@types/nock": "^9.1.2", - "@types/node": "^9.3.0", + "@types/node": "^9.4.0", "@types/read-pkg": "^3.0.0", "chai": "^4.1.2", "chai-as-promised": "^7.1.1", - "cli-ux": "^3.1.5", + "cli-ux": "^3.1.7", "eslint": "^4.16.0", "eslint-config-dxcli": "^1.1.4", "husky": "^0.14.3", diff --git a/src/index.ts b/src/index.ts index 3036afc8..f0a9cfcd 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import {Base, Context, EnvOptions, expect, Fancy, fancy, NockScope, Plugin} from 'fancy-test' +import {expect, fancy, FancyTypes, NockScope} from 'fancy-test' import command from './command' import exit from './exit' @@ -14,12 +14,9 @@ export const test = fancy export default test export { - Base, - Fancy, - Context, - EnvOptions, + expect, + + FancyTypes, NockScope, Options, - Plugin, - expect, } diff --git a/yarn.lock b/yarn.lock index e4c34afc..8417ef0d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -112,14 +112,15 @@ cli-ux "^3.1.3" debug "^3.1.0" -"@dxcli/command@^0.1.15": - version "0.1.15" - resolved "https://registry.yarnpkg.com/@dxcli/command/-/command-0.1.15.tgz#872e6f186f09f074a2195ec3dd475d8a4947a611" +"@dxcli/command@^0.1.17": + version "0.1.18" + resolved "https://registry.yarnpkg.com/@dxcli/command/-/command-0.1.18.tgz#922115807bd6c954577d1f8119e1f89c9428089d" dependencies: - "@dxcli/config" "^0.1.24" - "@dxcli/parser" "^0.0.4" - cli-ux "^3.1.5" + "@dxcli/config" "^0.1.26" + "@dxcli/parser" "^0.0.5" + cli-ux "^3.1.6" debug "^3.1.0" + tslib "^1.9.0" "@dxcli/config@^0.1.20": version "0.1.21" @@ -131,7 +132,7 @@ lodash "^4.17.4" read-pkg "^3.0.0" -"@dxcli/config@^0.1.22", "@dxcli/config@^0.1.24": +"@dxcli/config@^0.1.22": version "0.1.24" resolved "https://registry.yarnpkg.com/@dxcli/config/-/config-0.1.24.tgz#fc6d14f7c91b742bf3d0ca7c2974565a959471ae" dependencies: @@ -141,6 +142,16 @@ lodash "^4.17.4" read-pkg "^3.0.0" +"@dxcli/config@^0.1.26": + version "0.1.26" + resolved "https://registry.yarnpkg.com/@dxcli/config/-/config-0.1.26.tgz#36458424cb8cc9c1499659bbff3676fa7b0292da" + dependencies: + debug "^3.1.0" + fs-extra "^5.0.0" + load-json-file "^4.0.0" + lodash "^4.17.4" + read-pkg "^3.0.0" + "@dxcli/dev-commitmsg@^0.0.4": version "0.0.4" resolved "https://registry.yarnpkg.com/@dxcli/dev-commitmsg/-/dev-commitmsg-0.0.4.tgz#c26f6b5856aa50d91dd36adc18d0c48f3d0dfa61" @@ -165,37 +176,37 @@ "@semantic-release/npm" "^2.6.4" semantic-release "^12.2.2" -"@dxcli/dev-tslint@^0.0.15": - version "0.0.15" - resolved "https://registry.yarnpkg.com/@dxcli/dev-tslint/-/dev-tslint-0.0.15.tgz#54dbd49deccaaaf9dc590d83894415e3fab0b0ac" +"@dxcli/dev-tslint@^0.0.17": + version "0.0.17" + resolved "https://registry.yarnpkg.com/@dxcli/dev-tslint/-/dev-tslint-0.0.17.tgz#f20767b72188a0695e4b34ba50976e11502d3891" dependencies: tslint "^5.9.1" tslint-xo "^0.5.0" -"@dxcli/engine@^0.1.7": - version "0.1.7" - resolved "https://registry.yarnpkg.com/@dxcli/engine/-/engine-0.1.7.tgz#8ca419f6d0e2a9b52f916946451504a93b388959" +"@dxcli/engine@^0.1.11": + version "0.1.11" + resolved "https://registry.yarnpkg.com/@dxcli/engine/-/engine-0.1.11.tgz#64374249e165198688b7c086d504113683ec9e60" dependencies: - "@dxcli/command" "^0.1.15" - "@dxcli/config" "^0.1.24" - "@dxcli/loader" "^0.1.6" - cli-ux "^3.1.5" + "@dxcli/command" "^0.1.17" + "@dxcli/config" "^0.1.26" + "@dxcli/loader" "^0.2.4" + cli-ux "^3.1.6" debug "^3.1.0" -"@dxcli/loader@^0.1.6": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@dxcli/loader/-/loader-0.1.6.tgz#b0e1cb1bf12ca4f4252cb529b5a6dd18f2ed66bd" +"@dxcli/loader@^0.2.4": + version "0.2.4" + resolved "https://registry.yarnpkg.com/@dxcli/loader/-/loader-0.2.4.tgz#6413b149cc96248639eaf0dcfaa964dd6ff70104" dependencies: - "@dxcli/config" "^0.1.24" - "@dxcli/manifest-file" "^0.0.3" - cli-ux "^3.1.5" + "@dxcli/config" "^0.1.26" + "@dxcli/manifest-file" "^0.0.4" + cli-ux "^3.1.6" debug "^3.1.0" globby "^7.1.1" lodash "^4.17.4" -"@dxcli/manifest-file@^0.0.3": - version "0.0.3" - resolved "https://registry.yarnpkg.com/@dxcli/manifest-file/-/manifest-file-0.0.3.tgz#0bb44827b354e844f3276d4e38571104c2b8ecb2" +"@dxcli/manifest-file@^0.0.4": + version "0.0.4" + resolved "https://registry.yarnpkg.com/@dxcli/manifest-file/-/manifest-file-0.0.4.tgz#cc5f250f9baf59083ad9cc4693af61f08cc0daf2" dependencies: debug "^3.1.0" fs-extra "^5.0.0" @@ -211,9 +222,9 @@ chalk "^2.3.0" lodash "^4.17.4" -"@dxcli/parser@^0.0.4": - version "0.0.4" - resolved "https://registry.yarnpkg.com/@dxcli/parser/-/parser-0.0.4.tgz#dfef02cd90f252f0b772f99b13a1e13255ff9eda" +"@dxcli/parser@^0.0.5": + version "0.0.5" + resolved "https://registry.yarnpkg.com/@dxcli/parser/-/parser-0.0.5.tgz#51daf8133e8cec6ff21bfa464c4d58cd46b5ed99" dependencies: "@dxcli/screen" "^0.0.1" chalk "^2.3.0" @@ -357,9 +368,9 @@ version "4.1.2" resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.1.2.tgz#f1af664769cfb50af805431c407425ed619daa21" -"@types/lodash@^4.14.96": - version "4.14.96" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.96.tgz#49a402bb6984af7dd9a48cea3781744a3774bff1" +"@types/lodash@^4.14.97": + version "4.14.97" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.97.tgz#7262d6d5fc5e87cdb3f68eb33accd4024f2b211e" "@types/mocha@^2.2.47": version "2.2.47" @@ -371,10 +382,14 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^9.3.0": +"@types/node@*": version "9.3.0" resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5" +"@types/node@^9.4.0": + version "9.4.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.4.0.tgz#b85a0bcf1e1cc84eb4901b7e96966aedc6f078d1" + "@types/normalize-package-data@*": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -967,6 +982,22 @@ cli-ux@^3.1.5: strip-ansi "^4.0.0" supports-color "^5.1.0" +cli-ux@^3.1.6, cli-ux@^3.1.7: + version "3.1.7" + resolved "https://registry.yarnpkg.com/cli-ux/-/cli-ux-3.1.7.tgz#b75194465c9edbcc7be3bcd24acc6fed1b39874c" + dependencies: + "@dxcli/screen" "^0.0.1" + "@heroku/linewrap" "^1.0.0" + ansi-styles "^3.2.0" + cardinal "^1.0.0" + chalk "^2.3.0" + fs-extra "^5.0.0" + lodash "^4.17.4" + password-prompt "^1.0.4" + semver "^5.5.0" + strip-ansi "^4.0.0" + supports-color "^5.1.0" + cli-width@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" @@ -1743,9 +1774,9 @@ extsprintf@^1.2.0: version "1.4.0" resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" -fancy-test@^0.3.6: - version "0.3.6" - resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.3.6.tgz#bd967ffadb4fd890d033b0b6530c17466b24b3ec" +fancy-test@^0.3.9: + version "0.3.9" + resolved "https://registry.yarnpkg.com/fancy-test/-/fancy-test-0.3.9.tgz#1ab7b73a6a9d4b733623339dd4d2f5258a78cab9" dependencies: lodash "^4.17.4" stdout-stderr "^0.1.4" @@ -4511,7 +4542,7 @@ tsconfig@^7.0.0: strip-bom "^3.0.0" strip-json-comments "^2.0.0" -tslib@^1.0.0, tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1: +tslib@^1.0.0, tslib@^1.7.1, tslib@^1.8.0, tslib@^1.8.1, tslib@^1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.0.tgz#e37a86fda8cbbaf23a057f473c9f4dc64e5fc2e8"