Skip to content

Commit 26e722c

Browse files
chore(deps): update @biomejs packages (#3830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Victorien Elvinger <[email protected]>
1 parent 0e54591 commit 26e722c

File tree

15 files changed

+49
-50
lines changed

15 files changed

+49
-50
lines changed

benchmark/bench.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,11 @@ function benchmarkLinter(biomeBin, options) {
133133
}
134134

135135
function shellOption() {
136-
if (process.platform == "win32") {
136+
if (process.platform === "win32") {
137137
// Use Powershell so that it is possible to set an environment variable for a single command (ugh!)
138138
return "powershell";
139-
} else {
140-
return "default";
141139
}
140+
return "default";
142141
}
143142

144143
function withEnvVariable(name, value, command) {

benchmark/eslint.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export default [
8282
"no-dupe-args": "error",
8383
"no-empty": "error",
8484
"no-empty-static-block": "error",
85-
"no-empty-static-block": "error",
8685
"no-empty-function": "error",
8786
"no-fallthrough": "error",
8887
"no-func-assign": "error",

benchmark/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"license": "MIT OR Apache-2.0",
99
"type": "module",
1010
"engines": {
11-
"node": ">20.0.0"
11+
"node": ">20.0.0"
1212
},
1313
"devDependencies": {
1414
"@typescript-eslint/eslint-plugin": "8.3.0",

benchmark/ts-eslint.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,6 @@ export default [
116116
"no-dupe-args": "error",
117117
"no-empty": "error",
118118
"no-empty-static-block": "error",
119-
"no-empty-static-block": "error",
120119
"@typescript-eslint/no-empty-function": "error",
121120
"@typescript-eslint/no-empty-interface": "error",
122121
"@typescript-eslint/no-explicit-any": "error",

crates/biome_configuration/src/analyzer/linter/rules.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5642,7 +5642,7 @@ pub struct Suspicious {
56425642
#[doc = "Disallow the use of debugger"]
56435643
#[serde(skip_serializing_if = "Option::is_none")]
56445644
pub no_debugger: Option<RuleFixConfiguration<biome_js_analyze::options::NoDebugger>>,
5645-
#[doc = "Require the use of === and !=="]
5645+
#[doc = "Require the use of === and !==."]
56465646
#[serde(skip_serializing_if = "Option::is_none")]
56475647
pub no_double_equals: Option<RuleFixConfiguration<biome_js_analyze::options::NoDoubleEquals>>,
56485648
#[doc = "Disallow duplicate case labels."]

crates/biome_js_analyze/src/lint/suspicious/no_double_equals.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use schemars::JsonSchema;
1414
use crate::JsRuleAction;
1515

1616
declare_lint_rule! {
17-
/// Require the use of `===` and `!==`
17+
/// Require the use of `===` and `!==`.
1818
///
1919
/// It is generally bad practice to use `==` for comparison instead of
2020
/// `===`. Double operators will trigger implicit [type coercion](https://developer.mozilla.org/en-US/docs/Glossary/Type_coercion)

packages/@biomejs/backend-jsonrpc/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@
3636
},
3737
"license": "MIT OR Apache-2.0",
3838
"devDependencies": {
39-
"@types/node": "20.16.3",
40-
"typescript": "5.5.4",
41-
"vite": "5.4.2",
39+
"@types/node": "20.16.5",
40+
"typescript": "5.6.2",
41+
"vite": "5.4.3",
4242
"vitest": "1.6.0"
4343
},
4444
"publishConfig": {

packages/@biomejs/backend-jsonrpc/src/workspace.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@biomejs/biome/configuration_schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/@biomejs/biome/scripts/generate-packages.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,9 @@ function copyBinaryToNativePackage(platform, arch) {
5959
const binaryTarget = resolve(packageRoot, `biome${ext}`);
6060

6161
if (!fs.existsSync(binarySource)) {
62-
console.error(`Source for binary for ${buildName} not found at: ${binarySource}`);
62+
console.error(
63+
`Source for binary for ${buildName} not found at: ${binarySource}`,
64+
);
6365
process.exit(1);
6466
}
6567

packages/@biomejs/js-api/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@
4949
"@biomejs/wasm-bundler": "link:../wasm-bundler",
5050
"@biomejs/wasm-nodejs": "link:../wasm-nodejs",
5151
"@biomejs/wasm-web": "link:../wasm-web",
52-
"typescript": "5.5.4",
53-
"vite": "5.4.2",
52+
"typescript": "5.6.2",
53+
"vite": "5.4.3",
5454
"vitest": "1.6.0"
5555
},
5656
"peerDependencies": {

packages/@biomejs/js-api/src/index.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class Biome {
9797
/**
9898
* It creates a new instance of the class {Biome}.
9999
*/
100-
public static async create(options: BiomeCreate): Promise<Biome> {
100+
static async create(options: BiomeCreate): Promise<Biome> {
101101
const module = await loadModule(options.distribution);
102102
const workspace = new module.Workspace();
103103
const biome = new Biome(module, workspace);
@@ -111,7 +111,7 @@ export class Biome {
111111
* After calling `shutdown()` on this object, it should be considered
112112
* unusable as calling any method on it will fail
113113
*/
114-
public shutdown() {
114+
shutdown() {
115115
this.workspace.free();
116116
}
117117

@@ -122,7 +122,7 @@ export class Biome {
122122
*
123123
* @param configuration
124124
*/
125-
public applyConfiguration(configuration: Configuration): void {
125+
applyConfiguration(configuration: Configuration): void {
126126
try {
127127
this.workspace.updateSettings({
128128
configuration,
@@ -134,8 +134,8 @@ export class Biome {
134134
}
135135
}
136136

137-
public registerProjectFolder(): void;
138-
public registerProjectFolder(path?: string): void {
137+
registerProjectFolder(): void;
138+
registerProjectFolder(path?: string): void {
139139
this.workspace.registerProjectFolder({
140140
path,
141141
setAsCurrentWorkspace: true,

packages/@biomejs/js-api/src/wasm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class WasmError extends Error {
6565
*
6666
* It might be useful, but the first like of the stack trace contains the error
6767
*/
68-
public stackTrace: string;
68+
stackTrace: string;
6969
private constructor(stackTrace: string) {
7070
super();
7171
this.stackTrace = stackTrace;

packages/tailwindcss-config-analyzer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@
1212
"devDependencies": {
1313
"@types/bun": "1.1.8",
1414
"read-package-up": "11.0.0",
15-
"typescript": "5.5.4"
15+
"typescript": "5.6.2"
1616
}
1717
}

pnpm-lock.yaml

Lines changed: 27 additions & 27 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)