upgrade base-x to 5.0.1

This commit is contained in:
El RIDO 2025-07-22 10:32:08 +02:00
parent f3e2c53729
commit e50a809855
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
7 changed files with 62 additions and 58 deletions

View file

@ -10,7 +10,7 @@
* @namespace
*/
// global Base64, DOMPurify, FileReader, bootstrap, history, navigator, prettyPrint, prettyPrintOne, showdown, kjua
// global Base64, DOMPurify, FileReader, baseX, bootstrap, history, navigator, prettyPrint, prettyPrintOne, showdown, kjua
jQuery.fn.draghover = function() {
'use strict';
@ -985,7 +985,7 @@ jQuery.PrivateBin = (function($) {
*
* @private
*/
let base58 = new baseX('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz');
const base58 = new baseX('123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz');
/**
* convert UTF-8 string stored in a DOMString to a standard UTF-16 DOMString