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

js-base64

Package Overview
Dependencies
Maintainers
1
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-base64 - npm Package Compare versions

Comparing version 3.2.2 to 3.2.3

17

base64.js

@@ -31,3 +31,3 @@

*/
const version = '3.2.2';
const version = '3.2.3';
const _b64chars

@@ -216,8 +216,3 @@ = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';

gBase64.noConflict = () => {
let Base64 = global.Base64;
global.Base64 = _Base64;
return Base64;
};
global.Base64 = gBase64.Base64 = gBase64;
gBase64.Base64 = gBase64;
//

@@ -238,2 +233,10 @@ // export Base64 to the namespace

}
else { // cf. https://github.com/dankogai/js-base64/issues/119
gBase64.noConflict = () => {
let Base64 = global.Base64;
global.Base64 = _Base64;
return Base64;
};
global.Base64 = gBase64;
}
// that's it!

@@ -240,0 +243,0 @@ return {Base64: gBase64};

{
"name": "js-base64",
"version": "3.2.2",
"version": "3.2.3",
"description": "Yet another Base64 transcoder in pure-JS",

@@ -5,0 +5,0 @@ "main": "base64.js",

@@ -34,3 +34,3 @@ [![build status](https://secure.travis-ci.org/dankogai/js-base64.png)](http://travis-ci.org/dankogai/js-base64)

```html
<script src="https://cdn.jsdelivr.net/npm/js-base64@3.2.2/base64.min.js">
<script src="https://cdn.jsdelivr.net/npm/js-base64@3.2.3/base64.min.js">
```

@@ -60,6 +60,6 @@

// note jsdelivr.net does not automatically minify .mjs
import { Base64 } from 'https://cdn.jsdelivr.net/npm/js-base64@3.2.2/base64.mjs';
import { Base64 } from 'https://cdn.jsdelivr.net/npm/js-base64@3.2.3/base64.mjs';
// or if you prefer no Base64 namespace
import { encode, decode } from 'https://cdn.jsdelivr.net/npm/js-base64@3.2.2/base64.mjs';
import { encode, decode } from 'https://cdn.jsdelivr.net/npm/js-base64@3.2.3/base64.mjs';
</script>

@@ -66,0 +66,0 @@ ```

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