Skip to content

Commit

Permalink
feat: enable strict mode (#41)
Browse files Browse the repository at this point in the history
* feat: enable strict mode

* feat: enable base
  • Loading branch information
sakulstra authored Aug 11, 2023
1 parent 39b9602 commit 615beca
Show file tree
Hide file tree
Showing 15 changed files with 4,983 additions and 745 deletions.
4,043 changes: 4,043 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
"type": "module",
"devDependencies": {
"@types/node-fetch": "^2.6.4",
"@types/object-hash": "^3.0.3",
"@types/yargs": "^17.0.24",
"tsup": "^6.7.0",
"typescript": "^5.1.3",
"vitest": "^0.32.0"
"tsup": "^7.2.0",
"typescript": "^5.1.6",
"vitest": "^0.34.1"
},
"exports": {
"require": "./dist/index.cjs",
Expand All @@ -45,16 +46,16 @@
"access": "public"
},
"dependencies": {
"@bgd-labs/aave-address-book": "^1.28.0",
"@bgd-labs/aave-address-book": "^1.31.4",
"bs58": "^5.0.0",
"chalk": "^4.1.2",
"dotenv": "^16.0.3",
"dotenv": "^16.3.1",
"gray-matter": "^4.0.3",
"ipfs-only-hash": "^4.0.0",
"json-bigint": "^1.0.0",
"node-fetch": "^2.6.9",
"object-hash": "^3.0.0",
"viem": "^1.0.7",
"viem": "^1.6.0",
"yargs": "^17.7.2",
"zod": "^3.21.4"
}
Expand Down
2 changes: 1 addition & 1 deletion src/reports/diff-reports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function diffReports<A extends AaveV3Snapshot, B extends AaveV3Snap
if (
!(diffResult.reserves[reserveKey] as any).hasOwnProperty('from') &&
Object.keys(diffResult.reserves[reserveKey]).find(
(fieldKey) => typeof diffResult.reserves[reserveKey][fieldKey] === 'object'
(fieldKey) => (typeof diffResult.reserves as any)[reserveKey][fieldKey] === 'object'
)
) {
let report = renderReserveDiff(diffResult.reserves[reserveKey] as any, chainId);
Expand Down
Loading

0 comments on commit 615beca

Please sign in to comment.