From e45f20b52ab179b304d67431b9ff5cc7e8e21292 Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Wed, 11 Oct 2023 16:57:27 +0200 Subject: [PATCH] chore: rename `index.ts` to `mitt.ts` (#11134) --- packages/puppeteer-core/src/common/EventEmitter.ts | 4 ++-- .../puppeteer-core/third_party/mitt/{index.ts => mitt.ts} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename packages/puppeteer-core/third_party/mitt/{index.ts => mitt.ts} (100%) diff --git a/packages/puppeteer-core/src/common/EventEmitter.ts b/packages/puppeteer-core/src/common/EventEmitter.ts index 43168827f00..fbf259ec01b 100644 --- a/packages/puppeteer-core/src/common/EventEmitter.ts +++ b/packages/puppeteer-core/src/common/EventEmitter.ts @@ -18,7 +18,7 @@ import mitt, { type Emitter, type EventHandlerMap, type EventType, -} from '../../third_party/mitt/index.js'; +} from '../../third_party/mitt/mitt.js'; import {disposeSymbol} from '../util/disposable.js'; export type { @@ -26,7 +26,7 @@ export type { * @public */ EventType, -} from '../../third_party/mitt/index.js'; +} from '../../third_party/mitt/mitt.js'; /** * @public diff --git a/packages/puppeteer-core/third_party/mitt/index.ts b/packages/puppeteer-core/third_party/mitt/mitt.ts similarity index 100% rename from packages/puppeteer-core/third_party/mitt/index.ts rename to packages/puppeteer-core/third_party/mitt/mitt.ts