Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

evm-bn

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

evm-bn - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

dist/fromBn.d.ts.map

11

CHANGELOG.md

@@ -8,2 +8,12 @@ # Changelog

## [1.1.0] - 2021-10-26
### Added
- TypeScript declaration maps and source maps.
### Changed
- Upgrade to `@ethersproject/bignumber` v5.5.0.
## [1.0.1] - 2021-09-29

@@ -21,3 +31,4 @@

[1.1.0]: https://github.com/paulrberg/evm-bn/compare/v1.0.1...v1.1.0
[1.0.1]: https://github.com/paulrberg/evm-bn/compare/v1.0.0...v1.0.1
[1.0.0]: https://github.com/paulrberg/evm-bn/releases/tag/v1.0.0

1

dist/fromBn.d.ts

@@ -6,1 +6,2 @@ import { BigNumber } from "@ethersproject/bignumber";

export declare function fromBn(x: BigNumber, decimals?: number): string;
//# sourceMappingURL=fromBn.d.ts.map

@@ -19,1 +19,2 @@ "use strict";

exports.fromBn = fromBn;
//# sourceMappingURL=fromBn.js.map
export { fromBn } from "./fromBn";
export { toBn } from "./toBn";
//# sourceMappingURL=index.d.ts.map

@@ -8,1 +8,2 @@ "use strict";

Object.defineProperty(exports, "toBn", { enumerable: true, get: function () { return toBn_1.toBn; } });
//# sourceMappingURL=index.js.map

@@ -10,1 +10,2 @@ import type { BigNumber } from "@ethersproject/bignumber";

export declare function toBn(x: string, decimals?: number): BigNumber;
//# sourceMappingURL=toBn.d.ts.map

@@ -45,1 +45,2 @@ "use strict";

exports.toBn = toBn;
//# sourceMappingURL=toBn.js.map

30

package.json
{
"name": "evm-bn",
"description": "Convert fixed-point numbers to ethers big numbers and vice-versa",
"version": "1.0.1",
"version": "1.1.0",
"author": {

@@ -10,22 +10,22 @@ "name": "Paul Razvan Berg",

"dependencies": {
"@ethersproject/bignumber": "^5.4.2",
"@ethersproject/bignumber": "^5.5.0",
"from-exponential": "^1.1.1"
},
"devDependencies": {
"@commitlint/cli": "^13.1.0",
"@commitlint/config-conventional": "^13.1.0",
"@commitlint/cli": "^13.2.1",
"@commitlint/config-conventional": "^13.2.0",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/mocha": "^9.0.0",
"@types/mocha-each": "^2.0.0",
"@types/node": "^16.10.1",
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "^5.2.0",
"@typescript-eslint/parser": "^5.2.0",
"commitizen": "^4.2.4",
"cz-conventional-changelog": "^3.3.0",
"earljs": "^0.1.10",
"eslint": "^7.32.0",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"husky": "^7.0.2",
"lint-staged": "^11.1.2",
"mocha": "^9.1.2",
"husky": "^7.0.4",
"lint-staged": "^11.2.5",
"mocha": "^9.1.3",
"mocha-each": "^2.0.1",

@@ -37,8 +37,10 @@ "nyc": "^15.1.0",

"source-map-support": "^0.5.20",
"ts-node": "^10.2.1",
"typescript": "~4.4.3"
"ts-node": "^10.4.0",
"typescript": "^4.4.4"
},
"files": [
"/dist/**/*.d.ts",
"/dist/**/*.d.ts.map",
"/dist/**/*.js",
"/dist/**/*.js.map",
"CHANGELOG.md"

@@ -57,3 +59,3 @@ ],

"peerDependencies": {
"@ethersproject/bignumber": "^5.4.2"
"@ethersproject/bignumber": "^5.5.0"
},

@@ -60,0 +62,0 @@ "publishConfig": {

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