Comparing version 2.0.5 to 2.0.6
@@ -8,2 +8,6 @@ "use strict"; | ||
function atob(data) { | ||
if (arguments.length === 0) { | ||
throw new TypeError("1 argument required, but only 0 present."); | ||
} | ||
// Web IDL requires DOMStrings to just be converted using ECMAScript | ||
@@ -10,0 +14,0 @@ // ToString, which in our case amounts to using a template literal. |
@@ -8,2 +8,6 @@ "use strict"; | ||
function btoa(s) { | ||
if (arguments.length === 0) { | ||
throw new TypeError("1 argument required, but only 0 present."); | ||
} | ||
let i; | ||
@@ -10,0 +14,0 @@ // String conversion as required by Web IDL. |
{ | ||
"name": "abab", | ||
"version": "2.0.5", | ||
"version": "2.0.6", | ||
"description": "WHATWG spec-compliant implementations of window.atob and window.btoa.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
161
10444
7