We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c39d4c5 commit 3edb01dCopy full SHA for 3edb01d
1 file changed
base64.js
@@ -58,7 +58,7 @@ export function fromBase64url(str, format = 'uint8') {
58
59
let fromBase64common
60
if (Uint8Array.fromBase64) {
61
- // NOTICE: this is actually slower than our JS impl in JavaScriptCore and (slightly) in SpiderMonkey, but faster on V8
+ // NOTICE: this is actually slower than our JS impl in older JavaScriptCore and (slightly) in SpiderMonkey, but faster on V8 and new JavaScriptCore
62
fromBase64common = (str, isBase64url) => {
63
assert(!/\s/u.test(str), 'Invalid character in base64url input') // all other chars are checked natively
64
const alphabet = isBase64url ? 'base64url' : 'base64'
0 commit comments