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

build(deps): update dependency simple-icons to v14 #969

Merged
merged 1 commit into from
Feb 2, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
simple-icons (source) 13.21.0 -> 14.5.0 age adoption passing confidence

Release Notes

simple-icons/simple-icons (simple-icons)

v14.5.0: Release 6 new icons and 1 updated icon (v14.5.0)

Compare Source

6 new icons

1 updated icon

v14.4.0: Release 3 new icons and 1 updated icon (v14.4.0)

Compare Source

3 new icons

1 updated icon

v14.3.0: Release 5 new icons and 3 updated icons (v14.3.0)

Compare Source

5 new icons

3 updated icons

v14.2.0: Release 4 new icons (v14.2.0)

Compare Source

4 new icons

v14.1.0: Release 2 new icons and 1 updated icon (v14.1.0)

Compare Source

2 new icons

1 updated icon

v14.0.1: Release 2 updated icons (v14.0.1)

Compare Source

2 updated icons

New entry point simple-icons/icons.json

We exposed the _data/simple-icons.json as simple-icons/icons.json in #​12433 (@​LitoMore).

Now you can import the JSON file directly instead of using the getIconsData(). The import way suits more scenes since it has no fs calls.

// CommonJS
-const {getIconsData} = require('simple-icons/sdk');
-const icons = await getIconsData();
+const icons = require('simple-icons/icons.json');
// ESM
-import {getIconsData} from 'simple-icons/sdk';
-const icons = awaiat getIconsData();
+import icons from 'simple-icons/icons.json' with {type: 'json'};

v14.0.0: Release 10 new icons and 4 updated icons and 59 removed icons

Compare Source

10 new icons

4 updated icons

59 removed icons

SDK breaking changes

_data/simple-icons.json file structure updated

The icons property has been dropped. Now the JSON content is the array of icons.

import {getIconsData} from 'simple-icons/sdk';

const iconsData = await getIconsData();
-const icons = iconsData.icons;
+const icons = iconsData;
getIconDataPath() has been renamed to getIconsDataPath()

We renamed this function to make our function names consistent.

-import {getIconDataPath} from 'simple-icons/sdk';
+import {getIconsDataPath} from 'simple-icons/sdk';

Configuration

📅 Schedule: Branch creation - "at 9:00 am on the 1-7 day of the month on Saturday" in timezone Europe/Madrid, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added dependencies Pull requests that update a dependency file javascript labels Feb 2, 2025
@renovate renovate bot requested a review from davidlj95 as a code owner February 2, 2025 11:17
@davidlj95 davidlj95 enabled auto-merge (squash) February 2, 2025 11:18
Copy link

codecov bot commented Feb 2, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.31%. Comparing base (3f01e47) to head (79a086b).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #969   +/-   ##
=======================================
  Coverage   98.31%   98.31%           
=======================================
  Files         122      122           
  Lines         594      594           
  Branches       61       61           
=======================================
  Hits          584      584           
  Misses          6        6           
  Partials        4        4           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@davidlj95 davidlj95 merged commit 81b2418 into main Feb 2, 2025
16 checks passed
@davidlj95 davidlj95 deleted the renovate/simple-icons-14.x branch February 2, 2025 11:19
Copy link

🚀 This pull request is included in v2.63.3. See v2.63.3 for release notes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant