Skip to content

Commit 3850042

Browse files
committed
Update all the dependencies to the latest version
1 parent 14cdca2 commit 3850042

File tree

9 files changed

+197
-146
lines changed

9 files changed

+197
-146
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@
801801
},
802802
{
803803
"command": "csharp.reportIssue",
804-
"title": "Report an issue",
804+
"title": "Start authoring a new issue on GitHub",
805805
"category": "CSharp"
806806
},
807807
{

src/coreclr-debug/activate.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,14 @@ function showDotnetToolsWarning(message: string): void {
9090
vscode.window.showErrorMessage(message,
9191
goToSettingsMessage, getDotNetMessage).then(value => {
9292
if (value === getDotNetMessage) {
93-
let open = require('open');
9493
let dotnetcoreURL = 'https://www.microsoft.com/net/core';
9594

9695
// Windows redirects https://www.microsoft.com/net/core to https://www.microsoft.com/net/core#windowsvs2015
9796
if (process.platform == "win32") {
9897
dotnetcoreURL = dotnetcoreURL + '#windowscmd';
9998
}
10099

101-
open(dotnetcoreURL);
100+
vscode.env.openExternal(vscode.Uri.parse(dotnetcoreURL));
102101
} else if (value === goToSettingsMessage) {
103102
vscode.commands.executeCommand('workbench.action.openGlobalSettings');
104103
}

src/packageManager/proxy.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import { Url, parse as parseUrl } from 'url';
77
import { isBoolean } from '../common';
8-
import HttpProxyAgent = require('http-proxy-agent');
9-
import HttpsProxyAgent = require('https-proxy-agent');
8+
const HttpProxyAgent = require('http-proxy-agent');
9+
const HttpsProxyAgent = require('https-proxy-agent');
1010

1111
function getSystemProxyURL(requestURL: Url): string {
1212
if (requestURL.protocol === 'http:') {

tasks/onlinePackagingTasks.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
import * as del from 'del';
99
import * as fs from 'fs';
1010
import * as gulp from 'gulp';
11-
import * as unzip from 'unzip2';
1211
import { onlineVscodeignorePath, unpackedVsixPath, vscePath, vscodeignorePath } from './projectPaths';
1312
import { getPackageJSON } from './packageJson';
1413
import spawnNode from './spawnNode';
14+
import { Extract } from 'unzipper';
1515

1616
gulp.task('vsix:release:unpackage', () => {
1717
const packageJSON = getPackageJSON();
@@ -20,7 +20,7 @@ gulp.task('vsix:release:unpackage', () => {
2020
const packageName = `${name}-${version}.vsix`;
2121

2222
del.sync(unpackedVsixPath);
23-
return fs.createReadStream(packageName).pipe(unzip.Extract({ path: unpackedVsixPath }));
23+
return fs.createReadStream(packageName).pipe(Extract({ path: unpackedVsixPath }));
2424
});
2525

2626
gulp.task('vsix:release:package', async (onError) => {

tasks/spawnNode.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
'use strict';
77

88
import { SpawnOptions, spawn } from "child_process";
9-
import { join, Result } from "async-child-process";
109
import { nodePath, rootPath } from "./projectPaths";
10+
const { join } = require("async-child-process");
1111

12-
export default async function spawnNode(args?: string[], options?: SpawnOptions): Promise<Result> {
12+
export default async function spawnNode(args?: string[], options?: SpawnOptions): Promise<{code: string; signal: string;}> {
1313
if (!options) {
1414
options = {
1515
env: {}

test/integrationTests/workspaceSymbolProvider.integration.test.ts

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

66
import * as vscode from 'vscode';
7-
import { should, expect } from 'chai';
7+
import { expect } from 'chai';
88
import { activateCSharpExtension } from './integrationHelpers';
99
import testAssetWorkspace from './testAssets/testAssetWorkspace';
10-
1110
const chai = require('chai');
1211
chai.use(require('chai-arrays'));
1312
chai.use(require('chai-fs'));
1413

1514
suite(`WorkspaceSymbolProvider: ${testAssetWorkspace.description}`, function () {
1615

1716
suiteSetup(async function () {
18-
should();
1917
await testAssetWorkspace.restore();
2018
await activateCSharpExtension();
21-
2219
let projectDirectory = vscode.Uri.file(testAssetWorkspace.projects[0].projectDirectoryPath);
23-
await vscode.commands.executeCommand("vscode.openFolder", projectDirectory);
20+
await vscode.commands.executeCommand("vscode.open", projectDirectory);
2421
});
2522

2623
suiteTeardown(async () => {

tslint.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"curly": true,
1010
"semicolon": true,
1111
"indent": [true, "spaces", 4],
12-
"file-header": [true, ".*"]
12+
"file-header": [true, ".*"],
13+
"no-buffer-constructor": "error"
1314
},
1415
"rulesDirectory": [
1516
"tslint-microsoft-contrib",

typings/unzip2.d.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)