[PR #1234] [CLOSED] Upstream update #1282

Closed
opened 2026-03-03 14:42:57 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/lipis/flag-icons/pull/1234
Author: @eddieferrer
Created: 4/24/2024
Status: Closed

Base: mainHead: upstream_update


📝 Commits (10+)

  • 9f57279 Add a script to build PNG sprites out of the SVGs.
  • 068d775 Add flags for AN, CS, GZ
  • 1c11e83 Add country code map from what's used in our DB
  • 4aab282 Replace country-list dependency with kiva's country list. Export the list.
  • 07ff723 Rebuild the sprites
  • 021ea59 Remove try-catch blocks that only threw caught errors again
  • 27aa8b9 Return single object not an array
  • ab41923 Use es5 for index.js so transpilation is not needed
  • ef40e9a Merge pull request #2 from kiva/es5-for-index
  • ff6cec5 Merge remote-tracking branch 'upstream/main' into upstream_update

📊 Changes

16 files changed (+7145 additions, -151 deletions)

View changed files

buildSprite.js (+163 -0)
country-list.json (+978 -0)
flags/1x1/an.svg (+58 -0)
flags/1x1/cs.svg (+5 -0)
flags/1x1/gz.svg (+15 -0)
flags/4x3/an.svg (+93 -0)
flags/4x3/cs.svg (+5 -0)
flags/4x3/gz.svg (+15 -0)
flags/sprite/1x1/flag-sprite-32.png (+0 -0)
flags/sprite/1x1/flag-sprite-32_2x.png (+0 -0)
flags/sprite/4x3/flag-sprite-32.png (+0 -0)
flags/sprite/4x3/flag-sprite-32_2x.png (+0 -0)
index.js (+20 -0)
package-lock.json (+4108 -0)
📝 package.json (+5 -0)
📝 yarn.lock (+1680 -151)

📄 Description

  • Update from upstream
  • Remove dependencies
  • Generate new sprites

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/lipis/flag-icons/pull/1234 **Author:** [@eddieferrer](https://github.com/eddieferrer) **Created:** 4/24/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `upstream_update` --- ### 📝 Commits (10+) - [`9f57279`](https://github.com/lipis/flag-icons/commit/9f57279f271fc108c8d1109bd5757d2c0d7a0d70) Add a script to build PNG sprites out of the SVGs. - [`068d775`](https://github.com/lipis/flag-icons/commit/068d7755c599240fe06e69c2a380f792d04cb48b) Add flags for AN, CS, GZ - [`1c11e83`](https://github.com/lipis/flag-icons/commit/1c11e83326bdec3a73a810e6bca9fd314541410e) Add country code map from what's used in our DB - [`4aab282`](https://github.com/lipis/flag-icons/commit/4aab28263c4e645fecce577956275b22a8c3a508) Replace country-list dependency with kiva's country list. Export the list. - [`07ff723`](https://github.com/lipis/flag-icons/commit/07ff7237bec1263666c9acd4a2413546aadc1f29) Rebuild the sprites - [`021ea59`](https://github.com/lipis/flag-icons/commit/021ea59466146a2005bea5c5586a3568d602cd77) Remove try-catch blocks that only threw caught errors again - [`27aa8b9`](https://github.com/lipis/flag-icons/commit/27aa8b90236e0860dc7ec2e63fc0f878bec60d9f) Return single object not an array - [`ab41923`](https://github.com/lipis/flag-icons/commit/ab41923049be495c59f499b63f9908eceaee8d60) Use es5 for index.js so transpilation is not needed - [`ef40e9a`](https://github.com/lipis/flag-icons/commit/ef40e9a52246b15dd59b55409c55eb3edc72fb10) Merge pull request #2 from kiva/es5-for-index - [`ff6cec5`](https://github.com/lipis/flag-icons/commit/ff6cec57951d46cfa01fad31aad23dbca7d49b4d) Merge remote-tracking branch 'upstream/main' into upstream_update ### 📊 Changes **16 files changed** (+7145 additions, -151 deletions) <details> <summary>View changed files</summary> ➕ `buildSprite.js` (+163 -0) ➕ `country-list.json` (+978 -0) ➕ `flags/1x1/an.svg` (+58 -0) ➕ `flags/1x1/cs.svg` (+5 -0) ➕ `flags/1x1/gz.svg` (+15 -0) ➕ `flags/4x3/an.svg` (+93 -0) ➕ `flags/4x3/cs.svg` (+5 -0) ➕ `flags/4x3/gz.svg` (+15 -0) ➕ `flags/sprite/1x1/flag-sprite-32.png` (+0 -0) ➕ `flags/sprite/1x1/flag-sprite-32_2x.png` (+0 -0) ➕ `flags/sprite/4x3/flag-sprite-32.png` (+0 -0) ➕ `flags/sprite/4x3/flag-sprite-32_2x.png` (+0 -0) ➕ `index.js` (+20 -0) ➕ `package-lock.json` (+4108 -0) 📝 `package.json` (+5 -0) 📝 `yarn.lock` (+1680 -151) </details> ### 📄 Description * Update from upstream * Remove dependencies * Generate new sprites --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-03 14:42:57 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/flag-icons#1282
No description provided.