okaryo / gatsby-plugin-satorare

Gatsby plugin for dynamic OG image generation in JSX
https://www.npmjs.com/package/gatsby-plugin-satorare
MIT License
5 stars 1 forks source link

chore(deps): update dependency @biomejs/biome to ^1.5.3 #20

Closed renovate[bot] closed 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@biomejs/biome (source) ^1.5.1 -> ^1.5.3 age adoption passing confidence

Release Notes

biomejs/biome (@​biomejs/biome) ### [`v1.5.3`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#153-2024-01-22) [Compare Source](https://togithub.com/biomejs/biome/compare/80bb3d7d978ca2eb376190ac7cfdcd45902a6b75...906de83449b5066554cd8e97c78a1f8e43749016) ##### LSP ##### Bug fixes - Fix [#​1584](https://togithub.com/biomejs/biome/issues/1584). Ensure the LSP only registers the formatter once. Contributed by [@​nhedger](https://togithub.com/nhedger) - Fix [#​1589](https://togithub.com/biomejs/biome/issues/1589). Fix invalid formatting of own line comments when they were at the end of an import/export list. Contributed by [@​spanishpear](https://togithub.com/spanishpear) ##### Configuration ##### Bug fixes - Override correctly the recommended preset ([#​1349](https://togithub.com/biomejs/biome/issues/1349)). Previously, if unspecified, Biome turned on the recommended preset in overrides. This resulted in reporting diagnostics with a severity level set to `off`. This in turn caused Biome to fail. Now Biome won't switch on the recommended preset in `overrides` unless told to do so. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Don't format **ignored** files that are well-known JSONC files when `files.ignoreUnknown` is enabled ([#​1607](https://togithub.com/biomejs/biome/issues/1607)). Previously, Biome always formatted files that are known to be JSONC files (e.g. `.eslintrc`) when `files.ignoreUnknown` was enabled. Contributed by [@​Conaclos](https://togithub.com/Conaclos) ##### Formatter ##### Bug fixes - Fix [#​1178](https://togithub.com/biomejs/biome/issues/1178), where the line ending option wasn't correctly applied. Contributed by [@​ematipico](https://togithub.com/ematipico) - Fix [#​1571](https://togithub.com/biomejs/biome/issues/1571). Fix invalid formatting of nested multiline comments. Contributed by [@​ah-yu](https://togithub.com/ah-yu) ##### Linter ##### Bug fixes - Fix [#​1575](https://togithub.com/biomejs/biome/issues/1575). [noArrayIndexKey](https://biomejs.dev/linter/rules/no-array-index-key/) now captures array index value inside template literals and with string concatination. Contributed by [@​vasucp1207](https://togithub.com/vasucp1207) - Linter rules that inspect regexes now handle multibyte characters correctly ([#​1522](https://togithub.com/biomejs/biome/issues/1522)). Previously, [noMisleadingCharacterClass](https://biomejs.dev/linter/no-misleading-character-class), [noMultipleSpacesInRegularExpressionLiterals](https://biomejs.dev/linter/no-multiple-spaces-in-regular-expression-literals), and [noEmptyCharacterClassInRegex](https://biomejs.dev/linter/no-empty-character-class-in-regex) made Biome errors on multi-bytes characters. Multibyte characters are now handled correctly. The following code no longer raises an internal error: ```js // Cyrillic characters /[\u200E\u2066-\u2069]/gu; ``` Contributed by [@​Conaclos](https://togithub.com/Conaclos) - [useExhaustiveDependencies](https://biomejs.dev/linter/use-exhaustive-dependencies) no longer made Biome errors in code TypeScript import equal declarations ([#​1194](https://togithub.com/biomejs/biome/issues/1194)). Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix typo in the diagnostic of [noNodejsModules](https://biomejs.dev/linter/rules/no-nodejs-modules). Contributed by [@​huseeiin](https://togithub.com/huseeiin) ##### Parser ##### Bug fixes - Accept the `const` modifier for type parameter in method type signature ([#​1624](https://togithub.com/biomejs/biome/issues/1624)). The following code is now correctly parsed: ```ts type Foo = { (); method(); }; ``` Contributed by [@​magic-akari](https://togithub.com/magic-akari) ##### Website ##### New - Add a [page that maps the Biome rule to its source](https://biomejs.dev/linter/rules-sources/). Contributed by [@​ematipico](https://togithub.com/ematipico) ##### Fixes - Generate Open Graph images based on the linked page. Contributed by [@​ematipico](https://togithub.com/ematipico) - Fix examples of the [git hook page](https://biomejs.dev/recipes/git-hooks/). Contributed by [@​9renpoto](https://togithub.com/9renpoto), [@​lmauromb](https://togithub.com/lmauromb), and [@​Conaclos](https://togithub.com/Conaclos) - Fix dead and erroneous hyperlinks. Contributed by [@​Sec-ant](https://togithub.com/Sec-ant) and Conaclos ### [`v1.5.2`](https://togithub.com/biomejs/biome/blob/HEAD/CHANGELOG.md#152-2024-01-15) [Compare Source](https://togithub.com/biomejs/biome/compare/0ed9e3ef0a1ac0bcf3ba7f0030999dbc3e34a619...80bb3d7d978ca2eb376190ac7cfdcd45902a6b75) ##### CLI ##### Bug fixes - Fix [#​1512](https://togithub.com/biomejs/biome/issues/1512) by skipping verbose diagnostics from the count. Contributed by [@​ematipico](https://togithub.com/ematipico) - Correctly handle cascading `include` and `ignore`. Previously Biome incorrectly included files that were included at tool level and ignored at global level. In the following example, `file.js` was formatted when it should have been ignored. Now, Biome correctly ignores the directory `./src/sub/`. ```shell ❯ tree src src └── sub └── file.js ❯ cat biome.json { "files": { "ignore": ["./src/sub/"] }, "formatter": { "include": ["./src"] } } ``` Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Don't emit verbose warnings when a protected file is ignored. Some files, such as `package.json` and `tsconfig.json`, are [protected](https://biomejs.dev/guides/how-biome-works/#protected-files). Biome emits a verbose warning when it encounters a protected file. Previously, Biome emitted this verbose warning even if the file was ignored by the configuration. Now, it doesn't emit verbose warnings for protected files that are ignored. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - `overrides` no longer affect which files are ignored. Contributed by [@​Conaclos](https://togithub.com/Conaclos) - The file `biome.json` can't be ignored anymore. Contributed by [@​ematipico](https://togithub.com/ematipico) - Fix [#​1541](https://togithub.com/biomejs/biome/issues/1541) where the content of protected files wasn't returned to `stdout`. Contributed by [@​ematipico](https://togithub.com/ematipico) - Don't handle CSS files, the formatter isn't ready yet. Contributed by [@​ematipico](https://togithub.com/ematipico) ##### Configuration ##### Bug fixes - Fix [1440](https://togithub.com/biomejs/biome/issues/1440), a case where `extends` and `overrides` weren't correctly emitting the final configuration. Contributed by [@​arendjr](https://togithub.com/arendjr) - Correctly handle `include` when `ignore` is set ([#​1468](https://togithub.com/biomejs/biome/issues/1468)). Contributed by [@​Conaclos](https://togithub.com/Conaclos) Previously, Biome ignored `include` if `ignore` was set. Now, Biome check both `include` and `ignore`. A file is processed if it is included and not ignored. If `include` is not set all files are considered included. ##### Formatter ##### Bug fixes - Fix placement of comments before `*` token in generator methods with decorators. [#​1537](https://togithub.com/biomejs/biome/pull/1537) Contributed by [@​ah-yu](https://togithub.com/ah-yu) - Fix [#​1406](https://togithub.com/biomejs/biome/issues/1406). Ensure comments before the `async` keyword are placed before it. Contributed by [@​ah-yu](https://togithub.com/ah-yu) - Fix [#​1172](https://togithub.com/biomejs/biome/issues/1172). Fix placement of line comment after function expression parentheses, they are now attached to first statement in body. Contributed by [@​kalleep](https://togithub.com/kalleep) - Fix [#​1511](https://togithub.com/biomejs/biome/issues/1511) that made the JavaScript formatter crash. Contributed [@​Conaclos](https://togithub.com/Conaclos) ##### Linter ##### Enhancements - Add an unsafe code fix for [noConsoleLog](https://biomejs.dev/linter/rules/no-console-log/). Contributed by [@​vasucp1207](https://togithub.com/vasucp1207) - [useArrowFunction](https://biomejs.dev/linter/rules/use-arrow-function) no longer reports function in `extends` clauses or in a `new` expression. Contributed by [@​Conaclos](https://togithub.com/Conaclos) These cases require the presence of a prototype. - Add dependency variable names on error message when useExhaustiveDependencies rule shows errors. Contributed by [@​mehm8128](https://togithub.com/mehm8128) ##### Bug fixes - The fix of [useArrowFunction](https://biomejs.dev/linter/rules/use-arrow-function) now adds parentheses around the arrow function in more cases where it is needed ([#​1524](https://togithub.com/biomejs/biome/issues/1524)). A function expression doesn't need parentheses in most expressions where it can appear. This is not the case with the arrow function. We previously added parentheses when the function appears in a call or member expression. We now add parentheses in binary-like expressions and other cases where they are needed, hopefully covering all cases. Previously: ```diff - f = f ?? function() {}; + f = f ?? () => {}; ``` Now: ```diff - f = f ?? function() {}; + f = f ?? (() => {}); ``` Contributed by [@​Conaclos](https://togithub.com/Conaclos) - Fix [#​1514](https://togithub.com/biomejs/biome/issues/1514). Fix autofix suggestion to avoid the syntax error in `no_useless_fragments`. Contributed by [@​togami2864](https://togithub.com/togami2864)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.