Skip to content

Commit 119ba69

Browse files
committed
fix: replace BigInt literal with constructor for gettext parser compatibility
1 parent 02ecc60 commit 119ba69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1547,7 +1547,7 @@ MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEV3QUiYsp13nD9suD1/ZkEXnuMoSg
15471547

15481548
validUidValidity(value) {
15491549
if (typeof value === 'bigint') {
1550-
return value > 0n;
1550+
return value > BigInt(0);
15511551
}
15521552

15531553
if (typeof value === 'number') {

0 commit comments

Comments
 (0)