Comparing version 3.1.1 to 3.1.2
@@ -0,1 +1,10 @@ | ||
## [3.1.2](https://github.com/multiformats/js-multibase/compare/v3.1.1...v3.1.2) (2021-02-26) | ||
### Bug Fixes | ||
* fix incompatibility with zii via [@rvagg](https://github.com/rvagg)'s fix ([#84](https://github.com/multiformats/js-multibase/issues/84)) ([d5b670f](https://github.com/multiformats/js-multibase/commit/d5b670fbaab941a47f6ece1ff39870bfa394065e)) | ||
## [3.1.1](https://github.com/multiformats/js-multibase/compare/v3.1.0...v3.1.1) (2021-01-13) | ||
@@ -2,0 +11,0 @@ |
{ | ||
"name": "multibase", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "JavaScript implementation of the multibase specification", | ||
@@ -69,9 +69,10 @@ "keywords": [ | ||
"Irakli Gozalishvili <contact@gozala.io>", | ||
"ᴠɪᴄᴛᴏʀ ʙᴊᴇʟᴋʜᴏʟᴍ <victorbjelkholm@gmail.com>", | ||
"Richard Littauer <richard.littauer@gmail.com>", | ||
"victorbjelkholm <victorbjelkholm@gmail.com>", | ||
"theobat <theophile.batoz@gmail.com>", | ||
"Bora M. Alper <boramalper@gmail.com>", | ||
"Carson Farmer <carson.farmer@gmail.com>", | ||
"Henrique Dias <hacdias@gmail.com>", | ||
"Carson Farmer <carson.farmer@gmail.com>", | ||
"Bora M. Alper <boramalper@gmail.com>" | ||
"Kyle Maas <kylemaasdev@gmail.com>", | ||
"Richard Littauer <richard.littauer@gmail.com>" | ||
] | ||
} |
@@ -117,5 +117,5 @@ /** | ||
function encoding (nameOrCode) { | ||
if (constants.names[/** @type {BaseName} */(nameOrCode)]) { | ||
if (Object.prototype.hasOwnProperty.call(constants.names, /** @type {BaseName} */(nameOrCode))) { | ||
return constants.names[/** @type {BaseName} */(nameOrCode)] | ||
} else if (constants.codes[/** @type {BaseCode} */(nameOrCode)]) { | ||
} else if (Object.prototype.hasOwnProperty.call(constants.codes, /** @type {BaseCode} */(nameOrCode))) { | ||
return constants.codes[/** @type {BaseCode} */(nameOrCode)] | ||
@@ -122,0 +122,0 @@ } else { |
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
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
33545