Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/oxlint/tsdown.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const GLOBALS = new Set([

// Global properties which cannot be converted to top-level vars, because they're methods which use `this`.
// e.g. `const r = Promise.resolve; r(1);` throws "TypeError: PromiseResolve called on non-object".
const SKIP_GLOBALS = new Set(["Promise.resolve"]);
const SKIP_GLOBALS = new Set(["Promise.resolve", "Promise.allSettled"]);

/**
* Create a plugin to replace usage of properties of globals with global vars defined in `utils/globals.ts`.
Expand Down
Loading