Socket
Socket
Sign inDemoInstall

@ethersproject/basex

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/basex - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

2

lib.esm/_version.d.ts

@@ -1,2 +0,2 @@

export declare const version = "basex/5.4.0";
export declare const version = "basex/5.5.0";
//# sourceMappingURL=_version.d.ts.map

@@ -1,2 +0,2 @@

export const version = "basex/5.4.0";
export const version = "basex/5.5.0";
//# sourceMappingURL=_version.js.map

@@ -1,2 +0,2 @@

export declare const version = "basex/5.4.0";
export declare const version = "basex/5.5.0";
//# sourceMappingURL=_version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = void 0;
exports.version = "basex/5.4.0";
exports.version = "basex/5.5.0";
//# sourceMappingURL=_version.js.map

@@ -47,6 +47,6 @@ "use strict";

function BaseX(alphabet) {
properties_1.defineReadOnly(this, "alphabet", alphabet);
properties_1.defineReadOnly(this, "base", alphabet.length);
properties_1.defineReadOnly(this, "_alphabetMap", {});
properties_1.defineReadOnly(this, "_leader", alphabet.charAt(0));
(0, properties_1.defineReadOnly)(this, "alphabet", alphabet);
(0, properties_1.defineReadOnly)(this, "base", alphabet.length);
(0, properties_1.defineReadOnly)(this, "_alphabetMap", {});
(0, properties_1.defineReadOnly)(this, "_leader", alphabet.charAt(0));
// pre-compute lookup table

@@ -58,3 +58,3 @@ for (var i = 0; i < alphabet.length; i++) {

BaseX.prototype.encode = function (value) {
var source = bytes_1.arrayify(value);
var source = (0, bytes_1.arrayify)(value);
if (source.length === 0) {

@@ -116,3 +116,3 @@ return "";

}
return bytes_1.arrayify(new Uint8Array(bytes.reverse()));
return (0, bytes_1.arrayify)(new Uint8Array(bytes.reverse()));
};

@@ -119,0 +119,0 @@ return BaseX;

{
"author": "Richard Moore <me@ricmoo.com>",
"dependencies": {
"@ethersproject/bytes": "^5.4.0",
"@ethersproject/properties": "^5.4.0"
"@ethersproject/bytes": "^5.5.0",
"@ethersproject/properties": "^5.5.0"
},

@@ -19,3 +19,3 @@ "description": "Base-X without Buffer.",

],
"gitHead": "c2c0ce75039e7256b287f9a764188d08ed0b7296",
"gitHead": "73a46efea32c3f9a4833ed77896a216e3d3752a0",
"keywords": [

@@ -41,5 +41,5 @@ "Ethereum",

"sideEffects": false,
"tarballHash": "0x806fdd9027b2f0acd21da73f42aedd802f3dde29fbd9180429b4be0b7b57bf71",
"tarballHash": "0x1a3d6f95552d8ac4c75235b76d2b0f50bc713c3f7c0622c09aac3fe239c7e1a1",
"types": "./lib/index.d.ts",
"version": "5.4.0"
"version": "5.5.0"
}

@@ -1,1 +0,1 @@

export const version = "basex/5.4.0";
export const version = "basex/5.5.0";

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc