Skip to content

Commit

Permalink
version 3.7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dankogai committed Jan 8, 2023
1 parent 5c275fa commit 3226fbe
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Locally…
… or Directly from CDN. In which case you don't even need to install.

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

This good old way loads `Base64` in the global context (`window`). Though `Base64.noConflict()` is made available, you should consider using ES6 Module to avoid tainting `window`.
Expand All @@ -48,14 +48,14 @@ or even remotely.
```html
<script type="module">
// note jsdelivr.net does not automatically minify .mjs
import { Base64 } from 'https://cdn.jsdelivr.net/npm/js-base64@3.7.3/base64.mjs';
import { Base64 } from 'https://cdn.jsdelivr.net/npm/js-base64@3.7.4/base64.mjs';
</script>
```

```html
<script type="module">
// or if you prefer no Base64 namespace
import { encode, decode } from 'https://cdn.jsdelivr.net/npm/js-base64@3.7.3/base64.mjs';
import { encode, decode } from 'https://cdn.jsdelivr.net/npm/js-base64@3.7.4/base64.mjs';
</script>
```

Expand Down
4 changes: 2 additions & 2 deletions base64.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
*
* @author Dan Kogai (https://github.com/dankogai)
*/
declare const version = "3.7.3";
declare const version = "3.7.4";
/**
* @deprecated use lowercase `version`.
*/
declare const VERSION = "3.7.3";
declare const VERSION = "3.7.4";
/**
* polyfill version of `btoa`
*/
Expand Down
2 changes: 1 addition & 1 deletion base64.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*
* @author Dan Kogai (https://github.com/dankogai)
*/
var version = '3.7.3';
var version = '3.7.4';
/**
* @deprecated use lowercase `version`.
*/
Expand Down
2 changes: 1 addition & 1 deletion base64.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @author Dan Kogai (https://github.com/dankogai)
*/
const version = '3.7.3';
const version = '3.7.4';
/**
* @deprecated use lowercase `version`.
*/
Expand Down
2 changes: 1 addition & 1 deletion base64.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @author Dan Kogai (https://github.com/dankogai)
*/
const version = '3.7.3';
const version = '3.7.4';
/**
* @deprecated use lowercase `version`.
*/
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-base64",
"version": "3.7.3",
"version": "3.7.4",
"license": "BSD-3-Clause",
"main": [
"./base64.js"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-base64",
"version": "3.7.3",
"version": "3.7.4",
"description": "Yet another Base64 transcoder in pure-JS",
"main": "base64.js",
"module": "base64.mjs",
Expand Down

0 comments on commit 3226fbe

Please sign in to comment.