Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit 431492d
Author: samuelIkoli <[email protected]>
Date:   Thu Nov 14 11:18:57 2024 +0100

    spelling typo corrected

commit d4731ba
Author: Chris Adams <[email protected]>
Date:   Fri Nov 15 07:45:38 2024 +0000

    Update changelog to include new PR

commit 4146166
Author: Chris Adams <[email protected]>
Date:   Fri Nov 15 07:40:58 2024 +0000

    Update supported versions of nodejs in tests

commit 32047da
Author: fershad <[email protected]>
Date:   Tue Nov 12 12:23:08 2024 +0800

    update contributors

commit 13bb452
Author: fershad <[email protected]>
Date:   Tue Nov 12 12:20:21 2024 +0800

    update to 0.16.2

commit 95c2d00
Author: fershad <[email protected]>
Date:   Tue Nov 12 12:17:28 2024 +0800

    0.16.2

commit 5680b23
Merge: 81633d7 978a92d
Author: fershad <[email protected]>
Date:   Tue Nov 12 11:52:33 2024 +0800

    Bump url2green version

commit 978a92d
Author: fershad <[email protected]>
Date:   Tue Nov 12 11:51:31 2024 +0800

    bump url2green 0.4.1

commit 8eb0630
Author: fershad <[email protected]>
Date:   Thu Oct 24 12:56:34 2024 +0800

    update iife
  • Loading branch information
fershad committed Nov 30, 2024
1 parent afea798 commit e58125e
Show file tree
Hide file tree
Showing 7 changed files with 8,219 additions and 15,399 deletions.
20 changes: 19 additions & 1 deletion .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,25 @@
"contributions": [
"code"
]
}
},
{
"login": "dsubject",
"name": "Dani Subject",
"avatar_url": "https://avatars.githubusercontent.com/u/33845418?s=64&v=4",
"profile": "https://github.com/dsubject",
"contributions": [
"code"
]
},
{
"login": "Malay-dev",
"name": "Malay Kumar",
"avatar_url": "https://avatars.githubusercontent.com/u/91375797?s=64&v=4",
"profile": "https://github.com/Malay-dev",
"contributions": [
"doc"
]
},
],
"contributorsPerLine": 7,
"linkToUsage": false
Expand Down
35 changes: 18 additions & 17 deletions .github/workflows/unittests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,30 @@ name: Unit tests
on:
push:
branches:
- main
- ca-v0.10.0
- main
pull_request:
branches:
- main
- ca-v0.10.0
- main
permissions:
contents: read
contents: read
jobs:
build:
runs-on: ubuntu-latest
# We officially support LTS versions of nodejs still inside
# their security support window
# https://endoflife.date/nodejs
strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x, 20.x, 22.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Verify lint
run: npm run lint
- name: Run unit tests
run: npm test
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: npm ci
- name: Verify lint
run: npm run lint
- name: Run unit tests
run: npm test
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Add ability to create adaptors which provide access to external data sources #134
- Add access to the Electricity Maps API free tier #134
- Allow access to individual models and their internal functions #195
- Update the Github actions testing matrix to Node 18,20, and 22 #242
<!-- - _(Add a summary of your feature, and if relevant the issue, in your PR for merging into `main`)_ -->

## Released
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Internally, you may want to use this library to create a _carbon budget_ for you

For user facing applications, CO2.js could be used to check & block the uploading of carbon intensive files. Or, to present users with information about the carbon impact of their online activities (such as browsing a website).

The above a just a few examples of the many and varied ways CO2.js can be applied to provide carbon estimates for data transfer. If you’re using CO2.js in production we’d love to hear how! [Contact us](https://www.thegreenwebfoundation.org/support-form/) via our website.
The above are just a few examples of the many and varied ways CO2.js can be applied to provide carbon estimates for data transfer. If you’re using CO2.js in production we’d love to hear how! [Contact us](https://www.thegreenwebfoundation.org/support-form/) via our website.

## Installation

Expand Down
4 changes: 2 additions & 2 deletions dist/iife/index.js

Large diffs are not rendered by default.

Loading

0 comments on commit e58125e

Please sign in to comment.