Comparing version 2.6.3 to 2.6.4
@@ -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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
124
0
18962
5
5
249
1