web3-validator
Advanced tools
Comparing version 2.0.6-dev.de3e8f8.0 to 2.0.6-dev.e0fc158.0
@@ -31,2 +31,6 @@ "use strict"; | ||
const bigintPower = (base, expo) => { | ||
// edge case | ||
if (expo === BigInt(0)) { | ||
return BigInt(1); | ||
} | ||
let res = base; | ||
@@ -33,0 +37,0 @@ for (let index = 1; index < expo; index += 1) { |
@@ -27,2 +27,6 @@ /* | ||
export const bigintPower = (base, expo) => { | ||
// edge case | ||
if (expo === BigInt(0)) { | ||
return BigInt(1); | ||
} | ||
let res = base; | ||
@@ -29,0 +33,0 @@ for (let index = 1; index < expo; index += 1) { |
{ | ||
"name": "web3-validator", | ||
"version": "2.0.6-dev.de3e8f8.0+de3e8f8", | ||
"version": "2.0.6-dev.e0fc158.0+e0fc158", | ||
"description": "JSON-Schema compatible validator for web3", | ||
@@ -14,3 +14,2 @@ "main": "./lib/commonjs/index.js", | ||
}, | ||
"browser": "./dist/web3-validator.min.js", | ||
"repository": "https://github.com/ChainSafe/web3.js", | ||
@@ -37,3 +36,3 @@ "author": "ChainSafe Systems", | ||
"build:check": "node -e \"require('./lib')\"", | ||
"lint": "eslint --ext .js,.ts .", | ||
"lint": "eslint --cache --cache-strategy content --ext .ts .", | ||
"lint:fix": "eslint --fix --ext .js,.ts .", | ||
@@ -52,4 +51,4 @@ "format": "prettier --write '**/*'", | ||
"util": "^0.12.5", | ||
"web3-errors": "1.1.5-dev.de3e8f8.0+de3e8f8", | ||
"web3-types": "1.6.1-dev.de3e8f8.0+de3e8f8", | ||
"web3-errors": "1.1.5-dev.e0fc158.0+e0fc158", | ||
"web3-types": "1.6.1-dev.e0fc158.0+e0fc158", | ||
"zod": "^3.21.4" | ||
@@ -71,3 +70,3 @@ }, | ||
}, | ||
"gitHead": "de3e8f881cc12ca6bbeddaf992c18c6c4eb1ede0" | ||
"gitHead": "e0fc158e7c18ab97b66e415653faad46491823c0" | ||
} |
@@ -31,2 +31,6 @@ /* | ||
export const bigintPower = (base: bigint, expo: bigint) => { | ||
// edge case | ||
if (expo === BigInt(0)) { | ||
return BigInt(1); | ||
} | ||
let res = base; | ||
@@ -33,0 +37,0 @@ for (let index = 1; index < expo; index += 1) { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
957277
5636