You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

abab

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

abab - npm Package Compare versions

Comparing version

to
2.0.6

4

lib/atob.js

@@ -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.

2

package.json
{
"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",