check:no-free-identifiers knows atob and btoa, the two base64 globals every browser and Node 16+ define

This commit is contained in:
Doxa Maps 2026-09-29 06:32:21 +00:00
parent 399aa20bfa
commit 7d278c3e2a

View file

@ -52,7 +52,7 @@ const GLOBALS = [
'Promise', 'Set', 'Map', 'WeakMap', 'WeakSet', 'Date', 'RegExp', 'Proxy', 'Reflect', 'BigInt',
'Error', 'TypeError', 'RangeError', 'SyntaxError', 'Infinity', 'NaN', 'undefined',
'parseInt', 'parseFloat', 'isNaN', 'isFinite', 'encodeURIComponent', 'decodeURIComponent',
'encodeURI', 'decodeURI', 'structuredClone', 'queueMicrotask', 'crypto',
'encodeURI', 'decodeURI', 'structuredClone', 'queueMicrotask', 'crypto', 'atob', 'btoa',
'setTimeout', 'clearTimeout', 'setInterval', 'clearInterval',
'requestAnimationFrame', 'cancelAnimationFrame', 'requestIdleCallback',
'fetch', 'Headers', 'Request', 'Response', 'AbortController', 'AbortSignal',