Skip to content

Commit e11670f

Browse files
Update vscode packages (#397)
* update package * update imports * update package * fix dependencies * update package-lock * Update vscode version
1 parent 7b57e15 commit e11670f

File tree

10 files changed

+366
-774
lines changed

10 files changed

+366
-774
lines changed

package-lock.json

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

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"debugpy"
2727
],
2828
"engines": {
29-
"vscode": "^1.87.0"
29+
"vscode": "^1.92.0"
3030
},
3131
"categories": [
3232
"Debuggers"
@@ -575,11 +575,12 @@
575575
"ts-mockito": "^2.6.1",
576576
"typemoq": "^2.1.0",
577577
"typescript": "^5.2.2",
578-
"vscode-test": "^1.6.1",
579578
"webpack": "^5.87.0",
580579
"webpack-cli": "^5.1.4"
581580
},
582581
"dependencies": {
582+
"@vscode/debugadapter": "^1.65.0",
583+
"@vscode/debugprotocol": "^1.65.0",
583584
"@vscode/extension-telemetry": "^0.8.5",
584585
"@vscode/python-extension": "^1.0.5",
585586
"fs-extra": "^11.2.0",
@@ -588,8 +589,6 @@
588589
"jsonc-parser": "^3.2.0",
589590
"lodash": "^4.17.21",
590591
"reflect-metadata": "^0.1.13",
591-
"vscode-debugadapter": "^1.51.0",
592-
"vscode-debugprotocol": "^1.51.0",
593592
"vscode-languageclient": "^8.0.2"
594593
}
595594
}

src/extension/common/application/debugSessionTelemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
'use strict';
55

66
import { DebugAdapterTracker, DebugAdapterTrackerFactory, DebugSession, ProviderResult } from 'vscode';
7-
import { DebugProtocol } from 'vscode-debugprotocol';
7+
import { DebugProtocol } from '@vscode/debugprotocol';
88
import { IEventNamePropertyMapping, sendTelemetryEvent } from '../../telemetry';
99
import { EventName } from '../../telemetry/constants';
1010
import { TriggerType, AttachRequestArguments, ConsoleType, LaunchRequestArguments } from '../../types';

src/extension/debugger/adapter/logging.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
DebugSession,
1212
ProviderResult,
1313
} from 'vscode';
14-
import { DebugProtocol } from 'vscode-debugprotocol';
14+
import { DebugProtocol } from '@vscode/debugprotocol';
1515
import { EXTENSION_ROOT_DIR } from '../../common/constants';
1616
import { StopWatch } from '../../common/utils/stopWatch';
1717

src/extension/debugger/adapter/outdatedDebuggerPrompt.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
'use strict';
55
import { DebugAdapterTracker, DebugAdapterTrackerFactory, DebugSession, ProviderResult } from 'vscode';
6-
import { DebugProtocol } from 'vscode-debugprotocol';
6+
import { DebugProtocol } from '@vscode/debugprotocol';
77
import { Common, OutdatedDebugger } from '../../common/utils/localize';
88
import { launch, showInformationMessage } from '../../common/vscodeapi';
99
import { IPromptShowState } from './types';

src/extension/debugger/helpers/protocolParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import { EventEmitter } from 'events';
55
import { Readable } from 'stream';
6-
import { DebugProtocol } from 'vscode-debugprotocol';
6+
import { DebugProtocol } from '@vscode/debugprotocol';
77
import { IProtocolParser } from '../types';
88

99
const PROTOCOL_START_INDENTIFIER = '\r\n\r\n';

src/extension/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
'use strict';
66

77
import { DebugConfiguration } from 'vscode';
8-
import { DebugProtocol } from 'vscode-debugprotocol/lib/debugProtocol';
8+
import { DebugProtocol } from '@vscode/debugprotocol';
99
import { IDisposableRegistry, IExtensionContext } from './common/types';
1010
import { DebuggerTypeName } from './constants';
1111

src/test/unittest/adapter/logging.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as fs from 'fs-extra';
1010
import * as path from 'path';
1111
import { anything, instance, mock, verify, when } from 'ts-mockito';
1212
import { DebugSession, WorkspaceFolder } from 'vscode';
13-
import { DebugProtocol } from 'vscode-debugprotocol';
13+
import { DebugProtocol } from '@vscode/debugprotocol';
1414
import { EXTENSION_ROOT_DIR } from '../../../extension/common/constants';
1515
import { DebugSessionLoggingFactory } from '../../../extension/debugger/adapter/logging';
1616

src/test/unittest/adapter/outdatedDebuggerPrompt.unit.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as assert from 'assert';
77
import * as sinon from 'sinon';
88
import { anyString } from 'ts-mockito';
99
import { DebugSession, WorkspaceFolder } from 'vscode';
10-
import { DebugProtocol } from 'vscode-debugprotocol';
10+
import { DebugProtocol } from '@vscode/debugprotocol';
1111
import { createDeferred } from '../../../extension/common/utils/async';
1212
import { Common } from '../../../extension/common/utils/localize';
1313
import { OutdatedDebuggerPromptFactory } from '../../../extension/debugger/adapter/outdatedDebuggerPrompt';

src/test/unittest/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { expect } from 'chai';
77
import * as fs from 'fs-extra';
88
import * as path from 'path';
99
import * as vscode from 'vscode';
10-
import { DebugProtocol } from 'vscode-debugprotocol';
10+
import { DebugProtocol } from '@vscode/debugprotocol';
1111
import { EXTENSION_ROOT_DIR } from '../../extension/common/constants';
1212
import { getDebugpyLauncherArgs } from '../../extension/debugger/adapter/remoteLaunchers';
1313
import { sleep } from '../core';

0 commit comments

Comments
 (0)