From 9bdb95c9e34cef640534e5e5a1e2225a80442000 Mon Sep 17 00:00:00 2001
From: HelenHuang <LinHuang@pollex.com.tw>
Date: 星期四, 09 六月 2022 15:48:15 +0800
Subject: [PATCH] TODO#139894 [ footer -最下方說明與保經代合作 ] 文案修改

---
 PAMapp/node_modules/abab/lib/atob.js |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/PAMapp/node_modules/abab/lib/atob.js b/PAMapp/node_modules/abab/lib/atob.js
index a47b48d..c8f753a 100644
--- a/PAMapp/node_modules/abab/lib/atob.js
+++ b/PAMapp/node_modules/abab/lib/atob.js
@@ -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}`;

--
Gitblit v1.8.0