Skip to content

Commit

Permalink
version 3.7.6
Browse files Browse the repository at this point in the history
  • Loading branch information
dankogai committed Jan 20, 2024
1 parent d4b4c50 commit 53644d0
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 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/[email protected].5/base64.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected].6/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/[email protected].5/base64.mjs';
import { Base64 } from 'https://cdn.jsdelivr.net/npm/[email protected].6/base64.mjs';
</script>
```

```html
<script type="module">
// or if you prefer no Base64 namespace
import { encode, decode } from 'https://cdn.jsdelivr.net/npm/[email protected].5/base64.mjs';
import { encode, decode } from 'https://cdn.jsdelivr.net/npm/[email protected].6/base64.mjs';
</script>
```

Expand Down
4 changes: 2 additions & 2 deletions base64.d.mts
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.5";
declare const version = "3.7.6";
/**
* @deprecated use lowercase `version`.
*/
declare const VERSION = "3.7.5";
declare const VERSION = "3.7.6";
/**
* polyfill version of `btoa`
*/
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.5";
declare const version = "3.7.6";
/**
* @deprecated use lowercase `version`.
*/
declare const VERSION = "3.7.5";
declare const VERSION = "3.7.6";
/**
* 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.5';
var version = '3.7.6';
/**
* @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.5';
const version = '3.7.6';
/**
* @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.5';
const version = '3.7.6';
/**
* @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.5",
"version": "3.7.6",
"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.5",
"version": "3.7.6",
"description": "Yet another Base64 transcoder in pure-JS",
"main": "base64.js",
"module": "base64.mjs",
Expand Down

0 comments on commit 53644d0

Please sign in to comment.