update packages. add async await to plugin

pull/3321/head^2
Joseph Izang 2 years ago committed by Aniket
parent 4087fde830
commit 4aa77cd4fa
  1. 8
      apps/remix-ide/src/app/plugins/solidity-umlgen.tsx
  2. 2
      package.json
  3. 34
      yarn.lock

@ -97,12 +97,12 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen {
generateCustomAction = async (action: customAction) => {
this.currentFile = action.path[0]
this.generateUml(action.path[0])
await this.generateUml(action.path[0])
}
generateUml(currentFile: string) {
this.call('solidity', 'compile', currentFile)
this.call('tabs', 'focus', 'solidityumlgen')
async generateUml(currentFile: string) {
await this.call('solidity', 'compile', currentFile)
await this.call('tabs', 'focus', 'solidityumlgen')
this.loading = true
this.renderComponent()
}

@ -192,7 +192,7 @@
"regenerator-runtime": "0.13.7",
"rss-parser": "^3.12.0",
"signale": "^1.4.0",
"sol2uml": "^2.4.2",
"sol2uml": "^2.4.3",
"string-similarity": "^4.0.4",
"swarmgw": "^0.3.1",
"time-stamp": "^2.2.0",

@ -9386,13 +9386,6 @@ buffer-xor@^1.0.3:
resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9"
integrity sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==
buffer-xor@^2.0.1:
version "2.0.2"
resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-2.0.2.tgz#34f7c64f04c777a1f8aac5e661273bb9dd320289"
integrity sha512-eHslX0bin3GB+Lx2p7lEYRShRewuNZL3fUl4qlVJGGiwoPGftmt8JQgk2Y9Ji5/01TnVDo33E5b5O3vUB1HdqQ==
dependencies:
safe-buffer "^5.1.1"
buffer@^5.0.5, buffer@^5.2.1, buffer@^5.4.3, buffer@^5.5.0, buffer@^5.6.0:
version "5.7.1"
resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0"
@ -9709,20 +9702,6 @@ canvg@^3.0.6:
stackblur-canvas "^2.0.0"
svg-pathdata "^6.0.3"
canvg@^3.0.6:
version "3.0.10"
resolved "https://registry.yarnpkg.com/canvg/-/canvg-3.0.10.tgz#8e52a2d088b6ffa23ac78970b2a9eebfae0ef4b3"
integrity sha512-qwR2FRNO9NlzTeKIPIKpnTY6fqwuYSequ8Ru8c0YkYU7U0oW+hLUvWadLvAu1Rl72OMNiFhoLu4f8eUjQ7l/+Q==
dependencies:
"@babel/runtime" "^7.12.5"
"@types/raf" "^3.4.0"
core-js "^3.8.3"
raf "^3.4.1"
regenerator-runtime "^0.13.7"
rgbcolor "^1.0.1"
stackblur-canvas "^2.0.0"
svg-pathdata "^6.0.3"
capital-case@^1.0.4:
version "1.0.4"
resolved "https://registry.yarnpkg.com/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669"
@ -18754,11 +18733,6 @@ lru-queue@^0.1.0:
dependencies:
es5-ext "~0.10.2"
ltgt@~2.2.0:
version "2.2.1"
resolved "https://registry.yarnpkg.com/ltgt/-/ltgt-2.2.1.tgz#f35ca91c493f7b73da0e07495304f17b31f87ee5"
integrity sha1-81ypHEk/e3PaDgdJUwTxezH4fuU=
lz-string@^1.4.4:
version "1.4.4"
resolved "https://registry.yarnpkg.com/lz-string/-/lz-string-1.4.4.tgz#c0d8eaf36059f705796e1e344811cf4c498d3a26"
@ -24614,10 +24588,10 @@ socks@~2.3.2:
ip "1.1.5"
smart-buffer "^4.1.0"
sol2uml@^2.4.2:
version "2.4.2"
resolved "https://registry.yarnpkg.com/sol2uml/-/sol2uml-2.4.2.tgz#5546e048af5fec89ea5ae6d5919440aa39692cb3"
integrity sha512-/r4kGFSiPNAEhpr7gbJ/VTOyVuoA7+aLCQdhCsGtwd1TDN6OOCoDBu2wvtNM7uUwrDIEKWkqcGBQcB7meI8TnA==
sol2uml@^2.4.3:
version "2.4.3"
resolved "https://registry.yarnpkg.com/sol2uml/-/sol2uml-2.4.3.tgz#ac5a3ef68345a4bead90ad143da65d11c37e4a7a"
integrity sha512-PyrKBJOTiSMzR+pEzseQCoKVMkJVALuY8ygj82vhQX8rY3pJ/B6X63rg5vTODHkE/+P3CP6GUQfNh2AzPTXXdQ==
dependencies:
"@aduh95/viz.js" "^3.7.0"
"@solidity-parser/parser" "^0.14.5"

Loading…
Cancel
Save