Socket
Socket
Sign inDemoInstall

@arcblock/forge-util

Package Overview
Dependencies
Maintainers
2
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arcblock/forge-util - npm Package Compare versions

Comparing version 1.0.23 to 1.0.28-alpha.0

0

lib/index.d.ts

@@ -0,0 +0,0 @@ // Generate by [js2dts@0.3.3](https://github.com/whxaxes/js2dts#readme)

5

lib/index.js

@@ -9,2 +9,7 @@ /* eslint-disable no-bitwise */

* yarn add @arcblock/forge-util
*
* const Util = require('@arcblock/forge-util');
* console.log(Util.fromTokenToUnit(100)); // 100_0000_0000_0000_0000
* console.log(Util.fromUnitToToken('1000000000000000000')); // 100
* console.log(Util.isStrictHex('0x123abc')); // true
*/

@@ -11,0 +16,0 @@ const isBoolean = require('lodash/isBoolean');

4

package.json
{
"name": "@arcblock/forge-util",
"version": "1.0.23",
"version": "1.0.28-alpha.0",
"description": "utils shared across mutlipe forge js libs, works in both node.js and browser",

@@ -58,3 +58,3 @@ "keywords": [

},
"gitHead": "d7fee6bf6a40544a85aaca8e313bfc1d13ffe54a"
"gitHead": "c490ee4f3dbad4daa5bc7c781951e4e4048c8510"
}
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