├── .gitignore ├── .prettierrc.json ├── .vscode ├── launch.json ├── settings.json └── tasks.json ├── .vscodeignore ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── demo ├── chrome │ ├── .vscode │ │ ├── launch.json │ │ └── tasks.json │ ├── index.html │ ├── package.json │ ├── src │ │ └── index.js │ ├── tsconfig.json │ └── yarn.lock └── nodejs │ ├── .vscode │ └── launch.json │ ├── javascript-demo.js │ ├── tsconfig.json │ └── typescript-demo.ts ├── docs ├── demo-nodejs.gif ├── demo-web.gif ├── logo.drawio.png ├── logo.png └── logpoints.gif ├── package.json ├── src ├── ExecutionHighlighter.ts ├── LineHistory.ts └── extension.ts ├── tsconfig.json ├── tslint.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | out 2 | node_modules 3 | .vscode-test/ 4 | *.vsix 5 | -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "trailingComma": "es5", 3 | "tabWidth": 4, 4 | "semi": true, 5 | "useTabs": true 6 | } 7 | -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "name": "Extension", 6 | "type": "extensionHost", 7 | "request": "launch", 8 | "runtimeExecutable": "${execPath}", 9 | "args": [ 10 | "--extensionDevelopmentPath=${workspaceFolder}", 11 | "--enable-proposed-api hediet.vscode-drawio" 12 | ], 13 | "outFiles": ["${workspaceFolder}/out/**/*.js"], 14 | "preLaunchTask": "npm: dev", 15 | "env": { 16 | "HOT_RELOAD": "true" 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | // Place your settings in this file to overwrite default and user settings. 2 | { 3 | "files.exclude": { 4 | "out": false // set this to true to hide the "out" folder with the compiled JS files 5 | }, 6 | "search.exclude": { 7 | "out": true // set this to false to include "out" folder in search results 8 | }, 9 | // Turn off tsc task auto detection since we have the necessary tasks as npm scripts 10 | "typescript.tsc.autoDetect": "off" 11 | } -------------------------------------------------------------------------------- /.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | // See https://go.microsoft.com/fwlink/?LinkId=733558 2 | // for the documentation about the tasks.json format 3 | { 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "type": "npm", 8 | "script": "dev", 9 | "problemMatcher": "$tsc-watch", 10 | "isBackground": true, 11 | "presentation": { 12 | "reveal": "never" 13 | }, 14 | "group": { 15 | "kind": "build", 16 | "isDefault": true 17 | } 18 | } 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /.vscodeignore: -------------------------------------------------------------------------------- 1 | * 2 | */** 3 | !out/**/* 4 | !node_modules/**/* 5 | !package.json 6 | !README.md 7 | !CHANGELOG.md 8 | !LICENSE.txt 9 | !docs/**/* 10 | 11 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # Change Log 2 | 3 | ## 0.1.0 4 | 5 | - Initial release 6 | -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and`show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Real-Time Debugging 2 | 3 | [![](https://img.shields.io/twitter/follow/hediet_dev.svg?style=social)](https://twitter.com/intent/follow?screen_name=hediet_dev) 4 | 5 | ## Features 6 | 7 | - Highlights statements that write to stdout when they are executed. 8 | - Statements that have a Logpoint on them write to stdout when they are executed ;) 9 | - Shows the text that was written to stdout next to the statement. 10 | - Theoretically supports every debugger and language out there (there is nothing in the implementation specific to JavaScript). 11 | 12 | ## Demo NodeJS 13 | 14 | ![](./docs/demo-nodejs.gif) 15 | 16 | ## Demo Web 17 | 18 | ![](./docs/demo-web.gif) 19 | 20 | ## Logpoints 21 | 22 | If you are familiar with logpoints, you will never ever need `console.log` for debugging again! 23 | I highly recommend binding the command `Debug: Add Logpoint...` to a shortcut that is easy to reach (I put it on Shift+F2). 24 | 25 | With logpoints you don't need to restart a program when you want to visualize its execution. 26 | 27 | ![](./docs/logpoints.gif) 28 | 29 | ## Caveats 30 | 31 | Does not work when debugging VS Code extension, since they don't write to stdout (`console.log` is patched and the `output` event is not sent by the debug adapter). 32 | -------------------------------------------------------------------------------- /demo/chrome/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "0.2.0", 3 | "configurations": [ 4 | { 5 | "type": "chrome", 6 | "request": "launch", 7 | "name": "Attach to Chrome", 8 | "port": 9225, 9 | "webRoot": "${workspaceFolder}", 10 | "url": "http://localhost:8080", 11 | "preLaunchTask": "npm: dev-web" 12 | } 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /demo/chrome/.vscode/tasks.json: -------------------------------------------------------------------------------- 1 | { 2 | // See https://go.microsoft.com/fwlink/?LinkId=733558 3 | // for the documentation about the tasks.json format 4 | "version": "2.0.0", 5 | "tasks": [ 6 | { 7 | "type": "npm", 8 | "script": "dev-web", 9 | "isBackground": true 10 | } 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /demo/chrome/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Real-time Debug Demo 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /demo/chrome/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "version": "0.0.1", 4 | "scripts": { 5 | "dev-web": "webpack-dev-server ./src/index.js" 6 | }, 7 | "dependencies": {}, 8 | "devDependencies": { 9 | "webpack": "^4.43.0", 10 | "webpack-cli": "^3.3.11", 11 | "webpack-dev-server": "^3.11.0" 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /demo/chrome/src/index.js: -------------------------------------------------------------------------------- 1 | window.onmousemove = (data) => { 2 | console.log(`mouse pos: ${data.x} ${data.y}`); 3 | 4 | if (data.x > 400) { 5 | myFunction(); 6 | } else { 7 | console.log("x <= 400"); 8 | } 9 | 10 | function myFunction() {} 11 | -------------------------------------------------------------------------------- /demo/chrome/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "esnext", 4 | "module": "commonjs", 5 | "strict": true, 6 | "outDir": "dist", 7 | "skipLibCheck": true, 8 | "rootDir": "./src", 9 | "resolveJsonModule": true, 10 | "declaration": true, 11 | "declarationMap": true, 12 | "newLine": "LF", 13 | "sourceMap": true 14 | }, 15 | "include": ["src/**/*"] 16 | } 17 | -------------------------------------------------------------------------------- /demo/nodejs/.vscode/launch.json: -------------------------------------------------------------------------------- 1 | { 2 | // Use IntelliSense to learn about possible attributes. 3 | // Hover to view descriptions of existing attributes. 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 5 | "version": "0.2.0", 6 | "configurations": [ 7 | { 8 | "type": "node", 9 | "request": "launch", 10 | "name": "Launch Program", 11 | "skipFiles": ["/**"], 12 | "outFiles": ["${workspaceFolder}/out/**/*"], 13 | "program": "${file}" 14 | } 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /demo/nodejs/javascript-demo.js: -------------------------------------------------------------------------------- 1 | async function run() { 2 | for (let i = 0; i < 10; i++) { 3 | console.log("i is " + i); 4 | await wait(); 5 | if (i % 2 === 0) { 6 | console.log(`i=${i} is even`); 7 | await wait(); 8 | } else { 9 | await wait(); 10 | } 11 | } 12 | } 13 | 14 | function wait() { 15 | return new Promise((res) => { 16 | setTimeout(res, 400); 17 | }); 18 | } 19 | 20 | run(); 21 | -------------------------------------------------------------------------------- /demo/nodejs/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es6", 5 | "outDir": "out", 6 | "lib": ["es6"], 7 | "sourceMap": true, 8 | "strict": true, 9 | "rootDir": "." 10 | }, 11 | "include": ["./typescript-demo.ts"] 12 | } 13 | -------------------------------------------------------------------------------- /demo/nodejs/typescript-demo.ts: -------------------------------------------------------------------------------- 1 | console.log("test"); 2 | -------------------------------------------------------------------------------- /docs/demo-nodejs.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hediet/vscode-realtime-debugging/6b9cb42f56b5c4f01ba4d360ea13eb5ed351e72e/docs/demo-nodejs.gif -------------------------------------------------------------------------------- /docs/demo-web.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hediet/vscode-realtime-debugging/6b9cb42f56b5c4f01ba4d360ea13eb5ed351e72e/docs/demo-web.gif -------------------------------------------------------------------------------- /docs/logo.drawio.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hediet/vscode-realtime-debugging/6b9cb42f56b5c4f01ba4d360ea13eb5ed351e72e/docs/logo.drawio.png -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hediet/vscode-realtime-debugging/6b9cb42f56b5c4f01ba4d360ea13eb5ed351e72e/docs/logo.png -------------------------------------------------------------------------------- /docs/logpoints.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hediet/vscode-realtime-debugging/6b9cb42f56b5c4f01ba4d360ea13eb5ed351e72e/docs/logpoints.gif -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "realtime-debugging", 3 | "private": true, 4 | "displayName": "Real-Time Debugging", 5 | "description": "This extension visualizes how your code is being executed.", 6 | "version": "0.1.0", 7 | "license": "GPL-3.0", 8 | "publisher": "hediet", 9 | "author": { 10 | "email": "henning.dieterichs@live.de", 11 | "name": "Henning Dieterichs" 12 | }, 13 | "keywords": [ 14 | "debugger", 15 | "debug", 16 | "javascript", 17 | "debugging", 18 | "visual", 19 | "realtime", 20 | "real-time", 21 | "logpoint", 22 | "logging", 23 | "log" 24 | ], 25 | "readme": "./README.md", 26 | "icon": "docs/logo.png", 27 | "engines": { 28 | "vscode": "^1.44.0" 29 | }, 30 | "categories": [ 31 | "Other" 32 | ], 33 | "activationEvents": [ 34 | "onDebugAdapterProtocolTracker" 35 | ], 36 | "repository": { 37 | "url": "https://github.com/hediet/vscode-realtime-debugging.git" 38 | }, 39 | "bugs": { 40 | "url": "https://github.com/hediet/vscode-realtime-debugging/issues" 41 | }, 42 | "main": "./out/extension", 43 | "contributes": {}, 44 | "scripts": { 45 | "pub": "vsce publish --yarn", 46 | "package": "vsce package --yarn", 47 | "vscode:prepublish": "npm run build", 48 | "build": "tsc -p ./", 49 | "dev": "tsc -watch -p ./" 50 | }, 51 | "devDependencies": { 52 | "@types/node": "^13.13.5", 53 | "@types/vscode": "1.44.0", 54 | "tslint": "^6.1.2", 55 | "typescript": "^3.8.3" 56 | }, 57 | "dependencies": { 58 | "@hediet/node-reload": "^0.7.3", 59 | "@hediet/std": "0.6.0" 60 | } 61 | } 62 | -------------------------------------------------------------------------------- /src/ExecutionHighlighter.ts: -------------------------------------------------------------------------------- 1 | import { 2 | Uri, 3 | window, 4 | TextEditor, 5 | Range, 6 | TextEditorDecorationType, 7 | } from "vscode"; 8 | 9 | export class ExecutionHighlighter { 10 | private readonly highlighter = new Highlighter(); 11 | 12 | highlight(uri: Uri, line: number): void { 13 | for (const editor of window.visibleTextEditors) { 14 | if (editor.document.uri.toString() !== uri.toString()) { 15 | continue; 16 | } 17 | const range = editor.document.lineAt(line).range; 18 | this.highlighter.highlight(editor, range); 19 | } 20 | } 21 | } 22 | 23 | export class Highlighter { 24 | private lastHighlight: Highlight | undefined; 25 | 26 | highlight(editor: TextEditor, range: Range): void { 27 | if (this.lastHighlight) { 28 | this.lastHighlight.deprecate(); 29 | } 30 | this.lastHighlight = new Highlight(editor, range, () => {}); 31 | } 32 | } 33 | 34 | class Highlight { 35 | private type: TextEditorDecorationType | undefined; 36 | 37 | constructor( 38 | private readonly textEditor: TextEditor, 39 | private readonly range: Range, 40 | onHide: () => void 41 | ) { 42 | this.type = window.createTextEditorDecorationType({ 43 | backgroundColor: "orange", 44 | }); 45 | textEditor.setDecorations(this.type, [range]); 46 | 47 | setTimeout(() => { 48 | this.dispose(); 49 | onHide(); 50 | }, 1000); 51 | } 52 | 53 | deprecate() { 54 | if (this.type) { 55 | this.type.dispose(); 56 | this.type = window.createTextEditorDecorationType({ 57 | backgroundColor: "yellow", 58 | }); 59 | this.textEditor.setDecorations(this.type, [this.range]); 60 | } 61 | } 62 | 63 | dispose() { 64 | if (this.type) { 65 | this.type.dispose(); 66 | } 67 | this.type = undefined; 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /src/LineHistory.ts: -------------------------------------------------------------------------------- 1 | import { Disposable } from "@hediet/std/disposable"; 2 | import { 3 | Uri, 4 | window, 5 | workspace, 6 | MarkdownString, 7 | DecorationOptions, 8 | } from "vscode"; 9 | 10 | export class LogResultDecorator { 11 | public readonly dispose = Disposable.fn(); 12 | 13 | private readonly map = new Map< 14 | string, 15 | { uri: Uri; lines: Map } 16 | >(); 17 | private readonly decorationType = this.dispose.track( 18 | window.createTextEditorDecorationType({ 19 | after: { 20 | color: "gray", 21 | margin: "20px", 22 | }, 23 | }) 24 | ); 25 | 26 | constructor() { 27 | this.dispose.track( 28 | workspace.onDidChangeTextDocument((evt) => { 29 | this.map.delete(evt.document.uri.toString()); 30 | this.updateDecorations(); 31 | }) 32 | ); 33 | } 34 | 35 | public log(uri: Uri, line: number, output: string): void { 36 | let entry = this.map.get(uri.toString()); 37 | if (!entry) { 38 | entry = { uri, lines: new Map() }; 39 | this.map.set(uri.toString(), entry); 40 | } 41 | 42 | let history = entry.lines.get(line); 43 | if (!history) { 44 | history = new LineHistory(uri, line); 45 | entry.lines.set(line, history); 46 | } 47 | 48 | history.history.unshift(output); 49 | 50 | this.updateDecorations(); 51 | } 52 | 53 | public clear(): void { 54 | this.map.clear(); 55 | this.updateDecorations(); 56 | } 57 | 58 | private updateDecorations() { 59 | for (const editor of window.visibleTextEditors) { 60 | const entry = this.map.get(editor.document.uri.toString()); 61 | if (!entry) { 62 | editor.setDecorations(this.decorationType, []); 63 | continue; 64 | } 65 | 66 | editor.setDecorations( 67 | this.decorationType, 68 | [...entry.lines.values()].map((history) => { 69 | const range = editor.document.lineAt(history.line).range; 70 | const hoverMessage = new MarkdownString(); 71 | hoverMessage.isTrusted = true; 72 | for (const h of history.history.slice().reverse()) { 73 | hoverMessage.appendMarkdown(`* ${h}`); 74 | } 75 | /*const params = encodeURIComponent( 76 | JSON.stringify({ stepId: o.id } as RunCmdIdArgs) 77 | );*/ 78 | /*hoverMessage.appendMarkdown( 79 | `* [Run Step '${o.id}'](command:${runCmdId}?${params})` 80 | );*/ 81 | 82 | return { 83 | range, 84 | renderOptions: { 85 | after: { 86 | contentText: history.history[0], 87 | }, 88 | }, 89 | hoverMessage, 90 | } as DecorationOptions; 91 | }) 92 | ); 93 | } 94 | } 95 | } 96 | 97 | class LineHistory { 98 | constructor(public readonly uri: Uri, public readonly line: number) {} 99 | public readonly history: string[] = []; 100 | } 101 | -------------------------------------------------------------------------------- /src/extension.ts: -------------------------------------------------------------------------------- 1 | import * as vscode from "vscode"; 2 | import { 3 | enableHotReload, 4 | hotRequireExportedFn, 5 | registerUpdateReconciler, 6 | getReloadCount, 7 | } from "@hediet/node-reload"; 8 | import { Disposable } from "@hediet/std/disposable"; 9 | 10 | if (process.env.HOT_RELOAD) { 11 | enableHotReload({ entryModule: module, loggingEnabled: true }); 12 | } 13 | registerUpdateReconciler(module); 14 | 15 | import { ExecutionHighlighter } from "./ExecutionHighlighter"; 16 | import { LogResultDecorator } from "./LineHistory"; 17 | 18 | export class Extension { 19 | public readonly dispose = Disposable.fn(); 20 | private readonly log: vscode.OutputChannel | undefined = this.dispose.track( 21 | vscode.window.createOutputChannel("debug log") 22 | ); 23 | 24 | private readonly executionHightlighter = new ExecutionHighlighter(); 25 | private readonly logResultDecorator = this.dispose.track( 26 | new LogResultDecorator() 27 | ); 28 | 29 | constructor() { 30 | if (getReloadCount(module) > 0) { 31 | const i = this.dispose.track(vscode.window.createStatusBarItem()); 32 | i.text = "reload" + getReloadCount(module); 33 | i.show(); 34 | } 35 | 36 | this.dispose.track( 37 | vscode.debug.registerDebugAdapterTrackerFactory("*", { 38 | createDebugAdapterTracker: (session) => ({ 39 | onWillStartSession: () => { 40 | this.logResultDecorator.clear(); 41 | if (this.log) { 42 | this.log.clear(); 43 | } 44 | }, 45 | onDidSendMessage: (message) => { 46 | if ( 47 | message.event === "output" && 48 | "body" in message && 49 | message.body.category === "stdout" 50 | ) { 51 | const body = message.body; 52 | const output = body.output; 53 | const source = body.source; 54 | 55 | const path = source.path; 56 | const line = body.line - 1; 57 | 58 | const pathUri = vscode.Uri.file(path); 59 | 60 | this.executionHightlighter.highlight(pathUri, line); 61 | this.logResultDecorator.log(pathUri, line, output); 62 | } 63 | 64 | if (this.log) { 65 | this.log.appendLine( 66 | "-> " + JSON.stringify(message) 67 | ); 68 | } 69 | }, 70 | onWillReceiveMessage: (message) => { 71 | if (this.log) { 72 | this.log.appendLine( 73 | "<- " + JSON.stringify(message) 74 | ); 75 | } 76 | }, 77 | }), 78 | }) 79 | ); 80 | } 81 | } 82 | 83 | export function activate(context: vscode.ExtensionContext) { 84 | context.subscriptions.push( 85 | hotRequireExportedFn(module, Extension, (Extension) => new Extension()) 86 | ); 87 | } 88 | 89 | export function deactivate() {} 90 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "module": "commonjs", 4 | "target": "es6", 5 | "outDir": "out", 6 | "lib": ["es6"], 7 | "sourceMap": true, 8 | "rootDir": "src", 9 | "strict": true 10 | }, 11 | "include": ["./src/**/*"] 12 | } 13 | -------------------------------------------------------------------------------- /tslint.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { 3 | "no-string-throw": true, 4 | "no-unused-expression": true, 5 | "no-duplicate-variable": true, 6 | "curly": true, 7 | "class-name": true, 8 | "semicolon": [true, "always"], 9 | "triple-equals": true 10 | }, 11 | "defaultSeverity": "warning" 12 | } 13 | -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@babel/code-frame@^7.0.0": 6 | version "7.8.3" 7 | resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.8.3.tgz#33e25903d7481181534e12ec0a25f16b6fcf419e" 8 | integrity sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g== 9 | dependencies: 10 | "@babel/highlight" "^7.8.3" 11 | 12 | "@babel/helper-validator-identifier@^7.9.0": 13 | version "7.9.5" 14 | resolved "https://registry.yarnpkg.com/@babel/helper-validator-identifier/-/helper-validator-identifier-7.9.5.tgz#90977a8e6fbf6b431a7dc31752eee233bf052d80" 15 | integrity sha512-/8arLKUFq882w4tWGj9JYzRpAlZgiWUJ+dtteNTDqrRBz9Iguck9Rn3ykuBDoUwh2TO4tSAJlrxDUOXWklJe4g== 16 | 17 | "@babel/highlight@^7.8.3": 18 | version "7.9.0" 19 | resolved "https://registry.yarnpkg.com/@babel/highlight/-/highlight-7.9.0.tgz#4e9b45ccb82b79607271b2979ad82c7b68163079" 20 | integrity sha512-lJZPilxX7Op3Nv/2cvFdnlepPXDxi29wxteT57Q965oc5R9v86ztx0jfxVrTcBk8C2kcPkkDa2Z4T3ZsPPVWsQ== 21 | dependencies: 22 | "@babel/helper-validator-identifier" "^7.9.0" 23 | chalk "^2.0.0" 24 | js-tokens "^4.0.0" 25 | 26 | "@hediet/live-debug@^0.5.1": 27 | version "0.5.2" 28 | resolved "https://registry.yarnpkg.com/@hediet/live-debug/-/live-debug-0.5.2.tgz#f2ee0034f014836bfd68e26c35a168ab42b15486" 29 | integrity sha512-HBqVbyFez1oQlIPO9dzkFi7/9Gvt6ZpssgURzYaVFREl9Oq03nPd6V7Ay4bW03xFHPo3YT2Yff9mFmGQUX7JEg== 30 | dependencies: 31 | "@hediet/std" "^0.6.0" 32 | "@hediet/typed-json-rpc" "^0.7.6" 33 | "@hediet/typed-json-rpc-websocket" "^0.7.7" 34 | stacktracey "^1.2.112" 35 | ws "^7.0.0" 36 | 37 | "@hediet/node-reload@^0.7.3": 38 | version "0.7.3" 39 | resolved "https://registry.yarnpkg.com/@hediet/node-reload/-/node-reload-0.7.3.tgz#305d68f54185200b018b14f257037ab8d8ca9857" 40 | integrity sha512-icOyfDpArfvqmw0VLf2CoGR/jCSuWk3fScJGFuXQHpb0c9yNoGTiuG3Q8L2iJIuDzCjRu47DR2T+yCvZsY/f+w== 41 | dependencies: 42 | "@hediet/live-debug" "^0.5.1" 43 | "@hediet/std" "^0.6.0" 44 | "@hediet/typed-json-rpc" "^0.7.6" 45 | "@types/node" "^12.0.7" 46 | "@types/stack-trace" "^0.0.29" 47 | chalk "^2.4.2" 48 | chokidar "^3.0.1" 49 | stack-trace "^0.0.10" 50 | ws "^7.0.0" 51 | 52 | "@hediet/std@0.6.0", "@hediet/std@^0.6.0": 53 | version "0.6.0" 54 | resolved "https://registry.yarnpkg.com/@hediet/std/-/std-0.6.0.tgz#f7d2ffc1180ecef6ff272d0d6780f0c0d9337e4e" 55 | integrity sha512-XzBiZo6pnt01k266lSbXOBZd7jrQQSutoH3IpI/1GuL09zxuDX+c0XersEbMCGS45S2l/TSlISyV3MH1lbYJEg== 56 | dependencies: 57 | "@types/chai" "^4.1.7" 58 | "@types/sinon" "^7.0.10" 59 | chai "^4.2.0" 60 | mobx "^5.10.0" 61 | sinon "^7.2.7" 62 | 63 | "@hediet/typed-json-rpc-websocket@^0.7.7": 64 | version "0.7.7" 65 | resolved "https://registry.yarnpkg.com/@hediet/typed-json-rpc-websocket/-/typed-json-rpc-websocket-0.7.7.tgz#b1555528226e2bf3202d1d0e1870d04b59c14048" 66 | integrity sha512-0Aakr7ktqjR9paPRHM0fhePZDA8kKWn2t2Al3ta9nXSsY4ec/HknEwR9NMhXD3lATa/wvvKVIymalzKuRoV82A== 67 | dependencies: 68 | "@hediet/typed-json-rpc" "^0.7.5" 69 | "@types/ws" "^6.0.1" 70 | isomorphic-ws "^4.0.1" 71 | 72 | "@hediet/typed-json-rpc@^0.7.5", "@hediet/typed-json-rpc@^0.7.6": 73 | version "0.7.7" 74 | resolved "https://registry.yarnpkg.com/@hediet/typed-json-rpc/-/typed-json-rpc-0.7.7.tgz#bd7e586ad5c0480f7bd6bc40d6ad202e0a80b54d" 75 | integrity sha512-lyjbVqt+mFrRS0+2cOVDithtfG9gfRV5CJMVDwV+F2gfCUjTe1aZu4xObpDDLfxfoZOGgtPNNg6jCNhvXSxQHg== 76 | dependencies: 77 | "@hediet/std" "^0.6.0" 78 | io-ts "^1.8.6" 79 | 80 | "@sinonjs/commons@^1", "@sinonjs/commons@^1.3.0", "@sinonjs/commons@^1.4.0", "@sinonjs/commons@^1.7.0": 81 | version "1.7.2" 82 | resolved "https://registry.yarnpkg.com/@sinonjs/commons/-/commons-1.7.2.tgz#505f55c74e0272b43f6c52d81946bed7058fc0e2" 83 | integrity sha512-+DUO6pnp3udV/v2VfUWgaY5BIE1IfT7lLfeDzPVeMT1XKkaAp9LgSI9x5RtrFQoZ9Oi0PgXQQHPaoKu7dCjVxw== 84 | dependencies: 85 | type-detect "4.0.8" 86 | 87 | "@sinonjs/formatio@^3.2.1": 88 | version "3.2.2" 89 | resolved "https://registry.yarnpkg.com/@sinonjs/formatio/-/formatio-3.2.2.tgz#771c60dfa75ea7f2d68e3b94c7e888a78781372c" 90 | integrity sha512-B8SEsgd8gArBLMD6zpRw3juQ2FVSsmdd7qlevyDqzS9WTCtvF55/gAL+h6gue8ZvPYcdiPdvueM/qm//9XzyTQ== 91 | dependencies: 92 | "@sinonjs/commons" "^1" 93 | "@sinonjs/samsam" "^3.1.0" 94 | 95 | "@sinonjs/samsam@^3.1.0", "@sinonjs/samsam@^3.3.3": 96 | version "3.3.3" 97 | resolved "https://registry.yarnpkg.com/@sinonjs/samsam/-/samsam-3.3.3.tgz#46682efd9967b259b81136b9f120fd54585feb4a" 98 | integrity sha512-bKCMKZvWIjYD0BLGnNrxVuw4dkWCYsLqFOUWw8VgKF/+5Y+mE7LfHWPIYoDXowH+3a9LsWDMo0uAP8YDosPvHQ== 99 | dependencies: 100 | "@sinonjs/commons" "^1.3.0" 101 | array-from "^2.1.1" 102 | lodash "^4.17.15" 103 | 104 | "@sinonjs/text-encoding@^0.7.1": 105 | version "0.7.1" 106 | resolved "https://registry.yarnpkg.com/@sinonjs/text-encoding/-/text-encoding-0.7.1.tgz#8da5c6530915653f3a1f38fd5f101d8c3f8079c5" 107 | integrity sha512-+iTbntw2IZPb/anVDbypzfQa+ay64MW0Zo8aJ8gZPWMMK6/OubMVb6lUPMagqjOPnmtauXnFCACVl3O7ogjeqQ== 108 | 109 | "@types/chai@^4.1.7": 110 | version "4.2.11" 111 | resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.2.11.tgz#d3614d6c5f500142358e6ed24e1bf16657536c50" 112 | integrity sha512-t7uW6eFafjO+qJ3BIV2gGUyZs27egcNRkUdalkud+Qa3+kg//f129iuOFivHDXQ+vnU3fDXuwgv0cqMCbcE8sw== 113 | 114 | "@types/node@*": 115 | version "14.0.1" 116 | resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.1.tgz#5d93e0a099cd0acd5ef3d5bde3c086e1f49ff68c" 117 | integrity sha512-FAYBGwC+W6F9+huFIDtn43cpy7+SzG+atzRiTfdp3inUKL2hXnd4rG8hylJLIh4+hqrQy1P17kvJByE/z825hA== 118 | 119 | "@types/node@^12.0.7": 120 | version "12.12.39" 121 | resolved "https://registry.yarnpkg.com/@types/node/-/node-12.12.39.tgz#532d25c1e639d89dd6f3aa1d7b3962e3e7fa943d" 122 | integrity sha512-pADGfwnDkr6zagDwEiCVE4yQrv7XDkoeVa4OfA9Ju/zRTk6YNDLGtQbkdL4/56mCQQCs4AhNrBIag6jrp7ZuOg== 123 | 124 | "@types/node@^13.13.5": 125 | version "13.13.5" 126 | resolved "https://registry.yarnpkg.com/@types/node/-/node-13.13.5.tgz#96ec3b0afafd64a4ccea9107b75bf8489f0e5765" 127 | integrity sha512-3ySmiBYJPqgjiHA7oEaIo2Rzz0HrOZ7yrNO5HWyaE5q0lQ3BppDZ3N53Miz8bw2I7gh1/zir2MGVZBvpb1zq9g== 128 | 129 | "@types/sinon@^7.0.10": 130 | version "7.5.2" 131 | resolved "https://registry.yarnpkg.com/@types/sinon/-/sinon-7.5.2.tgz#5e2f1d120f07b9cda07e5dedd4f3bf8888fccdb9" 132 | integrity sha512-T+m89VdXj/eidZyejvmoP9jivXgBDdkOSBVQjU9kF349NEx10QdPNGxHeZUaj1IlJ32/ewdyXJjnJxyxJroYwg== 133 | 134 | "@types/stack-trace@^0.0.29": 135 | version "0.0.29" 136 | resolved "https://registry.yarnpkg.com/@types/stack-trace/-/stack-trace-0.0.29.tgz#eb7a7c60098edb35630ed900742a5ecb20cfcb4d" 137 | integrity sha512-TgfOX+mGY/NyNxJLIbDWrO9DjGoVSW9+aB8H2yy1fy32jsvxijhmyJI9fDFgvz3YP4lvJaq9DzdR/M1bOgVc9g== 138 | 139 | "@types/vscode@1.44.0": 140 | version "1.44.0" 141 | resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.44.0.tgz#62ecfe3d0e38942fce556574da54ee1013c775b7" 142 | integrity sha512-WJZtZlinE3meRdH+I7wTsIhpz/GLhqEQwmPGeh4s1irWLwMzCeTV8WZ+pgPTwrDXoafVUWwo1LiZ9HJVHFlJSQ== 143 | 144 | "@types/ws@^6.0.1": 145 | version "6.0.4" 146 | resolved "https://registry.yarnpkg.com/@types/ws/-/ws-6.0.4.tgz#7797707c8acce8f76d8c34b370d4645b70421ff1" 147 | integrity sha512-PpPrX7SZW9re6+Ha8ojZG4Se8AZXgf0GK6zmfqEuCsY49LFDNXO3SByp44X3dFEqtB73lkCDAdUazhAjVPiNwg== 148 | dependencies: 149 | "@types/node" "*" 150 | 151 | ansi-styles@^3.2.1: 152 | version "3.2.1" 153 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" 154 | integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== 155 | dependencies: 156 | color-convert "^1.9.0" 157 | 158 | anymatch@~3.1.1: 159 | version "3.1.1" 160 | resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-3.1.1.tgz#c55ecf02185e2469259399310c173ce31233b142" 161 | integrity sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg== 162 | dependencies: 163 | normalize-path "^3.0.0" 164 | picomatch "^2.0.4" 165 | 166 | argparse@^1.0.7: 167 | version "1.0.10" 168 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911" 169 | integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg== 170 | dependencies: 171 | sprintf-js "~1.0.2" 172 | 173 | array-from@^2.1.1: 174 | version "2.1.1" 175 | resolved "https://registry.yarnpkg.com/array-from/-/array-from-2.1.1.tgz#cfe9d8c26628b9dc5aecc62a9f5d8f1f352c1195" 176 | integrity sha1-z+nYwmYoudxa7MYqn12PHzUsEZU= 177 | 178 | as-table@^1.0.36: 179 | version "1.0.55" 180 | resolved "https://registry.yarnpkg.com/as-table/-/as-table-1.0.55.tgz#dc984da3937745de902cea1d45843c01bdbbec4f" 181 | integrity sha512-xvsWESUJn0JN421Xb9MQw6AsMHRCUknCe0Wjlxvjud80mU4E6hQf1A6NzQKcYNmYw62MfzEtXc+badstZP3JpQ== 182 | dependencies: 183 | printable-characters "^1.0.42" 184 | 185 | assertion-error@^1.1.0: 186 | version "1.1.0" 187 | resolved "https://registry.yarnpkg.com/assertion-error/-/assertion-error-1.1.0.tgz#e60b6b0e8f301bd97e5375215bda406c85118c0b" 188 | integrity sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw== 189 | 190 | balanced-match@^1.0.0: 191 | version "1.0.0" 192 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 193 | integrity sha1-ibTRmasr7kneFk6gK4nORi1xt2c= 194 | 195 | binary-extensions@^2.0.0: 196 | version "2.0.0" 197 | resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.0.0.tgz#23c0df14f6a88077f5f986c0d167ec03c3d5537c" 198 | integrity sha512-Phlt0plgpIIBOGTT/ehfFnbNlfsDEiqmzE2KRXoX1bLIlir4X/MR+zSyBEkL05ffWgnRSf/DXv+WrUAVr93/ow== 199 | 200 | brace-expansion@^1.1.7: 201 | version "1.1.11" 202 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd" 203 | integrity sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA== 204 | dependencies: 205 | balanced-match "^1.0.0" 206 | concat-map "0.0.1" 207 | 208 | braces@~3.0.2: 209 | version "3.0.2" 210 | resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107" 211 | integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A== 212 | dependencies: 213 | fill-range "^7.0.1" 214 | 215 | builtin-modules@^1.1.1: 216 | version "1.1.1" 217 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 218 | integrity sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8= 219 | 220 | chai@^4.2.0: 221 | version "4.2.0" 222 | resolved "https://registry.yarnpkg.com/chai/-/chai-4.2.0.tgz#760aa72cf20e3795e84b12877ce0e83737aa29e5" 223 | integrity sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw== 224 | dependencies: 225 | assertion-error "^1.1.0" 226 | check-error "^1.0.2" 227 | deep-eql "^3.0.1" 228 | get-func-name "^2.0.0" 229 | pathval "^1.1.0" 230 | type-detect "^4.0.5" 231 | 232 | chalk@^2.0.0, chalk@^2.4.2: 233 | version "2.4.2" 234 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" 235 | integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== 236 | dependencies: 237 | ansi-styles "^3.2.1" 238 | escape-string-regexp "^1.0.5" 239 | supports-color "^5.3.0" 240 | 241 | chalk@^2.3.0: 242 | version "2.4.1" 243 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.1.tgz#18c49ab16a037b6eb0152cc83e3471338215b66e" 244 | integrity sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ== 245 | dependencies: 246 | ansi-styles "^3.2.1" 247 | escape-string-regexp "^1.0.5" 248 | supports-color "^5.3.0" 249 | 250 | check-error@^1.0.2: 251 | version "1.0.2" 252 | resolved "https://registry.yarnpkg.com/check-error/-/check-error-1.0.2.tgz#574d312edd88bb5dd8912e9286dd6c0aed4aac82" 253 | integrity sha1-V00xLt2Iu13YkS6Sht1sCu1KrII= 254 | 255 | chokidar@^3.0.1: 256 | version "3.4.0" 257 | resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.4.0.tgz#b30611423ce376357c765b9b8f904b9fba3c0be8" 258 | integrity sha512-aXAaho2VJtisB/1fg1+3nlLJqGOuewTzQpd/Tz0yTg2R0e4IGtshYvtjowyEumcBv2z+y4+kc75Mz7j5xJskcQ== 259 | dependencies: 260 | anymatch "~3.1.1" 261 | braces "~3.0.2" 262 | glob-parent "~5.1.0" 263 | is-binary-path "~2.1.0" 264 | is-glob "~4.0.1" 265 | normalize-path "~3.0.0" 266 | readdirp "~3.4.0" 267 | optionalDependencies: 268 | fsevents "~2.1.2" 269 | 270 | color-convert@^1.9.0: 271 | version "1.9.3" 272 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" 273 | integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== 274 | dependencies: 275 | color-name "1.1.3" 276 | 277 | color-name@1.1.3: 278 | version "1.1.3" 279 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 280 | integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= 281 | 282 | commander@^2.12.1: 283 | version "2.19.0" 284 | resolved "https://registry.yarnpkg.com/commander/-/commander-2.19.0.tgz#f6198aa84e5b83c46054b94ddedbfed5ee9ff12a" 285 | integrity sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg== 286 | 287 | concat-map@0.0.1: 288 | version "0.0.1" 289 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 290 | integrity sha1-2Klr13/Wjfd5OnMDajug1UBdR3s= 291 | 292 | data-uri-to-buffer@^2.0.0: 293 | version "2.0.2" 294 | resolved "https://registry.yarnpkg.com/data-uri-to-buffer/-/data-uri-to-buffer-2.0.2.tgz#d296973d5a4897a5dbe31716d118211921f04770" 295 | integrity sha512-ND9qDTLc6diwj+Xe5cdAgVTbLVdXbtxTJRXRhli8Mowuaan+0EJOtdqJ0QCHNSSPyoXGx9HX2/VMnKeC34AChA== 296 | 297 | deep-eql@^3.0.1: 298 | version "3.0.1" 299 | resolved "https://registry.yarnpkg.com/deep-eql/-/deep-eql-3.0.1.tgz#dfc9404400ad1c8fe023e7da1df1c147c4b444df" 300 | integrity sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw== 301 | dependencies: 302 | type-detect "^4.0.0" 303 | 304 | diff@^3.5.0: 305 | version "3.5.0" 306 | resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" 307 | integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== 308 | 309 | diff@^4.0.1: 310 | version "4.0.2" 311 | resolved "https://registry.yarnpkg.com/diff/-/diff-4.0.2.tgz#60f3aecb89d5fae520c11aa19efc2bb982aade7d" 312 | integrity sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A== 313 | 314 | escape-string-regexp@^1.0.5: 315 | version "1.0.5" 316 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 317 | integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= 318 | 319 | esprima@^4.0.0: 320 | version "4.0.1" 321 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.1.tgz#13b04cdb3e6c5d19df91ab6987a8695619b0aa71" 322 | integrity sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A== 323 | 324 | fill-range@^7.0.1: 325 | version "7.0.1" 326 | resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40" 327 | integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ== 328 | dependencies: 329 | to-regex-range "^5.0.1" 330 | 331 | fp-ts@^1.0.0: 332 | version "1.19.5" 333 | resolved "https://registry.yarnpkg.com/fp-ts/-/fp-ts-1.19.5.tgz#3da865e585dfa1fdfd51785417357ac50afc520a" 334 | integrity sha512-wDNqTimnzs8QqpldiId9OavWK2NptormjXnRJTQecNjzwfyp6P/8s/zG8e4h3ja3oqkKaY72UlTjQYt/1yXf9A== 335 | 336 | fs.realpath@^1.0.0: 337 | version "1.0.0" 338 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 339 | integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8= 340 | 341 | fsevents@~2.1.2: 342 | version "2.1.3" 343 | resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.1.3.tgz#fb738703ae8d2f9fe900c33836ddebee8b97f23e" 344 | integrity sha512-Auw9a4AxqWpa9GUfj370BMPzzyncfBABW8Mab7BGWBYDj4Isgq+cDKtx0i6u9jcX9pQDnswsaaOTgTmA5pEjuQ== 345 | 346 | get-func-name@^2.0.0: 347 | version "2.0.0" 348 | resolved "https://registry.yarnpkg.com/get-func-name/-/get-func-name-2.0.0.tgz#ead774abee72e20409433a066366023dd6887a41" 349 | integrity sha1-6td0q+5y4gQJQzoGY2YCPdaIekE= 350 | 351 | get-source@^1.0.42: 352 | version "1.0.42" 353 | resolved "https://registry.yarnpkg.com/get-source/-/get-source-1.0.42.tgz#e46d88c56d9439242906857760d941965e23682b" 354 | integrity sha512-uM5xCIG5w2meVbiZaID4ajH6J8OfApqhlKXtZwsS/IIM9PLb0b2kc5sRdy78yEDfxsIYEWNk0OVxai6OpDCExA== 355 | dependencies: 356 | data-uri-to-buffer "^2.0.0" 357 | source-map "^0.6.1" 358 | 359 | glob-parent@~5.1.0: 360 | version "5.1.1" 361 | resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.1.tgz#b6c1ef417c4e5663ea498f1c45afac6916bbc229" 362 | integrity sha512-FnI+VGOpnlGHWZxthPGR+QhR78fuiK0sNLkHQv+bL9fQi57lNNdquIbna/WrfROrolq8GK5Ek6BiMwqL/voRYQ== 363 | dependencies: 364 | is-glob "^4.0.1" 365 | 366 | glob@^7.1.1: 367 | version "7.1.3" 368 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.3.tgz#3960832d3f1574108342dafd3a67b332c0969df1" 369 | integrity sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ== 370 | dependencies: 371 | fs.realpath "^1.0.0" 372 | inflight "^1.0.4" 373 | inherits "2" 374 | minimatch "^3.0.4" 375 | once "^1.3.0" 376 | path-is-absolute "^1.0.0" 377 | 378 | has-flag@^3.0.0: 379 | version "3.0.0" 380 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" 381 | integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= 382 | 383 | inflight@^1.0.4: 384 | version "1.0.6" 385 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 386 | integrity sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk= 387 | dependencies: 388 | once "^1.3.0" 389 | wrappy "1" 390 | 391 | inherits@2: 392 | version "2.0.3" 393 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 394 | integrity sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4= 395 | 396 | io-ts@^1.8.6: 397 | version "1.10.4" 398 | resolved "https://registry.yarnpkg.com/io-ts/-/io-ts-1.10.4.tgz#cd5401b138de88e4f920adbcb7026e2d1967e6e2" 399 | integrity sha512-b23PteSnYXSONJ6JQXRAlvJhuw8KOtkqa87W4wDtvMrud/DTJd5X+NpOOI+O/zZwVq6v0VLAaJ+1EDViKEuN9g== 400 | dependencies: 401 | fp-ts "^1.0.0" 402 | 403 | is-binary-path@~2.1.0: 404 | version "2.1.0" 405 | resolved "https://registry.yarnpkg.com/is-binary-path/-/is-binary-path-2.1.0.tgz#ea1f7f3b80f064236e83470f86c09c254fb45b09" 406 | integrity sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw== 407 | dependencies: 408 | binary-extensions "^2.0.0" 409 | 410 | is-extglob@^2.1.1: 411 | version "2.1.1" 412 | resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" 413 | integrity sha1-qIwCU1eR8C7TfHahueqXc8gz+MI= 414 | 415 | is-glob@^4.0.1, is-glob@~4.0.1: 416 | version "4.0.1" 417 | resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.1.tgz#7567dbe9f2f5e2467bc77ab83c4a29482407a5dc" 418 | integrity sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg== 419 | dependencies: 420 | is-extglob "^2.1.1" 421 | 422 | is-number@^7.0.0: 423 | version "7.0.0" 424 | resolved "https://registry.yarnpkg.com/is-number/-/is-number-7.0.0.tgz#7535345b896734d5f80c4d06c50955527a14f12b" 425 | integrity sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng== 426 | 427 | isarray@0.0.1: 428 | version "0.0.1" 429 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-0.0.1.tgz#8a18acfca9a8f4177e09abfc6038939b05d1eedf" 430 | integrity sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8= 431 | 432 | isomorphic-ws@^4.0.1: 433 | version "4.0.1" 434 | resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" 435 | integrity sha512-BhBvN2MBpWTaSHdWRb/bwdZJ1WaehQ2L1KngkCkfLUGF0mAWAT1sQUQacEmQ0jXkFw/czDXPNQSL5u2/Krsz1w== 436 | 437 | js-tokens@^4.0.0: 438 | version "4.0.0" 439 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" 440 | integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== 441 | 442 | js-yaml@^3.13.1: 443 | version "3.13.1" 444 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.13.1.tgz#aff151b30bfdfa8e49e05da22e7415e9dfa37847" 445 | integrity sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw== 446 | dependencies: 447 | argparse "^1.0.7" 448 | esprima "^4.0.0" 449 | 450 | just-extend@^4.0.2: 451 | version "4.1.0" 452 | resolved "https://registry.yarnpkg.com/just-extend/-/just-extend-4.1.0.tgz#7278a4027d889601640ee0ce0e5a00b992467da4" 453 | integrity sha512-ApcjaOdVTJ7y4r08xI5wIqpvwS48Q0PBG4DJROcEkH1f8MdAiNFyFxz3xoL0LWAVwjrwPYZdVHHxhRHcx/uGLA== 454 | 455 | lodash@^4.17.15: 456 | version "4.17.15" 457 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548" 458 | integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A== 459 | 460 | lolex@^4.2.0: 461 | version "4.2.0" 462 | resolved "https://registry.yarnpkg.com/lolex/-/lolex-4.2.0.tgz#ddbd7f6213ca1ea5826901ab1222b65d714b3cd7" 463 | integrity sha512-gKO5uExCXvSm6zbF562EvM+rd1kQDnB9AZBbiQVzf1ZmdDpxUSvpnAaVOP83N/31mRK8Ml8/VE8DMvsAZQ+7wg== 464 | 465 | lolex@^5.0.1: 466 | version "5.1.2" 467 | resolved "https://registry.yarnpkg.com/lolex/-/lolex-5.1.2.tgz#953694d098ce7c07bc5ed6d0e42bc6c0c6d5a367" 468 | integrity sha512-h4hmjAvHTmd+25JSwrtTIuwbKdwg5NzZVRMLn9saij4SZaepCrTCxPr35H/3bjwfMJtN+t3CX8672UIkglz28A== 469 | dependencies: 470 | "@sinonjs/commons" "^1.7.0" 471 | 472 | minimatch@^3.0.4: 473 | version "3.0.4" 474 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 475 | integrity sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA== 476 | dependencies: 477 | brace-expansion "^1.1.7" 478 | 479 | minimist@^1.2.5: 480 | version "1.2.5" 481 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.5.tgz#67d66014b66a6a8aaa0c083c5fd58df4e4e97602" 482 | integrity sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw== 483 | 484 | mkdirp@^0.5.3: 485 | version "0.5.5" 486 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" 487 | integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== 488 | dependencies: 489 | minimist "^1.2.5" 490 | 491 | mobx@^5.10.0: 492 | version "5.15.4" 493 | resolved "https://registry.yarnpkg.com/mobx/-/mobx-5.15.4.tgz#9da1a84e97ba624622f4e55a0bf3300fb931c2ab" 494 | integrity sha512-xRFJxSU2Im3nrGCdjSuOTFmxVDGeqOHL+TyADCGbT0k4HHqGmx5u2yaHNryvoORpI4DfbzjJ5jPmuv+d7sioFw== 495 | 496 | nise@^1.5.2: 497 | version "1.5.3" 498 | resolved "https://registry.yarnpkg.com/nise/-/nise-1.5.3.tgz#9d2cfe37d44f57317766c6e9408a359c5d3ac1f7" 499 | integrity sha512-Ymbac/94xeIrMf59REBPOv0thr+CJVFMhrlAkW/gjCIE58BGQdCj0x7KRCb3yz+Ga2Rz3E9XXSvUyyxqqhjQAQ== 500 | dependencies: 501 | "@sinonjs/formatio" "^3.2.1" 502 | "@sinonjs/text-encoding" "^0.7.1" 503 | just-extend "^4.0.2" 504 | lolex "^5.0.1" 505 | path-to-regexp "^1.7.0" 506 | 507 | normalize-path@^3.0.0, normalize-path@~3.0.0: 508 | version "3.0.0" 509 | resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-3.0.0.tgz#0dcd69ff23a1c9b11fd0978316644a0388216a65" 510 | integrity sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA== 511 | 512 | once@^1.3.0: 513 | version "1.4.0" 514 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 515 | integrity sha1-WDsap3WWHUsROsF9nFC6753Xa9E= 516 | dependencies: 517 | wrappy "1" 518 | 519 | path-is-absolute@^1.0.0: 520 | version "1.0.1" 521 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 522 | integrity sha1-F0uSaHNVNP+8es5r9TpanhtcX18= 523 | 524 | path-parse@^1.0.6: 525 | version "1.0.6" 526 | resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.6.tgz#d62dbb5679405d72c4737ec58600e9ddcf06d24c" 527 | integrity sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw== 528 | 529 | path-to-regexp@^1.7.0: 530 | version "1.8.0" 531 | resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-1.8.0.tgz#887b3ba9d84393e87a0a0b9f4cb756198b53548a" 532 | integrity sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA== 533 | dependencies: 534 | isarray "0.0.1" 535 | 536 | pathval@^1.1.0: 537 | version "1.1.0" 538 | resolved "https://registry.yarnpkg.com/pathval/-/pathval-1.1.0.tgz#b942e6d4bde653005ef6b71361def8727d0645e0" 539 | integrity sha1-uULm1L3mUwBe9rcTYd74cn0GReA= 540 | 541 | picomatch@^2.0.4, picomatch@^2.2.1: 542 | version "2.2.2" 543 | resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.2.2.tgz#21f333e9b6b8eaff02468f5146ea406d345f4dad" 544 | integrity sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg== 545 | 546 | printable-characters@^1.0.42: 547 | version "1.0.42" 548 | resolved "https://registry.yarnpkg.com/printable-characters/-/printable-characters-1.0.42.tgz#3f18e977a9bd8eb37fcc4ff5659d7be90868b3d8" 549 | integrity sha1-Pxjpd6m9jrN/zE/1ZZ176Qhos9g= 550 | 551 | readdirp@~3.4.0: 552 | version "3.4.0" 553 | resolved "https://registry.yarnpkg.com/readdirp/-/readdirp-3.4.0.tgz#9fdccdf9e9155805449221ac645e8303ab5b9ada" 554 | integrity sha512-0xe001vZBnJEK+uKcj8qOhyAKPzIT+gStxWr3LCB0DwcXR5NZJ3IaC+yGnHCYzB/S7ov3m3EEbZI2zeNvX+hGQ== 555 | dependencies: 556 | picomatch "^2.2.1" 557 | 558 | resolve@^1.3.2: 559 | version "1.9.0" 560 | resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06" 561 | integrity sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ== 562 | dependencies: 563 | path-parse "^1.0.6" 564 | 565 | semver@^5.3.0: 566 | version "5.6.0" 567 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" 568 | integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== 569 | 570 | sinon@^7.2.7: 571 | version "7.5.0" 572 | resolved "https://registry.yarnpkg.com/sinon/-/sinon-7.5.0.tgz#e9488ea466070ea908fd44a3d6478fd4923c67ec" 573 | integrity sha512-AoD0oJWerp0/rY9czP/D6hDTTUYGpObhZjMpd7Cl/A6+j0xBE+ayL/ldfggkBXUs0IkvIiM1ljM8+WkOc5k78Q== 574 | dependencies: 575 | "@sinonjs/commons" "^1.4.0" 576 | "@sinonjs/formatio" "^3.2.1" 577 | "@sinonjs/samsam" "^3.3.3" 578 | diff "^3.5.0" 579 | lolex "^4.2.0" 580 | nise "^1.5.2" 581 | supports-color "^5.5.0" 582 | 583 | source-map@^0.6.1: 584 | version "0.6.1" 585 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.6.1.tgz#74722af32e9614e9c287a8d0bbde48b5e2f1a263" 586 | integrity sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g== 587 | 588 | sprintf-js@~1.0.2: 589 | version "1.0.3" 590 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 591 | integrity sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw= 592 | 593 | stack-trace@^0.0.10: 594 | version "0.0.10" 595 | resolved "https://registry.yarnpkg.com/stack-trace/-/stack-trace-0.0.10.tgz#547c70b347e8d32b4e108ea1a2a159e5fdde19c0" 596 | integrity sha1-VHxws0fo0ytOEI6hoqFZ5f3eGcA= 597 | 598 | stacktracey@^1.2.112: 599 | version "1.2.127" 600 | resolved "https://registry.yarnpkg.com/stacktracey/-/stacktracey-1.2.127.tgz#7084fc5a8028908d1ef77af0463b522a6eb17846" 601 | integrity sha512-tj3BObW/adLIAQGGQ0flRTADrCv6KQ4VgncUO8NrQ7pk/H6pGMtXxQLjZYw66eqPDTC1DHtnBwGSmG+Wx/D/kg== 602 | dependencies: 603 | as-table "^1.0.36" 604 | get-source "^1.0.42" 605 | 606 | supports-color@^5.3.0, supports-color@^5.5.0: 607 | version "5.5.0" 608 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" 609 | integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== 610 | dependencies: 611 | has-flag "^3.0.0" 612 | 613 | to-regex-range@^5.0.1: 614 | version "5.0.1" 615 | resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-5.0.1.tgz#1648c44aae7c8d988a326018ed72f5b4dd0392e4" 616 | integrity sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ== 617 | dependencies: 618 | is-number "^7.0.0" 619 | 620 | tslib@^1.10.0: 621 | version "1.11.2" 622 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.11.2.tgz#9c79d83272c9a7aaf166f73915c9667ecdde3cc9" 623 | integrity sha512-tTSkux6IGPnUGUd1XAZHcpu85MOkIl5zX49pO+jfsie3eP0B6pyhOlLXm3cAC6T7s+euSDDUUV+Acop5WmtkVg== 624 | 625 | tslib@^1.8.1: 626 | version "1.9.3" 627 | resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.9.3.tgz#d7e4dd79245d85428c4d7e4822a79917954ca286" 628 | integrity sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ== 629 | 630 | tslint@^6.1.2: 631 | version "6.1.2" 632 | resolved "https://registry.yarnpkg.com/tslint/-/tslint-6.1.2.tgz#2433c248512cc5a7b2ab88ad44a6b1b34c6911cf" 633 | integrity sha512-UyNrLdK3E0fQG/xWNqAFAC5ugtFyPO4JJR1KyyfQAyzR8W0fTRrC91A8Wej4BntFzcvETdCSDa/4PnNYJQLYiA== 634 | dependencies: 635 | "@babel/code-frame" "^7.0.0" 636 | builtin-modules "^1.1.1" 637 | chalk "^2.3.0" 638 | commander "^2.12.1" 639 | diff "^4.0.1" 640 | glob "^7.1.1" 641 | js-yaml "^3.13.1" 642 | minimatch "^3.0.4" 643 | mkdirp "^0.5.3" 644 | resolve "^1.3.2" 645 | semver "^5.3.0" 646 | tslib "^1.10.0" 647 | tsutils "^2.29.0" 648 | 649 | tsutils@^2.29.0: 650 | version "2.29.0" 651 | resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-2.29.0.tgz#32b488501467acbedd4b85498673a0812aca0b99" 652 | integrity sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA== 653 | dependencies: 654 | tslib "^1.8.1" 655 | 656 | type-detect@4.0.8, type-detect@^4.0.0, type-detect@^4.0.5: 657 | version "4.0.8" 658 | resolved "https://registry.yarnpkg.com/type-detect/-/type-detect-4.0.8.tgz#7646fb5f18871cfbb7749e69bd39a6388eb7450c" 659 | integrity sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g== 660 | 661 | typescript@^3.8.3: 662 | version "3.8.3" 663 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.8.3.tgz#409eb8544ea0335711205869ec458ab109ee1061" 664 | integrity sha512-MYlEfn5VrLNsgudQTVJeNaQFUAI7DkhnOjdpAp4T+ku1TfQClewlbSuTVHiA+8skNBgaf02TL/kLOvig4y3G8w== 665 | 666 | wrappy@1: 667 | version "1.0.2" 668 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 669 | integrity sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8= 670 | 671 | ws@^7.0.0: 672 | version "7.3.0" 673 | resolved "https://registry.yarnpkg.com/ws/-/ws-7.3.0.tgz#4b2f7f219b3d3737bc1a2fbf145d825b94d38ffd" 674 | integrity sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w== 675 | --------------------------------------------------------------------------------