Skip to content

Commit e9300b3

Browse files
authored
Merge branch 'main' into dependabot/npm_and_yarn/cross-spawn-6.0.6
2 parents 5b541cf + e2361eb commit e9300b3

23 files changed

+176
-163
lines changed

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@
136136
"@types/uuid": "^9.0.1",
137137
"@types/vscode": "1.93.0",
138138
"@types/yauzl": "2.10.0",
139-
"@typescript-eslint/eslint-plugin": "^8.5.0",
140-
"@typescript-eslint/parser": "^8.5.0",
139+
"@typescript-eslint/eslint-plugin": "^8.19.0",
140+
"@typescript-eslint/parser": "^8.19.0",
141141
"@vscode/l10n-dev": "^0.0.35",
142142
"@vscode/test-electron": "2.3.8",
143143
"@vscode/vsce": "3.0.0",

src/lsptoolshost/onAutoInsertFeature.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import {
2222
} from 'vscode-languageserver-protocol';
2323

2424
import * as RoslynProtocol from './roslynProtocol';
25-
import * as UUID from 'vscode-languageclient/lib/common/utils/uuid';
25+
import { generateUuid } from 'vscode-languageclient/lib/common/utils/uuid';
2626

2727
export class OnAutoInsertFeature implements DynamicFeature<RoslynProtocol.OnAutoInsertRegistrationOptions> {
2828
private readonly _client: LanguageClient;
@@ -92,7 +92,7 @@ export class OnAutoInsertFeature implements DynamicFeature<RoslynProtocol.OnAuto
9292
return;
9393
}
9494
this.register({
95-
id: UUID.generateUuid(),
95+
id: generateUuid(),
9696
registerOptions: options,
9797
});
9898
}

src/lsptoolshost/optionNameConverter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import assert = require('node:assert');
6+
import assert from 'node:assert';
77

88
export function convertServerOptionNameToClientConfigurationName(section: string): string | null {
99
// Server name would be in format {languageName}|{grouping}.{name} or

src/lsptoolshost/restore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
RestoreRequest,
1313
ProjectNeedsRestoreRequest,
1414
} from './roslynProtocol';
15-
import path = require('path');
15+
import path from 'path';
1616
import { showErrorMessage } from '../shared/observers/utils/showMessage';
1717
import { getCSharpDevKit } from '../utils/getCSharpDevKit';
1818

src/packageManager/proxy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { Url } from 'url';
7-
import HttpProxyAgent = require('http-proxy-agent');
8-
import HttpsProxyAgent = require('https-proxy-agent');
7+
import HttpProxyAgent from 'http-proxy-agent';
8+
import HttpsProxyAgent from 'https-proxy-agent';
99
import { Agent } from 'http';
1010

1111
function getSystemProxyURL(requestURL: Url): string | undefined {

src/razor/src/blazorDebug/blazorDebugConfigurationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import execa = require('execa');
6+
import execa from 'execa';
77
import { promises, readFileSync } from 'fs';
88
import { join } from 'path';
99
import { fileURLToPath } from 'url';

src/razor/src/blazorDebug/terminateDebugHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import * as psList from 'ps-list';
6+
import psList from 'ps-list';
77
import { DebugSession } from 'vscode';
88
import { RazorLogger } from '../razorLogger';
99
import { JS_DEBUG_NAME, SERVER_APP_NAME } from './constants';

src/utils/removeBom.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import removeBomBuffer = require('strip-bom-buf');
6+
import removeBomBuffer from 'strip-bom-buf';
77
import removeBomString from 'strip-bom';
88

99
export function removeBOMFromBuffer(buffer: Buffer): Buffer {

tasks/commandLineArguments.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import * as minimist from 'minimist';
6+
import minimist from 'minimist';
77
import * as path from 'path';
88

99
const argv = minimist(process.argv.slice(2));

0 commit comments

Comments
 (0)