From 878bd485fdba8003e433a7998439110a8cff3407 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 30 Aug 2022 15:34:43 -0700 Subject: [PATCH 1/3] Bump vite from 2.9.9 to 2.9.13 (#123) Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index 419089e..70b7d50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7156,9 +7156,9 @@ } }, "node_modules/vite": { - "version": "2.9.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-2.9.9.tgz", - "integrity": "sha512-ffaam+NgHfbEmfw/Vuh6BHKKlI/XIAhxE5QSS7gFLIngxg171mg1P3a4LSRME0z2ZU1ScxoKzphkipcYwSD5Ew==", + "version": "2.9.13", + "resolved": "https://registry.npmjs.org/vite/-/vite-2.9.13.tgz", + "integrity": "sha512-AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoDw==", "dev": true, "dependencies": { "esbuild": "^0.14.27", @@ -13136,9 +13136,9 @@ } }, "vite": { - "version": "2.9.9", - "resolved": "https://registry.npmjs.org/vite/-/vite-2.9.9.tgz", - "integrity": "sha512-ffaam+NgHfbEmfw/Vuh6BHKKlI/XIAhxE5QSS7gFLIngxg171mg1P3a4LSRME0z2ZU1ScxoKzphkipcYwSD5Ew==", + "version": "2.9.13", + "resolved": "https://registry.npmjs.org/vite/-/vite-2.9.13.tgz", + "integrity": "sha512-AsOBAaT0AD7Mhe8DuK+/kE4aWYFMx/i0ZNi98hJclxb4e0OhQcZYUrvLjIaQ8e59Ui7txcvKMiJC1yftqpQoDw==", "dev": true, "requires": { "esbuild": "^0.14.27", From 8a51f1f0997a3f376259fa1e8d35c1609d4fafc2 Mon Sep 17 00:00:00 2001 From: Owen Rogers Date: Mon, 19 Dec 2022 13:42:42 -0800 Subject: [PATCH 2/3] output referrer when there is a crawl error --- src/crawl.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crawl.ts b/src/crawl.ts index 3806f78..8136f80 100644 --- a/src/crawl.ts +++ b/src/crawl.ts @@ -49,7 +49,7 @@ export const crawl = (siteUrl: string, opts: CrawlOptions) => { const emitWarning = (queueItem: QueueItem, response: IncomingMessage) => { emit( 'warning', - `Error fetching (${response.statusCode}): ${queueItem.url}` + `Error fetching (${response.statusCode}): ${queueItem.url}; referrer: ${queueItem.referrer}` ); }; From 5aee276f17d1c3bfbb9dd02ad9e63e6fd80abde4 Mon Sep 17 00:00:00 2001 From: Owen Rogers Date: Mon, 19 Dec 2022 13:54:40 -0800 Subject: [PATCH 3/3] output referrer when there is a crawl error - including changeset --- .changeset/thin-chefs-sneeze.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/thin-chefs-sneeze.md diff --git a/.changeset/thin-chefs-sneeze.md b/.changeset/thin-chefs-sneeze.md new file mode 100644 index 0000000..afb224f --- /dev/null +++ b/.changeset/thin-chefs-sneeze.md @@ -0,0 +1,5 @@ +--- +'lighthouse-parade': patch +--- + +Output referrer when there is a crawl error