FRE-709: Document duplicate recovery wake - FRE-635 already recovered via FRE-708

This commit is contained in:
2026-04-26 20:23:14 -04:00
parent e07237b6b0
commit 0ff6c74871
5880 changed files with 1643723 additions and 908 deletions

38
node_modules/puppeteer-core/src/environment.ts generated vendored Normal file
View File

@@ -0,0 +1,38 @@
/**
* @license
* Copyright 2020 Google Inc.
* SPDX-License-Identifier: Apache-2.0
*/
import type FS from 'node:fs';
import type Path from 'node:path';
import type {ScreenRecorder} from './node/ScreenRecorder.js';
/**
* @internal
*/
export const isNode = !!(typeof process !== 'undefined' && process.version);
export interface EnvironmentDependencies {
fs: typeof FS;
path?: typeof Path;
ScreenRecorder: typeof ScreenRecorder;
}
/**
* Holder for environment dependencies. These dependencies cannot
* be used during the module instantiation.
*/
export const environment: {
value: EnvironmentDependencies;
} = {
value: {
get fs(): typeof FS {
throw new Error('fs is not available in this environment');
},
get ScreenRecorder(): typeof ScreenRecorder {
throw new Error('ScreenRecorder is not available in this environment');
},
},
};