remix-analyzer updated

pull/1/head
aniket-engg 5 years ago
parent b6ece9e951
commit 99773307de
  1. 44
      package-lock.json
  2. 2
      package.json
  3. 13
      src/app/tabs/staticanalysis/staticAnalysisView.js

44
package-lock.json generated

@ -14090,32 +14090,13 @@
} }
}, },
"remix-analyzer": { "remix-analyzer": {
"version": "0.5.0-beta.1", "version": "0.5.0-beta.2",
"resolved": "https://registry.npmjs.org/remix-analyzer/-/remix-analyzer-0.5.0-beta.1.tgz", "resolved": "https://registry.npmjs.org/remix-analyzer/-/remix-analyzer-0.5.0-beta.2.tgz",
"integrity": "sha512-SF32VK7y+tekrDEykhbqbnFv0octs9b+Li2sODcl7wMuGiYf0R1vXvsGgynIPMJ4sGUtaMhbwXdoSc0F8Db17Q==", "integrity": "sha512-NF1glF1/xI3cXvuv5IOaH7zIMo5CLFFu4/qXBcnxXWdBlMwYv3G6Z/duf3zlDcIu7mdrH4ctqLHJjz3ATQgihw==",
"dev": true, "dev": true,
"requires": { "requires": {
"remix-astwalker": "0.0.21", "remix-astwalker": "0.0.21",
"remix-lib": "0.4.24" "remix-lib": "0.4.24"
},
"dependencies": {
"remix-lib": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/remix-lib/-/remix-lib-0.4.24.tgz",
"integrity": "sha512-u2RWDIpNzBrnQiPR3tP9I+6E5DtU2Q7HUiVNdMdLB5lcWKtDBmzVSwaMN4Eluq5w/KLiJdn0SQUNeO6+3Yua+g==",
"dev": true,
"requires": {
"async": "^2.1.2",
"ethereumjs-block": "^2.2.2",
"ethereumjs-tx": "^2.1.2",
"ethereumjs-util": "^6.2.0",
"ethereumjs-vm": "4.1.3",
"ethers": "^4.0.40",
"events": "^3.0.0",
"solc": "^0.6.0",
"web3": "^1.2.4"
}
}
} }
}, },
"remix-astwalker": { "remix-astwalker": {
@ -14130,25 +14111,6 @@
"tape": "^4.10.1", "tape": "^4.10.1",
"ts-node": "^8.0.3", "ts-node": "^8.0.3",
"typescript": "^3.4.3" "typescript": "^3.4.3"
},
"dependencies": {
"remix-lib": {
"version": "0.4.24",
"resolved": "https://registry.npmjs.org/remix-lib/-/remix-lib-0.4.24.tgz",
"integrity": "sha512-u2RWDIpNzBrnQiPR3tP9I+6E5DtU2Q7HUiVNdMdLB5lcWKtDBmzVSwaMN4Eluq5w/KLiJdn0SQUNeO6+3Yua+g==",
"dev": true,
"requires": {
"async": "^2.1.2",
"ethereumjs-block": "^2.2.2",
"ethereumjs-tx": "^2.1.2",
"ethereumjs-util": "^6.2.0",
"ethereumjs-vm": "4.1.3",
"ethers": "^4.0.40",
"events": "^3.0.0",
"solc": "^0.6.0",
"web3": "^1.2.4"
}
}
} }
}, },
"remix-debug": { "remix-debug": {

@ -55,7 +55,7 @@
"npm-merge-driver": "^2.3.5", "npm-merge-driver": "^2.3.5",
"npm-run-all": "^4.0.2", "npm-run-all": "^4.0.2",
"onchange": "^3.2.1", "onchange": "^3.2.1",
"remix-analyzer": "0.5.0-beta.1", "remix-analyzer": "0.5.0-beta.2",
"remix-debug": "0.3.28", "remix-debug": "0.3.28",
"remix-lib": "0.4.24", "remix-lib": "0.4.24",
"remix-simulator": "0.1.9-beta.2", "remix-simulator": "0.1.9-beta.2",

@ -182,11 +182,16 @@ staticAnalysisView.prototype.renderModules = function () {
module.exports = staticAnalysisView module.exports = staticAnalysisView
/**
* @dev Process & categorize static analysis modules to show them on UI
* @param arr list of static analysis modules received from remix-analyzer module
*/
function preProcessModules (arr) { function preProcessModules (arr) {
return arr.map((item, i) => { return arr.map((item, i) => {
item['_index'] = i const itemObj = new item()
item.categoryDisplayName = item.category.displayName itemObj['_index'] = i
item.categoryId = item.category.id itemObj.categoryDisplayName = itemObj.category.displayName
return item itemObj.categoryId = itemObj.category.id
return itemObj
}) })
} }

Loading…
Cancel
Save