Socket
Socket
Sign inDemoInstall

anypalette

Package Overview
Dependencies
0
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.0 to 0.4.0

19

CHANGELOG.md

@@ -12,3 +12,3 @@ # Changelog

[Unreleased]: https://github.com/1j01/anypalette.js/compare/v0.2.0...HEAD
[Unreleased]: https://github.com/1j01/anypalette.js/compare/v0.4.0...HEAD
## [Unreleased]

@@ -25,2 +25,17 @@ <details>

[0.4.0]: https://github.com/1j01/anypalette.js/compare/v0.3.0...v0.4.0
## [0.4.0] - 2020-06-12
### Changed
- Renamed `.colors` KDE RGB Palette loader from "KDE RGB palette" to "KolourPaint palette"
- Renamed `.spl` loader from "Sketch RGB palette" to "Skencil palette"
- Renamed `.hpl` loader from "HPL palette" to "Homesite palette"
### Fixed
- Improved error handling
### Added
- Tabular colors loader for various formats that have comma, space, or tab separated RGB values, such as mtPaint's txt palette format
- sK1 `.skp` loader (not very generalized - these files are Python source code as far as I can tell - but supporting RGB, CMYK, Grayscale, and a palette `name`, `description`, and `numberOfColumns`)
- Windows `.theme` and `.themepack` loader
[0.3.0]: https://github.com/1j01/anypalette.js/compare/v0.2.0...v0.3.0

@@ -38,3 +53,3 @@ ## [0.3.0] - 2020-06-10

- `.sketchpalette` loader for [Sketch](https://www.sketch.com/) palettes (unrelated to Skencil `.spl` files)
- `.colors` loader for KDE palettes
- `.colors` loader for [KolourPaint](https://kde.org/applications/en/graphics/org.kde.kolourpaint) palettes

@@ -41,0 +56,0 @@ [0.2.0]: https://github.com/1j01/anypalette.js/compare/v0.1.0...v0.2.0

2

package.json
{
"name": "anypalette",
"version": "0.3.0",
"version": "0.4.0",
"author": "Isaiah Odhner <isaiahodhner@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Load many color palette formats",

@@ -16,7 +16,7 @@

Loads from files that aren't intended specifically as palettes, but that have CSS-style color values in them (.css, .html, .svg, .js, etc.)
It can even load from files that aren't intended specifically as palettes, but that have CSS-style color values in them (.css, .html, .svg, .js, etc.)
Works in Node.js and in the browser.
Supported (and unsupported) palette formats:
Supported palette formats:

@@ -29,8 +29,18 @@ | File Extension | Name | Programs | Read | Write |

| .pal, .psppalette | [Paint Shop Pro] Palette | [Paint Shop Pro][] (Jasc Software / Corel) | ✅ | Planned |
| .hpl | [Homesite] Palette | Allaire [Homesite] / Macromedia [ColdFusion] | ✅ | Planned |
| .hpl | [Homesite] Palette | Allaire [Homesite] / Macromedia [ColdFusion] | ✅ | |
| .cs | ColorSchemer | ColorSchemer Studio | ✅ | Planned |
| .pal | [Starcraft] Palette | [Starcraft] | ✅ | Planned |
| .wpe | [Starcraft] Terrain Palette | [Starcraft] | ✅ | Planned |
| .sketchpalette | [Sketch] Palette | [Sketch] | Planned | Planned |
| .gpa | [Gpick] Palette | [Gpick] | Planned | Planned |
| .pal | [Starcraft] Palette | [Starcraft] | ✅ | |
| .wpe | [Starcraft] Terrain Palette | [Starcraft] | ✅ | |
| .sketchpalette | [Sketch] Palette | [Sketch] | ✅ | Planned |
| .spl | [Skencil] Palette | [Skencil] (formerly called Sketch) | ✅ | |
| .colors | KolourPaint Color Collection | [KolourPaint] | ✅ | |
| .colors | Plasma Desktop Color Scheme | [KDE] Plasma Desktop | ✅ | |
| .theme | Windows Theme | [Windows] Desktop | ✅ | |
| .themepack | Windows Theme | [Windows] Desktop | ✅ | |
UNSUPPORTED palette formats (for now):
| File Extension | Name | Programs | Read | Write |
|-------------------|-----------------------------------|-----------------------------------------------------------------------------------|:-------:|:-------:|
| .gpa | [Gpick] Palette | [Gpick] | Planned | |
| .aco | Adobe Color Swatches | Adobe [Photoshop] | Planned | Planned |

@@ -41,3 +51,2 @@ | .act | Adobe Color Table | Adobe [Photoshop] and [Illustrator] | Planned | Planned |

| .soc | StarOffice Colors | [StarOffice], [OpenOffice], [LibreOffice] | Planned | Planned |
| .* | And many more... | ... | Planned | Planned |

@@ -56,2 +65,3 @@

[Sketch]: https://www.sketchapp.com/
[Skencil]: https://skencil.org/
[Gpick]: http://www.gpick.org/

@@ -61,3 +71,2 @@ [Photoshop]: https://www.adobe.com/products/photoshop.html

[Illustrator]: https://www.adobe.com/products/illustrator.html
[Gimp]: https://www.gimp.org/

@@ -67,2 +76,4 @@ [Inkscape]: https://inkscape.org/en/

[KolourPaint]: http://kolourpaint.org/
[KDE]: https://kde.org/
[Windows]: https://en.wikipedia.org/wiki/Microsoft_Windows
[Scribus]: https://www.scribus.net/

@@ -186,3 +197,3 @@ [CinePaint]: http://www.cinepaint.org/

* Save palettes to different formats. [jBinary](https://github.com/jDataView/jBinary) should be helpful.
* Save palettes to different formats. [jBinary](https://github.com/jDataView/jBinary) may be helpful.

@@ -193,8 +204,5 @@

* Adobe Swatch Exchange (`.ase`) used in Photoshop, Illustrator and InDesign
* Sketch Palette (`.sketchpalette`)
* Skencil Palette (`.spl`)
* Magica Voxel Palette (`.png`) - see [MagicaVoxelPalettes](https://github.com/mattperrin/MagicaVoxelPalettes) for examples
* macOS Color Palette (`.clr`)
* Gpick Palette (`.gpa`)
* KDE Colors (`.colors`)
* Low priority

@@ -209,7 +217,7 @@ * ASCII Color Format (`.acf`)

* Scribus (`.xml`)
* sK1 (`.skp`)
* sK1 (`.skpx` / `.skp`)
* StarOffice / OpenOffice.org / LibreOffice (`.soc`)
* Prevent false positives from formats that are raw data without headers
* Prevent false positive parsing of unsupported file types

@@ -216,0 +224,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc