@eth-optimism/core-utils
Advanced tools
Comparing version 0.0.1-alpha.21 to 0.0.1-alpha.22
@@ -88,2 +88,7 @@ "use strict"; | ||
}; | ||
exports.castToNumber = (stringOrNumber) => { | ||
return typeof stringOrNumber === 'number' | ||
? stringOrNumber | ||
: exports.hexStrToNumber(stringOrNumber); | ||
}; | ||
exports.bufToHexString = (buff, prepend0x = true) => { | ||
@@ -90,0 +95,0 @@ const bufStr = buff.toString('hex'); |
{ | ||
"name": "@eth-optimism/core-utils", | ||
"version": "0.0.1-alpha.21", | ||
"version": "0.0.1-alpha.22", | ||
"description": "Optimism Core Utils", | ||
@@ -63,3 +63,3 @@ "main": "build/index.js", | ||
}, | ||
"gitHead": "e5a9009a6e0cd4475be7174d13f6b2b26db386a9" | ||
"gitHead": "ccce366645fca6bad46c5cf7f7ff2f407c6ba5fd" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a 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
58166
128675
1504
1