Skip to content

Commit 80caac9

Browse files
chore(deps): update dependency @biomejs/biome to v2.2.6 (#1360)
This PR contains the following updates: | Package | Type | Update | Change | OpenSSF | |---|---|---|---|---| | [@biomejs/biome](https://biomejs.dev) ([source](https://redirect.github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome)) | devDependencies | patch | [`2.2.5` -> `2.2.6`](https://renovatebot.com/diffs/npm/@biomejs%2fbiome/2.2.5/2.2.6) | [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/biomejs/biome/badge)](https://securityscorecards.dev/viewer/?uri=github.com/biomejs/biome) | --- ### Release Notes <details> <summary>biomejs/biome (@&#8203;biomejs/biome)</summary> ### [`v2.2.6`](https://redirect.github.com/biomejs/biome/blob/HEAD/packages/@&#8203;biomejs/biome/CHANGELOG.md#226) [Compare Source](https://redirect.github.com/biomejs/biome/compare/@biomejs/biome@2.2.5...@biomejs/biome@2.2.6) ##### Patch Changes - [#&#8203;7071](https://redirect.github.com/biomejs/biome/pull/7071) [`a8e7301`](https://redirect.github.com/biomejs/biome/commit/a8e73018a8c9e34a182624a91389e19d1fa7817f) Thanks [@&#8203;ptkagori](https://redirect.github.com/ptkagori)! - Added the [`useQwikMethodUsage`](https://biomejs.dev/linter/rules/use-qwik-method-usage) lint rule for the Qwik domain. This rule validates Qwik hook usage. Identifiers matching `useXxx` must be called only within serialisable reactive contexts (for example, inside `component$`, route loaders/actions, or within other Qwik hooks), preventing common Qwik antipatterns. **Invalid:** ```js // Top-level hook call is invalid. const state = useStore({ count: 0 }); function helper() { // Calling a hook in a non-reactive function is invalid. const loc = useLocation(); } ``` **Valid:** ```js component$(() => { const state = useStore({ count: 0 }); // OK inside component$. return <div>{state.count}</div>; }); const handler = $(() => { const loc = useLocation(); // OK inside a $-wrapped closure. console.log(loc.params); }); ``` - [#&#8203;7685](https://redirect.github.com/biomejs/biome/pull/7685) [`52071f5`](https://redirect.github.com/biomejs/biome/commit/52071f54bc1a3c5d1d2ee6039c5feead836638ed) Thanks [@&#8203;denbezrukov](https://redirect.github.com/denbezrukov)! - Fixed [#&#8203;6981](https://redirect.github.com/biomejs/biome/issues/6981): The [NoUnknownPseudoClass](https://biomejs.dev/linter/rules/no-unknown-pseudo-class/) rule no longer reports local pseudo-classes when CSS Modules are used. - [#&#8203;7640](https://redirect.github.com/biomejs/biome/pull/7640) [`899f7b2`](https://redirect.github.com/biomejs/biome/commit/899f7b28ec9cc457d02565d69212e7c29b5b5aff) Thanks [@&#8203;arendjr](https://redirect.github.com/arendjr)! - Fixed [#&#8203;7638](https://redirect.github.com/biomejs/biome/issues/7638): [`useImportExtensions`](https://biomejs.dev/linter/rules/use-import-extensions/) no longer emits diagnostics on valid import paths that end with a query or hash. ##### Example ```js // This no longer warns if `index.css` exists: import style from "../theme/index.css?inline"; ``` - [#&#8203;7071](https://redirect.github.com/biomejs/biome/pull/7071) [`a8e7301`](https://redirect.github.com/biomejs/biome/commit/a8e73018a8c9e34a182624a91389e19d1fa7817f) Thanks [@&#8203;ptkagori](https://redirect.github.com/ptkagori)! - Added the [`useQwikValidLexicalScope`](https://biomejs.dev/linter/rules/use-qwik-valid-lexical-scope) rule to the Qwik domain. This rule helps you avoid common bugs in Qwik components by checking that your variables and functions are declared in the correct place. **Invalid:** ```js // Invalid: state defined outside the component's lexical scope. let state = useStore({ count: 0 }); const Component = component$(() => { return ( <button onClick$={() => state.count++}>Invalid: {state.count}</button> ); }); ``` **Valid:** ```js // Valid: state initialised within the component's lexical scope and captured by the event. const Component = component$(() => { const state = useStore({ count: 0 }); return <button onClick$={() => state.count++}>Valid: {state.count}</button>; }); ``` - [#&#8203;7620](https://redirect.github.com/biomejs/biome/pull/7620) [`5beb1ee`](https://redirect.github.com/biomejs/biome/commit/5beb1eefe134f4dc713cfb28bfa1cbae38319975) Thanks [@&#8203;Netail](https://redirect.github.com/Netail)! - Added the rule [`useDeprecatedDate`](https://biomejs.dev/linter/rules/use-deprecated-date/), which makes a deprecation date required for the graphql `@deprecated` directive. ##### Invalid ```graphql query { member @&#8203;deprecated(reason: "Use `members` instead") { id } } ``` ##### Valid ```graphql query { member @&#8203;deprecated(reason: "Use `members` instead", deletionDate: "2099-12-25") { id } } ``` - [#&#8203;7709](https://redirect.github.com/biomejs/biome/pull/7709) [`d6da4d5`](https://redirect.github.com/biomejs/biome/commit/d6da4d5a272d61420997e26aef80f53298515665) Thanks [@&#8203;siketyan](https://redirect.github.com/siketyan)! - Fixed [#&#8203;7704](https://redirect.github.com/biomejs/biome/issues/7704): The [`useExhaustiveDependencies`](https://biomejs.dev/linter/rules/use-exhaustive-dependencies/) rule now correctly adds an object dependency when its method is called within the closure. For example: ```js function Component(props) { useEffect(() => { props.foo(); }, []); } ``` will now be fixed to: ```js function Component(props) { useEffect(() => { props.foo(); }, [props]); } ``` - [#&#8203;7624](https://redirect.github.com/biomejs/biome/pull/7624) [`309ae41`](https://redirect.github.com/biomejs/biome/commit/309ae41c1a29e50d71300d3e63f6c64ee6ecb968) Thanks [@&#8203;lucasweng](https://redirect.github.com/lucasweng)! - Fixed [#&#8203;7595](https://redirect.github.com/biomejs/biome/issues/7595): [`noUselessEscapeInString`](https://biomejs.dev/linter/rules/no-useless-escape-in-string/) no longer reports `$\{` escape in template literals. - [#&#8203;7665](https://redirect.github.com/biomejs/biome/pull/7665) [`29e4229`](https://redirect.github.com/biomejs/biome/commit/29e422939f25595dca4f19735a27258d97545288) Thanks [@&#8203;ryan-m-walker](https://redirect.github.com/ryan-m-walker)! - Fixed [#&#8203;7619](https://redirect.github.com/biomejs/biome/issues/7619): Added support for parsing the CSS `:state()` pseudo-class. ```css custom-selector:state(checked) { } ``` - [#&#8203;7608](https://redirect.github.com/biomejs/biome/pull/7608) [`41df59b`](https://redirect.github.com/biomejs/biome/commit/41df59bfc6d49190b9c35fa262def3ecfcc6abd2) Thanks [@&#8203;ritoban23](https://redirect.github.com/ritoban23)! - Fixed [#&#8203;7604](https://redirect.github.com/biomejs/biome/issues/7604): the `useMaxParams` rule now highlights parameter lists instead of entire function bodies. This provides more precise error highlighting. Previously, the entire function was highlighted; now only the parameter list is highlighted, such as `(a, b, c, d, e, f, g, h)`. - [#&#8203;7643](https://redirect.github.com/biomejs/biome/pull/7643) [`459a6ac`](https://redirect.github.com/biomejs/biome/commit/459a6aca67290e8b974802bd693738f79883d67e) Thanks [@&#8203;daivinhtran](https://redirect.github.com/daivinhtran)! - Fixed [#&#8203;7580](https://redirect.github.com/biomejs/biome/issues/7580): Include plugin in summary report </details> --- ### Configuration 📅 **Schedule**: Branch creation - At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday ( * 0-4,22-23 * * 1-5 ), Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/settlemint/sdk). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=--> <!-- This is an auto-generated description by cubic. --> --- ## Summary by cubic Upgrade @biomejs/biome to 2.2.6 to pick up linter fixes and new rules. This reduces false positives (CSS Modules, import paths with query/hash), improves useEffect dependency suggestions, and adds optional Qwik and GraphQL deprecation checks. - **Dependencies** - @biomejs/biome: 2.2.5 → 2.2.6 <!-- End of auto-generated description by cubic. --> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 433e820 commit 80caac9

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

bun.lock

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"name": "sdk",
66
"devDependencies": {
77
"@arethetypeswrong/cli": "0.18.2",
8-
"@biomejs/biome": "2.2.5",
8+
"@biomejs/biome": "2.2.6",
99
"@types/bun": "1.3.0",
1010
"@types/mustache": "4.2.6",
1111
"knip": "5.64.3",
@@ -295,23 +295,23 @@
295295

296296
"@babel/types": ["@babel/types@7.28.4", "", { "dependencies": { "@babel/helper-string-parser": "^7.27.1", "@babel/helper-validator-identifier": "^7.27.1" } }, "sha512-bkFqkLhh3pMBUQQkpVgWDWq/lqzc2678eUyDlTBhRqhCHFguYYGM0Efga7tYk4TogG/3x0EEl66/OQ+WGbWB/Q=="],
297297

298-
"@biomejs/biome": ["@biomejs/biome@2.2.5", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.2.5", "@biomejs/cli-darwin-x64": "2.2.5", "@biomejs/cli-linux-arm64": "2.2.5", "@biomejs/cli-linux-arm64-musl": "2.2.5", "@biomejs/cli-linux-x64": "2.2.5", "@biomejs/cli-linux-x64-musl": "2.2.5", "@biomejs/cli-win32-arm64": "2.2.5", "@biomejs/cli-win32-x64": "2.2.5" }, "bin": { "biome": "bin/biome" } }, "sha512-zcIi+163Rc3HtyHbEO7CjeHq8DjQRs40HsGbW6vx2WI0tg8mYQOPouhvHSyEnCBAorfYNnKdR64/IxO7xQ5faw=="],
298+
"@biomejs/biome": ["@biomejs/biome@2.2.6", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.2.6", "@biomejs/cli-darwin-x64": "2.2.6", "@biomejs/cli-linux-arm64": "2.2.6", "@biomejs/cli-linux-arm64-musl": "2.2.6", "@biomejs/cli-linux-x64": "2.2.6", "@biomejs/cli-linux-x64-musl": "2.2.6", "@biomejs/cli-win32-arm64": "2.2.6", "@biomejs/cli-win32-x64": "2.2.6" }, "bin": { "biome": "bin/biome" } }, "sha512-yKTCNGhek0rL5OEW1jbLeZX8LHaM8yk7+3JRGv08my+gkpmtb5dDE+54r2ZjZx0ediFEn1pYBOJSmOdDP9xtFw=="],
299299

300-
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.2.5", "", { "os": "darwin", "cpu": "arm64" }, "sha512-MYT+nZ38wEIWVcL5xLyOhYQQ7nlWD0b/4mgATW2c8dvq7R4OQjt/XGXFkXrmtWmQofaIM14L7V8qIz/M+bx5QQ=="],
300+
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@2.2.6", "", { "os": "darwin", "cpu": "arm64" }, "sha512-UZPmn3M45CjTYulgcrFJFZv7YmK3pTxTJDrFYlNElT2FNnkkX4fsxjExTSMeWKQYoZjvekpH5cvrYZZlWu3yfA=="],
301301

302-
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.2.5", "", { "os": "darwin", "cpu": "x64" }, "sha512-FLIEl73fv0R7dI10EnEiZLw+IMz3mWLnF95ASDI0kbx6DDLJjWxE5JxxBfmG+udz1hIDd3fr5wsuP7nwuTRdAg=="],
302+
"@biomejs/cli-darwin-x64": ["@biomejs/cli-darwin-x64@2.2.6", "", { "os": "darwin", "cpu": "x64" }, "sha512-HOUIquhHVgh/jvxyClpwlpl/oeMqntlteL89YqjuFDiZ091P0vhHccwz+8muu3nTyHWM5FQslt+4Jdcd67+xWQ=="],
303303

304-
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.2.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-5DjiiDfHqGgR2MS9D+AZ8kOfrzTGqLKywn8hoXpXXlJXIECGQ32t+gt/uiS2XyGBM2XQhR6ztUvbjZWeccFMoQ=="],
304+
"@biomejs/cli-linux-arm64": ["@biomejs/cli-linux-arm64@2.2.6", "", { "os": "linux", "cpu": "arm64" }, "sha512-BpGtuMJGN+o8pQjvYsUKZ+4JEErxdSmcRD/JG3mXoWc6zrcA7OkuyGFN1mDggO0Q1n7qXxo/PcupHk8gzijt5g=="],
305305

306-
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.2.5", "", { "os": "linux", "cpu": "arm64" }, "sha512-5Ov2wgAFwqDvQiESnu7b9ufD1faRa+40uwrohgBopeY84El2TnBDoMNXx6iuQdreoFGjwW8vH6k68G21EpNERw=="],
306+
"@biomejs/cli-linux-arm64-musl": ["@biomejs/cli-linux-arm64-musl@2.2.6", "", { "os": "linux", "cpu": "arm64" }, "sha512-TjCenQq3N6g1C+5UT3jE1bIiJb5MWQvulpUngTIpFsL4StVAUXucWD0SL9MCW89Tm6awWfeXBbZBAhJwjyFbRQ=="],
307307

308-
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.2.5", "", { "os": "linux", "cpu": "x64" }, "sha512-fq9meKm1AEXeAWan3uCg6XSP5ObA6F/Ovm89TwaMiy1DNIwdgxPkNwxlXJX8iM6oRbFysYeGnT0OG8diCWb9ew=="],
308+
"@biomejs/cli-linux-x64": ["@biomejs/cli-linux-x64@2.2.6", "", { "os": "linux", "cpu": "x64" }, "sha512-1HaM/dpI/1Z68zp8ZdT6EiBq+/O/z97a2AiHMl+VAdv5/ELckFt9EvRb8hDHpk8hUMoz03gXkC7VPXOVtU7faA=="],
309309

310-
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.2.5", "", { "os": "linux", "cpu": "x64" }, "sha512-AVqLCDb/6K7aPNIcxHaTQj01sl1m989CJIQFQEaiQkGr2EQwyOpaATJ473h+nXDUuAcREhccfRpe/tu+0wu0eQ=="],
310+
"@biomejs/cli-linux-x64-musl": ["@biomejs/cli-linux-x64-musl@2.2.6", "", { "os": "linux", "cpu": "x64" }, "sha512-1ZcBux8zVM3JhWN2ZCPaYf0+ogxXG316uaoXJdgoPZcdK/rmRcRY7PqHdAos2ExzvjIdvhQp72UcveI98hgOog=="],
311311

312-
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.2.5", "", { "os": "win32", "cpu": "arm64" }, "sha512-xaOIad4wBambwJa6mdp1FigYSIF9i7PCqRbvBqtIi9y29QtPVQ13sDGtUnsRoe6SjL10auMzQ6YAe+B3RpZXVg=="],
312+
"@biomejs/cli-win32-arm64": ["@biomejs/cli-win32-arm64@2.2.6", "", { "os": "win32", "cpu": "arm64" }, "sha512-h3A88G8PGM1ryTeZyLlSdfC/gz3e95EJw9BZmA6Po412DRqwqPBa2Y9U+4ZSGUAXCsnSQE00jLV8Pyrh0d+jQw=="],
313313

314-
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.2.5", "", { "os": "win32", "cpu": "x64" }, "sha512-F/jhuXCssPFAuciMhHKk00xnCAxJRS/pUzVfXYmOMUp//XW7mO6QeCjsjvnm8L4AO/dG2VOB0O+fJPiJ2uXtIw=="],
314+
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@2.2.6", "", { "os": "win32", "cpu": "x64" }, "sha512-yx0CqeOhPjYQ5ZXgPfu8QYkgBhVJyvWe36as7jRuPrKPO5ylVDfwVtPQ+K/mooNTADW0IhxOZm3aPu16dP8yNQ=="],
315315

316316
"@braidai/lang": ["@braidai/lang@1.1.2", "", {}, "sha512-qBcknbBufNHlui137Hft8xauQMTZDKdophmLFv05r2eNmdIv/MlPuP4TdUknHG68UdWLgVZwgxVe735HzJNIwA=="],
317317

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
},
4343
"devDependencies": {
4444
"@arethetypeswrong/cli": "0.18.2",
45-
"@biomejs/biome": "2.2.5",
45+
"@biomejs/biome": "2.2.6",
4646
"@types/bun": "1.3.0",
4747
"@types/mustache": "4.2.6",
4848
"knip": "5.64.3",

0 commit comments

Comments
 (0)