Skip to content

Commit 86e200e

Browse files
Bump @biomejs/biome from 2.2.2 to 2.2.3 (#1936)
* Bump @biomejs/biome from 2.2.2 to 2.2.3 Bumps [@biomejs/biome](https://github.com/biomejs/biome/tree/HEAD/packages/@biomejs/biome) from 2.2.2 to 2.2.3. - [Release notes](https://github.com/biomejs/biome/releases) - [Changelog](https://github.com/biomejs/biome/blob/main/packages/@biomejs/biome/CHANGELOG.md) - [Commits](https://github.com/biomejs/biome/commits/@biomejs/[email protected]/packages/@biomejs/biome) --- updated-dependencies: - dependency-name: "@biomejs/biome" dependency-version: 2.2.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * yarn fix Signed-off-by: Sora Morimoto <[email protected]> --------- Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: Sora Morimoto <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Sora Morimoto <[email protected]>
1 parent 6654a6d commit 86e200e

File tree

4 files changed

+82
-78
lines changed

4 files changed

+82
-78
lines changed

astexplorer/src/components/visualization/Tree.js

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -70,28 +70,32 @@ export default function Tree({ parseResult, position, error, selectedOutput }) {
7070
<div className="tree-visualization">
7171
<div className="toolbar">
7272
{treeAdapter.getConfigurableFilters().map((filter) =>
73-
filter.key != "hideTypeKeys"
74-
? <span key={filter.key}>
75-
<label>
76-
{makeCheckbox(filter.key, settings, updateSettings)}
77-
{filter.label}
78-
</label>
79-
&#8203;
80-
</span>
81-
: "",
73+
filter.key != "hideTypeKeys" ? (
74+
<span key={filter.key}>
75+
<label>
76+
{makeCheckbox(filter.key, settings, updateSettings)}
77+
{filter.label}
78+
</label>
79+
&#8203;
80+
</span>
81+
) : (
82+
""
83+
),
84+
)}
85+
{selectedOutput == 1 ? (
86+
<button
87+
className={""}
88+
onClick={() => {
89+
vscode.postMessage({
90+
refresh_pp_webview: selectedOutput.toString(),
91+
});
92+
}}
93+
>
94+
Reload AST
95+
</button>
96+
) : (
97+
""
8298
)}
83-
{selectedOutput == 1
84-
? <button
85-
className={""}
86-
onClick={() => {
87-
vscode.postMessage({
88-
refresh_pp_webview: selectedOutput.toString(),
89-
});
90-
}}
91-
>
92-
Reload AST
93-
</button>
94-
: ""}
9599
</div>
96100
<ul
97101
ref={rootElement}

astexplorer/src/components/visualization/tree/Element.js

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -257,11 +257,11 @@ const Element = React.memo(
257257
valueOutput = (
258258
<span className="tokenName nc" onClick={onToggleClick}>
259259
{nodeName}{" "}
260-
{selected
261-
? <span className="ge" style={{ fontSize: "0.8em" }}>
262-
{" = $node"}
263-
</span>
264-
: null}
260+
{selected ? (
261+
<span className="ge" style={{ fontSize: "0.8em" }}>
262+
{" = $node"}
263+
</span>
264+
) : null}
265265
</span>
266266
);
267267
}
@@ -332,13 +332,13 @@ const Element = React.memo(
332332
onMouseOver={onMouseOver}
333333
onMouseLeave={onMouseLeave}
334334
>
335-
{name
336-
? <PropertyName
337-
name={name}
338-
computed={computed}
339-
onClick={onToggleClick}
340-
/>
341-
: null}
335+
{name ? (
336+
<PropertyName
337+
name={name}
338+
computed={computed}
339+
onClick={onToggleClick}
340+
/>
341+
) : null}
342342
<span className="value">{valueOutput}</span>
343343
{prefix ? <span className="prefix p">&nbsp;{prefix}</span> : null}
344344
{content}
@@ -423,12 +423,12 @@ const FunctionElement = React.memo(function FunctionElement(props) {
423423
(...)
424424
</span>
425425
</span>
426-
{error
427-
? <span>
428-
{" "}
429-
<i title={error.message} className="fa fa-exclamation-triangle" />
430-
</span>
431-
: null}
426+
{error ? (
427+
<span>
428+
{" "}
429+
<i title={error.message} className="fa fa-exclamation-triangle" />
430+
</span>
431+
) : null}
432432
</li>
433433
);
434434
});

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@
13511351
"vscode-languageclient": "9.0.1"
13521352
},
13531353
"devDependencies": {
1354-
"@biomejs/biome": "^2.2.2",
1354+
"@biomejs/biome": "^2.2.3",
13551355
"@tsconfig/node24": "24.0.1",
13561356
"@tsconfig/strictest": "2.0.5",
13571357
"@types/node": "24.3.1",

yarn.lock

Lines changed: 38 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -172,18 +172,18 @@ __metadata:
172172
languageName: node
173173
linkType: hard
174174

175-
"@biomejs/biome@npm:^2.2.2":
176-
version: 2.2.2
177-
resolution: "@biomejs/biome@npm:2.2.2"
178-
dependencies:
179-
"@biomejs/cli-darwin-arm64": "npm:2.2.2"
180-
"@biomejs/cli-darwin-x64": "npm:2.2.2"
181-
"@biomejs/cli-linux-arm64": "npm:2.2.2"
182-
"@biomejs/cli-linux-arm64-musl": "npm:2.2.2"
183-
"@biomejs/cli-linux-x64": "npm:2.2.2"
184-
"@biomejs/cli-linux-x64-musl": "npm:2.2.2"
185-
"@biomejs/cli-win32-arm64": "npm:2.2.2"
186-
"@biomejs/cli-win32-x64": "npm:2.2.2"
175+
"@biomejs/biome@npm:^2.2.3":
176+
version: 2.2.3
177+
resolution: "@biomejs/biome@npm:2.2.3"
178+
dependencies:
179+
"@biomejs/cli-darwin-arm64": "npm:2.2.3"
180+
"@biomejs/cli-darwin-x64": "npm:2.2.3"
181+
"@biomejs/cli-linux-arm64": "npm:2.2.3"
182+
"@biomejs/cli-linux-arm64-musl": "npm:2.2.3"
183+
"@biomejs/cli-linux-x64": "npm:2.2.3"
184+
"@biomejs/cli-linux-x64-musl": "npm:2.2.3"
185+
"@biomejs/cli-win32-arm64": "npm:2.2.3"
186+
"@biomejs/cli-win32-x64": "npm:2.2.3"
187187
dependenciesMeta:
188188
"@biomejs/cli-darwin-arm64":
189189
optional: true
@@ -203,62 +203,62 @@ __metadata:
203203
optional: true
204204
bin:
205205
biome: bin/biome
206-
checksum: 10c0/108690efd8c3a5fcee9faf89371319b2d066208e8adbb05855650032a1cc9afc98ec4206b73b0be2c49cdf64ef765cf5a24785456b814d5846ab65b293791daf
206+
checksum: 10c0/2a07d8c2fbec5071c53fead7d29300c40b977d9b047f4a67051eb57549e367756d50433394b658c9a0c16a4fe2ce1548e0eb9125179f03e6a633d705620d2b17
207207
languageName: node
208208
linkType: hard
209209

210-
"@biomejs/cli-darwin-arm64@npm:2.2.2":
211-
version: 2.2.2
212-
resolution: "@biomejs/cli-darwin-arm64@npm:2.2.2"
210+
"@biomejs/cli-darwin-arm64@npm:2.2.3":
211+
version: 2.2.3
212+
resolution: "@biomejs/cli-darwin-arm64@npm:2.2.3"
213213
conditions: os=darwin & cpu=arm64
214214
languageName: node
215215
linkType: hard
216216

217-
"@biomejs/cli-darwin-x64@npm:2.2.2":
218-
version: 2.2.2
219-
resolution: "@biomejs/cli-darwin-x64@npm:2.2.2"
217+
"@biomejs/cli-darwin-x64@npm:2.2.3":
218+
version: 2.2.3
219+
resolution: "@biomejs/cli-darwin-x64@npm:2.2.3"
220220
conditions: os=darwin & cpu=x64
221221
languageName: node
222222
linkType: hard
223223

224-
"@biomejs/cli-linux-arm64-musl@npm:2.2.2":
225-
version: 2.2.2
226-
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.2.2"
224+
"@biomejs/cli-linux-arm64-musl@npm:2.2.3":
225+
version: 2.2.3
226+
resolution: "@biomejs/cli-linux-arm64-musl@npm:2.2.3"
227227
conditions: os=linux & cpu=arm64 & libc=musl
228228
languageName: node
229229
linkType: hard
230230

231-
"@biomejs/cli-linux-arm64@npm:2.2.2":
232-
version: 2.2.2
233-
resolution: "@biomejs/cli-linux-arm64@npm:2.2.2"
231+
"@biomejs/cli-linux-arm64@npm:2.2.3":
232+
version: 2.2.3
233+
resolution: "@biomejs/cli-linux-arm64@npm:2.2.3"
234234
conditions: os=linux & cpu=arm64 & libc=glibc
235235
languageName: node
236236
linkType: hard
237237

238-
"@biomejs/cli-linux-x64-musl@npm:2.2.2":
239-
version: 2.2.2
240-
resolution: "@biomejs/cli-linux-x64-musl@npm:2.2.2"
238+
"@biomejs/cli-linux-x64-musl@npm:2.2.3":
239+
version: 2.2.3
240+
resolution: "@biomejs/cli-linux-x64-musl@npm:2.2.3"
241241
conditions: os=linux & cpu=x64 & libc=musl
242242
languageName: node
243243
linkType: hard
244244

245-
"@biomejs/cli-linux-x64@npm:2.2.2":
246-
version: 2.2.2
247-
resolution: "@biomejs/cli-linux-x64@npm:2.2.2"
245+
"@biomejs/cli-linux-x64@npm:2.2.3":
246+
version: 2.2.3
247+
resolution: "@biomejs/cli-linux-x64@npm:2.2.3"
248248
conditions: os=linux & cpu=x64 & libc=glibc
249249
languageName: node
250250
linkType: hard
251251

252-
"@biomejs/cli-win32-arm64@npm:2.2.2":
253-
version: 2.2.2
254-
resolution: "@biomejs/cli-win32-arm64@npm:2.2.2"
252+
"@biomejs/cli-win32-arm64@npm:2.2.3":
253+
version: 2.2.3
254+
resolution: "@biomejs/cli-win32-arm64@npm:2.2.3"
255255
conditions: os=win32 & cpu=arm64
256256
languageName: node
257257
linkType: hard
258258

259-
"@biomejs/cli-win32-x64@npm:2.2.2":
260-
version: 2.2.2
261-
resolution: "@biomejs/cli-win32-x64@npm:2.2.2"
259+
"@biomejs/cli-win32-x64@npm:2.2.3":
260+
version: 2.2.3
261+
resolution: "@biomejs/cli-win32-x64@npm:2.2.3"
262262
conditions: os=win32 & cpu=x64
263263
languageName: node
264264
linkType: hard
@@ -5160,7 +5160,7 @@ __metadata:
51605160
version: 0.0.0-use.local
51615161
resolution: "ocaml-platform@workspace:."
51625162
dependencies:
5163-
"@biomejs/biome": "npm:^2.2.2"
5163+
"@biomejs/biome": "npm:^2.2.3"
51645164
"@tsconfig/node24": "npm:24.0.1"
51655165
"@tsconfig/strictest": "npm:2.0.5"
51665166
"@types/node": "npm:24.3.1"

0 commit comments

Comments
 (0)