Skip to content

Commit

Permalink
chore: update libs for resolve security issues
Browse files Browse the repository at this point in the history
  • Loading branch information
firstpilotpirx authored Jun 7, 2024
2 parents 99036f3 + b415035 commit c325012
Show file tree
Hide file tree
Showing 4 changed files with 3,164 additions and 3,964 deletions.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,31 +25,31 @@
},
"devDependencies": {
"web3": "1.8.1",
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.13.15",
"@babel/preset-typescript": "^7.13.0",
"@types/jest": "^26.0.22",
"@typescript-eslint/eslint-plugin": "4",
"babel-jest": "^26.6.3",
"@babel/core": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"@types/jest": "29.5.12",
"@typescript-eslint/eslint-plugin": "5",
"babel-jest": "^29.7.0",
"create-ts-index": "^1.13.3",
"eslint": "7",
"eslint-config-prettier": "^8.2.0",
"eslint": "8",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard-with-typescript": "^20.0.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "11",
"eslint-plugin-promise": "4",
"eslint-plugin-unused-imports": "^1.1.1",
"eslint-plugin-promise": "6",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^6.0.0",
"istanbul-badges-readme": "^1.2.1",
"jest": "^26.6.3",
"jest": "29.7.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"replace": "^1.2.1",
"ts-loader": "^9.0.2",
"ts-loader": "^9.5.1",
"ts-mockito": "^2.6.1",
"ts-node": "^9.1.1",
"ts-node": "^10.9.2",
"tslib": "^2.2.0",
"typescript": "^4.2.4"
"typescript": "^4.9"
},
"peerDependencies": {},
"husky": {
Expand Down
2 changes: 1 addition & 1 deletion src/gas-limit.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class GasLimitService {
.decodeABIParameter<string>('uint256', res)
.toString();
} catch (e) {
console.log('cannot get gas left: ', e.toString());
console.log('cannot get gas left: ', e?.toString());
return DEFAULT_GAS_LIMIT;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/multicall.helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export async function callWithRetries<T>(
try {
return await fn();
} catch (error) {
console.warn(`multicall chunck failed: ${error.toString()}`)
console.warn(`multicall chunck failed: ${error?.toString()}`)
retriesLeft -= 1;
}
}
Expand Down
Loading

0 comments on commit c325012

Please sign in to comment.