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 lib/base85.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const SING85 = 85;

const DEFAULT_ENCODING = 'z85';

const LBigInt = typeof window !== 'undefined' ? window.BigInt : global.BigInt;
const LBigInt = typeof window !== 'undefined' ? window.BigInt : typeof self !== 'undefined' ? self.BigInt : global.BigInt;

/* Characters to allow (and ignore) in an encoded buffer */
const IGNORE_CHARS = [
Expand Down