Skip to content

Commit

Permalink
Merge pull request #1086 from etherisc/dependabot/npm_and_yarn/typesc…
Browse files Browse the repository at this point in the history
…ript-5.6.2

Bump typescript from 5.4.5 to 5.6.2
  • Loading branch information
doerfli authored Sep 18, 2024
2 parents 5d21321 + e6440cd commit 93f9549
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"typechain": "^8.3.2",
"typescript": "^5.4.5"
"typescript": "^5.6.2"
}
}
3 changes: 0 additions & 3 deletions src/utils/numbers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ import { BigNumber } from "ethers";
import { formatUnits } from "ethers/lib/utils";
import { FormNumber } from "./types";

export const THOUSANDS_SEPARATOR = Intl.NumberFormat().format(11111).replace(/\p{Number}/gu, '');
export const DECIMAL_SEPARATOR = Intl.NumberFormat().format(1.1).replace(/\p{Number}/gu, '');

export const DISPLAY_PRECISION = parseInt(process.env.NEXT_PUBLIC_DEPECT_TOKEN_DISPLAY_PRECISION || '2');
export const USD1_DECIMALS = parseInt(process.env.NEXT_PUBLIC_DEPEG_USD1_DECIMALS || '6');
export const USD2_DECIMALS = parseInt(process.env.NEXT_PUBLIC_DEPEG_USD1_DECIMALS || '6');
Expand Down

0 comments on commit 93f9549

Please sign in to comment.