@chainsafe/ssz
Advanced tools
Comparing version 0.8.11 to 0.8.12
@@ -0,1 +1,7 @@ | ||
## 0.8.12 (2021-07-30) | ||
## Features | ||
- Use utility function for bigint exponentiation ([fbb671](https://github.com/chainsafe/ssz/commit/fbb671)) | ||
## 0.8.11 (2021-06-18) | ||
@@ -2,0 +8,0 @@ |
@@ -11,2 +11,4 @@ "use strict"; | ||
var _bigInt = require("../../util/bigInt"); | ||
var _type = require("../type"); | ||
@@ -77,3 +79,3 @@ | ||
if (this._maxBigInt === undefined) { | ||
this._maxBigInt = BigInt(2) ** BigInt(this.byteLength * 8) - BigInt(1); | ||
this._maxBigInt = (0, _bigInt.bigIntPow)(BigInt(2), BigInt(this.byteLength * 8)) - BigInt(1); | ||
} | ||
@@ -80,0 +82,0 @@ |
@@ -7,3 +7,3 @@ { | ||
"homepage": "https://github.com/chainsafe/ssz", | ||
"version": "0.8.11", | ||
"version": "0.8.12", | ||
"main": "lib/index.js", | ||
@@ -10,0 +10,0 @@ "files": [ |
# ssz | ||
[![Build Status](https://travis-ci.com/ChainSafe/lodestar.svg?branch=master)](https://travis-ci.com/ChainSafe/lodestar) | ||
![ES Version](https://img.shields.io/badge/ES-2020-yellow) | ||
@@ -5,0 +4,0 @@ ![Node Version](https://img.shields.io/badge/node-12.x-green) |
Sorry, the diff of this file is not supported yet
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
792433
193
8308
103