let to const

rm package-lock
pull/543/head
LianaHus 4 years ago
parent 0f182a7e37
commit 91b9352510
  1. 2
      apps/remix-ide/src/app/compiler/compiler-helpers.js
  2. 2
      apps/remix-ide/src/app/tabs/compile-tab.js
  3. 16
      package-lock.json

@ -4,7 +4,7 @@ import { Compiler } from '@remix-project/remix-solidity'
import CompilerAbstract from './compiler-abstract' import CompilerAbstract from './compiler-abstract'
export const compile = async (compilationTargets, settings) => { export const compile = async (compilationTargets, settings) => {
let res = await (() => { const res = await (() => {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
const compiler = new Compiler(() => {}) const compiler = new Compiler(() => {})
compiler.set('evmVersion', settings.evmVersion) compiler.set('evmVersion', settings.evmVersion)

@ -221,7 +221,7 @@ class CompileTab extends ViewPlugin {
* @param {object} settings {evmVersion, optimize, runs, version, language} * @param {object} settings {evmVersion, optimize, runs, version, language}
*/ */
async compileWithParameters (compilationTargets, settings) { async compileWithParameters (compilationTargets, settings) {
let res = await compile(compilationTargets, settings) const res = await compile(compilationTargets, settings)
return res return res
} }

16
package-lock.json generated

@ -35959,23 +35959,7 @@
"events": { "events": {
"version": "3.2.0", "version": "3.2.0",
"resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz", "resolved": "https://registry.npmjs.org/events/-/events-3.2.0.tgz",
<<<<<<< .merge_file_cefJCZ
<<<<<<< .merge_file_tWdvvn
<<<<<<< .merge_file_1TnGEE
"integrity": "sha1-k7h8GPjvzUICpGGuxN/AVWtjk3k=", "integrity": "sha1-k7h8GPjvzUICpGGuxN/AVWtjk3k=",
=======
<<<<<<< .merge_file_LmVJhg
"integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==",
=======
"integrity": "sha1-k7h8GPjvzUICpGGuxN/AVWtjk3k=",
>>>>>>> .merge_file_PPzkRR
>>>>>>> .merge_file_5Paljn
=======
"integrity": "sha1-k7h8GPjvzUICpGGuxN/AVWtjk3k=",
>>>>>>> .merge_file_h3FRBn
=======
"integrity": "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==",
>>>>>>> .merge_file_4gbyDN
"dev": true "dev": true
} }
} }

Loading…
Cancel
Save