@thi.ng/color 5.5.25 → 5.5.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/README.md +2 -1
- package/defcolor.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
-
- **Last updated**: 2023-10-
|
|
3
|
+
- **Last updated**: 2023-10-27T16:56:24Z
|
|
4
4
|
- **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
|
5
5
|
|
|
6
6
|
All notable changes to this project will be documented in this file.
|
|
@@ -9,6 +9,12 @@ See [Conventional Commits](https://conventionalcommits.org/) for commit guidelin
|
|
|
9
9
|
**Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
|
10
10
|
and/or version bumps of transitive dependencies.
|
|
11
11
|
|
|
12
|
+
### [5.5.27](https://github.com/thi-ng/umbrella/tree/@thi.ng/color@5.5.27) (2023-10-27)
|
|
13
|
+
|
|
14
|
+
#### ♻️ Refactoring
|
|
15
|
+
|
|
16
|
+
- update vector imports ([95f1d64](https://github.com/thi-ng/umbrella/commit/95f1d64))
|
|
17
|
+
|
|
12
18
|
### [5.5.19](https://github.com/thi-ng/umbrella/tree/@thi.ng/color@5.5.19) (2023-09-19)
|
|
13
19
|
|
|
14
20
|
#### ♻️ Refactoring
|
package/README.md
CHANGED
|
@@ -602,7 +602,7 @@ For Node.js REPL:
|
|
|
602
602
|
const color = await import("@thi.ng/color");
|
|
603
603
|
```
|
|
604
604
|
|
|
605
|
-
Package sizes (brotli'd, pre-treeshake): ESM: 15.
|
|
605
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 15.59 KB
|
|
606
606
|
|
|
607
607
|
## Dependencies
|
|
608
608
|
|
|
@@ -630,6 +630,7 @@ A selection:
|
|
|
630
630
|
|
|
631
631
|
| Screenshot | Description | Live demo | Source |
|
|
632
632
|
|:-------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------|:---------------------------------------------------------|:--------------------------------------------------------------------------------------|
|
|
633
|
+
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/boid-basics.png" width="240"/> | Basic 2D boid simulation and spatial indexing neighbor lookups | [Demo](https://demo.thi.ng/umbrella/boid-basics/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/boid-basics) |
|
|
633
634
|
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/color-themes.png" width="240"/> | Probabilistic color theme generator | [Demo](https://demo.thi.ng/umbrella/color-themes/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/color-themes) |
|
|
634
635
|
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/commit-heatmap.png" width="240"/> | Heatmap visualization of this mono-repo's commits | | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/commit-heatmap) |
|
|
635
636
|
| <img src="https://raw.githubusercontent.com/thi-ng/umbrella/develop/assets/examples/dominant-colors.png" width="240"/> | Color palette generation via dominant color extraction from uploaded images | [Demo](https://demo.thi.ng/umbrella/dominant-colors/) | [Source](https://github.com/thi-ng/umbrella/tree/develop/examples/dominant-colors) |
|
package/defcolor.js
CHANGED
|
@@ -11,7 +11,7 @@ import { clamp4 } from "@thi.ng/vectors/clamp";
|
|
|
11
11
|
import { declareIndices } from "@thi.ng/vectors/compile/accessors";
|
|
12
12
|
import { eqDelta4 } from "@thi.ng/vectors/eqdelta";
|
|
13
13
|
import { stridedValues } from "@thi.ng/vectors/iterator";
|
|
14
|
-
import { randMinMax } from "@thi.ng/vectors/
|
|
14
|
+
import { randMinMax } from "@thi.ng/vectors/rand-minmax";
|
|
15
15
|
import { set4 } from "@thi.ng/vectors/set";
|
|
16
16
|
import { convert, defConversions } from "./convert.js";
|
|
17
17
|
import { parseCss } from "./css/parse-css.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/color",
|
|
3
|
-
"version": "5.5.
|
|
3
|
+
"version": "5.5.27",
|
|
4
4
|
"description": "Array-based color types, CSS parsing, conversions, transformations, declarative theme generation, gradients, presets",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,18 +39,18 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@thi.ng/api": "^8.9.6",
|
|
42
|
-
"@thi.ng/arrays": "^2.
|
|
42
|
+
"@thi.ng/arrays": "^2.7.0",
|
|
43
43
|
"@thi.ng/binary": "^3.3.34",
|
|
44
44
|
"@thi.ng/checks": "^3.4.6",
|
|
45
45
|
"@thi.ng/compare": "^2.2.1",
|
|
46
46
|
"@thi.ng/compose": "^2.1.44",
|
|
47
47
|
"@thi.ng/defmulti": "^3.0.2",
|
|
48
48
|
"@thi.ng/errors": "^2.4.0",
|
|
49
|
-
"@thi.ng/math": "^5.
|
|
49
|
+
"@thi.ng/math": "^5.7.0",
|
|
50
50
|
"@thi.ng/random": "^3.6.10",
|
|
51
51
|
"@thi.ng/strings": "^3.6.2",
|
|
52
|
-
"@thi.ng/transducers": "^8.8.
|
|
53
|
-
"@thi.ng/vectors": "^7.
|
|
52
|
+
"@thi.ng/transducers": "^8.8.6",
|
|
53
|
+
"@thi.ng/vectors": "^7.8.0"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@microsoft/api-extractor": "^7.38.0",
|
|
@@ -445,5 +445,5 @@
|
|
|
445
445
|
"vectors"
|
|
446
446
|
]
|
|
447
447
|
},
|
|
448
|
-
"gitHead": "
|
|
448
|
+
"gitHead": "502e8fa937677ff7bc4fbd0906d8c8b4b0b471e5\n"
|
|
449
449
|
}
|