Skip to content
This repository was archived by the owner on Jan 22, 2026. It is now read-only.

fix: Replace outdated validate-color third party library#376

Open
aed2fe wants to merge 3 commits intooae:masterfrom
aed2fe:validate_colors
Open

fix: Replace outdated validate-color third party library#376
aed2fe wants to merge 3 commits intooae:masterfrom
aed2fe:validate_colors

Conversation

@aed2fe
Copy link

@aed2fe aed2fe commented Nov 27, 2025

Pull Request Template

Description

On my Gnome-Shell (Version 46.0) from Ubuntu 24.04 I got the error:

SyntaxError: ambiguous indirect export: validateHTMLColorHex @ file:///home/aed2fe/.local/share/gnome-shell/extensions/pano@elhan.io/extension.js:59:9

After looking into it I found out that the library validate-color is outdated since 2 years. So i decided to remove the library and implement the feature covered by it as sub-module here.

HINT: As I'm not an experienced TypeScript developer I used the help of the GitHub Copilot with the LLM Claude Sonnet 4.5

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist

  • My code follows the style guidelines of this project
  • My commits follow the commit standards of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have checked my code and corrected any misspellings

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant