Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@liskhq/lisk-utils

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liskhq/lisk-utils - npm Package Compare versions

Comparing version 0.3.0-beta.2 to 0.3.0-beta.3

2

dist-node/objects/buffer_array.d.ts

@@ -7,3 +7,3 @@ /// <reference types="node" />

export declare const bufferArraySubtract: (arr1: Buffer[], arr2: Buffer[]) => Buffer[];
export declare const bufferArrayOrderByLex: (arr1: Buffer[]) => boolean;
export declare const isBufferArrayOrdered: (arr1: Buffer[]) => boolean;
export declare const bufferArrayUniqueItems: (arr1: Buffer[]) => boolean;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.bufferArrayUniqueItems = exports.bufferArrayOrderByLex = exports.bufferArraySubtract = exports.bufferArrayEqual = exports.bufferArrayContainsSome = exports.bufferArrayContains = exports.bufferArrayIncludes = void 0;
exports.bufferArrayUniqueItems = exports.isBufferArrayOrdered = exports.bufferArraySubtract = exports.bufferArrayEqual = exports.bufferArrayContainsSome = exports.bufferArrayContains = exports.bufferArrayIncludes = void 0;
const buffer_set_1 = require("../data_structures/buffer_set");

@@ -15,3 +15,3 @@ const bufferArrayIncludes = (arr, val) => arr.find(a => a.equals(val)) !== undefined;

exports.bufferArraySubtract = bufferArraySubtract;
const bufferArrayOrderByLex = (arr1) => {
const isBufferArrayOrdered = (arr1) => {
const sortedArray = [...arr1];

@@ -21,5 +21,5 @@ sortedArray.sort((a, b) => a.compare(b));

};
exports.bufferArrayOrderByLex = bufferArrayOrderByLex;
exports.isBufferArrayOrdered = isBufferArrayOrdered;
const bufferArrayUniqueItems = (arr1) => arr1.length === new buffer_set_1.BufferSet([...arr1]).size;
exports.bufferArrayUniqueItems = bufferArrayUniqueItems;
//# sourceMappingURL=buffer_array.js.map
{
"name": "@liskhq/lisk-utils",
"version": "0.3.0-beta.2",
"version": "0.3.0-beta.3",
"description": "Library containing generic utility functions for use with Lisk-related software",

@@ -5,0 +5,0 @@ "author": "Lisk Foundation <admin@lisk.com>, lightcurve GmbH <admin@lightcurve.io>",

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