豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 15c0b84

Browse files
committed
fix
1 parent 4aa2419 commit 15c0b84

File tree

13 files changed

+1
-94
lines changed

13 files changed

+1
-94
lines changed

package.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@
1919
"test:node20": "node --import ./build/tests/setup.js --test-reporter spec --test-force-exit --test build/tests",
2020
"test:no-build": "node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --experimental-print-required-tla --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"",
2121
"test": "npm run build && npm run test:no-build",
22-
<<<<<<< HEAD
23-
"test:only": "npm run build && node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"",
24-
=======
2522
"test:only": "npm run build && npm run test:only:no-build",
26-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))
2723
"test:only:no-build": "node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"",
2824
"test:update-snapshots": "npm run build && node --import ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-force-exit --test --test-update-snapshots \"build/tests/**/*.test.js\"",
2925
"prepare": "node --experimental-strip-types scripts/prepare.ts",

src/DevToolsConnectionAdapter.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7-
<<<<<<< HEAD
8-
import type {CDPConnection as devtools} from './third_party/index.js';
9-
=======
10-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))
117
import type * as puppeteer from './third_party/index.js';
128
import type {DevTools} from './third_party/index.js';
139
import {CDPSessionEvent} from './third_party/index.js';

src/DevtoolsUtils.ts

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,7 @@ import {PuppeteerDevToolsConnection} from './DevToolsConnectionAdapter.js';
88
import {ISSUE_UTILS} from './issue-descriptions.js';
99
import {logger} from './logger.js';
1010
import {Mutex} from './Mutex.js';
11-
<<<<<<< HEAD
12-
import {
13-
type Issue,
14-
type AggregatedIssue,
15-
type IssuesManagerEventTypes,
16-
type SDKTarget as Target,
17-
DebuggerModel,
18-
Foundation,
19-
TargetManager,
20-
MarkdownIssueDescription,
21-
Marked,
22-
ProtocolClient,
23-
Common,
24-
I18n,
25-
} from './third_party/index.js';
26-
=======
2711
import {DevTools} from './third_party/index.js';
28-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))
2912
import type {
3013
Browser,
3114
Page,

src/McpContext.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import path from 'node:path';
1111
import {extractUrlLikeFromDevToolsTitle, urlsEqual} from './DevtoolsUtils.js';
1212
import type {ListenerMap} from './PageCollector.js';
1313
import {NetworkCollector, ConsoleCollector} from './PageCollector.js';
14-
import {type AggregatedIssue} from './third_party/index.js';
1514
import {Locator} from './third_party/index.js';
1615
import type {DevTools} from './third_party/index.js';
1716
import type {

src/McpResponse.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ import {
1919
} from './formatters/networkFormatter.js';
2020
import {formatSnapshotNode} from './formatters/snapshotFormatter.js';
2121
import type {McpContext} from './McpContext.js';
22-
<<<<<<< HEAD
23-
import {AggregatedIssue} from './third_party/index.js';
24-
=======
2522
import {DevTools} from './third_party/index.js';
26-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))
2723
import type {
2824
ConsoleMessage,
2925
ImageContent,

src/PageCollector.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,10 @@
77
import {FakeIssuesManager} from './DevtoolsUtils.js';
88
import {logger} from './logger.js';
99
import type {
10+
Target,
1011
CDPSession,
1112
ConsoleMessage,
1213
Protocol,
13-
Target,
14-
Common,
15-
} from './third_party/index.js';
16-
import {
17-
type AggregatedIssue,
18-
IssueAggregatorEvents,
19-
IssuesManagerEvents,
20-
createIssuesFromProtocolIssue,
21-
IssueAggregator,
2214
} from './third_party/index.js';
2315
import {DevTools} from './third_party/index.js';
2416
import {

src/formatters/consoleFormatter.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,7 @@
55
*/
66

77
import type {McpContext} from '../McpContext.js';
8-
<<<<<<< HEAD
9-
import {type AggregatedIssue} from '../third_party/index.js';
10-
=======
118
import type {DevTools} from '../third_party/index.js';
12-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))
139

1410
export interface ConsoleMessageData {
1511
consoleMessageStableId: number;

src/third_party/index.ts

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -36,30 +36,4 @@ export {
3636
type ChromeReleaseChannel as BrowsersChromeReleaseChannel,
3737
} from '@puppeteer/browsers';
3838

39-
<<<<<<< HEAD
40-
export {
41-
AgentFocus,
42-
TraceEngine,
43-
PerformanceTraceFormatter,
44-
PerformanceInsightFormatter,
45-
AggregatedIssue,
46-
type Issue,
47-
type IssuesManagerEventTypes,
48-
type Target as SDKTarget,
49-
type CDPConnection,
50-
DebuggerModel,
51-
Foundation,
52-
TargetManager,
53-
MarkdownIssueDescription,
54-
Marked,
55-
ProtocolClient,
56-
Common,
57-
I18n,
58-
IssueAggregatorEvents,
59-
IssuesManagerEvents,
60-
createIssuesFromProtocolIssue,
61-
IssueAggregator,
62-
} from '../../node_modules/chrome-devtools-frontend/mcp/mcp.js';
63-
=======
6439
export * as DevTools from './devtools.js';
65-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))

src/trace-processing/parse.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,7 @@
55
*/
66

77
import {logger} from '../logger.js';
8-
<<<<<<< HEAD
9-
import {
10-
AgentFocus,
11-
TraceEngine,
12-
PerformanceTraceFormatter,
13-
PerformanceInsightFormatter,
14-
} from '../third_party/index.js';
15-
=======
168
import {DevTools} from '../third_party/index.js';
17-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))
189

1910
const engine = DevTools.TraceEngine.TraceModel.Model.createWithAllHandlers();
2011

tests/DevtoolsUtils.test.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ import {
1616
UniverseManager,
1717
} from '../src/DevtoolsUtils.js';
1818
import {ISSUE_UTILS} from '../src/issue-descriptions.js';
19-
<<<<<<< HEAD
20-
import {AggregatedIssue, DebuggerModel} from '../src/third_party/index.js';
21-
=======
2219
import {DevTools} from '../src/third_party/index.js';
23-
>>>>>>> 8e5e779 (build: bundle devtools frontend (#656))
2420
import type {Browser, Target} from '../src/third_party/index.js';
2521

2622
import {

0 commit comments

Comments
 (0)