@shivaedev/quality 0.78.0 → 0.78.2
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 +12 -0
- package/biome/preset.json +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.78.2 - 2026-11-18
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Update `@shivaedev/test-story` from 0.47.2 to 0.47.3.
|
|
8
|
+
|
|
9
|
+
## 0.78.1 - 2026-11-18
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `quality fix` no longer rewrites a ternary that picks the larger or smaller of two values into `Math.max` or `Math.min`. Biome's unsafe fix also rewrote `a.at < b.at ? b.at : a.at` when `at` is a `Date` field, which left code that no longer typechecks. `complexity/useMathMinMax` still reports the ternary; write `Math.max` for numbers by hand, and compare `getTime()` for dates.
|
|
14
|
+
|
|
3
15
|
## 0.78.0 - 2026-11-11
|
|
4
16
|
|
|
5
17
|
### Added
|
package/biome/preset.json
CHANGED
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
"useFlatMap": "error",
|
|
196
196
|
"useIndexOf": "error",
|
|
197
197
|
"useLiteralKeys": "error",
|
|
198
|
-
"useMathMinMax": "error",
|
|
198
|
+
"useMathMinMax": { "fix": "none", "level": "error" },
|
|
199
199
|
"useNumericLiterals": "error",
|
|
200
200
|
"useOptionalChain": "error",
|
|
201
201
|
"useRegexLiterals": "error",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shivaedev/quality",
|
|
3
|
-
"version": "0.78.
|
|
3
|
+
"version": "0.78.2",
|
|
4
4
|
"description": "Repository quality gate with typed rules, a baseline of existing debt and a registry of reasoned exceptions",
|
|
5
5
|
"homepage": "https://github.com/ShivaeDev/platform/tree/main/packages/quality#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@shivaedev/errors": "0.12.0",
|
|
57
57
|
"@shivaedev/heavy-lock": "0.11.2",
|
|
58
58
|
"@shivaedev/service": "0.9.1",
|
|
59
|
-
"@shivaedev/skills": "0.9.
|
|
59
|
+
"@shivaedev/skills": "0.9.2",
|
|
60
60
|
"@vitest/coverage-v8": "5.1.0",
|
|
61
61
|
"browserslist": "4.29.5",
|
|
62
62
|
"ignore": "7.0.14",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@effect/platform-node": "4.1.2",
|
|
69
69
|
"@effect/platform-node-shared": "4.1.2",
|
|
70
70
|
"@effect/vitest": "4.1.2",
|
|
71
|
-
"@shivaedev/test-story": "0.47.
|
|
71
|
+
"@shivaedev/test-story": "0.47.3",
|
|
72
72
|
"@types/node": "24.19.2",
|
|
73
73
|
"@typescript/native": "npm:typescript@7.0.2",
|
|
74
74
|
"effect": "4.1.2",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"@effect/platform-node": "4.1.2",
|
|
79
79
|
"@effect/platform-node-shared": "4.1.2",
|
|
80
|
-
"@shivaedev/test-story": "0.47.
|
|
80
|
+
"@shivaedev/test-story": "0.47.3",
|
|
81
81
|
"effect": "4.1.2",
|
|
82
82
|
"vitest": "5.1.0"
|
|
83
83
|
},
|