Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade @tgwf/co2 from 0.6.1 to 0.16.0 #8

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Stanislav1975
Copy link
Owner

snyk-top-banner

Snyk has created this PR to upgrade @tgwf/co2 from 0.6.1 to 0.16.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 36 versions ahead of your current version.

  • The recommended version was released on a month ago.

Release notes
Package name: @tgwf/co2
  • 0.16.0 - 2024-07-01

    Significant updates in this release include:

    • Add Sustainable Web Design version 4 b4a7eef
    • Add Sustainable Web Design rating scale 142c041
    • allow for SWDM version change 15e33a5
    • add contributing.md 22d4bcc
    • calculate operational and embodied emissions per segment a525f33

    v0.15.0...v0.16.0

    Release notes: https://www.thegreenwebfoundation.org/news/release-guide-co2-js-v0-16

  • 0.15.0 - 2024-05-03

    CO2.js v0.15 gives developers access to richer information about a hosting provider when checking a domain or multiple domains for green hosting.

    Release guide: https://www.thegreenwebfoundation.org/news/release-guide-co2-js-v0-15/

    • Adds support for verbose response when checking domains d012292 . Thank you @ sfishel18 for this contribution.
    • update grid intensities 03b5e45
    • remove pagexray dependency, related functions, and test 2a8f601 b2fefd0 41ee904 1e6508a
    • Added new JSdoc typedef for components of CO2 estimate Added it as a union for return types that can be total or components d6700f5 . Thank you @ mgriffin-scottlogic for this contribution.

    v0.14.4...v0.15.0

  • 0.14.4 - 2024-03-08
    • [AUTOMATED] Update average annual grid intensities 5e532f5

    v0.14.3...v0.14.4

  • 0.14.3 - 2024-02-21
    • [AUTOMATED] Update average annual grid intensities f59eefc

    Please note that this update includes data from Ember Climate that reflects their updated carbon intensity methodology.

    Read the methodology at: https://ember-climate.org/data-catalogue/yearly-electricity-data/

    A note from Ember about the change is below:

    We have made a significant update to our carbon intensity calculations which hopefully helped to significantly increase their accuracy. Previously, we were using IPCC emissions factors by fuel that did not distinguish between countries or technologies. Our new factors are on a by country, by fuel, by year basis to more accurately capture coal and gas fleets, how they change over time, and where and how coal and gas is sourced.

    Crucially, while widely used, IPCC factors were a significant underestimate, especially for emissions from coal generation. The IPCC, in its methodology, relied on calculations that assumed near impossible efficiency for future coal plants that does not accurately reflect current day coal generation.

    We hope that our new approach will be more accurate and we're aiming to make our methodology fully public and reproducible in the near future.

    v0.14.2...v0.14.3

  • 0.14.2 - 2024-01-29

    What's Changed

    • Adds user agent header for requests to Green Web Foundation APIs by @ sfishel18 in #184
    import { hosting } from "@ tgwf/co2"
    hosting.check("google.com", "myGreenWebApp")

    New Contributors

    Full Changelog: v0.14.1...v0.14.2

  • 0.14.1 - 2024-01-09

    Why not v0.14.0? Because about 6 months ago I accidentally published v0.14.0 instead of a patch version update. I couldn't remove the tags from NPM or unpublish the package, so we're here now.

    • Add guidance for using type definitions from DefinitelyTyped in production 27e2ed4 b5d8828
    • Remove previous index.d.ts file ff6f767
    • Reduce NPM package size dbd9d7d
    • Update average annual average grid intensities 49da1c4 84384da

    v0.13.10...v0.14.1

    ⚠️ Upcoming feature deprecation notice

    In the next version of CO2.js (0.15.0) we will be removing some functions that were specific to using CO2.js with Sitespeed's Page X-ray. Namely, we will be removing the following functions from the CO2.js library:

    • perDomain
    • perPage
    • perContentType
    • dirtiestResources
    • perParty

    This functionality has already been merged into the Sitespeed.io Sustainability Plugin. Once the above functions have been removed from CO2.js, you will need to use the Sitespeed.io Sustainability Plugin or your own code for that functionality.

    If this change impacts your code, please follow the issue on GitHub and leave a comment if you have any concerns.

  • 0.14.0 - 2023-07-05
  • 0.13.10 - 2023-12-16
    • [AUTOMATED] Update average annual grid intensities data 3085219
  • 0.13.9 - 2023-11-07
    • Fix to return expected results when variables with 0 value are passed into function b1c0679
    • [AUTOMATED] Update average annual grid intensities 0e76dbe

    v0.13.8...v0.13.9

  • 0.13.8 - 2023-10-09
    • Add support for values equal to 0 in perByteTrace and perVisitTrace. Thanks @ p-gerard. a045b14
    • Update average annual grid intensities c2a805a
    • Add some forgiveness to perByteTrace and perVisitTrace tests 26972e4

    v0.13.7...v0.13.8

  • 0.13.7 - 2023-09-13

    The main update ini this patch release is fresh data for country average annual grid intensity.

    • [AUTOMATED] Update average annual grid intensities from August 2023 33f7d9f

    Other quality of life updates to testing and repo management can be found in the release comparison below.
    v0.13.6...v0.13.7

  • 0.13.6 - 2023-08-08
  • 0.13.5 - 2023-07-05
  • 0.13.4 - 2023-05-24
  • 0.13.3 - 2023-05-18
  • 0.13.2 - 2023-04-21
  • 0.13.1 - 2023-04-20
  • 0.13.0 - 2023-04-13
  • 0.12.2 - 2023-03-01
  • 0.12.1 - 2023-02-02
  • 0.12.0 - 2023-02-02
  • 0.11.4 - 2022-12-02
  • 0.11.3 - 2022-10-13
  • 0.11.2 - 2022-10-11
  • 0.11.1 - 2022-10-07
  • 0.11.0 - 2022-10-03
  • 0.10.5 - 2022-10-07
  • 0.10.4 - 2022-08-17
  • 0.10.3 - 2022-08-12
  • 0.10.2 - 2022-08-12
  • 0.10.1 - 2022-08-01
  • 0.10.0 - 2022-06-27
  • 0.9.0 - 2022-04-28
  • 0.9.0-0 - 2022-04-02
  • 0.8.0 - 2021-11-28
  • 0.7.0 - 2021-11-28
  • 0.6.1 - 2020-03-15
from @tgwf/co2 GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

Snyk has created this PR to upgrade @tgwf/co2 from 0.6.1 to 0.16.0.

See this package in npm:
@tgwf/co2

See this project in Snyk:
https://app.snyk.io/org/stanislav1975/project/18f3154f-26c5-4466-a94f-d97f7b9bb0b1?utm_source=github&utm_medium=referral&page=upgrade-pr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants