Upgrade co2 to 0.16.4 (#4353)

This commit is contained in:
Peter Hedenskog 2024-12-26 07:49:53 +01:00 committed by GitHub
parent 3c0828b73d
commit da64199cfd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 7 additions and 7 deletions

View File

@ -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);
}
}

8
npm-shrinkwrap.json generated
View File

@ -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"
}

View File

@ -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",