File tree Expand file tree Collapse file tree 6 files changed +20
-8
lines changed
Expand file tree Collapse file tree 6 files changed +20
-8
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ const bundleDependency = (
110110} ) ;
111111
112112export default [
113+ bundleDependency ( './build/src/third_party/index.js' ) ,
113114 bundleDependency ( './build/src/third_party/modelcontextprotocol-sdk/index.js' ) ,
114115 bundleDependency (
115116 './build/src/third_party/puppeteer-core/index.js' ,
Original file line number Diff line number Diff line change @@ -7,10 +7,9 @@ import fs from 'node:fs/promises';
77import os from 'node:os' ;
88import path from 'node:path' ;
99
10- import type { Debugger } from 'debug' ;
11-
1210import type { ListenerMap } from './PageCollector.js' ;
1311import { NetworkCollector , PageCollector } from './PageCollector.js' ;
12+ import type { Debugger } from './third_party/index.js' ;
1413import { Locator } from './third_party/puppeteer-core/index.js' ;
1514import type {
1615 Browser ,
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- import type { Options as YargsOptions } from 'yargs' ;
8- import yargs from 'yargs' ;
9- import { hideBin } from 'yargs/helpers' ;
7+ import type { YargsOptions } from './third_party/index.js' ;
8+ import { yargs , hideBin } from './third_party/index.js' ;
109
1110export const cliOptions = {
1211 browserUrl : {
Original file line number Diff line number Diff line change 55 */
66import fs from 'node:fs' ;
77
8- import debug from 'debug ' ;
8+ import { debug } from './third_party/index.js ' ;
99
1010const mcpDebugNamespace = 'mcp:log' ;
1111
Original file line number Diff line number Diff line change 44 * SPDX-License-Identifier: Apache-2.0
55 */
66
7- import 'core-js/modules/es.promise. with-resolvers.js' ;
8- import 'core-js/proposals/iterator-helpers .js' ;
7+ // polyfills are now bundled with all other dependencies
8+ import './third_party/index .js' ;
Original file line number Diff line number Diff line change 1+ /**
2+ * @license
3+ * Copyright 2025 Google LLC
4+ * SPDX-License-Identifier: Apache-2.0
5+ */
6+ import 'core-js/modules/es.promise.with-resolvers.js' ;
7+ import 'core-js/proposals/iterator-helpers.js' ;
8+
9+ export type { Options as YargsOptions } from 'yargs' ;
10+ export { default as yargs } from 'yargs' ;
11+ export { hideBin } from 'yargs/helpers' ;
12+ export { debug } from 'debug' ;
13+ export type { Debugger } from 'debug' ;
You can’t perform that action at this time.
0 commit comments