fix: move fs.js to the node folder (#10055)

This commit is contained in:
Alex Rudenko 2023-04-21 09:45:04 +02:00 committed by GitHub
parent 8e8c06ac7d
commit 704624eb20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 7 additions and 7 deletions

View File

@ -36,7 +36,8 @@ import bzip from 'unbzip2-stream';
import {debug} from '../common/Debug.js';
import {Product} from '../common/Product.js';
import {assert} from '../util/assert.js';
import {rm} from '../util/fs.js';
import {rm} from './util/fs.js';
const debugFetcher = debug('puppeteer:fetcher');

View File

@ -25,7 +25,6 @@ import {
import {debugError} from '../common/util.js';
import {assert} from '../util/assert.js';
import {rm} from '../util/fs.js';
import {
BrowserLaunchArgumentOptions,
@ -34,6 +33,7 @@ import {
} from './LaunchOptions.js';
import {ProductLauncher, ResolvedLaunchArgs} from './ProductLauncher.js';
import {PuppeteerNode} from './PuppeteerNode.js';
import {rm} from './util/fs.js';
/**
* @internal

View File

@ -23,7 +23,6 @@ import {Browser as SupportedBrowsers, createProfile} from '@puppeteer/browsers';
import {debugError} from '../common/util.js';
import {assert} from '../util/assert.js';
import {rm} from '../util/fs.js';
import {
BrowserLaunchArgumentOptions,
@ -31,6 +30,7 @@ import {
} from './LaunchOptions.js';
import {ProductLauncher, ResolvedLaunchArgs} from './ProductLauncher.js';
import {PuppeteerNode} from './PuppeteerNode.js';
import {rm} from './util/fs.js';
/**
* @internal

View File

@ -15,7 +15,6 @@
*/
export * from './assert.js';
export * from './fs.js';
export * from './DebuggableDeferredPromise.js';
export * from './DeferredPromise.js';
export * from './ErrorLike.js';

View File

@ -23,7 +23,7 @@ import {
PuppeteerLaunchOptions,
PuppeteerNode,
} from 'puppeteer-core/internal/node/PuppeteerNode.js';
import {rmSync} from 'puppeteer-core/internal/util/fs.js';
import {rmSync} from 'puppeteer-core/internal/node/util/fs.js';
import {getTestState} from './mocha-utils.js';

View File

@ -23,7 +23,7 @@ import {Protocol} from 'devtools-protocol';
import expect from 'expect';
import {BrowserFetcher, TimeoutError} from 'puppeteer';
import {Page} from 'puppeteer-core/internal/api/Page.js';
import {rmSync} from 'puppeteer-core/internal/util/fs.js';
import {rmSync} from 'puppeteer-core/internal/node/util/fs.js';
import sinon from 'sinon';
import {getTestState, itOnlyRegularInstall} from './mocha-utils.js';

View File

@ -33,8 +33,8 @@ import {
PuppeteerLaunchOptions,
PuppeteerNode,
} from 'puppeteer-core/internal/node/PuppeteerNode.js';
import {rmSync} from 'puppeteer-core/internal/node/util/fs.js';
import {isErrorLike} from 'puppeteer-core/internal/util/ErrorLike.js';
import {rmSync} from 'puppeteer-core/internal/util/fs.js';
import sinon from 'sinon';
import {extendExpectWithToBeGolden} from './utils.js';