From c43eed3ededc45ae17ad835c72fce16fa173d52a Mon Sep 17 00:00:00 2001
From: Johnny Bouder <jbouder@metrostar.com>
Date: Wed, 6 Mar 2024 21:34:15 -0500
Subject: [PATCH] Update unlighthouse to latest. Update unlighthouse config.

---
 package-lock.json      | 69 ++++++++++++++++++++++--------------------
 package.json           |  2 +-
 unlighthouse.config.ts |  6 ++--
 3 files changed, 39 insertions(+), 38 deletions(-)

diff --git a/package-lock.json b/package-lock.json
index e2378d0f..48bd1781 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -63,7 +63,7 @@
         "ts-node": "10.9.2",
         "tsconfig-paths": "4.2.0",
         "typescript": "5.3.3",
-        "unlighthouse": "0.11.4",
+        "unlighthouse": "0.11.5",
         "vite": "^5.1.4",
         "vite-plugin-environment": "1.1.3",
         "vite-plugin-eslint": "1.8.1",
@@ -5005,14 +5005,14 @@
       "dev": true
     },
     "node_modules/@unlighthouse/cli": {
-      "version": "0.11.4",
-      "resolved": "https://registry.npmjs.org/@unlighthouse/cli/-/cli-0.11.4.tgz",
-      "integrity": "sha512-rSxQUzbdCqZHLXuJ1ZxMkh3+s08Y1Qot/hS7dwguCF0eOdK9H6zkxwUIlA2FcfsJd12kumbarfCrn8oplqQuVw==",
+      "version": "0.11.5",
+      "resolved": "https://registry.npmjs.org/@unlighthouse/cli/-/cli-0.11.5.tgz",
+      "integrity": "sha512-blYSZQFELWNYMc/hqGvPzzkvkgcXzrGMj/xl15UXG8F1tPBYXoNE+YZk3E53bN9v90NR6S7D9CHH6Q1WC0WCLg==",
       "dev": true,
       "dependencies": {
         "@lhci/utils": "^0.13.0",
-        "@unlighthouse/core": "0.11.4",
-        "@unlighthouse/server": "0.11.4",
+        "@unlighthouse/core": "0.11.5",
+        "@unlighthouse/server": "0.11.5",
         "better-opn": "^3.0.2",
         "cac": "^6.7.14",
         "consola": "^3.2.3",
@@ -5086,9 +5086,9 @@
       }
     },
     "node_modules/@unlighthouse/client": {
-      "version": "0.11.4",
-      "resolved": "https://registry.npmjs.org/@unlighthouse/client/-/client-0.11.4.tgz",
-      "integrity": "sha512-/KVMRp396XRq8H67Mb/ZUqRDWKhmDgsWUmQqDJKd2jyVc4oVCBTYe0mFYZQg9uZczWnWSh+vmAiNZMNzQsS02Q==",
+      "version": "0.11.5",
+      "resolved": "https://registry.npmjs.org/@unlighthouse/client/-/client-0.11.5.tgz",
+      "integrity": "sha512-VpFTGPXnYIL/Jurad4ZxSnTVeJasOIfOYFkiNOtkhmSbIPvm+Yr1gkN8Bez5gDCFbfKCG6lr2kz+nRwkHmhEPQ==",
       "dev": true,
       "dependencies": {
         "@headlessui/vue": "^1.7.19",
@@ -5102,13 +5102,13 @@
       }
     },
     "node_modules/@unlighthouse/core": {
-      "version": "0.11.4",
-      "resolved": "https://registry.npmjs.org/@unlighthouse/core/-/core-0.11.4.tgz",
-      "integrity": "sha512-RAFMGehsfpy50sJzWCZSKRM8aM6n5yDxIVfZFKtix6i1DOnUbKxM/9/TukpFsV/UyDtIsO8+VqU1oM8DnnRyqQ==",
+      "version": "0.11.5",
+      "resolved": "https://registry.npmjs.org/@unlighthouse/core/-/core-0.11.5.tgz",
+      "integrity": "sha512-6ewSs9OPpOMC9jL/P9/jAaJtixjat+CMQCK7+f6ocF+liLzprpv2Ufi9d6j+SrTKJMxZvIGl1ZE6DZUFfdOHjQ==",
       "dev": true,
       "dependencies": {
         "@puppeteer/browsers": "^2.1.0",
-        "@unlighthouse/client": "0.11.4",
+        "@unlighthouse/client": "0.11.5",
         "@unrouted/core": "^0.6.0",
         "@unrouted/fetch": "^0.6.0",
         "@unrouted/plugins": "^0.6.0",
@@ -5515,12 +5515,12 @@
       }
     },
     "node_modules/@unlighthouse/server": {
-      "version": "0.11.4",
-      "resolved": "https://registry.npmjs.org/@unlighthouse/server/-/server-0.11.4.tgz",
-      "integrity": "sha512-EVB6xkxmUwFIdCmLeRrLjGZMonkj8v8oBifvCS6AS5677Ov0AyyCcAjtxQBnXn6VVKFK5Cu75SjzPf208KziTw==",
+      "version": "0.11.5",
+      "resolved": "https://registry.npmjs.org/@unlighthouse/server/-/server-0.11.5.tgz",
+      "integrity": "sha512-2tbhAao5ELRi+UwHRCj9f9jst6+g7mSQuFu6CYkdfyEJPkUn/C5Zm8Wggt+BBJM+cweBh0TBeAVJWN3Cemrktw==",
       "dev": true,
       "dependencies": {
-        "@unlighthouse/core": "0.11.4",
+        "@unlighthouse/core": "0.11.5",
         "h3": "^1.11.1",
         "listhen": "^1.7.2"
       }
@@ -7027,9 +7027,9 @@
       }
     },
     "node_modules/chromium-bidi": {
-      "version": "0.5.10",
-      "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.10.tgz",
-      "integrity": "sha512-4hsPE1VaLLM/sgNK/SlLbI24Ra7ZOuWAjA3rhw1lVCZ8ZiUgccS6cL5L/iqo4hjRcl5vwgYJ8xTtbXdulA9b6Q==",
+      "version": "0.5.12",
+      "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-0.5.12.tgz",
+      "integrity": "sha512-sZMgEBWKbupD0Q7lyFu8AWkrE+rs5ycE12jFkGwIgD/VS8lDPtelPlXM7LYaq4zrkZ/O2L3f4afHUHL0ICdKog==",
       "dev": true,
       "dependencies": {
         "mitt": "3.0.1",
@@ -16209,13 +16209,13 @@
       }
     },
     "node_modules/puppeteer-core": {
-      "version": "22.3.0",
-      "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.3.0.tgz",
-      "integrity": "sha512-Ho5Vdpdro05ZyCx/l5Hkc5vHiibKTaY37fIAD9NF9Gi/vDxkVTeX40U/mFnEmeoxyuYALvWCJfi7JTT82R6Tuw==",
+      "version": "22.4.0",
+      "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-22.4.0.tgz",
+      "integrity": "sha512-MZttAbttrxi6O/B//rY6zQihjFe/vXeCLb5YvKH2xG6yrcVESo0Hc5/Cv49omwZyZzAJ1BK8BnDeatDsj+3hMw==",
       "dev": true,
       "dependencies": {
         "@puppeteer/browsers": "2.1.0",
-        "chromium-bidi": "0.5.10",
+        "chromium-bidi": "0.5.12",
         "cross-fetch": "4.0.0",
         "debug": "4.3.4",
         "devtools-protocol": "0.0.1249869",
@@ -18081,14 +18081,14 @@
       }
     },
     "node_modules/unlighthouse": {
-      "version": "0.11.4",
-      "resolved": "https://registry.npmjs.org/unlighthouse/-/unlighthouse-0.11.4.tgz",
-      "integrity": "sha512-16S0UR+lkKqa8dDoB498+i+1m2b+YH+078KsPMHHLpV1q+zHEOEiyJdZoRLKo8bEkEsPciOaj5EX/CSJ0BrEag==",
+      "version": "0.11.5",
+      "resolved": "https://registry.npmjs.org/unlighthouse/-/unlighthouse-0.11.5.tgz",
+      "integrity": "sha512-7s+siaK0fYocYuM/80ETyqYnVQj/mJBzY/vrIk92YTK9aQC51LQNt0MuuN3pLlsmOVeslKG65fsK2/qzt2y6aQ==",
       "dev": true,
       "dependencies": {
-        "@unlighthouse/cli": "0.11.4",
-        "@unlighthouse/client": "0.11.4",
-        "@unlighthouse/core": "0.11.4"
+        "@unlighthouse/cli": "0.11.5",
+        "@unlighthouse/client": "0.11.5",
+        "@unlighthouse/core": "0.11.5"
       },
       "bin": {
         "unlighthouse": "bin/unlighthouse.cjs",
@@ -18107,15 +18107,18 @@
       }
     },
     "node_modules/unplugin": {
-      "version": "1.8.0",
-      "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.8.0.tgz",
-      "integrity": "sha512-yGEQsodWICmgt7asHF7QzqDZYeEP9h14vyd9Lul98UnYf29pLZZLwI09z2QdTjwU/FCkum1SRvsK7cx232X8NA==",
+      "version": "1.8.3",
+      "resolved": "https://registry.npmjs.org/unplugin/-/unplugin-1.8.3.tgz",
+      "integrity": "sha512-ZlLteXGDcyJgsbN2g4sZ3Dw6fpX1O5rjgeaA5MmQhhA2YxnTxsh43f8nDQgFOzcir0iv8GYMjtCV8MtyNnrhEg==",
       "dev": true,
       "dependencies": {
         "acorn": "^8.11.3",
         "chokidar": "^3.6.0",
         "webpack-sources": "^3.2.3",
         "webpack-virtual-modules": "^0.6.1"
+      },
+      "engines": {
+        "node": ">=14.0.0"
       }
     },
     "node_modules/unplugin/node_modules/chokidar": {
diff --git a/package.json b/package.json
index e01faf43..57f0a463 100644
--- a/package.json
+++ b/package.json
@@ -86,7 +86,7 @@
     "ts-node": "10.9.2",
     "tsconfig-paths": "4.2.0",
     "typescript": "5.3.3",
-    "unlighthouse": "0.11.4",
+    "unlighthouse": "0.11.5",
     "vite": "^5.1.4",
     "vite-plugin-environment": "1.1.3",
     "vite-plugin-eslint": "1.8.1",
diff --git a/unlighthouse.config.ts b/unlighthouse.config.ts
index 769c863a..ac8ace0d 100644
--- a/unlighthouse.config.ts
+++ b/unlighthouse.config.ts
@@ -3,7 +3,7 @@ import { defineConfig } from 'unlighthouse';
 export default defineConfig({
   ci: {
     budget: {
-      // performance: 90,
+      performance: 90,
       accessibility: 90,
       'best-practices': 90,
       seo: 90,
@@ -32,11 +32,9 @@ export default defineConfig({
     // headless: false,
     // slowMo: 50,
   },
-  routerPrefix: '/comet-starter',
   scanner: {
     device: 'desktop',
     skipJavascript: false,
   },
-  site: 'https://metrostar.github.io',
-  urls: ['/comet-starter'],
+  site: 'https://metrostar.github.io/comet-starter',
 });