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 2.6.3 to 2.6.4

base64.min.js

2

base64.js

@@ -25,3 +25,3 @@ /*

var _Base64 = global.Base64;
var version = "2.6.3";
var version = "2.6.4";
// constants

@@ -28,0 +28,0 @@ var b64chars

{
"name": "js-base64",
"version": "2.6.3",
"version": "2.6.4",
"description": "Yet another Base64 transcoder in pure-JS",
"main": "base64.js",
"files": [
"base64.js",
"base64.min.js"
],
"directories": {

@@ -10,8 +14,11 @@ "test": "test"

"scripts": {
"test": "mocha --compilers js:babel-register"
"test": "mocha --require @babel/register",
"minify": "uglifyjs base64.js > base64.min.js"
},
"devDependencies": {
"babel-preset-env": "^1.7.0",
"babel-register": "^6.26.0",
"mocha": "5.x.x"
"@babel/core": "^7.10.5",
"@babel/preset-env": "^7.10.5",
"@babel/register": "^7.10.5",
"mocha": "^8.0.0",
"uglify-js": "^3.10.0"
},

@@ -18,0 +25,0 @@ "repository": {

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

## Install
## Usage
### Install
```javascript

@@ -23,6 +25,6 @@ $ npm install --save js-base64

## Usage
### In Browser
* Locally
```html

@@ -32,2 +34,14 @@ <script src="base64.js"></script>

* Directly from CDN. In which case you don't even need to install.
```html
<!-- the latest -->
<script src="https://cdn.jsdelivr.net/npm/js-base64/base64.min.js">
```
```html
<!-- with version fixed -->
<script src="https://cdn.jsdelivr.net/npm/js-base64@2.6.4/base64.min.js">
```
### node.js

@@ -34,0 +48,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