Bump -core, update test for -core, 4.10.2 changelog

This commit is contained in:
Rob Lourens 2018-09-27 11:38:23 -07:00
Родитель 94f241a1bc
Коммит 142fa8d6c8
4 изменённых файлов: 1064 добавлений и 1056 удалений

Просмотреть файл

@ -1,3 +1,7 @@
## 4.10.2
* Only show callstack context menu on stack frames - [Microsoft/vscode#19180](https://github.com/microsoft/vscode/issues/19180)
* Fix missing breakpoints on first line of script in Chrome 69 - [Microsoft/vscode-chrome-debug-core#352](https://github.com/microsoft/vscode-chrome-debug-core/issues/352)
## 4.10.1
* Add the `targetTypes` config parameter to allow attaching to targets other than `page`. Note that this extension **doesn't officially support** debugging other types of targets, but this may enable some advanced debugging scenarios. Thanks to [@stristr](https://github.com/stristr) for the PR! - [Microsoft/vscode-chrome-debug-core#350](https://github.com/microsoft/vscode-chrome-debug-core/pull/350) and [#727](https://github.com/microsoft/vscode-chrome-debug/pull/727)

2104
package-lock.json сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -24,8 +24,8 @@
],
"license": "SEE LICENSE IN LICENSE.txt",
"dependencies": {
"vscode-chrome-debug-core": "^6.7.17",
"vscode-debugadapter": "^1.31.0",
"vscode-chrome-debug-core": "^6.7.19",
"vscode-debugadapter": "^1.32.1",
"vscode-nls": "^4.0.0"
},
"devDependencies": {
@ -57,7 +57,7 @@
"vscode": "^1.1.17",
"vscode-chrome-debug-core-testsupport": "^3.20.0",
"vscode-debugadapter-testsupport": "1.24.0",
"vscode-debugprotocol": "^1.31.0",
"vscode-debugprotocol": "^1.32.0",
"vscode-nls-dev": "^3.2.2"
},
"main": "./out/src/extension",

Просмотреть файл

@ -6,7 +6,7 @@ import * as assert from 'assert';
import { EventEmitter } from 'events';
import * as mockery from 'mockery';
import { IMock, It, Mock, MockBehavior, Times } from 'typemoq';
import { chromeConnection, ISourceMapPathOverrides, telemetry } from 'vscode-chrome-debug-core';
import { chromeConnection, ISourceMapPathOverrides, telemetry, TargetVersions, Version } from 'vscode-chrome-debug-core';
import { DebugProtocol } from 'vscode-debugprotocol';
import { ChromeDebugAdapter as _ChromeDebugAdapter } from '../src/chromeDebugAdapter';
import { getMockChromeConnectionApi, IMockChromeConnectionAPI } from './debugProtocolMocks';
@ -72,6 +72,10 @@ suite('ChromeDebugAdapter', () => {
.setup(x => x.events)
.returns(x => null)
.verifiable(Times.atLeast(0));
mockChromeConnection
.setup(x => x.version)
.returns(() => Promise.resolve(new TargetVersions(Version.unknownVersion(), Version.unknownVersion())))
.verifiable(Times.atLeast(0));
// Instantiate the ChromeDebugAdapter, injecting the mock ChromeConnection
const cDAClass: typeof _ChromeDebugAdapter = require(MODULE_UNDER_TEST).ChromeDebugAdapter;