mirror of
https://github.com/Azure/setup-helm.git
synced 2025-12-26 01:05:45 +00:00
committed by
GitHub
parent
20d2b4f98d
commit
e4f3964f67
4
node_modules/abab/lib/atob.js
generated
vendored
4
node_modules/abab/lib/atob.js
generated
vendored
@@ -5,6 +5,10 @@
|
||||
* instead of throwing INVALID_CHARACTER_ERR we return null.
|
||||
*/
|
||||
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
|
||||
// ToString, which in our case amounts to using a template literal.
|
||||
data = `${data}`;
|
||||
|
||||
Reference in New Issue
Block a user