0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-02-01 12:16:11 -05:00

Merge remote-tracking branch 'upstream/main' into check-workspace-member-compiler-options

This commit is contained in:
Nayeem Rahman 2024-11-27 18:55:44 +00:00
commit 874260d0ce

View file

@ -620,7 +620,7 @@ function createGPUSupportedLimits(limits) {
}
function normalizeLimit(limit) {
if (typeof num === "bigint") {
if (typeof limit === "bigint") {
limit = Number(limit);
if (limit === NumberPOSITIVE_INFINITY) {
limit = NumberMAX_SAFE_INTEGER;