build(deps-dev): Bump @biomejs/biome from 2.5.15 to 2.6.8
Bumps @biomejs/biome from 2.5.15 to 2.6.8.
Release notes
Sourced from @biomejs/biome's releases.
Biome CLI v2.6.8
2.6.8
Patch Changes
#13080
a68137dThanks@dyc3! - Added the nursery rulenoBufferConstructor, which disallows the deprecated Node.jsBuffer()andnew Buffer()constructors. UseBuffer.from(),Buffer.alloc(), orBuffer.allocUnsafe()instead.new Buffer(5);#12966
82651f5Thanks@dyc3! - Added the nursery rulenoConfusingArraySplice, which reportssplice()andtoSpliced()calls that replace a single element or insert at index-1.array.splice(index, 1, element); // use `array[index] = element` instead#12924
0a9d204Thanks@dyc3! - Added the nursery rulenoDynamicRequire, which disallowsrequire()calls whose module name is built at runtime. When thecheckDynamicImportsoption is enabled, the rule also checksimport()calls.require("./locales/" + language);#12907
6f2635aThanks@dyc3! - Added the nursery rulenoLateCurrentTargetAccess, which reports reads ofevent.currentTargetthat run after the browser has finished handling the event, whencurrentTargetisnull.element.addEventListener("click", async (event) => { await save(); event.currentTarget.disabled = false; });#12904
04f30c4Thanks@dyc3! - Added the nursery rulenoMisusedSpread, which uses type information to report spreads that produce unexpected results: strings spread into arrays or arguments, and promises, functions, maps, arrays, iterables, class instances, and classes spread into objects or JSX attributes.declare function getUser(): Promise<{ name: string }>; const user = { ...getUser() };#12893
5d7ca32Thanks@dyc3! - Added the nursery rulenoTripleSlashReference, which reports/// <reference path="..." />comments and/// <reference types="..." />comments for packages that the file also imports. Thelib,path, andtypesoptions control which kinds of references are allowed./// <reference path="./globals.d.ts" />#12561
746c421Thanks@dyc3! - Added the nursery rulenoVueAsyncComputed, which reports asynchronous code in Vue computed properties, such asasyncfunctions,await, promises,setTimeout(), andnextTick().<script>
... (truncated)
Commits
8b03224ci: release (#13104)746c421feat(lint): add noVueAsyncComputed (#12561)4d81f0dfeat(lint): add useValidNamespaceImports (#13054)3fdc987feat(lint): add noVueExportInScriptSetup (#12580)c1c8c85feat(lint): add useCalledWith (#13082)be58f67feat(lint): add useTopLevelRequire (#13081)a68137dfeat(lint): add noBufferConstructor (#13080)058d7a1feat(lint): add useSpyOn (#13079)cf5b1a6feat(lint): add useExpectToHaveBeenCalledTimes (#13076)acfeaf9feat(lint): add useExpectToHaveBeenCalled (#13075)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)