fix: avoid importing puppeteer-core.js (#10376)

This commit is contained in:
Alex Rudenko 2023-06-13 15:57:00 +02:00 committed by GitHub
parent 2961449391
commit 3171c12a0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ import type {ElementHandle} from '../api/ElementHandle.js';
import type {JSHandle} from '../api/JSHandle.js'; import type {JSHandle} from '../api/JSHandle.js';
import {Page} from '../api/Page.js'; import {Page} from '../api/Page.js';
import {isNode} from '../environment.js'; import {isNode} from '../environment.js';
import {Deferred} from '../puppeteer-core.js';
import {assert} from '../util/assert.js'; import {assert} from '../util/assert.js';
import {Deferred} from '../util/Deferred.js';
import {isErrorLike} from '../util/ErrorLike.js'; import {isErrorLike} from '../util/ErrorLike.js';
import type {CDPSession} from './Connection.js'; import type {CDPSession} from './Connection.js';

View File

@ -23,8 +23,8 @@ import {
ChromeReleaseChannel as BrowsersChromeReleaseChannel, ChromeReleaseChannel as BrowsersChromeReleaseChannel,
} from '@puppeteer/browsers'; } from '@puppeteer/browsers';
import {Browser} from '../api/Browser.js';
import {debugError} from '../common/util.js'; import {debugError} from '../common/util.js';
import {Browser} from '../puppeteer-core.js';
import {assert} from '../util/assert.js'; import {assert} from '../util/assert.js';
import { import {