From da64199cfd61067a6bb9ba0b7e450701900935f3 Mon Sep 17 00:00:00 2001 From: Peter Hedenskog Date: Thu, 26 Dec 2024 07:49:53 +0100 Subject: [PATCH] Upgrade co2 to 0.16.4 (#4353) --- lib/plugins/sustainable/index.js | 4 ++-- npm-shrinkwrap.json | 8 ++++---- package.json | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/plugins/sustainable/index.js b/lib/plugins/sustainable/index.js index 1f664ea092..6a5282a949 100644 --- a/lib/plugins/sustainable/index.js +++ b/lib/plugins/sustainable/index.js @@ -140,13 +140,13 @@ export default class SustainablePlugin extends SitespeedioPlugin { } else { if (this.sustainableOptions.useGreenWebHostingAPI === true) { log.info('Fetch hosting information from The Green Web Foundation'); - hostingGreenCheck = await hosting.check( + hostingGreenCheck = await hosting( listOfDomains, undefined, 'sitespeed.io' ); } else { - hostingGreenCheck = await hosting.check(listOfDomains, this.data); + hostingGreenCheck = await hosting(listOfDomains, this.data); } } diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 393595bbec..eca666f03a 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -13,7 +13,7 @@ "@google-cloud/storage": "6.9.5", "@influxdata/influxdb-client": "1.33.2", "@sitespeed.io/plugin": "0.0.6", - "@tgwf/co2": "0.16.0", + "@tgwf/co2": "0.16.4", "axe-core": "4.10.2", "browsertime": "23.5.0", "cli-color": "2.0.4", @@ -2901,9 +2901,9 @@ } }, "node_modules/@tgwf/co2": { - "version": "0.16.0", - "resolved": "https://registry.npmjs.org/@tgwf/co2/-/co2-0.16.0.tgz", - "integrity": "sha512-XaISEAE2ysQ6yHs4C1ZM/FFPPe04t1rXGVPzKi72dggPcOCaLvqXWSVdhxCih55mW/OLNGhmUax4SjNILSpGxA==", + "version": "0.16.4", + "resolved": "https://registry.npmjs.org/@tgwf/co2/-/co2-0.16.4.tgz", + "integrity": "sha512-op5k5s84hzTcqbanoWC3Kh/uz0MW9akaSqyRSdAW0yiHnhZmcw+/Edn+mgjZuZ4q4ZtdOC2dC0jog1lDoDICKQ==", "engines": { "node": ">=14.0.0" } diff --git a/package.json b/package.json index f45f1c3ef7..5e56d4a29a 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "dependencies": { "@google-cloud/storage": "6.9.5", "@influxdata/influxdb-client": "1.33.2", - "@tgwf/co2": "0.16.0", + "@tgwf/co2": "0.16.4", "@aws-sdk/client-s3": "3.609.0", "axe-core": "4.10.2", "browsertime": "23.5.0",