Skip to content

Commit 027c60c

Browse files
committed
Bump v11.1.4
1 parent 375a422 commit 027c60c

File tree

9 files changed

+79
-66
lines changed

9 files changed

+79
-66
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## 11.1.4 (June 25, 2025)
4+
* Bug: Extension causes high cpu load [#191](https://github.com/Sertion/vscode-gitblame/pull/191). Thanks to [Martin-vH](https://github.com/Martin-vH) and [NaterGator](https://github.com/NaterGator)!
5+
* Fix: Updating dependencies
6+
37
## 11.1.3 (May 29, 2025)
48
* Bug: Update remote URL parsing to support non-`git` ssh user [#189](https://github.com/Sertion/vscode-gitblame/pull/189). Thanks to [Nadock](https://github.com/Nadock)!
59
* Fix: Updating dependencies

biome.json

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
11
{
22
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
33
"files": {
4-
"ignore": [
5-
"./.vscode/*",
6-
"./.github/*",
7-
"./out/*",
8-
"./types/*",
9-
"**/*.json"
4+
"includes": [
5+
"src/**/*",
6+
"test/**/*"
107
]
118
},
12-
"organizeImports": {
13-
"enabled": true
14-
},
9+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
1510
"linter": {
1611
"enabled": true,
1712
"rules": {
18-
"recommended": true
13+
"recommended": true,
14+
"style": {
15+
"noParameterAssign": "error",
16+
"useAsConstAssertion": "error",
17+
"useDefaultParameterLast": "error",
18+
"useEnumInitializers": "error",
19+
"useSelfClosingElements": "error",
20+
"useSingleVarDeclarator": "error",
21+
"noUnusedTemplateLiteral": "error",
22+
"useNumberNamespace": "error",
23+
"noInferrableTypes": "error",
24+
"noUselessElse": "error"
25+
},
26+
"suspicious": {
27+
"noTemplateCurlyInString": "off"
28+
}
1929
}
2030
}
2131
}

package-lock.json

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "gitblame",
33
"displayName": "Git Blame",
44
"description": "See git blame information in the status bar.",
5-
"version": "11.1.3",
5+
"version": "11.1.4",
66
"publisher": "waderyan",
77
"engines": {
88
"vscode": ">=1.91.0",
@@ -38,16 +38,16 @@
3838
"test": "npm run pretest && node ./out/test/run-test.js"
3939
},
4040
"devDependencies": {
41-
"@biomejs/biome": "1.9.4",
41+
"@biomejs/biome": "2.0.5",
4242
"@types/mocha": "10.0.10",
4343
"@types/node": "20.14.6",
4444
"@types/sinon": "17.0.4",
4545
"@types/sinonjs__fake-timers": "8.1.5",
4646
"@types/vscode": "1.91.0",
4747
"@vscode/test-electron": "2.5.2",
4848
"esbuild": "0.25.5",
49-
"mocha": "11.5.0",
50-
"sinon": "20.0.0",
49+
"mocha": "11.7.1.0",
50+
"sinon": "21.0.0",
5151
"typescript": "5.8.3"
5252
},
5353
"homepage": "https://github.com/Sertion/vscode-gitblame/blob/main/README.md",

src/git/util/origin-url-to-tool-url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const originUrlToToolUrl = (url: string): URL | undefined => {
99

1010
try {
1111
uri = new URL(`${httpProtocol ?? "https"}://${stripGitRemoteUrl(url)}`);
12-
} catch (err) {
12+
} catch {
1313
return;
1414
}
1515

src/git/util/stream-parsing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ async function* splitChunk(chunk: Buffer): AsyncGenerator<[string, string]> {
7171

7272
// This is an attempt to mitigate main thread hogging.
7373
if (lineCount % WAIT_N_LINES === 0) {
74-
await new Promise<void>(queueMicrotask);
74+
await new Promise<void>((resolve) => setImmediate(resolve));
7575
}
7676

7777
lineCount += 1;

src/util/is-url.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export const isUrl = (check: string): boolean => {
44
let url: URL;
55
try {
66
url = new URL(check);
7-
} catch (err) {
7+
} catch {
88
return false;
99
}
1010

test/run-test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ async function main(): Promise<void> {
1313
if (exitCode !== 0) {
1414
process.exit(1);
1515
}
16-
} catch (err) {
16+
} catch {
1717
process.exit(1);
1818
}
1919

test/suite/queue.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const sleep = <T>(time: number, response: T): Promise<T> => {
1212
};
1313

1414
suite("Promise Queue", (): void => {
15-
let clock: Sinon.SinonFakeTimers | undefined = undefined;
15+
let clock: Sinon.SinonFakeTimers | undefined;
1616

1717
beforeEach(() => {
1818
clock = Sinon.useFakeTimers();

0 commit comments

Comments
 (0)