Socket
Socket
Sign inDemoInstall

atob

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

atob - npm Package Compare versions

Comparing version 2.0.0 to 2.0.2

bower.json

2

browser-atob.js

@@ -9,3 +9,3 @@ (function (w) {

if ('function' === typeof a2b) {
return a2b(a2b);
return a2b(str);
}

@@ -12,0 +12,0 @@ // browserify (web worker)

@@ -23,3 +23,3 @@ {

"license": "(MIT OR Apache-2.0)",
"version": "2.0.0"
"version": "2.0.2"
}

@@ -10,14 +10,19 @@ atob

(function () {
"use strict";
```javascript
(function () {
"use strict";
var atob = require('atob')
, b64 = "SGVsbG8gV29ybGQ="
, bin = atob(b64)
;
var atob = require('atob');
var b64 = "SGVsbG8gV29ybGQ=";
var bin = atob(b64);
console.log(bin); // "Hello World"
}());
console.log(bin); // "Hello World"
}());
```
Changes
### Need Unicode and Binary Support in the Browser?
Check out [unibabel.js](https://github.com/coolaj86/unibabel-js)
Changelog
=======

@@ -24,0 +29,0 @@

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