@biomejs/biome
2.6.8 · 15 Nov 2026MIT OR Apache-2.030.3M / weekRepositoryHomepagenpmAtom feed
Upgrading @biomejs/biome From 2.6.2 to 2.6.3
1 release in betweenevery note read
Release by release
- New
Added the new nursery rule
noArraySortForMinMax, which reports sorting an array only to read its smallest or largest value. UseMath.min()orMath.max()instead. - New
Added the nursery rule
noBooleanSortComparator, which reports sort comparators that return a boolean instead of a number. For example,array.sort((a, b) => a > b)never puts the first item before the second, so the array isn't sorted correctly. - New
Added the new nursery rule
noEagerArrayMethodsInLoops, which reports.map()and.filter()calls in the header offor...ofloops. These calls build a new array that is only used by the loop. - New
Added the nursery rule
noNewRequire, which disallows callingrequirewithnew, such asnew require("app-header").
- New
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.