From c089eb11b829433a30338ce371426be93e56ca5f Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Wed, 6 Nov 2019 15:13:38 +0000 Subject: [PATCH] upgrade test-runner --- package-lock.json | 518 +++++++++++++++++++++++++++------------------ package.json | 10 +- test/api.js | 2 +- test/cli.js | 2 +- test/sequential.js | 2 +- 5 files changed, 318 insertions(+), 216 deletions(-) diff --git a/package-lock.json b/package-lock.json index 72c399a..d5ddea8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -145,12 +145,29 @@ } }, "@test-runner/default-view": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@test-runner/default-view/-/default-view-0.2.3.tgz", - "integrity": "sha512-vAHwr/h9WX+fZvXiyYWZIFWADOQApxOoJ+OI0t+7j47z1AMBNraV6xzVgMZZb8Dg1YY+vyTMb/l55rLd2O94Jw==", + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@test-runner/default-view/-/default-view-0.3.0.tgz", + "integrity": "sha512-BtoqhhEpbqEKKcZl1qcUScw345FeRpkTVvdChpVbzFvAgx8terGr3A/v+hUP/Vm97e6+AWdeAckj0nmiVcxTGg==", "dev": true, "requires": { - "ansi-escape-sequences": "^4.1.0" + "ansi-escape-sequences": "^5.0.0" + }, + "dependencies": { + "ansi-escape-sequences": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-escape-sequences/-/ansi-escape-sequences-5.0.0.tgz", + "integrity": "sha512-ZUZPHW7xw3KVbqYXYiXIxF+AEoDQtGmbQcyQVW1sZQ4DoS0RM4iwfIMDIwToFPtR2wk031Rv7Mnb26N4QApIqA==", + "dev": true, + "requires": { + "array-back": "^4.0.0" + } + }, + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==", + "dev": true + } } }, "JSONStream": { @@ -309,9 +326,9 @@ } }, "bluebird": { - "version": "3.5.5", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.5.5.tgz", - "integrity": "sha512-5am6HnnfN+urzt4yfg7IgTbotDjIT/u8AJpEt0sIU9FtXfVeezXAPKswrG+xKUCOYAINpSdgZVDU6QFh+cuH3w==", + "version": "3.7.1", + "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.1.tgz", + "integrity": "sha512-DdmyoGCleJnkbp3nkbxTLJ18rjDsE4yCggEwKNXkeV123sPNfOCYeDoeuOY+F2FrSjO1YXcTU+dsy96KMy+gcg==", "dev": true }, "brace-expansion": { @@ -563,14 +580,21 @@ } }, "command-line-usage": { - "version": "6.0.2", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.0.2.tgz", - "integrity": "sha512-Jr9RQM43qWDwpRJOa0lgZw0LhiU8tgOqoR+xxIcb3eT5vFZi69fBWUODMSBtGUYI1qTlElPl3txFQY6rChVuXQ==", + "version": "6.1.0", + "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.1.0.tgz", + "integrity": "sha512-Ew1clU4pkUeo6AFVDFxCbnN7GIZfXl48HIOQeFQnkO3oOqvpI7wdqtLRwv9iOCZ/7A+z4csVZeiDdEcj8g6Wiw==", "requires": { - "array-back": "^3.1.0", + "array-back": "^4.0.0", "chalk": "^2.4.2", "table-layout": "^1.0.0", - "typical": "^5.1.0" + "typical": "^5.2.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==" + } } }, "commander": { @@ -598,9 +622,9 @@ "dev": true }, "composite-class": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/composite-class/-/composite-class-0.3.0.tgz", - "integrity": "sha512-DzKxnX8JoIxQrJTnaTjfcmpU3zdN1mExWguw/rF23ZDFpWBMInXGj04PP9TzwDXmKO0HHz+hMsYLsCD2RISc5g==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/composite-class/-/composite-class-1.0.0.tgz", + "integrity": "sha512-WhFlThXtN1DkSWXaQBvZdnjblRWSnKYpI0rHObzQItuv1MleJ1FidaumUmTQoCtA8gaAArrU7YcJM7ncKgKdKg==", "dev": true }, "compressible": { @@ -657,12 +681,19 @@ } }, "cookies": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.7.3.tgz", - "integrity": "sha512-+gixgxYSgQLTaTIilDHAdlNPZDENDQernEMiIcZpYYP14zgHsCt4Ce1FEjFtcp6GefhozebB6orvhAAWx/IS0A==", + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/cookies/-/cookies-0.8.0.tgz", + "integrity": "sha512-8aPsApQfebXnuI+537McwYsDtjVxGm8gTIzQI3FDW6t5t/DAhERxtnbEPN/8RX+uZthoz4eCOgloXaE5cYyNow==", "requires": { - "depd": "~1.1.2", - "keygrip": "~1.0.3" + "depd": "~2.0.0", + "keygrip": "~1.1.0" + }, + "dependencies": { + "depd": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/depd/-/depd-2.0.0.tgz", + "integrity": "sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==" + } } }, "copy-to": { @@ -676,9 +707,9 @@ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" }, "coveralls": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.5.tgz", - "integrity": "sha512-/KD7PGfZv/tjKB6LoW97jzIgFqem0Tu9tZL9/iwBnBd8zkIZp7vT1ZSHNvnr0GSQMV/LTMxUstWg8WcDDUVQKg==", + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.7.tgz", + "integrity": "sha512-mUuH2MFOYB2oBaA4D4Ykqi9LaEYpMMlsiOMJOrv358yAjP6enPIk55fod2fNJ8AvwoYXStWQls37rA+s5e7boA==", "dev": true, "requires": { "growl": "~> 1.10.0", @@ -781,23 +812,49 @@ "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" }, "dmd": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/dmd/-/dmd-4.0.0.tgz", - "integrity": "sha512-J+4CgbQiMuJHiU9dvTVN8iOOZGeR3bef1wBqz6eVvvX17jkpkKVd8TeeutA/FJAeFbLQfXnyQ3o4qY7W+c5cxQ==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/dmd/-/dmd-4.0.4.tgz", + "integrity": "sha512-ZbHUPKUp5Tl8nVVMZw8rc/MQmFVKusvfR10X/lPAXjBUc/LRW7AaXnYrK2LnVIPfTGEw7T6OmsxkvNRX7GnjIQ==", "dev": true, "requires": { - "array-back": "^3.1.0", + "array-back": "^4.0.0", "cache-point": "^0.4.1", "common-sequence": "^1.0.2", - "file-set": "^2.0.0", - "handlebars": "^4.1.2", - "marked": "^0.6.2", + "file-set": "^2.0.1", + "handlebars": "^4.2.0", + "marked": "^0.7.0", "object-get": "^2.1.0", "reduce-flatten": "^2.0.0", "reduce-unique": "^2.0.1", "reduce-without": "^1.0.1", "test-value": "^3.0.0", "walk-back": "^3.0.1" + }, + "dependencies": { + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==", + "dev": true + }, + "handlebars": { + "version": "4.5.1", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.5.1.tgz", + "integrity": "sha512-C29UoFzHe9yM61lOsIlCE5/mQVGrnIOrOq7maQl76L7tYPCgC1og0Ajt6uWnX4ZTxBPnjw+CUvawphwCfJgUnA==", + "dev": true, + "requires": { + "neo-async": "^2.6.0", + "optimist": "^0.6.1", + "source-map": "^0.6.1", + "uglify-js": "^3.1.4" + } + }, + "reduce-flatten": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", + "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==", + "dev": true + } } }, "ecc-jsbn": { @@ -821,6 +878,11 @@ "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", "dev": true }, + "encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=" + }, "entities": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", @@ -1011,13 +1073,22 @@ "dev": true }, "fsm-base": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/fsm-base/-/fsm-base-0.4.4.tgz", - "integrity": "sha512-l5aBuq0NG+YaAM3lMSw/ghQJTvJoip54RDPfT6XcbMZd72h4XJTLIBrvEdpE+bQfPbwfaRGHgEVdJZTv9ch1QQ==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/fsm-base/-/fsm-base-0.5.0.tgz", + "integrity": "sha512-wJIhIcGwQTSPI6aG13Lhm0G0CoggEBu8NVBWi7zLHrqqBuAXN2i6OMtOv5D/j90CkX/ht3nBA+0QzjMGS8un2w==", "dev": true, "requires": { - "array-back": "^3.0.1", - "obso": "^0.4.3" + "array-back": "^4.0.0", + "obso": "^0.5.0", + "reduce-flatten": "^3.0.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==", + "dev": true + } } }, "get-caller-file": { @@ -1157,9 +1228,9 @@ } }, "https-proxy-agent": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.2.tgz", - "integrity": "sha512-c8Ndjc9Bkpfx/vCJueCPy0jlP4ccCCSNDp8xwCZzPjKJUm+B+u9WX2x98Qx4n1PiMNTWo3D7KK5ifNV/yJyRzg==", + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.1.tgz", + "integrity": "sha512-+ML2Rbh6DAuee7d07tYGEKOEi2voWPUGan+ExdPbPW6Z3svq+JCqr0v8WmKPOkz1vOVykPCBSuobe7G8GJUtVg==", "requires": { "agent-base": "^4.3.0", "debug": "^3.1.0" @@ -1229,9 +1300,9 @@ "dev": true }, "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-2.1.1.tgz", + "integrity": "sha512-umZHcSrwlDHo2TGMXv0DZ8dIUGunZ2Iv68YZnrmCiBPkZ4aaOhtv7pXJKeki9k3qJ3RJr0cDyitcl5wEH3AYog==" }, "isarray": { "version": "1.0.0", @@ -1407,39 +1478,52 @@ "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", "dev": true - }, - "marked": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", - "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", - "dev": true } } }, "jsdoc-api": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-5.0.2.tgz", - "integrity": "sha512-nC5uvd907gbqTRinrHeX5EBNw2Yc/0/7qONbRu5R5wrq/1OaRHtqDWGLDu+6BFI6RyuEgp87IH/IdOz4CdN6RA==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/jsdoc-api/-/jsdoc-api-5.0.4.tgz", + "integrity": "sha512-1KMwLnfo0FyhF06TQKzqIm8BiY1yoMIGICxRdJHUjzskaHMzHMmpLlmNFgzoa4pAC8t1CDPK5jWuQTvv1pBsEQ==", "dev": true, "requires": { - "array-back": "^3.1.0", - "cache-point": "^0.4.1", + "array-back": "^4.0.0", + "cache-point": "^1.0.0", "collect-all": "^1.0.3", "file-set": "^2.0.1", "fs-then-native": "^2.0.0", - "jsdoc": "^3.6.2", + "jsdoc": "^3.6.3", "object-to-spawn-args": "^1.1.1", "temp-path": "^1.0.0", "walk-back": "^3.0.1" + }, + "dependencies": { + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==", + "dev": true + }, + "cache-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/cache-point/-/cache-point-1.0.0.tgz", + "integrity": "sha512-ZqrZp9Hi5Uq7vfSGmNP2bUT/9DzZC2Y/GXjHB8rUJN1a+KLmbV05+vxHipNsg8+CSVgjcVVzLV8VZms6w8ZeRw==", + "dev": true, + "requires": { + "array-back": "^4.0.0", + "fs-then-native": "^2.0.0", + "mkdirp2": "^1.0.4" + } + } } }, "jsdoc-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/jsdoc-parse/-/jsdoc-parse-3.0.1.tgz", - "integrity": "sha512-btZLp4wYl90vcAfgk4hoGQbO17iBVrhh3LJRMKZNtZgniO3F8H2CjxXld0owBIB1XxN+j3bAcWZnZKMnSj3iMA==", + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/jsdoc-parse/-/jsdoc-parse-4.0.1.tgz", + "integrity": "sha512-qIObw8yqYZjrP2qxWROB5eLQFLTUX2jRGLhW9hjo2CC2fQVlskidCIzjCoctwsDvauBp2a/lR31jkSleczSo8Q==", "dev": true, "requires": { - "array-back": "^2.0.0", + "array-back": "^4.0.0", "lodash.omit": "^4.5.0", "lodash.pick": "^4.4.0", "reduce-extract": "^1.0.0", @@ -1448,35 +1532,34 @@ }, "dependencies": { "array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "requires": { - "typical": "^2.6.1" - } - }, - "typical": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", - "integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==", "dev": true } } }, "jsdoc-to-markdown": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-5.0.0.tgz", - "integrity": "sha512-3gKEnbay7dSdyvtMDDkUf4r7pmBVgs3aqeT0Cg/ngTILPpJUzf8iKgASIo5psF007L45OIJtIuRX5VL/YUXKaA==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/jsdoc-to-markdown/-/jsdoc-to-markdown-5.0.2.tgz", + "integrity": "sha512-Rcs9/3+NO1odClVhLDk0lDNFe11RiYUHh/PnROT5QU2Fpad2zBESmJD+DcmeK7lg1jalFfGG1MKOGuJHs27jsA==", "dev": true, "requires": { - "array-back": "^3.1.0", + "array-back": "^4.0.0", "command-line-tool": "^0.8.0", "config-master": "^3.1.0", - "dmd": "^4.0.0", - "jsdoc-api": "^5.0.1", - "jsdoc-parse": "^3.0.1", + "dmd": "^4.0.4", + "jsdoc-api": "^5.0.3", + "jsdoc-parse": "^4.0.1", "walk-back": "^3.0.1" + }, + "dependencies": { + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==", + "dev": true + } } }, "jsesc": { @@ -1526,9 +1609,12 @@ } }, "keygrip": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.0.3.tgz", - "integrity": "sha512-/PpesirAIfaklxUzp4Yb7xBper9MwP6hNRA6BGGUFCgbJ+BM5CKBtsoxinNXkLHAr+GXS1/lSlF2rP7cv5Fl+g==" + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/keygrip/-/keygrip-1.1.0.tgz", + "integrity": "sha512-iYSchDJ+liQ8iwbSI2QqsQOvqv58eJCEanyJPJi+Khyu8smkcKSFUCbPwzFcL7YVtZ6eONjqRX/38caJ7QjRAQ==", + "requires": { + "tsscmp": "1.0.6" + } }, "klaw": { "version": "3.0.0", @@ -1540,19 +1626,20 @@ } }, "koa": { - "version": "2.7.0", - "resolved": "https://registry.npmjs.org/koa/-/koa-2.7.0.tgz", - "integrity": "sha512-7ojD05s2Q+hFudF8tDLZ1CpCdVZw8JQELWSkcfG9bdtoTDzMmkRF6BQBU7JzIzCCOY3xd3tftiy/loHBUYaY2Q==", + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/koa/-/koa-2.11.0.tgz", + "integrity": "sha512-EpR9dElBTDlaDgyhDMiLkXrPwp6ZqgAIBvhhmxQ9XN4TFgW+gEz6tkcsNI6BnUbUftrKDjVFj4lW2/J2aNBMMA==", "requires": { "accepts": "^1.3.5", "cache-content-type": "^1.0.0", "content-disposition": "~0.5.2", "content-type": "^1.0.4", - "cookies": "~0.7.1", + "cookies": "~0.8.0", "debug": "~3.1.0", "delegates": "^1.0.0", "depd": "^1.1.2", "destroy": "^1.0.4", + "encodeurl": "^1.0.2", "error-inject": "^1.0.0", "escape-html": "^1.0.3", "fresh": "~0.5.2", @@ -1561,7 +1648,6 @@ "is-generator-function": "^1.0.7", "koa-compose": "^4.1.0", "koa-convert": "^1.2.0", - "koa-is-json": "^1.0.0", "on-finished": "^2.3.0", "only": "~0.0.2", "parseurl": "^1.3.2", @@ -1754,11 +1840,18 @@ } }, "load-module": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/load-module/-/load-module-2.0.1.tgz", - "integrity": "sha512-uPi6sDp/7rcX5hP8jRncyBa63++qOJxczYAoq58DpoAnQmLJ+e7zz8qmRS+zfkOGEhqj10SFwuZrZuen8Ep5zQ==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/load-module/-/load-module-2.0.2.tgz", + "integrity": "sha512-RHboqi6iajIZVSmW6yz/gCW0rj3xgyrlUfB/qIjVpZ92TkjqsLiAA6rSATVbshw8sRKUfMDrepl3M1TVxS4+Aw==", "requires": { - "array-back": "^3.1.0" + "array-back": "^4.0.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==" + } } }, "locate-path": { @@ -1832,24 +1925,44 @@ } }, "lws": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/lws/-/lws-2.0.3.tgz", - "integrity": "sha512-a5Civu1FmHsWKzJ89lIa69I/tzDkRyonYvu/QECIyMJOxXIWgzfM8Ed14zkBWocVNjdWq8+D0C65qYPLjw/0MA==", + "version": "2.0.7", + "resolved": "https://registry.npmjs.org/lws/-/lws-2.0.7.tgz", + "integrity": "sha512-YxM1Hz+bySVEtYJVVtRHScBOBd1/E7w7b+n6ol9juorlDEjVStEXthUvom+YkDkbVoOz3omvsInMkk5Or1YV/Q==", "requires": { - "ansi-escape-sequences": "^4.1.0", - "array-back": "^3.1.0", - "byte-size": "^5.0.1", + "ansi-escape-sequences": "^5.0.0", + "array-back": "^4.0.0", + "byte-size": "^6.2.0", "command-line-args": "^5.1.1", - "command-line-usage": "^6.0.1", + "command-line-usage": "^6.1.0", "create-mixin": "^2.0.1", - "koa": "^2.7.0", - "load-module": "^2.0.1", + "koa": "^2.11.0", + "load-module": "^2.0.2", "lodash.assignwith": "^4.2.0", "node-version-matches": "^1.0.1", - "open": "^6.4.0", - "reduce-flatten": "^2.0.0", - "typical": "^5.1.0", + "open": "^7.0.0", + "reduce-flatten": "^3.0.0", + "typical": "^5.2.0", "walk-back": "^3.0.1" + }, + "dependencies": { + "ansi-escape-sequences": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-escape-sequences/-/ansi-escape-sequences-5.0.0.tgz", + "integrity": "sha512-ZUZPHW7xw3KVbqYXYiXIxF+AEoDQtGmbQcyQVW1sZQ4DoS0RM4iwfIMDIwToFPtR2wk031Rv7Mnb26N4QApIqA==", + "requires": { + "array-back": "^4.0.0" + } + }, + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==" + }, + "byte-size": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/byte-size/-/byte-size-6.2.0.tgz", + "integrity": "sha512-6EspYUCAPMc7E2rltBgKwhG+Cmk0pDm9zDtF1Awe2dczNUL3YpZ8mTs/dueOTS1hqGWBOatqef4jYMGjln7WmA==" + } } }, "lws-basic-auth": { @@ -1949,16 +2062,28 @@ } }, "lws-rewrite": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/lws-rewrite/-/lws-rewrite-2.0.8.tgz", - "integrity": "sha512-itdmA+CvYnEmtP62RSd0m0Unsyn7KHA9GoubWoQviuKJ32d+xB/ZT9DKeEWacviyKqoyeahyFrbXdgp3lp66QA==", + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/lws-rewrite/-/lws-rewrite-2.0.10.tgz", + "integrity": "sha512-vVKAxbszsEp/DZ+KKhnjPvTJ5fLhiIXwjbxwzpGZdea4uqV1CbmGweCrBkK8q+5JE+UaeqAO0TgFjYsYQp3yJg==", "requires": { - "array-back": "^3.1.0", + "array-back": "^4.0.0", "http-proxy-agent": "^2.1.0", - "https-proxy-agent": "^2.2.2", + "https-proxy-agent": "^3.0.0", "koa-rewrite-75lb": "^3.0.1", "koa-route": "^3.2.0", - "path-to-regexp": "^3.0.0" + "path-to-regexp": "^3.1.0" + }, + "dependencies": { + "array-back": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==" + }, + "path-to-regexp": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-3.1.0.tgz", + "integrity": "sha512-PtHLisEvUOepjc+sStXxJ/pDV/s5UBTOKWJY2SOz3e6E/iN/jLknY9WL72kTwRrwXDUbZTEAtSnJbz2fF127DA==" + } } }, "lws-spa": { @@ -2001,15 +2126,15 @@ } }, "markdown-it-anchor": { - "version": "5.2.4", - "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.2.4.tgz", - "integrity": "sha512-n8zCGjxA3T+Mx1pG8HEgbJbkB8JFUuRkeTZQuIM8iPY6oQ8sWOPRZJDFC9a/pNg2QkHEjjGkhBEl/RSyzaDZ3A==", + "version": "5.2.5", + "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-5.2.5.tgz", + "integrity": "sha512-xLIjLQmtym3QpoY9llBgApknl7pxAcN3WDRc2d3rwpl+/YvDZHPmKscGs+L6E05xf2KrCXPBvosWt7MZukwSpQ==", "dev": true }, "marked": { - "version": "0.6.3", - "resolved": "https://registry.npmjs.org/marked/-/marked-0.6.3.tgz", - "integrity": "sha512-Fqa7eq+UaxfMriqzYLayfqAE40WN03jf+zHjT18/uXNuzjq3TY0XTbrAoPeqSJrAmPz11VuUA+kBPYOhHt9oOQ==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", + "integrity": "sha512-c+yYdCZJQrsRjTPhUx7VKkApw9bwDkNbHUKo1ovgcfDjb2kc8rLuRbIFyXL5WOEUwzSSKo3IXpph2K6DqB/KZg==", "dev": true }, "mdurl": { @@ -2225,9 +2350,9 @@ "dev": true }, "obso": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/obso/-/obso-0.4.3.tgz", - "integrity": "sha512-qSL6U5d3aPaCBLqWKoH16FgZk/MUvO7n7pOijyK3TQn+jJAbWLxUyemTDGfy8B8OIrvOr6ng+nzN5s86v+v7Kg==", + "version": "0.5.0", + "resolved": "https://registry.npmjs.org/obso/-/obso-0.5.0.tgz", + "integrity": "sha512-OIPLscoyq1SRCbbp6VlBWrzG+zR8T8tkic4rHuqABgTYlgqEvvzE5KclPa5sh/jy9x59en9K9JAQFa9ZV8xbVg==", "dev": true }, "on-finished": { @@ -2258,11 +2383,11 @@ "integrity": "sha1-Kv3oTQPlC5qO3EROMGEKcCle37Q=" }, "open": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", - "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/open/-/open-7.0.0.tgz", + "integrity": "sha512-K6EKzYqnwQzk+/dzJAQSBORub3xlBTxMz+ntpZpH/LyCa1o6KjXhuN+2npAaI9jaSmU3R1Q8NWf4KUWcyytGsQ==", "requires": { - "is-wsl": "^1.1.0" + "is-wsl": "^2.1.0" } }, "optimist": { @@ -2412,9 +2537,9 @@ "dev": true }, "psl": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.2.0.tgz", - "integrity": "sha512-GEn74ZffufCmkDDLNcl3uuyF/aSD6exEyh1v/ZSdAomB82t6G9hzJVRx0jBmLDW+VfZqks3aScmMw9DszwUalA==", + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/psl/-/psl-1.4.0.tgz", + "integrity": "sha512-HZzqCGPecFLyoRj5HLfuDSKYTJkAfB5thKBIkRHtGjWwY7p1dAyveIbXIq4tO0KYfDF2tHqPUgY9SDnGm00uFw==", "dev": true }, "punycode": { @@ -2429,9 +2554,9 @@ "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==" }, "race-timeout-anywhere": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/race-timeout-anywhere/-/race-timeout-anywhere-0.1.1.tgz", - "integrity": "sha512-H1wGOu9cvOnG9q4asm34wisqjrat67zFqyDAiCto3TpCBgkiyIJKA3TUPibephfGO96J1V/Fq2iTHLvcX/v8bg==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/race-timeout-anywhere/-/race-timeout-anywhere-1.0.0.tgz", + "integrity": "sha512-FwYyoKxgK/NNC7Tn2LlFpfNHemLlYOTCruUyYyEzQfkaO4iCQlGipsqOPhJvT7oGinMz707/HAnSFj98b7T4dw==", "dev": true }, "raw-body": { @@ -2517,9 +2642,9 @@ } }, "reduce-flatten": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", - "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==" + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-3.0.0.tgz", + "integrity": "sha512-eczl8wAYBxJ6Egl6I1ECIF+8z6sHu+KE7BzaEDZTpPXKXfy9SUDQlVYwkRcNTjJLC3Iakxbhss50KuT/R6SYfg==" }, "reduce-unique": { "version": "2.0.1", @@ -3054,110 +3179,75 @@ } }, "test-object-model": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/test-object-model/-/test-object-model-0.4.4.tgz", - "integrity": "sha512-k7CLzxW/bW8POxcGyII9FFK3shkf7JY9rW6JfFiO9+vHj3PyCE/hWuW+aimXGNr8zSOo1h9yVTRaCT6QkO5rWg==", + "version": "0.4.7", + "resolved": "https://registry.npmjs.org/test-object-model/-/test-object-model-0.4.7.tgz", + "integrity": "sha512-W463hFNtk6RSO+tpStIlKT+k0Lli9noKvbaaFiRcuQJaHBPDOdJEfDnxEKqAxzB6zYy7kUgEY4o7O+1oP5KWpQ==", "dev": true, "requires": { - "composite-class": "^0.3.0", - "create-mixin": "^1.1.1", - "fsm-base": "^0.4.4", - "race-timeout-anywhere": "^0.1.1", - "typical": "^5.0.0" - }, - "dependencies": { - "create-mixin": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/create-mixin/-/create-mixin-1.1.1.tgz", - "integrity": "sha512-z6QC4H0gSX81fUpvJ721IArB8rY449Oiu4bmI/AAn33AiSIerKh6d8azLb0mqgHU5aW+8rqeR4RGIu06dBFSZA==", - "dev": true - } + "composite-class": "^1.0.0", + "create-mixin": "^2.0.1", + "fsm-base": "^0.5.0", + "race-timeout-anywhere": "^1.0.0", + "typical": "^5.2.0" } }, "test-runner": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/test-runner/-/test-runner-0.6.0.tgz", - "integrity": "sha512-9I6yatp2lrQE0cRop/l4guD+Ri8dOQazwQgGM75+d/NtKndM/I8a51MvnIPnSPHv6V9f9WhQFL+kmNbssrzrpQ==", + "version": "0.7.2", + "resolved": "https://registry.npmjs.org/test-runner/-/test-runner-0.7.2.tgz", + "integrity": "sha512-7niDxVaJz44FZjS13S3WTkyyhEs50yF4V/GctGr83ujS40oZcctgJl9JUnwwLoSRN/xLFamS2faaLW8FKHVsuQ==", "dev": true, "requires": { - "@test-runner/default-view": "^0.2.3", + "@test-runner/default-view": "^0.3.0", "command-line-args": "^5.1.1", - "command-line-usage": "^5.0.5", - "file-set": "^2.0.1", + "command-line-usage": "^6.1.0", + "file-set": "^3.0.0", "js-yaml": "^3.13.1", - "reduce-flatten": "^2.0.0", - "test-object-model": "^0.4.3", - "test-runner-core": "^0.6.0-17", + "reduce-flatten": "^3.0.0", + "test-object-model": "^0.4.7", + "test-runner-core": "^0.7.0", "walk-back": "^3.0.1" }, "dependencies": { "array-back": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz", - "integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==", - "dev": true, - "requires": { - "typical": "^2.6.1" - } - }, - "command-line-usage": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-5.0.5.tgz", - "integrity": "sha512-d8NrGylA5oCXSbGoKz05FkehDAzSmIm4K03S5VDh4d5lZAtTWfc3D1RuETtuQCn8129nYfJfDdF7P/lwcz1BlA==", - "dev": true, - "requires": { - "array-back": "^2.0.0", - "chalk": "^2.4.1", - "table-layout": "^0.4.3", - "typical": "^2.6.1" - } + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/array-back/-/array-back-4.0.0.tgz", + "integrity": "sha512-ylVYjv5BzoWXWO7e6fWrzjqzgxmUPWdQrHxgzo/v1EaYXfw6+6ipRdIr7KryAGnVHG08O1Yfpchuv0+YhjPL+Q==", + "dev": true }, - "table-layout": { - "version": "0.4.5", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.5.tgz", - "integrity": "sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw==", + "file-set": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/file-set/-/file-set-3.0.0.tgz", + "integrity": "sha512-B/SdeSIeRv7VlOgIjtH3dkxMI+tEy5m+OeCXfAUsirBoVoY+bGtsmvmmTFPm/G23TBY4RiTtjpcgePCfwXRjqA==", "dev": true, "requires": { - "array-back": "^2.0.0", - "deep-extend": "~0.6.0", - "lodash.padend": "^4.6.1", - "typical": "^2.6.1", - "wordwrapjs": "^3.0.0" + "array-back": "^4.0.0", + "glob": "^7.1.5" } }, - "typical": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", - "integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=", - "dev": true - }, - "wordwrapjs": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz", - "integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==", + "glob": { + "version": "7.1.5", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.5.tgz", + "integrity": "sha512-J9dlskqUXK1OeTOYBEn5s8aMukWMwWfs+rPTn/jn50Ux4MNXVhubL1wu/j2t+H4NVI+cXEcCaYellqaPVGXNqQ==", "dev": true, "requires": { - "reduce-flatten": "^1.0.1", - "typical": "^2.6.1" - }, - "dependencies": { - "reduce-flatten": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz", - "integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc=", - "dev": true - } + "fs.realpath": "^1.0.0", + "inflight": "^1.0.4", + "inherits": "2", + "minimatch": "^3.0.4", + "once": "^1.3.0", + "path-is-absolute": "^1.0.0" } } } }, "test-runner-core": { - "version": "0.6.0-17", - "resolved": "https://registry.npmjs.org/test-runner-core/-/test-runner-core-0.6.0-17.tgz", - "integrity": "sha512-HIkK3P2fLmnF0abqmWXfzXjqUmGoNNegstqN8aVx1T7jnZg3gdJ2pbHECPWzMqgCyuQLZXFjevzd3ha8bkOELg==", + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/test-runner-core/-/test-runner-core-0.7.0.tgz", + "integrity": "sha512-vYTLkRAXSZIHOg1cSywkhT58SqN5MlJjzggMPE9V2IoOxtIxR22Z35SAMwqmmJYIz2fyKv8X9uf5dBsupb4Psw==", "dev": true, "requires": { - "fsm-base": "^0.4.4" + "fsm-base": "^0.5.0", + "test-object-model": "^0.4.6" } }, "test-value": { @@ -3243,6 +3333,11 @@ "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", "dev": true }, + "tsscmp": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/tsscmp/-/tsscmp-1.0.6.tgz", + "integrity": "sha512-LxhtAkPDTkVCMQjt2h6eBVY28KCjikZqZfMcC15YBeNjkgUpdCfBu5HoiOTDu86v6smE8yOjyEktJ8hlbANHQA==" + }, "tunnel-agent": { "version": "0.6.0", "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", @@ -3268,9 +3363,9 @@ } }, "typical": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-5.1.0.tgz", - "integrity": "sha512-t5Ik8UAwBal1P1XzuVE4dc+RYQZicLUGJdvqr/vdqsED7SQECgsGBylldSsfWZL7RQjxT3xhQcKHWhLaVSR6YQ==" + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/typical/-/typical-5.2.0.tgz", + "integrity": "sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg==" }, "uc.micro": { "version": "1.0.6", @@ -3379,6 +3474,13 @@ "requires": { "reduce-flatten": "^2.0.0", "typical": "^5.0.0" + }, + "dependencies": { + "reduce-flatten": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-2.0.0.tgz", + "integrity": "sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w==" + } } }, "wrap-ansi": { diff --git a/package.json b/package.json index 363f5a9..42bd3ae 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "index.js" ], "dependencies": { - "lws": "^2.0.3", + "lws": "^2.0.7", "lws-basic-auth": "^1.0.3", "lws-blacklist": "^2.0.2", "lws-body-parser": "^1.0.2", @@ -52,16 +52,16 @@ "lws-mime": "^1.0.1", "lws-range": "^2.0.1", "lws-request-monitor": "^1.0.4", - "lws-rewrite": "^2.0.8", + "lws-rewrite": "^2.0.10", "lws-spa": "^2.0.2", "lws-static": "^1.1.3", "node-version-matches": "^1.0.1" }, "devDependencies": { - "coveralls": "^3.0.5", - "jsdoc-to-markdown": "^5.0.0", + "coveralls": "^3.0.7", + "jsdoc-to-markdown": "^5.0.2", "node-fetch": "^2.6.0", "nyc": "^14.1.1", - "test-runner": "^0.6.0" + "test-runner": "^0.7.2" } } diff --git a/test/api.js b/test/api.js index 3b42bb7..e4af31b 100644 --- a/test/api.js +++ b/test/api.js @@ -3,7 +3,7 @@ const fetch = require('node-fetch') const LocalWebServer = require('../') const a = require('assert') -const tom = module.exports = new Tom('api') +const tom = module.exports = new Tom() tom.test('basic', async function () { const port = 9000 + this.index diff --git a/test/cli.js b/test/cli.js index b927642..202d86c 100644 --- a/test/cli.js +++ b/test/cli.js @@ -3,7 +3,7 @@ const a = require('assert') const WsCli = require('../lib/cli-app') const fetch = require('node-fetch') -const tom = module.exports = new Tom('cli', { concurrency: 1 }) +const tom = module.exports = new Tom({ maxConcurrency: 1 }) tom.test('simple', async function () { const port = 7500 + this.index diff --git a/test/sequential.js b/test/sequential.js index 0d12b99..cd6814c 100644 --- a/test/sequential.js +++ b/test/sequential.js @@ -4,7 +4,7 @@ const LocalWebServer = require('../') const WsCli = require('../lib/cli-app') const a = require('assert') -const tom = module.exports = new Tom('sequential', { concurrency: 1 }) +const tom = module.exports = new Tom({ maxConcurrency: 1 }) let origCwd = ''