Socket
Socket
Sign inDemoInstall

@chainsafe/lodestar-utils

Package Overview
Dependencies
Maintainers
4
Versions
843
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.16.0 to 0.17.0

lib/notNullish.d.ts

6

lib/bytes.js

@@ -51,4 +51,6 @@ "use strict";

function toHex(buffer) {
if (buffer instanceof Uint8Array) {
return "0x" + Buffer.from(buffer.buffer, buffer.byteOffset).toString("hex");
if (Buffer.isBuffer(buffer)) {
return "0x" + buffer.toString("hex");
} else if (buffer instanceof Uint8Array) {
return "0x" + Buffer.from(buffer.buffer, buffer.byteOffset, buffer.length).toString("hex");
} else {

@@ -55,0 +57,0 @@ return "0x" + Buffer.from(buffer).toString("hex");

@@ -9,2 +9,3 @@ export * from "./events";

export * from "./objects";
export * from "./notNullish";
export * from "./sleep";

@@ -11,0 +12,0 @@ export * from "./sort";

@@ -111,2 +111,15 @@ "use strict";

var _notNullish = require("./notNullish");
Object.keys(_notNullish).forEach(function (key) {
if (key === "default" || key === "__esModule") return;
if (key in exports && exports[key] === _notNullish[key]) return;
Object.defineProperty(exports, key, {
enumerable: true,
get: function () {
return _notNullish[key];
}
});
});
var _sleep = require("./sleep");

@@ -113,0 +126,0 @@

@@ -14,3 +14,3 @@ {

},
"version": "0.16.0",
"version": "0.17.0",
"main": "lib/index.js",

@@ -41,3 +41,3 @@ "files": [

"@chainsafe/bls": "5.1.0",
"@chainsafe/ssz": "^0.6.13",
"@chainsafe/ssz": "^0.7.0",
"abort-controller": "^3.0.0",

@@ -63,3 +63,3 @@ "any-signal": "2.1.1",

],
"gitHead": "fe7e44bd008601b71972bee9d50b87246ac943d7"
"gitHead": "083db35cb33eb46e5e4ea6d647dccbfc0854a1b2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc