bt-runner 4.0.2 → 4.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.generateHtml = void 0;
3
+ exports.generateHtml = generateHtml;
4
4
  function generateHtml(dependencies, additionalScripts) {
5
5
  return `<!DOCTYPE html>
6
6
  <html>
@@ -25,4 +25,3 @@ function generateHtml(dependencies, additionalScripts) {
25
25
  </body>
26
26
  </html>`;
27
27
  }
28
- exports.generateHtml = generateHtml;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.getPort = void 0;
6
+ exports.getPort = getPort;
7
7
  const net_1 = __importDefault(require("net"));
8
8
  async function getPort(options) {
9
9
  return await new Promise((resolve, reject) => {
@@ -18,4 +18,3 @@ async function getPort(options) {
18
18
  });
19
19
  });
20
20
  }
21
- exports.getPort = getPort;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.runTests = void 0;
6
+ exports.runTests = runTests;
7
7
  const puppeteer_1 = __importDefault(require("puppeteer"));
8
8
  async function runTests(serverPort, testRunners, debug) {
9
9
  const browser = await puppeteer_1.default.launch({
@@ -43,7 +43,6 @@ async function runTests(serverPort, testRunners, debug) {
43
43
  }, runner.globals ?? []);
44
44
  if (debug) {
45
45
  console.log("Press any key to continue...");
46
- // eslint-disable-next-line no-loop-func
47
46
  await new Promise((resolve) => process.stdin.once("data", resolve));
48
47
  }
49
48
  if (result.failures !== 0) {
@@ -56,4 +55,3 @@ async function runTests(serverPort, testRunners, debug) {
56
55
  await browser.close();
57
56
  return true;
58
57
  }
59
- exports.runTests = runTests;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bt-runner",
3
- "version": "4.0.2",
3
+ "version": "4.0.4",
4
4
  "description": "",
5
5
  "repository": "github:js-soft/bt-runner",
6
6
  "license": "MIT",
@@ -25,20 +25,20 @@
25
25
  "test": "npm run test --workspace example"
26
26
  },
27
27
  "dependencies": {
28
- "express": "^4.18.2",
29
- "express-http-proxy": "^1.6.3",
30
- "puppeteer": "^16.2.0",
31
- "yargs": "^17.7.1"
28
+ "express": "^4.21.0",
29
+ "express-http-proxy": "^2.1.1",
30
+ "puppeteer": "^23.4.1",
31
+ "yargs": "^17.7.2"
32
32
  },
33
33
  "devDependencies": {
34
- "@js-soft/eslint-config-ts": "^1.6.2",
35
- "@js-soft/license-check": "^1.0.6",
36
- "@types/express": "^4.17.17",
37
- "@types/express-http-proxy": "^1.6.3",
38
- "@types/node": "^18.14.6",
39
- "@types/yargs": "^17.0.22",
34
+ "@js-soft/eslint-config-ts": "^1.6.9",
35
+ "@js-soft/license-check": "^1.0.9",
36
+ "@types/express": "^5.0.0",
37
+ "@types/express-http-proxy": "^1.6.6",
38
+ "@types/node": "^22.7.4",
39
+ "@types/yargs": "^17.0.33",
40
40
  "eslint": "^8.36.0",
41
- "prettier": "^2.8.4"
41
+ "prettier": "^3.3.3"
42
42
  },
43
43
  "publishConfig": {
44
44
  "access": "public"