Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

base64-binary

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

base64-binary - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

2

base64-bin.js

@@ -25,2 +25,4 @@ 'use strict';

}
throw new Error('Unsupported parameter type: ' + typeof byteArray);
}

@@ -27,0 +29,0 @@ });

2

dist/base64.min.js

@@ -1,1 +0,1 @@

"use strict";window&&window.atob&&window.btoa&&(window.base64||(window.base64={}),Object.assign(window.base64,{decode:n=>{const e=window.atob(n),o=new Uint8Array(e.length);return o.map((n,r)=>o[r]=e.charCodeAt(r)),o},encode:n=>{if(n instanceof ArrayBuffer&&(n=new Uint8Array(n)),n instanceof Uint8Array)return window.btoa(n.reduce((n,e)=>n+String.fromCharCode(e),""))}}));
"use strict";window&&window.atob&&window.btoa&&(window.base64||(window.base64={}),Object.assign(window.base64,{decode:e=>{const r=window.atob(e),o=new Uint8Array(r.length);return o.map((e,n)=>o[n]=r.charCodeAt(n)),o},encode:e=>{if((e=e instanceof ArrayBuffer?new Uint8Array(e):e)instanceof Uint8Array)return window.btoa(e.reduce((e,n)=>e+String.fromCharCode(n),""));throw new Error("Unsupported parameter type: "+typeof e)}}));
{
"name": "base64-binary",
"version": "0.1.2",
"version": "0.1.3",
"description": "A polyfill built upon atob/btoa (browser side only) so as to support base64 to/from binary (Uint8Array/ArrayBuffer) conversion",

@@ -20,2 +20,5 @@ "main": "base64-lite.js",

],
"devDependencies": {
"uglify-js": "^3.14.5"
},
"author": "tibetty",

@@ -22,0 +25,0 @@ "license": "ISC",

Sorry, the diff of this file is not supported yet

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