File tree Expand file tree Collapse file tree 7 files changed +15
-24
lines changed
Expand file tree Collapse file tree 7 files changed +15
-24
lines changed Original file line number Diff line number Diff line change @@ -110,20 +110,25 @@ const bundleDependency = (
110110} ) ;
111111
112112export default [
113- bundleDependency ( './build/src/third_party/index.js' ,
113+ bundleDependency (
114+ './build/src/third_party/index.js' ,
114115 {
115116 inlineDynamicImports : true ,
116117 } ,
117118 ( source , importer , _isResolved ) => {
118- if ( source === 'yargs' && importer && importer . includes ( 'puppeteer-core' ) ) {
119+ if (
120+ source === 'yargs' &&
121+ importer &&
122+ importer . includes ( 'puppeteer-core' )
123+ ) {
119124 return true ;
120125 }
121126
122127 const existingExternals = [ './bidi.js' , '../bidi/bidi.js' ] ;
123128 if ( existingExternals . includes ( source ) ) {
124129 return true ;
125130 }
126-
131+
127132 return false ;
128133 } ,
129134 ) ,
Original file line number Diff line number Diff line change @@ -9,11 +9,11 @@ import path from 'node:path';
99
1010import type { ListenerMap } from './PageCollector.js' ;
1111import { NetworkCollector , PageCollector } from './PageCollector.js' ;
12- import type { Debugger } from './third_party/index.js' ;
1312import { Locator } from './third_party/index.js' ;
1413import type {
1514 Browser ,
1615 ConsoleMessage ,
16+ Debugger ,
1717 Dialog ,
1818 ElementHandle ,
1919 HTTPRequest ,
Original file line number Diff line number Diff line change @@ -17,13 +17,11 @@ import {
1717} from './formatters/networkFormatter.js' ;
1818import { formatA11ySnapshot } from './formatters/snapshotFormatter.js' ;
1919import type { McpContext } from './McpContext.js' ;
20- import type {
21- ImageContent ,
22- TextContent ,
23- } from './third_party/index.js' ;
2420import type {
2521 ConsoleMessage ,
22+ ImageContent ,
2623 ResourceType ,
24+ TextContent ,
2725} from './third_party/index.js' ;
2826import { handleDialog } from './tools/pages.js' ;
2927import type { ImageContentData , Response } from './tools/ToolDefinition.js' ;
Original file line number Diff line number Diff line change 66
77import { isUtf8 } from 'node:buffer' ;
88
9- import type {
10- HTTPRequest ,
11- HTTPResponse ,
12- } from '../third_party/index.js' ;
9+ import type { HTTPRequest , HTTPResponse } from '../third_party/index.js' ;
1310
1411const BODY_CONTEXT_SIZE_LIMIT = 10000 ;
1512
Original file line number Diff line number Diff line change 66
77import type { TextSnapshotNode } from '../McpContext.js' ;
88import { zod } from '../third_party/index.js' ;
9- import type {
10- Dialog ,
11- ElementHandle ,
12- Page ,
13- } from '../third_party/index.js' ;
9+ import type { Dialog , ElementHandle , Page } from '../third_party/index.js' ;
1410import type { TraceResult } from '../trace-processing/parse.js' ;
1511import type { PaginationOptions } from '../utils/types.js' ;
1612
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- import { zod } from '../third_party/index.js' ;
8- import { PredefinedNetworkConditions } from '../third_party/index.js' ;
7+ import { zod , PredefinedNetworkConditions } from '../third_party/index.js' ;
98
109import { ToolCategories } from './categories.js' ;
1110import { defineTool } from './ToolDefinition.js' ;
Original file line number Diff line number Diff line change 55 */
66
77import { zod } from '../third_party/index.js' ;
8- import type {
9- Frame ,
10- JSHandle ,
11- Page ,
12- } from '../third_party/index.js' ;
8+ import type { Frame , JSHandle , Page } from '../third_party/index.js' ;
139
1410import { ToolCategories } from './categories.js' ;
1511import { defineTool } from './ToolDefinition.js' ;
You can’t perform that action at this time.
0 commit comments