Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
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 2.0.5 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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc