From 708a96401d053a3c265bc2f4ce33c7f39a2b93fe Mon Sep 17 00:00:00 2001 From: Dominik Jelinek Date: Wed, 2 Jul 2025 19:24:35 +0200 Subject: [PATCH 1/5] chore(runner): bump devDeps of ui tests example project --- .../example-project/package-lock.json | 317 ++++-------------- .../resources/example-project/package.json | 6 +- 2 files changed, 60 insertions(+), 263 deletions(-) diff --git a/packages/extester-runner/src/ui-test/resources/example-project/package-lock.json b/packages/extester-runner/src/ui-test/resources/example-project/package-lock.json index 82dc6b0d1..56075bbf3 100644 --- a/packages/extester-runner/src/ui-test/resources/example-project/package-lock.json +++ b/packages/extester-runner/src/ui-test/resources/example-project/package-lock.json @@ -8,12 +8,12 @@ "name": "extester-runner-ui-test-project", "version": "1.0.0", "devDependencies": { - "@types/chai": "^5.2.1", + "@types/chai": "^5.2.2", "@types/mocha": "^10.0.10", "chai": "^5.2.0", - "mocha": "^11.1.0", + "mocha": "^11.7.1", "ts-node": "^10.9.2", - "typescript": "^5.0.0", + "typescript": "^5.8.3", "vscode-extension-tester": "*" }, "engines": { @@ -387,9 +387,9 @@ "license": "MIT" }, "node_modules/@types/chai": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.1.tgz", - "integrity": "sha512-iu1JLYmGmITRzUgNiLMZD3WCoFzpYtueuyAgHTXqgwSRAMIlFTnZqG6/xenkpUGRJEzSfklUTI4GNSzks/dc0w==", + "version": "5.2.2", + "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.2.2.tgz", + "integrity": "sha512-8kB30R7Hwqf40JPiKhVzodJs2Qc1ZJ5zuT3uzw5Hq/dhNCl3G3l83jfpdI1e20BP348+fV7VIL/+FxaXkqBmWg==", "dev": true, "license": "MIT", "dependencies": { @@ -797,9 +797,9 @@ } }, "node_modules/@vscode/vsce/node_modules/minimatch/node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", + "version": "1.1.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz", + "integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==", "dev": true, "license": "MIT", "dependencies": { @@ -873,16 +873,6 @@ "node": ">= 14" } }, - "node_modules/ansi-colors": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.3.tgz", - "integrity": "sha512-/6w/C21Pm1A7aZitlI5Ni/2J6FFQN8i1Cvz3kHABAAbw93v/NlvKdVOqz7CCWz/3iv/JplRSEEZ83XION15ovw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=6" - } - }, "node_modules/ansi-regex": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", @@ -912,20 +902,6 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "license": "ISC", - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, "node_modules/arg": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", @@ -997,19 +973,6 @@ "license": "MIT", "optional": true }, - "node_modules/binary-extensions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-2.3.0.tgz", - "integrity": "sha512-Ceh+7ox5qe7LJuLHoY0feh3pHuUDHAcRUeyL2VYghZwfpkNIy/+8Ocg0a3UuSoYzavmylwuLWQOf3hl0jjMMIw==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, "node_modules/bl": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", @@ -1054,28 +1017,15 @@ "license": "ISC" }, "node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz", + "integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==", "dev": true, "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "license": "MIT", - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/browser-stdout": { "version": "1.3.1", "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", @@ -1406,28 +1356,19 @@ } }, "node_modules/chokidar": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.6.0.tgz", - "integrity": "sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, "license": "MIT", "dependencies": { - "anymatch": "~3.1.2", - "braces": "~3.0.2", - "glob-parent": "~5.1.2", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.6.0" + "readdirp": "^4.0.1" }, "engines": { - "node": ">= 8.10.0" + "node": ">= 14.16.0" }, "funding": { "url": "https://paulmillr.com/funding/" - }, - "optionalDependencies": { - "fsevents": "~2.3.2" } }, "node_modules/chownr": { @@ -1837,9 +1778,9 @@ } }, "node_modules/diff": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-5.2.0.tgz", - "integrity": "sha512-uIFDxqpRZGZ6ThOk84hEfqWoHx2devRFvpTZcTHur85vImfaxUbTW9Ryh4CpCuDnToOP1CEtXKIgytHBPVff5A==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/diff/-/diff-7.0.0.tgz", + "integrity": "sha512-PJWHUb1RFevKCwaFA9RlG5tCd+FO5iRh9A8HEtkmBH2Li03iJriB6m6JIN4rGz3K3JLawI7/veA1xzRKP6ISBw==", "dev": true, "license": "BSD-3-Clause", "engines": { @@ -2108,19 +2049,6 @@ "pend": "~1.2.0" } }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "license": "MIT", - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/find-up": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", @@ -2213,21 +2141,6 @@ "node": ">=14.14" } }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "license": "MIT", - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, "node_modules/function-bind": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", @@ -2329,35 +2242,6 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", - "dev": true, - "license": "ISC", - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/glob/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/gopd": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.2.0.tgz", @@ -2645,19 +2529,6 @@ "license": "ISC", "optional": true }, - "node_modules/is-binary-path": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-2.1.0.tgz", - "integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==", - "dev": true, - "license": "MIT", - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, "node_modules/is-docker": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-3.0.0.tgz", @@ -2674,16 +2545,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", @@ -2694,19 +2555,6 @@ "node": ">=8" } }, - "node_modules/is-glob": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", - "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/is-inside-container": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/is-inside-container/-/is-inside-container-1.0.0.tgz", @@ -2726,16 +2574,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/is-plain-obj": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", @@ -3308,16 +3146,19 @@ } }, "node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "9.0.5", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", + "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", "dev": true, "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, "engines": { - "node": ">=10" + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/minimist": { @@ -3362,29 +3203,29 @@ "optional": true }, "node_modules/mocha": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.1.0.tgz", - "integrity": "sha512-8uJR5RTC2NgpY3GrYcgpZrsEd9zKbPDpob1RezyR2upGHRQtHWofmzTMzTMSV6dru3tj5Ukt0+Vnq1qhFEEwAg==", + "version": "11.7.1", + "resolved": "https://registry.npmjs.org/mocha/-/mocha-11.7.1.tgz", + "integrity": "sha512-5EK+Cty6KheMS/YLPPMJC64g5V61gIR25KsRItHw6x4hEKT6Njp1n9LOlH4gpevuwMVS66SXaBBpg+RWZkza4A==", "dev": true, "license": "MIT", "dependencies": { - "ansi-colors": "^4.1.3", "browser-stdout": "^1.3.1", - "chokidar": "^3.5.3", + "chokidar": "^4.0.1", "debug": "^4.3.5", - "diff": "^5.2.0", + "diff": "^7.0.0", "escape-string-regexp": "^4.0.0", "find-up": "^5.0.0", "glob": "^10.4.5", "he": "^1.2.0", "js-yaml": "^4.1.0", "log-symbols": "^4.1.0", - "minimatch": "^5.1.6", + "minimatch": "^9.0.5", "ms": "^2.1.3", + "picocolors": "^1.1.1", "serialize-javascript": "^6.0.2", "strip-json-comments": "^3.1.1", "supports-color": "^8.1.1", - "workerpool": "^6.5.1", + "workerpool": "^9.2.0", "yargs": "^17.7.2", "yargs-parser": "^21.1.1", "yargs-unparser": "^2.0.0" @@ -3448,16 +3289,6 @@ "dev": true, "license": "MIT" }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/normalize-url": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-8.0.1.tgz", @@ -3754,18 +3585,12 @@ "dev": true, "license": "MIT" }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", "dev": true, - "license": "MIT", - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } + "license": "ISC" }, "node_modules/prebuild-install": { "version": "7.1.3", @@ -3928,16 +3753,17 @@ "license": "MIT" }, "node_modules/readdirp": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.6.0.tgz", - "integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "dev": true, "license": "MIT", - "dependencies": { - "picomatch": "^2.2.1" - }, "engines": { - "node": ">=8.10.0" + "node": ">= 14.18.0" + }, + "funding": { + "type": "individual", + "url": "https://paulmillr.com/funding/" } }, "node_modules/require-directory": { @@ -4438,9 +4264,9 @@ } }, "node_modules/tar-fs": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.2.tgz", - "integrity": "sha512-EsaAXwxmx8UB7FRKqeozqEPop69DXcmYwTQwXvyAPF352HJsPdkVhvTaDPYqfNgruveJIJy3TA2l+2zj8LJIJA==", + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.3.tgz", + "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==", "dev": true, "license": "MIT", "optional": true, @@ -4518,9 +4344,9 @@ } }, "node_modules/targz/node_modules/tar-fs": { - "version": "1.16.4", - "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-1.16.4.tgz", - "integrity": "sha512-u3XczWoYAIVXe5GOKK6+VeWaHjtc47W7hyuTo3+4cNakcCcuDmlkYiiHEsECwTkcI3h1VUgtwBQ54+RvY6cM4w==", + "version": "1.16.5", + "resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-1.16.5.tgz", + "integrity": "sha512-1ergVCCysmwHQNrOS+Pjm4DQ4nrGp43+Xnu4MRGjCnQu/m3hEgLNS78d5z+B8OJ1hN5EejJdCSFZE1oM6AQXAQ==", "dev": true, "license": "MIT", "dependencies": { @@ -4564,22 +4390,6 @@ "node": ">=18" } }, - "node_modules/test-exclude/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", - "dev": true, - "license": "ISC", - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, "node_modules/tmp": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", @@ -4597,19 +4407,6 @@ "dev": true, "license": "MIT" }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "license": "MIT", - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, "node_modules/truncate-utf8-bytes": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/truncate-utf8-bytes/-/truncate-utf8-bytes-1.0.2.tgz", @@ -5110,9 +4907,9 @@ } }, "node_modules/workerpool": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-6.5.1.tgz", - "integrity": "sha512-Fs4dNYcsdpYSAfVxhnl1L5zTksjvOJxtC5hzMNl+1t9B8hTJTdKDyZ5ju7ztgPy+ft9tBFXoOlDNiOT9WUXZlA==", + "version": "9.3.3", + "resolved": "https://registry.npmjs.org/workerpool/-/workerpool-9.3.3.tgz", + "integrity": "sha512-slxCaKbYjEdFT/o2rH9xS1hf4uRDch1w7Uo+apxhZ+sf/1d9e0ZVkn42kPNGP2dgjIx6YFvSevj0zHvbWe2jdw==", "dev": true, "license": "Apache-2.0" }, diff --git a/packages/extester-runner/src/ui-test/resources/example-project/package.json b/packages/extester-runner/src/ui-test/resources/example-project/package.json index ac8269066..b58ca0a21 100644 --- a/packages/extester-runner/src/ui-test/resources/example-project/package.json +++ b/packages/extester-runner/src/ui-test/resources/example-project/package.json @@ -14,12 +14,12 @@ "start": "node out/index.js" }, "devDependencies": { - "@types/chai": "^5.2.1", + "@types/chai": "^5.2.2", "@types/mocha": "^10.0.10", "chai": "^5.2.0", - "mocha": "^11.1.0", + "mocha": "^11.7.1", "ts-node": "^10.9.2", - "typescript": "^5.0.0", + "typescript": "^5.8.3", "vscode-extension-tester": "*" } } From 03496559412b675d4ffb4dd8547d27700dbc6fa2 Mon Sep 17 00:00:00 2001 From: Dominik Jelinek Date: Wed, 2 Jul 2025 19:26:05 +0200 Subject: [PATCH 2/5] chore(runner): remove unused changelog markdown file --- packages/extester-runner/CHANGELOG.md | 9 --------- 1 file changed, 9 deletions(-) delete mode 100644 packages/extester-runner/CHANGELOG.md diff --git a/packages/extester-runner/CHANGELOG.md b/packages/extester-runner/CHANGELOG.md deleted file mode 100644 index db9abdd4b..000000000 --- a/packages/extester-runner/CHANGELOG.md +++ /dev/null @@ -1,9 +0,0 @@ -# Change Log - -All notable changes to the "extester-runner" extension will be documented in this file. - -Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. - -## [Unreleased] - -- Initial release From 51f5e7e19953160665f1853e37562d3d02abca63 Mon Sep 17 00:00:00 2001 From: Dominik Jelinek Date: Wed, 2 Jul 2025 19:27:12 +0200 Subject: [PATCH 3/5] chore(runner): compile source files before each ui-test run --- packages/extester-runner/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/extester-runner/package.json b/packages/extester-runner/package.json index 30fb7e5b6..cba87d57b 100644 --- a/packages/extester-runner/package.json +++ b/packages/extester-runner/package.json @@ -362,7 +362,7 @@ "lint": "eslint --fix --fix-type layout src", "compile-tests": "tsc -p . --outDir out", "test": "npm run compile && node ./out/test/runTest.js", - "ui-test": "extest setup-and-run ./out/ui-test/*.test.js --uninstall_extension --extensions_dir .test-extensions" + "ui-test": "npm run compile && extest setup-and-run ./out/ui-test/*.test.js --uninstall_extension --extensions_dir .test-extensions" }, "devDependencies": { "@types/babel__traverse": "^7.20.7", From d46ea25b1c9c2830e2afce97957fe6c0bc38e948 Mon Sep 17 00:00:00 2001 From: Dominik Jelinek Date: Wed, 2 Jul 2025 19:29:04 +0200 Subject: [PATCH 4/5] chore: update tsconfig to use 'only' warnings for unused locals and parameters --- tsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsconfig.json b/tsconfig.json index 1c67522ac..071630b18 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,8 @@ "lib": ["ES2023"], "sourceMap": true, "strict": true, - "noUnusedLocals": true, + "noUnusedLocals": false, + "noUnusedParameters": false, "experimentalDecorators": true, "forceConsistentCasingInFileNames": true, "resolveJsonModule": true, From 3a65dde8749f0a8ffe0f803a9b657c030e1b7fae Mon Sep 17 00:00:00 2001 From: Dominik Jelinek Date: Wed, 2 Jul 2025 19:41:04 +0200 Subject: [PATCH 5/5] test(runner): resolve ui-test timing issues --- .../src/ui-test/01_extension.test.ts | 1 + .../ui-test/03_extersterTreeProvider.test.ts | 22 ++++++++++--------- .../src/ui-test/utils/testUtils.ts | 2 +- 3 files changed, 14 insertions(+), 11 deletions(-) diff --git a/packages/extester-runner/src/ui-test/01_extension.test.ts b/packages/extester-runner/src/ui-test/01_extension.test.ts index 75aa87961..e50dc0b9e 100644 --- a/packages/extester-runner/src/ui-test/01_extension.test.ts +++ b/packages/extester-runner/src/ui-test/01_extension.test.ts @@ -44,6 +44,7 @@ describe('ExTester Runner', function () { */ before(async function () { driver = VSBrowser.instance.driver; + await driver.sleep(3_000); // give vscode workbench some time to load properly await waitUntilExtensionIsActivated(driver, `${pjson.displayName}`); }); diff --git a/packages/extester-runner/src/ui-test/03_extersterTreeProvider.test.ts b/packages/extester-runner/src/ui-test/03_extersterTreeProvider.test.ts index 72218ca09..fb0bb905c 100644 --- a/packages/extester-runner/src/ui-test/03_extersterTreeProvider.test.ts +++ b/packages/extester-runner/src/ui-test/03_extersterTreeProvider.test.ts @@ -58,7 +58,9 @@ describe('Parser test suite', function () { this.timeout(30000); const browser = VSBrowser.instance; - await browser.openResources(EXAMPLE_PROJECT); + await browser.openResources(EXAMPLE_PROJECT, async () => { + await browser.driver.sleep(3_000); + }); await updateSettings(TEST_FILE_GLOB_SETTINGS_ID, TEST_FILE_GLOB); }); @@ -84,7 +86,7 @@ describe('Parser test suite', function () { const runnerView = await (await new ActivityBar().getViewControl(EXTESTER_RUNNER))?.openView(); assert.ok(runnerView, 'Runner view not found'); - const content = await runnerView.getContent(); + const content = runnerView.getContent(); assert.ok(content, 'Content not found'); const sections = await content.getSections(); @@ -131,7 +133,7 @@ describe('Parser test suite', function () { const runnerView = await (await new ActivityBar().getViewControl(EXTESTER_RUNNER))?.openView(); assert.ok(runnerView, 'Runner view not found'); - const content = await runnerView.getContent(); + const content = runnerView.getContent(); assert.ok(content, 'Content not found'); const sections = await content.getSections(); @@ -178,7 +180,7 @@ describe('Parser test suite', function () { const runnerView = await (await new ActivityBar().getViewControl(EXTESTER_RUNNER))?.openView(); assert.ok(runnerView, 'Runner view not found'); - const content = await runnerView.getContent(); + const content = runnerView.getContent(); assert.ok(content, 'Content not found'); const sections = await content.getSections(); @@ -227,7 +229,7 @@ describe('Parser test suite', function () { const runnerView = await (await new ActivityBar().getViewControl(EXTESTER_RUNNER))?.openView(); assert.ok(runnerView, 'Runner view not found'); - const content = await runnerView.getContent(); + const content = runnerView.getContent(); assert.ok(content, 'Content not found'); const sections = await content.getSections(); @@ -255,12 +257,12 @@ describe('Parser test suite', function () { assert.strictEqual(firstDescribeLabel.trim(), EXPECTED_DESCRIBE_1); // first describe first test - const firstDesribeIts = await firstDescribe.getChildren(); - assert.ok(firstDesribeIts?.length === 1, 'First describe should have exactly one it'); + const firstDescribeIts = await firstDescribe.getChildren(); + assert.ok(firstDescribeIts?.length === 1, 'First describe should have exactly one it'); - const firstDesribeFirstIt = firstDesribeIts[0]; - const firstDesribeFirstItLabel = await firstDesribeFirstIt.getLabel(); - assert.strictEqual(firstDesribeFirstItLabel.trim(), EXPECTED_TEST_1); + const firstDescribeFirstIt = firstDescribeIts[0]; + const firstDescribeFirstItLabel = await firstDescribeFirstIt.getLabel(); + assert.strictEqual(firstDescribeFirstItLabel.trim(), EXPECTED_TEST_1); // second describe const secondDescribe = describes[1]; diff --git a/packages/extester-runner/src/ui-test/utils/testUtils.ts b/packages/extester-runner/src/ui-test/utils/testUtils.ts index 35bc2d6cc..9a03cbc54 100644 --- a/packages/extester-runner/src/ui-test/utils/testUtils.ts +++ b/packages/extester-runner/src/ui-test/utils/testUtils.ts @@ -113,7 +113,7 @@ export async function extensionIsActivated(displayName: string): Promise { const runnerView = await (await new ActivityBar().getViewControl(EXTESTER_RUNNER))?.openView(); - const content = await (await runnerView?.getContent())?.getSections(); + const content = await runnerView?.getContent()?.getSections(); if (!content) { throw new Error('Content sections not found'); }