first_commit

This commit is contained in:
2026-01-12 12:43:50 +01:00
parent c75b3e9563
commit 69e186a7f1
15289 changed files with 1616360 additions and 1944 deletions
+26
View File
@@ -0,0 +1,26 @@
import { E as Environment } from './chunks/environment.d.cL3nLXbE.js';
export { a as EnvironmentReturn, V as VmEnvironmentReturn } from './chunks/environment.d.cL3nLXbE.js';
import 'vitest/optional-types.js';
declare const environments: {
"node": Environment
"jsdom": Environment
"happy-dom": Environment
"edge-runtime": Environment
};
interface PopulateOptions {
// we bind functions such as addEventListener and others
// because they rely on `this` in happy-dom, and in jsdom it
// has a priority for getting implementation from symbols
// (global doesn't have these symbols, but window - does)
bindFunctions?: boolean;
additionalKeys?: string[];
}
declare function populateGlobal(global: any, win: any, options?: PopulateOptions): {
keys: Set<string>
skipKeys: string[]
originals: Map<string | symbol, any>
};
export { Environment, environments as builtinEnvironments, populateGlobal };