mirror of https://github.com/embarklabs/embark.git
refactor(@embark/debugger): add ts definition for async; use imports instead of requires
This commit is contained in:
parent
d06ad53ece
commit
e02d026499
|
@ -169,6 +169,7 @@
|
|||
"devDependencies": {
|
||||
"@babel/cli": "7.1.2",
|
||||
"@babel/plugin-proposal-optional-chaining": "7.0.0",
|
||||
"@types/async": "2.0.50",
|
||||
"@types/i18n": "0.8.3",
|
||||
"@types/node": "10.11.7",
|
||||
"@types/os-locale": "2.1.0",
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
const RemixDebug = require("remix-debug-debugtest");
|
||||
const CmdLine = RemixDebug.CmdLine;
|
||||
const async = require("async");
|
||||
import async from "async";
|
||||
import { CmdLine } from "remix-debug-debugtest";
|
||||
|
||||
export default class DebuggerManager {
|
||||
private nodeUrl: string;
|
||||
|
|
25
yarn.lock
25
yarn.lock
|
@ -801,6 +801,18 @@
|
|||
dependencies:
|
||||
array-from "^2.1.1"
|
||||
|
||||
"@types/async@2.0.50":
|
||||
version "2.0.50"
|
||||
resolved "https://registry.yarnpkg.com/@types/async/-/async-2.0.50.tgz#117540e026d64e1846093abbd5adc7e27fda7bcb"
|
||||
integrity sha512-VMhZMMQgV1zsR+lX/0IBfAk+8Eb7dPVMWiQGFAt3qjo5x7Ml6b77jUo0e1C3ToD+XRDXqtrfw+6AB0uUsPEr3Q==
|
||||
|
||||
"@types/bn.js@*":
|
||||
version "4.11.3"
|
||||
resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-4.11.3.tgz#0f09e53e98659b007d7019261ddab9178135df38"
|
||||
integrity sha512-auZ3vEo3UW8tZc9NhF0MTnutKlf+YhsfC3+dwskFcil/EoqqZF60pGuJ2v2Ae1OJTUp3DJnjOJMqrpkmKB904w==
|
||||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/debug@^0.0.30":
|
||||
version "0.0.30"
|
||||
resolved "https://registry.yarnpkg.com/@types/debug/-/debug-0.0.30.tgz#dc1e40f7af3b9c815013a7860e6252f6352a84df"
|
||||
|
@ -857,11 +869,24 @@
|
|||
dependencies:
|
||||
"@types/node" "*"
|
||||
|
||||
"@types/underscore@*":
|
||||
version "1.8.9"
|
||||
resolved "https://registry.yarnpkg.com/@types/underscore/-/underscore-1.8.9.tgz#fef41f800cd23db1b4f262ddefe49cd952d82323"
|
||||
integrity sha512-vfzZGgZKRFy7KEWcBGfIFk+h6B+thDCLfkD1exMBMRlUsx2icA+J6y4kAbZs/TjSTeY1duw89QUU133TSzr60Q==
|
||||
|
||||
"@types/url-join@^0.8.2":
|
||||
version "0.8.2"
|
||||
resolved "https://registry.yarnpkg.com/@types/url-join/-/url-join-0.8.2.tgz#1181ecbe1d97b7034e0ea1e35e62e86cc26b422d"
|
||||
integrity sha1-EYHsvh2XtwNODqHjXmLobMJrQi0=
|
||||
|
||||
"@types/web3@1.0.12":
|
||||
version "1.0.12"
|
||||
resolved "https://registry.yarnpkg.com/@types/web3/-/web3-1.0.12.tgz#dd7867ca24040b89577a20b7b07ad662de49c2c0"
|
||||
integrity sha512-CZDwP4Opy2BjWfux+o05DXG0SSIyj7BQt7kYR+M8a8f/wTjJgre1JEECYUQ8Yu9NQg4yX4g7BjW2/Bd1KbZHOg==
|
||||
dependencies:
|
||||
"@types/bn.js" "*"
|
||||
"@types/underscore" "*"
|
||||
|
||||
"@webassemblyjs/ast@1.7.6":
|
||||
version "1.7.6"
|
||||
resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.7.6.tgz#3ef8c45b3e5e943a153a05281317474fef63e21e"
|
||||
|
|
Loading…
Reference in New Issue