@visulima/colorize 1.4.29 → 2.0.0-alpha.1
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 +20 -0
- package/dist/gradient.cjs +1 -1
- package/dist/gradient.mjs +1 -1
- package/dist/packem_shared/{GradientBuilder-DjJK22kP.cjs → GradientBuilder-BXOgJeHi.cjs} +1 -2
- package/dist/packem_shared/{GradientBuilder-Ba4Teq6P.mjs → GradientBuilder-DTnSGyYW.mjs} +1 -2
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,23 @@
|
|
|
1
|
+
## @visulima/colorize [2.0.0-alpha.1](https://github.com/visulima/visulima/compare/@visulima/colorize@1.4.29...@visulima/colorize@2.0.0-alpha.1) (2025-12-05)
|
|
2
|
+
|
|
3
|
+
### ⚠ BREAKING CHANGES
|
|
4
|
+
|
|
5
|
+
* change min node version to 22.13
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* update Node.js engine version requirement to >=22.13 in multiple package.json files for improved compatibility ([b828e9a](https://github.com/visulima/visulima/commit/b828e9aeaebfc798eecddccd90e6ec7560c6d36a))
|
|
10
|
+
|
|
11
|
+
### Styles
|
|
12
|
+
|
|
13
|
+
* cs fix ([3ec237b](https://github.com/visulima/visulima/commit/3ec237b85eb4f83801d2c3f73a19e7107778dd5d))
|
|
14
|
+
|
|
15
|
+
### Miscellaneous Chores
|
|
16
|
+
|
|
17
|
+
* moved all packages into groups ([0615e9d](https://github.com/visulima/visulima/commit/0615e9d14a8a886e11da529ce150cf31ca973c10))
|
|
18
|
+
* update dependencies across multiple packages to improve compatibility and performance, including upgrading `@anolilab/semantic-release-pnpm` and `@anolilab/semantic-release-preset` to versions 3.2.0 and 12.1.0 respectively, and updating `react`, `react-dom`, and `next` versions to 19.2.1 and 16.0.7 in various package.json files ([aee8fcd](https://github.com/visulima/visulima/commit/aee8fcd796ae9b8d055903260e7150996ea9f53d))
|
|
19
|
+
* upgrade `vitest` version to 4.0.15 in multiple package.json files and update lockfile for improved compatibility; adjust test cases for ESM package support in tooling tests ([0fba407](https://github.com/visulima/visulima/commit/0fba407e08283ba8c1c9488f99ca1f9ff676c4cf))
|
|
20
|
+
|
|
1
21
|
## @visulima/colorize [1.4.29](https://github.com/visulima/visulima/compare/@visulima/colorize@1.4.28...@visulima/colorize@1.4.29) (2025-11-13)
|
|
2
22
|
|
|
3
23
|
### Bug Fixes
|
package/dist/gradient.cjs
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
|
|
4
4
|
|
|
5
5
|
const colorize_server = require('./packem_shared/colorize.server-BA3gZZXz.cjs');
|
|
6
|
-
const GradientBuilder = require('./packem_shared/GradientBuilder-
|
|
6
|
+
const GradientBuilder = require('./packem_shared/GradientBuilder-BXOgJeHi.cjs');
|
|
7
7
|
|
|
8
8
|
const colorize = new colorize_server.Colorize();
|
|
9
9
|
const forbiddenChars = /\s/g;
|
package/dist/gradient.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as Colorize } from './packem_shared/colorize.server-ry9FZNfG.mjs';
|
|
2
|
-
import { GradientBuilder } from './packem_shared/GradientBuilder-
|
|
2
|
+
import { GradientBuilder } from './packem_shared/GradientBuilder-DTnSGyYW.mjs';
|
|
3
3
|
|
|
4
4
|
const colorize = new Colorize();
|
|
5
5
|
const forbiddenChars = /\s/g;
|
|
@@ -431,8 +431,7 @@ class GradientBuilder {
|
|
|
431
431
|
reverse() {
|
|
432
432
|
const stops = [];
|
|
433
433
|
for (const stop of this.stops) {
|
|
434
|
-
const stop_ = { ...stop };
|
|
435
|
-
stop_.position = 1 - stop.position;
|
|
434
|
+
const stop_ = { ...stop, position: 1 - stop.position };
|
|
436
435
|
stops.push(stop_);
|
|
437
436
|
}
|
|
438
437
|
return new GradientBuilder(this.#colorize, stops.reverse());
|
|
@@ -427,8 +427,7 @@ class GradientBuilder {
|
|
|
427
427
|
reverse() {
|
|
428
428
|
const stops = [];
|
|
429
429
|
for (const stop of this.stops) {
|
|
430
|
-
const stop_ = { ...stop };
|
|
431
|
-
stop_.position = 1 - stop.position;
|
|
430
|
+
const stop_ = { ...stop, position: 1 - stop.position };
|
|
432
431
|
stops.push(stop_);
|
|
433
432
|
}
|
|
434
433
|
return new GradientBuilder(this.#colorize, stops.reverse());
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visulima/colorize",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0-alpha.1",
|
|
4
4
|
"description": "Terminal and Console string styling done right.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"256",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"repository": {
|
|
60
60
|
"type": "git",
|
|
61
61
|
"url": "git+https://github.com/visulima/visulima.git",
|
|
62
|
-
"directory": "packages/colorize"
|
|
62
|
+
"directory": "packages/terminal/colorize"
|
|
63
63
|
},
|
|
64
64
|
"funding": [
|
|
65
65
|
{
|
|
@@ -165,10 +165,10 @@
|
|
|
165
165
|
"LICENSE.md"
|
|
166
166
|
],
|
|
167
167
|
"dependencies": {
|
|
168
|
-
"@visulima/is-ansi-color-supported": "
|
|
168
|
+
"@visulima/is-ansi-color-supported": "3.0.0-alpha.1"
|
|
169
169
|
},
|
|
170
170
|
"engines": {
|
|
171
|
-
"node": ">=
|
|
171
|
+
"node": ">=22.13 <=25.x"
|
|
172
172
|
},
|
|
173
173
|
"os": [
|
|
174
174
|
"darwin",
|