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

chore(deps): update dependency simple-icons to v14 #248

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
simple-icons (source) ^13.17.0 -> ^14.1.0 age adoption passing confidence

Release Notes

simple-icons/simple-icons (simple-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';

v13.21.0: Release 18 new icons and 11 updated icons (v13.21.0)

Compare Source

18 new icons

11 updated icons

v13.20.0: Release 22 new icons and 2 updated icons (v13.20.0)

Compare Source

22 new icons

2 updated icons

v13.19.0: Release 29 new icons and 64 updated icons (v13.19.0)

Compare Source

29 new icons

64 updated icons

v13.18.0: Release 2 new icons (v13.18.0)

Compare Source

New Icons


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), 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.

Copy link

cloudflare-workers-and-pages bot commented Jan 2, 2025

Deploying site with  Cloudflare Pages  Cloudflare Pages

Latest commit: b596eec
Status: ✅  Deploy successful!
Preview URL: https://0e5b2a56.uncenter.pages.dev
Branch Preview URL: https://renovate-simple-icons-14-x.uncenter.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/simple-icons-14.x branch from 27c107a to f7d1b72 Compare January 2, 2025 12:52
@renovate renovate bot force-pushed the renovate/simple-icons-14.x branch from f7d1b72 to e3e39d2 Compare January 2, 2025 12:55
@renovate renovate bot force-pushed the renovate/simple-icons-14.x branch from e3e39d2 to b596eec Compare January 5, 2025 13:06
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.

0 participants