@@ -587,7 +587,7 @@ class Utils {
587587 if ( charset . size === setLen ) {
588588 charset = [ ...charset ] . join ( "" ) ;
589589 this . root . charsets [ name ] = charset ;
590- console . log ( `New charset added with the name '${ name } ' added and ready to use` ) ;
590+ console . info ( `New charset '${ name } ' was added and is ready to use` ) ;
591591 } else if ( inputLen === setLen ) {
592592 throw new Error ( "There were repetitive chars found in your charset. Make sure each char is unique." ) ;
593593 } else {
@@ -597,7 +597,7 @@ class Utils {
597597
598598 // Save method (argument gets validated) to
599599 // change the default version.
600- this . root . setDefaultVersion = ( version ) => {
600+ this . root . setDefaultCharset = ( version ) => {
601601 ( { version } = this . validateArgs ( [ version ] ) ) ;
602602 this . root . version = version ;
603603 } ;
@@ -1273,7 +1273,7 @@ class BaseTemplate {
12731273/**
12741274 * [BaseEx|Base1 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/base-1.js}
12751275 *
1276- * @version 0.4.1
1276+ * @version 0.4.2
12771277 * @author UmamiAppearance [mail@umamiappearance.eu]
12781278 * @license GPL-3.0
12791279 */
@@ -1300,7 +1300,7 @@ class Base1 extends BaseTemplate {
13001300 // it is not suitable for this converter.
13011301 delete this . addCharset ;
13021302
1303- // All chars in the sting are used and picked randomly (prob. suitable for obfuscation)
1303+ // All chars in the string are used and picked randomly (prob. suitable for obfuscation)
13041304 this . charsets . all = " !\"#$%&'()*+,./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" ;
13051305
13061306 // The sequence is used from left to right again and again
@@ -1432,7 +1432,7 @@ class Base1 extends BaseTemplate {
14321432/**
14331433 * [BaseEx|Base16 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/src/converters/base-16.js}
14341434 *
1435- * @version 0.4.1
1435+ * @version 0.4.2
14361436 * @author UmamiAppearance [mail@umamiappearance.eu]
14371437 * @license GPL-3.0
14381438 */
@@ -1511,7 +1511,7 @@ class Base16 extends BaseTemplate {
15111511/**
15121512 * [BaseEx|Base32 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/base-32.js}
15131513 *
1514- * @version 0.4.1
1514+ * @version 0.4.2
15151515 * @author UmamiAppearance [mail@umamiappearance.eu]
15161516 * @license GPL-3.0
15171517 */
@@ -1610,7 +1610,7 @@ class Base32 extends BaseTemplate {
16101610/**
16111611 * [BaseEx|Base58 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/base-58.js}
16121612 *
1613- * @version 0.4.1
1613+ * @version 0.4.2
16141614 * @author UmamiAppearance [mail@umamiappearance.eu]
16151615 * @license GPL-3.0
16161616 */
@@ -1748,7 +1748,7 @@ class Base58 extends BaseTemplate{
17481748/**
17491749 * [BaseEx|Base64 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/base-64.js}
17501750 *
1751- * @version 0.4.1
1751+ * @version 0.4.2
17521752 * @author UmamiAppearance [mail@umamiappearance.eu]
17531753 * @license GPL-3.0
17541754 */
@@ -1835,7 +1835,7 @@ class Base64 extends BaseTemplate {
18351835/**
18361836 * [BaseEx|Base85 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/base-85.js}
18371837 *
1838- * @version 0.4.1
1838+ * @version 0.4.2
18391839 * @author UmamiAppearance [mail@umamiappearance.eu]
18401840 * @license GPL-3.0
18411841 */
@@ -1964,7 +1964,7 @@ class Base85 extends BaseTemplate {
19641964/**
19651965 * [BaseEx|Base91 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/base-91.js}
19661966 *
1967- * @version 0.4.1
1967+ * @version 0.4.2
19681968 * @author UmamiAppearance [mail@umamiappearance.eu]
19691969 * @license GPL-3.0 AND BSD-3-Clause (Base91, Copyright (c) 2000-2006 Joachim Henke)
19701970 */
@@ -2173,7 +2173,7 @@ class Base91 extends BaseTemplate {
21732173/**
21742174 * [BaseEx|Byte Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/byte-converter.js}
21752175 *
2176- * @version 0.4.1
2176+ * @version 0.4.2
21772177 * @author UmamiAppearance [mail@umamiappearance.eu]
21782178 * @license GPL-3.0
21792179 */
@@ -2283,7 +2283,7 @@ class ByteConverter {
22832283/**
22842284 * [BaseEx|LEB128 Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/leb-128.js}
22852285 *
2286- * @version 0.4.1
2286+ * @version 0.4.2
22872287 * @author UmamiAppearance [mail@umamiappearance.eu]
22882288 * @license GPL-3.0
22892289 */
@@ -2447,7 +2447,7 @@ class LEB128 extends BaseTemplate {
24472447/**
24482448 * [BaseEx|SimpleBase Converter]{@link https://github.com/UmamiAppearance/BaseExJS/blob/main/src/converters/leb-128.js}
24492449 *
2450- * @version 0.4.1
2450+ * @version 0.4.2
24512451 * @author UmamiAppearance [mail@umamiappearance.eu]
24522452 * @license GPL-3.0
24532453 */
@@ -2505,10 +2505,10 @@ class SimpleBase extends BaseTemplate {
25052505 }
25062506}
25072507
2508- /*
2508+ /**
25092509 * [BaseEx]{@link https://github.com/UmamiAppearance/BaseExJS}
25102510 *
2511- * @version 0.4.1
2511+ * @version 0.4.2
25122512 * @author UmamiAppearance [mail@umamiappearance.eu]
25132513 * @license GPL-3.0 AND BSD-3-Clause (only regarding Base91, Copyright (c) 2000-2006 Joachim Henke)
25142514 */
@@ -2549,8 +2549,8 @@ class BaseEx {
25492549 this . base58_flickr = new Base58 ( "flickr" , outputType ) ;
25502550 this . base64 = new Base64 ( "default" , outputType ) ;
25512551 this . base64_urlsafe = new Base64 ( "urlsafe" , outputType ) ;
2552- this . base85adobe = new Base85 ( "adobe" , outputType ) ;
2553- this . base85ascii = new Base85 ( "ascii85" , outputType ) ;
2552+ this . base85_adobe = new Base85 ( "adobe" , outputType ) ;
2553+ this . base85_ascii = new Base85 ( "ascii85" , outputType ) ;
25542554 this . base85_z85 = new Base85 ( "z85" , outputType ) ;
25552555 this . base91 = new Base91 ( "default" , outputType ) ;
25562556 this . leb128 = new LEB128 ( "default" , outputType ) ;
0 commit comments