├── .gitignore ├── LICENSE ├── MySQL.lua ├── README.md ├── example.lua ├── fxmanifest.lua ├── package.json ├── source ├── fivem │ └── callback.ts ├── mysql │ ├── config.ts │ ├── index.ts │ └── mysql.ts ├── server.ts └── tracer │ └── index.ts ├── tsconfig.json ├── webpack.config.js └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Created by https://www.toptal.com/developers/gitignore/api/lua,node,yarn,visualstudio,visualstudiocode,vs,vscode 3 | # Edit at https://www.toptal.com/developers/gitignore?templates=lua,node,yarn,visualstudio,visualstudiocode,vs,vscode 4 | 5 | ### Lua ### 6 | # Compiled Lua sources 7 | luac.out 8 | 9 | # luarocks build files 10 | *.src.rock 11 | *.zip 12 | *.tar.gz 13 | 14 | # Object files 15 | *.o 16 | *.os 17 | *.ko 18 | *.obj 19 | *.elf 20 | 21 | # Precompiled Headers 22 | *.gch 23 | *.pch 24 | 25 | # Libraries 26 | *.lib 27 | *.a 28 | *.la 29 | *.lo 30 | *.def 31 | *.exp 32 | 33 | # Shared objects (inc. Windows DLLs) 34 | *.dll 35 | *.so 36 | *.so.* 37 | *.dylib 38 | 39 | # Executables 40 | *.exe 41 | *.out 42 | *.app 43 | *.i*86 44 | *.x86_64 45 | *.hex 46 | 47 | 48 | ### Node ### 49 | # Logs 50 | logs 51 | *.log 52 | npm-debug.log* 53 | yarn-debug.log* 54 | yarn-error.log* 55 | lerna-debug.log* 56 | 57 | # Diagnostic reports (https://nodejs.org/api/report.html) 58 | report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json 59 | 60 | # Runtime data 61 | pids 62 | *.pid 63 | *.seed 64 | *.pid.lock 65 | 66 | # Directory for instrumented libs generated by jscoverage/JSCover 67 | lib-cov 68 | 69 | # Coverage directory used by tools like istanbul 70 | coverage 71 | *.lcov 72 | 73 | # nyc test coverage 74 | .nyc_output 75 | 76 | # Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) 77 | .grunt 78 | 79 | # Bower dependency directory (https://bower.io/) 80 | bower_components 81 | 82 | # node-waf configuration 83 | .lock-wscript 84 | 85 | # Compiled binary addons (https://nodejs.org/api/addons.html) 86 | build/Release 87 | build/ 88 | 89 | # Dependency directories 90 | node_modules/ 91 | jspm_packages/ 92 | 93 | # TypeScript v1 declaration files 94 | typings/ 95 | 96 | # TypeScript cache 97 | *.tsbuildinfo 98 | 99 | # Optional npm cache directory 100 | .npm 101 | 102 | # Optional eslint cache 103 | .eslintcache 104 | 105 | # Microbundle cache 106 | .rpt2_cache/ 107 | .rts2_cache_cjs/ 108 | .rts2_cache_es/ 109 | .rts2_cache_umd/ 110 | 111 | # Optional REPL history 112 | .node_repl_history 113 | 114 | # Output of 'npm pack' 115 | *.tgz 116 | 117 | # Yarn Integrity file 118 | .yarn-integrity 119 | 120 | # dotenv environment variables file 121 | .env 122 | .env.test 123 | .env*.local 124 | 125 | # parcel-bundler cache (https://parceljs.org/) 126 | .cache 127 | .parcel-cache 128 | 129 | # Next.js build output 130 | .next 131 | 132 | # Nuxt.js build / generate output 133 | .nuxt 134 | dist 135 | 136 | # Gatsby files 137 | .cache/ 138 | # Comment in the public line in if your project uses Gatsby and not Next.js 139 | # https://nextjs.org/blog/next-9-1#public-directory-support 140 | # public 141 | 142 | # vuepress build output 143 | .vuepress/dist 144 | 145 | # Serverless directories 146 | .serverless/ 147 | 148 | # FuseBox cache 149 | .fusebox/ 150 | 151 | # DynamoDB Local files 152 | .dynamodb/ 153 | 154 | # TernJS port file 155 | .tern-port 156 | 157 | # Stores VSCode versions used for testing VSCode extensions 158 | .vscode-test 159 | 160 | ### VisualStudioCode ### 161 | .vscode/* 162 | !.vscode/tasks.json 163 | !.vscode/launch.json 164 | *.code-workspace 165 | 166 | ### VisualStudioCode Patch ### 167 | # Ignore all local history of files 168 | .history 169 | .ionide 170 | 171 | ### vs ### 172 | ## Ignore Visual Studio temporary files, build results, and 173 | ## files generated by popular Visual Studio add-ons. 174 | ## 175 | ## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore 176 | 177 | # User-specific files 178 | *.rsuser 179 | *.suo 180 | *.user 181 | *.userosscache 182 | *.sln.docstates 183 | 184 | # User-specific files (MonoDevelop/Xamarin Studio) 185 | *.userprefs 186 | 187 | # Mono auto generated files 188 | mono_crash.* 189 | 190 | # Build results 191 | [Dd]ebug/ 192 | [Dd]ebugPublic/ 193 | [Rr]elease/ 194 | [Rr]eleases/ 195 | x64/ 196 | x86/ 197 | [Aa][Rr][Mm]/ 198 | [Aa][Rr][Mm]64/ 199 | bld/ 200 | [Bb]in/ 201 | [Oo]bj/ 202 | [Ll]og/ 203 | [Ll]ogs/ 204 | 205 | # Visual Studio 2015/2017 cache/options directory 206 | .vs/ 207 | # Uncomment if you have tasks that create the project's static files in wwwroot 208 | #wwwroot/ 209 | 210 | # Visual Studio 2017 auto generated files 211 | Generated\ Files/ 212 | 213 | # MSTest test Results 214 | [Tt]est[Rr]esult*/ 215 | [Bb]uild[Ll]og.* 216 | 217 | # NUnit 218 | *.VisualState.xml 219 | TestResult.xml 220 | nunit-*.xml 221 | 222 | # Build Results of an ATL Project 223 | [Dd]ebugPS/ 224 | [Rr]eleasePS/ 225 | dlldata.c 226 | 227 | # Benchmark Results 228 | BenchmarkDotNet.Artifacts/ 229 | 230 | # .NET Core 231 | project.lock.json 232 | project.fragment.lock.json 233 | artifacts/ 234 | 235 | # StyleCop 236 | StyleCopReport.xml 237 | 238 | # Files built by Visual Studio 239 | *_i.c 240 | *_p.c 241 | *_h.h 242 | *.ilk 243 | *.meta 244 | *.iobj 245 | *.pdb 246 | *.ipdb 247 | *.pgc 248 | *.pgd 249 | *.rsp 250 | *.sbr 251 | *.tlb 252 | *.tli 253 | *.tlh 254 | *.tmp 255 | *.tmp_proj 256 | *_wpftmp.csproj 257 | *.vspscc 258 | *.vssscc 259 | .builds 260 | *.pidb 261 | *.svclog 262 | *.scc 263 | 264 | # Chutzpah Test files 265 | _Chutzpah* 266 | 267 | # Visual C++ cache files 268 | ipch/ 269 | *.aps 270 | *.ncb 271 | *.opendb 272 | *.opensdf 273 | *.sdf 274 | *.cachefile 275 | *.VC.db 276 | *.VC.VC.opendb 277 | 278 | # Visual Studio profiler 279 | *.psess 280 | *.vsp 281 | *.vspx 282 | *.sap 283 | 284 | # Visual Studio Trace Files 285 | *.e2e 286 | 287 | # TFS 2012 Local Workspace 288 | $tf/ 289 | 290 | # Guidance Automation Toolkit 291 | *.gpState 292 | 293 | # ReSharper is a .NET coding add-in 294 | _ReSharper*/ 295 | *.[Rr]e[Ss]harper 296 | *.DotSettings.user 297 | 298 | # TeamCity is a build add-in 299 | _TeamCity* 300 | 301 | # DotCover is a Code Coverage Tool 302 | *.dotCover 303 | 304 | # AxoCover is a Code Coverage Tool 305 | .axoCover/* 306 | !.axoCover/settings.json 307 | 308 | # Coverlet is a free, cross platform Code Coverage Tool 309 | coverage*[.json, .xml, .info] 310 | 311 | # Visual Studio code coverage results 312 | *.coverage 313 | *.coveragexml 314 | 315 | # NCrunch 316 | _NCrunch_* 317 | .*crunch*.local.xml 318 | nCrunchTemp_* 319 | 320 | # MightyMoose 321 | *.mm.* 322 | AutoTest.Net/ 323 | 324 | # Web workbench (sass) 325 | .sass-cache/ 326 | 327 | # Installshield output folder 328 | [Ee]xpress/ 329 | 330 | # DocProject is a documentation generator add-in 331 | DocProject/buildhelp/ 332 | DocProject/Help/*.HxT 333 | DocProject/Help/*.HxC 334 | DocProject/Help/*.hhc 335 | DocProject/Help/*.hhk 336 | DocProject/Help/*.hhp 337 | DocProject/Help/Html2 338 | DocProject/Help/html 339 | 340 | # Click-Once directory 341 | publish/ 342 | 343 | # Publish Web Output 344 | *.[Pp]ublish.xml 345 | *.azurePubxml 346 | # Note: Comment the next line if you want to checkin your web deploy settings, 347 | # but database connection strings (with potential passwords) will be unencrypted 348 | *.pubxml 349 | *.publishproj 350 | 351 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 352 | # checkin your Azure Web App publish settings, but sensitive information contained 353 | # in these scripts will be unencrypted 354 | PublishScripts/ 355 | 356 | # NuGet Packages 357 | *.nupkg 358 | # NuGet Symbol Packages 359 | *.snupkg 360 | # The packages folder can be ignored because of Package Restore 361 | **/[Pp]ackages/* 362 | # except build/, which is used as an MSBuild target. 363 | !**/[Pp]ackages/build/ 364 | # Uncomment if necessary however generally it will be regenerated when needed 365 | #!**/[Pp]ackages/repositories.config 366 | # NuGet v3's project.json files produces more ignorable files 367 | *.nuget.props 368 | *.nuget.targets 369 | package-lock.json 370 | 371 | # Microsoft Azure Build Output 372 | csx/ 373 | *.build.csdef 374 | 375 | # Microsoft Azure Emulator 376 | ecf/ 377 | rcf/ 378 | 379 | # Windows Store app package directories and files 380 | AppPackages/ 381 | BundleArtifacts/ 382 | Package.StoreAssociation.xml 383 | _pkginfo.txt 384 | *.appx 385 | *.appxbundle 386 | *.appxupload 387 | 388 | # Visual Studio cache files 389 | # files ending in .cache can be ignored 390 | *.[Cc]ache 391 | # but keep track of directories ending in .cache 392 | !?*.[Cc]ache/ 393 | 394 | # Others 395 | ClientBin/ 396 | ~$* 397 | *~ 398 | *.dbmdl 399 | *.dbproj.schemaview 400 | *.jfm 401 | *.pfx 402 | *.publishsettings 403 | orleans.codegen.cs 404 | 405 | # Including strong name files can present a security risk 406 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 407 | #*.snk 408 | 409 | # Since there are multiple workflows, uncomment next line to ignore bower_components 410 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 411 | #bower_components/ 412 | 413 | # RIA/Silverlight projects 414 | Generated_Code/ 415 | 416 | # Backup & report files from converting an old project file 417 | # to a newer Visual Studio version. Backup files are not needed, 418 | # because we have git ;-) 419 | _UpgradeReport_Files/ 420 | Backup*/ 421 | UpgradeLog*.XML 422 | UpgradeLog*.htm 423 | ServiceFabricBackup/ 424 | *.rptproj.bak 425 | 426 | # SQL Server files 427 | *.mdf 428 | *.ldf 429 | *.ndf 430 | 431 | # Business Intelligence projects 432 | *.rdl.data 433 | *.bim.layout 434 | *.bim_*.settings 435 | *.rptproj.rsuser 436 | *- [Bb]ackup.rdl 437 | *- [Bb]ackup ([0-9]).rdl 438 | *- [Bb]ackup ([0-9][0-9]).rdl 439 | 440 | # Microsoft Fakes 441 | FakesAssemblies/ 442 | 443 | # GhostDoc plugin setting file 444 | *.GhostDoc.xml 445 | 446 | # Node.js Tools for Visual Studio 447 | .ntvs_analysis.dat 448 | 449 | # Visual Studio 6 build log 450 | *.plg 451 | 452 | # Visual Studio 6 workspace options file 453 | *.opt 454 | 455 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 456 | *.vbw 457 | 458 | # Visual Studio LightSwitch build output 459 | **/*.HTMLClient/GeneratedArtifacts 460 | **/*.DesktopClient/GeneratedArtifacts 461 | **/*.DesktopClient/ModelManifest.xml 462 | **/*.Server/GeneratedArtifacts 463 | **/*.Server/ModelManifest.xml 464 | _Pvt_Extensions 465 | 466 | # Paket dependency manager 467 | .paket/paket.exe 468 | paket-files/ 469 | 470 | # FAKE - F# Make 471 | .fake/ 472 | 473 | # CodeRush personal settings 474 | .cr/personal 475 | 476 | # Python Tools for Visual Studio (PTVS) 477 | __pycache__/ 478 | *.pyc 479 | 480 | # Cake - Uncomment if you are using it 481 | # tools/** 482 | # !tools/packages.config 483 | 484 | # Tabs Studio 485 | *.tss 486 | 487 | # Telerik's JustMock configuration file 488 | *.jmconfig 489 | 490 | # BizTalk build output 491 | *.btp.cs 492 | *.btm.cs 493 | *.odx.cs 494 | *.xsd.cs 495 | 496 | # OpenCover UI analysis results 497 | OpenCover/ 498 | 499 | # Azure Stream Analytics local run output 500 | ASALocalRun/ 501 | 502 | # MSBuild Binary and Structured Log 503 | *.binlog 504 | 505 | # NVidia Nsight GPU debugger configuration file 506 | *.nvuser 507 | 508 | # MFractors (Xamarin productivity tool) working folder 509 | .mfractor/ 510 | 511 | # Local History for Visual Studio 512 | .localhistory/ 513 | 514 | # BeatPulse healthcheck temp database 515 | healthchecksdb 516 | 517 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 518 | MigrationBackup/ 519 | 520 | # Ionide (cross platform F# VS Code tools) working folder 521 | .ionide/ 522 | 523 | ### vscode ### 524 | !.vscode/settings.json 525 | !.vscode/extensions.json 526 | 527 | ### yarn ### 528 | # https://yarnpkg.com/advanced/qa#which-files-should-be-gitignored 529 | 530 | .yarn/* 531 | .yarn.installed 532 | !.yarn/releases 533 | !.yarn/plugins 534 | !.yarn/sdks 535 | !.yarn/versions 536 | 537 | # if you are NOT using Zero-installs, then: 538 | # comment the following lines 539 | !.yarn/cache 540 | 541 | # and uncomment the following lines 542 | # .pnp.* 543 | 544 | ### VisualStudio ### 545 | 546 | # User-specific files 547 | 548 | # User-specific files (MonoDevelop/Xamarin Studio) 549 | 550 | # Mono auto generated files 551 | 552 | # Build results 553 | 554 | # Visual Studio 2015/2017 cache/options directory 555 | # Uncomment if you have tasks that create the project's static files in wwwroot 556 | 557 | # Visual Studio 2017 auto generated files 558 | 559 | # MSTest test Results 560 | 561 | # NUnit 562 | 563 | # Build Results of an ATL Project 564 | 565 | # Benchmark Results 566 | 567 | # .NET Core 568 | 569 | # StyleCop 570 | 571 | # Files built by Visual Studio 572 | 573 | # Chutzpah Test files 574 | 575 | # Visual C++ cache files 576 | 577 | # Visual Studio profiler 578 | 579 | # Visual Studio Trace Files 580 | 581 | # TFS 2012 Local Workspace 582 | 583 | # Guidance Automation Toolkit 584 | 585 | # ReSharper is a .NET coding add-in 586 | 587 | # TeamCity is a build add-in 588 | 589 | # DotCover is a Code Coverage Tool 590 | 591 | # AxoCover is a Code Coverage Tool 592 | 593 | # Coverlet is a free, cross platform Code Coverage Tool 594 | 595 | # Visual Studio code coverage results 596 | 597 | # NCrunch 598 | 599 | # MightyMoose 600 | 601 | # Web workbench (sass) 602 | 603 | # Installshield output folder 604 | 605 | # DocProject is a documentation generator add-in 606 | 607 | # Click-Once directory 608 | 609 | # Publish Web Output 610 | # Note: Comment the next line if you want to checkin your web deploy settings, 611 | # but database connection strings (with potential passwords) will be unencrypted 612 | 613 | # Microsoft Azure Web App publish settings. Comment the next line if you want to 614 | # checkin your Azure Web App publish settings, but sensitive information contained 615 | # in these scripts will be unencrypted 616 | 617 | # NuGet Packages 618 | # NuGet Symbol Packages 619 | # The packages folder can be ignored because of Package Restore 620 | # except build/, which is used as an MSBuild target. 621 | # Uncomment if necessary however generally it will be regenerated when needed 622 | # NuGet v3's project.json files produces more ignorable files 623 | 624 | # Microsoft Azure Build Output 625 | 626 | # Microsoft Azure Emulator 627 | 628 | # Windows Store app package directories and files 629 | 630 | # Visual Studio cache files 631 | # files ending in .cache can be ignored 632 | # but keep track of directories ending in .cache 633 | 634 | # Others 635 | 636 | # Including strong name files can present a security risk 637 | # (https://github.com/github/gitignore/pull/2483#issue-259490424) 638 | 639 | # Since there are multiple workflows, uncomment next line to ignore bower_components 640 | # (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) 641 | 642 | # RIA/Silverlight projects 643 | 644 | # Backup & report files from converting an old project file 645 | # to a newer Visual Studio version. Backup files are not needed, 646 | # because we have git ;-) 647 | 648 | # SQL Server files 649 | 650 | # Business Intelligence projects 651 | 652 | # Microsoft Fakes 653 | 654 | # GhostDoc plugin setting file 655 | 656 | # Node.js Tools for Visual Studio 657 | 658 | # Visual Studio 6 build log 659 | 660 | # Visual Studio 6 workspace options file 661 | 662 | # Visual Studio 6 auto-generated workspace file (contains which files were open etc.) 663 | 664 | # Visual Studio LightSwitch build output 665 | 666 | # Paket dependency manager 667 | 668 | # FAKE - F# Make 669 | 670 | # CodeRush personal settings 671 | 672 | # Python Tools for Visual Studio (PTVS) 673 | 674 | # Cake - Uncomment if you are using it 675 | # tools/** 676 | # !tools/packages.config 677 | 678 | # Tabs Studio 679 | 680 | # Telerik's JustMock configuration file 681 | 682 | # BizTalk build output 683 | 684 | # OpenCover UI analysis results 685 | 686 | # Azure Stream Analytics local run output 687 | 688 | # MSBuild Binary and Structured Log 689 | 690 | # NVidia Nsight GPU debugger configuration file 691 | 692 | # MFractors (Xamarin productivity tool) working folder 693 | 694 | # Local History for Visual Studio 695 | 696 | # BeatPulse healthcheck temp database 697 | 698 | # Backup folder for Package Reference Convert tool in Visual Studio 2017 699 | 700 | # Ionide (cross platform F# VS Code tools) working folder 701 | 702 | # End of https://www.toptal.com/developers/gitignore/api/lua,node,yarn,visualstudio,visualstudiocode,vs,vscode -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 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) 2020 Thymon Arens 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) 2020 Thymon Arens 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 | . -------------------------------------------------------------------------------- /MySQL.lua: -------------------------------------------------------------------------------- 1 | -- 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 2 | -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3 | -- ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 4 | -- ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 5 | -- ➤ Author: Thymon Arens 6 | -- ➤ Name: FiveM MySQL 7 | -- ➤ Version: 1.0.2 8 | -- ➤ Description: MySQL library made for FiveM 9 | -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10 | -- 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 11 | -- ┳ 12 | -- ┃ Copyright (C) 2020 Thymon Arens 13 | -- ┃ 14 | -- ┃ This program is free software: you can redistribute it and/or modify 15 | -- ┃ it under the terms of the GNU General Public License as published by 16 | -- ┃ the Free Software Foundation, either version 3 of the License, or 17 | -- ┃ (at your option) any later version. 18 | -- ┃ 19 | -- ┃ This program is distributed in the hope that it will be useful, 20 | -- ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | -- ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 | -- ┃ GNU General Public License for more details. 23 | -- ┃ 24 | -- ┃ You should have received a copy of the GNU General Public License 25 | -- ┃ al 26 | 27 | local assert = assert 28 | local type = type 29 | local rawget = rawget 30 | local next = next 31 | local setmetatable = setmetatable 32 | local GetResourceState = GetResourceState 33 | local GetCurrentResourceName = GetCurrentResourceName 34 | local CreateThread = Citizen.CreateThread 35 | local Wait = Citizen.Wait 36 | local mysql = setmetatable({ 37 | resource_name = 'fivem-mysql', 38 | current_resource_name = GetCurrentResourceName() 39 | }, {}) 40 | 41 | function mysql:typeof(input) 42 | if (input == nil) then 43 | return 'nil'; 44 | end 45 | 46 | local t = type(input); 47 | 48 | if (t ~= 'table') then 49 | return t; 50 | end 51 | 52 | if (rawget(input, '__cfx_functionReference') ~= nil or 53 | rawget(input, '__cfx_async_retval') ~= nil) then 54 | return 'function'; 55 | end 56 | 57 | if (rawget(input, '__cfx_functionSource') ~= nil) then 58 | return 'number'; 59 | end 60 | 61 | return t; 62 | end 63 | 64 | function mysql:safeParams(params) 65 | if (self:typeof(params) == 'nil') then params = {} end 66 | if (self:typeof(params) ~= 'table') then params = {} end 67 | if (next(params) == nil) then params = {} end 68 | 69 | return params 70 | end 71 | 72 | function mysql:execute(query, params) 73 | params = params or {} 74 | 75 | local res, finished = nil, false 76 | 77 | self:executeAsync(query, params, function(result) 78 | res = result 79 | finished = true 80 | end) 81 | 82 | repeat Citizen.Wait(0) until finished == true 83 | 84 | return res 85 | end 86 | 87 | function mysql:insert(query, params) 88 | params = params or {} 89 | 90 | local res, finished = nil, false 91 | 92 | self:insertAsync(query, params, function(result) 93 | res = result 94 | finished = true 95 | end) 96 | 97 | repeat Citizen.Wait(0) until finished == true 98 | 99 | return res 100 | end 101 | 102 | function mysql:fetchAll(query, params) 103 | params = params or {} 104 | 105 | local res, finished = nil, false 106 | 107 | self:fetchAllAsync(query, params, function(result) 108 | res = result 109 | finished = true 110 | end) 111 | 112 | repeat Citizen.Wait(0) until finished == true 113 | 114 | return res 115 | end 116 | 117 | function mysql:fetchScalar(query, params) 118 | params = params or {} 119 | 120 | local res, finished = nil, false 121 | 122 | self:fetchScalarAsync(query, params, function(result) 123 | res = result 124 | finished = true 125 | end) 126 | 127 | repeat Citizen.Wait(0) until finished == true 128 | 129 | return res 130 | end 131 | 132 | function mysql:fetchFirst(query, params) 133 | params = params or {} 134 | 135 | local res, finished = nil, false 136 | 137 | self:fetchFirstAsync(query, params, function(result) 138 | res = result 139 | finished = true 140 | end) 141 | 142 | repeat Citizen.Wait(0) until finished == true 143 | 144 | return res 145 | end 146 | 147 | function mysql:executeAsync(query, params, callback) 148 | params = params or {} 149 | 150 | assert(self:typeof(query) == 'string', 'SQL query must be a string') 151 | assert(self:typeof(params) == 'table', 'Parameters must be a table') 152 | assert(self:typeof(callback) == 'function', 'Callback must be a function') 153 | 154 | params = self:safeParams(params) 155 | 156 | exports[self.resource_name]:executeAsync(query, params, callback, self.current_resource_name) 157 | end 158 | 159 | function mysql:insertAsync(query, params, callback) 160 | params = params or {} 161 | 162 | assert(self:typeof(query) == 'string', 'SQL query must be a string') 163 | assert(self:typeof(params) == 'table', 'Parameters must be a table') 164 | assert(self:typeof(callback) == 'function', 'Callback must be a function') 165 | 166 | params = self:safeParams(params) 167 | 168 | exports[self.resource_name]:insertAsync(query, params, callback, self.current_resource_name) 169 | end 170 | 171 | function mysql:fetchAllAsync(query, params, callback) 172 | params = params or {} 173 | 174 | assert(self:typeof(query) == 'string', 'SQL query must be a string') 175 | assert(self:typeof(params) == 'table', 'Parameters must be a table') 176 | assert(self:typeof(callback) == 'function', 'Callback must be a function') 177 | 178 | params = self:safeParams(params) 179 | 180 | exports[self.resource_name]:fetchAllAsync(query, params, callback, self.current_resource_name) 181 | end 182 | 183 | function mysql:fetchScalarAsync(query, params, callback) 184 | params = params or {} 185 | 186 | assert(self:typeof(query) == 'string', 'SQL query must be a string') 187 | assert(self:typeof(params) == 'table', 'Parameters must be a table') 188 | assert(self:typeof(callback) == 'function', 'Callback must be a function') 189 | 190 | params = self:safeParams(params) 191 | 192 | exports[self.resource_name]:fetchScalarAsync(query, params, callback, self.current_resource_name) 193 | end 194 | 195 | function mysql:fetchFirstAsync(query, params, callback) 196 | params = params or {} 197 | 198 | assert(self:typeof(query) == 'string', 'SQL query must be a string') 199 | assert(self:typeof(params) == 'table', 'Parameters must be a table') 200 | assert(self:typeof(callback) == 'function', 'Callback must be a function') 201 | 202 | params = self:safeParams(params) 203 | 204 | exports[self.resource_name]:fetchFirstAsync(query, params, callback, self.current_resource_name) 205 | end 206 | 207 | function mysql:ready(callback) 208 | CreateThread(function() 209 | local cb = callback or function() end 210 | 211 | assert(self:typeof(cb) == 'function', 'Callback must be a function') 212 | 213 | while GetResourceState(self.resource_name) ~= 'started' do Wait(0) end 214 | while not exports[self.resource_name]:isReady() do Wait(0) end 215 | 216 | cb() 217 | end) 218 | end 219 | 220 | --- Register `mysql` as global variable 221 | _G.mysql = mysql 222 | _ENV.mysql = mysql -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # FiveM MySQL - MySQL library for FiveM 2 | [![N|CoreV](https://i.imgur.com/wA7DmUS.png)](https://github.com/ThymonA/fivem-mysql) 3 | [![Issues](https://img.shields.io/github/issues/ThymonA/fivem-mysql.svg?style=for-the-badge)](https://github.com/ThymonA/fivem-mysql/issues) 4 | [![License](https://img.shields.io/github/license/ThymonA/fivem-mysql.svg?style=for-the-badge)](https://github.com/ThymonA/fivem-mysql/blob/master/LICENSE) 5 | [![Forks](https://img.shields.io/github/forks/ThymonA/fivem-mysql.svg?style=for-the-badge)](https://github.com/ThymonA/fivem-mysql) 6 | [![Stars](https://img.shields.io/github/stars/ThymonA/fivem-mysql.svg?style=for-the-badge)](https://github.com/ThymonA/fivem-mysql) 7 | 8 | This mysql-async Library for FiveM intends to provide function to connect to a MySQL in a Sync and Async way. This resource is inspired by [`fivem-mysql-async`](https://github.com/brouznouf/fivem-mysql-async) and written by [ThymonA](https://github.com/ThymonA/) 9 | 10 | ### **Example** 11 | If you want to know how this resource works? check the [`example.lua`](https://github.com/ThymonA/fivem-mysql/blob/master/example.lua) file inside this resource. 12 | 13 | ### **Config the `server.cfg`** 14 | **Config** | **Description** | **Default** 15 | :----------|:----------------|:---------------- 16 | `mysql_connection_string` | MySQL connection string, there are two variants possible: Check **`Connections strings`** under this table. | `mysql://root@localhost/fivem` 17 | `mysql_level` | Warn level used to print message in console, there are couble of options like: `info`, `debug`, `warn`, `error` or `fatal` | `warn` 18 | `mysql_slow_query_warning` | When an query takes longer than the defined number, print an query warn message in console to let the server know that the executed query is slow | `500` (ms) 19 | 20 | #### **Connections strings:** 21 | **Variants:** 22 | * `mysql://root:pass1234@localhost/fivem` 23 | * `server=localhost;userid=root;password=pass1234;database=fivem` 24 | 25 | ### **Issues** 26 | Make sure you provide all information possible when reporting an issue. 27 | 28 | ### **Changelog** 29 | For a detailed changelog either check the commits or read [`https://github.com/ThymonA/fivem-mysql/releases`](https://github.com/ThymonA/fivem-mysql/releases) 30 | 31 | ### **Features** 32 | 33 | * Async / Sync. 34 | * It uses the [node-mysql2](https://github.com/sidorares/node-mysql2) library to provide a connection to your mysql server and is faster than the [mysql](https://github.com/mysqljs/mysql) library. -------------------------------------------------------------------------------- /example.lua: -------------------------------------------------------------------------------- 1 | -- 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 2 | -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3 | -- ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 4 | -- ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 5 | -- ➤ Author: Thymon Arens 6 | -- ➤ Name: FiveM MySQL 7 | -- ➤ Version: 1.0.2 8 | -- ➤ Description: MySQL library made for FiveM 9 | -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10 | -- 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 11 | -- ┳ 12 | -- ┃ Copyright (C) 2020 Thymon Arens 13 | -- ┃ 14 | -- ┃ This program is free software: you can redistribute it and/or modify 15 | -- ┃ it under the terms of the GNU General Public License as published by 16 | -- ┃ the Free Software Foundation, either version 3 of the License, or 17 | -- ┃ (at your option) any later version. 18 | -- ┃ 19 | -- ┃ This program is distributed in the hope that it will be useful, 20 | -- ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | -- ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 | -- ┃ GNU General Public License for more details. 23 | -- ┃ 24 | -- ┃ You should have received a copy of the GNU General Public License 25 | -- ┃ along with this program. If not, see . 26 | -- ┻ 27 | 28 | mysql:ready(function() 29 | print(mysql:fetchScalar('SELECT @parameter', { 30 | ['parameter'] = 1 31 | })) 32 | 33 | print(mysql:fetchScalar('SELECT :parameter', { 34 | ['parameter'] = 1 35 | })) 36 | 37 | mysql:fetchAllAsync('SELECT * FROM `users` LIMIT 10', {}, function(results) 38 | print(json.encode(results)) 39 | end) 40 | 41 | print(json.encode(mysql:fetchAll('SELECT * FROM `users` LIMIT 10', {}))) 42 | 43 | mysql:fetchFirstAsync('SELECT * FROM `users` LIMIT 1', {}, function(results) 44 | print(json.encode(results)) 45 | end) 46 | 47 | print(json.encode(mysql:fetchFirst('SELECT * FROM `users` LIMIT 1', {}))) 48 | end) -------------------------------------------------------------------------------- /fxmanifest.lua: -------------------------------------------------------------------------------- 1 | -- 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 2 | -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3 | -- ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 4 | -- ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 5 | -- ➤ Author: Thymon Arens 6 | -- ➤ Name: FiveM MySQL 7 | -- ➤ Version: 1.0.2 8 | -- ➤ Description: MySQL library made for FiveM 9 | -- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10 | -- 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 11 | -- ┳ 12 | -- ┃ Copyright (C) 2020 Thymon Arens 13 | -- ┃ 14 | -- ┃ This program is free software: you can redistribute it and/or modify 15 | -- ┃ it under the terms of the GNU General Public License as published by 16 | -- ┃ the Free Software Foundation, either version 3 of the License, or 17 | -- ┃ (at your option) any later version. 18 | -- ┃ 19 | -- ┃ This program is distributed in the hope that it will be useful, 20 | -- ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 21 | -- ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 | -- ┃ GNU General Public License for more details. 23 | -- ┃ 24 | -- ┃ You should have received a copy of the GNU General Public License 25 | -- ┃ along with this program. If not, see . 26 | -- ┻ 27 | 28 | -- ┳ 29 | -- ┃ 𝗙𝗫 𝗜𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻 30 | -- ┃ Information required to run this resource 31 | -- ┻ 32 | fx_version 'cerulean' 33 | game 'gta5' 34 | 35 | -- ┳ 36 | -- ┃ 𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗜𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻 37 | -- ┃ Information about the project 38 | -- ┻ 39 | name 'FiveM-MySQL' 40 | version '1.0.2' 41 | description 'MySQL library made for FiveM' 42 | url 'https://github.com/ThymonA/fivem-mysql/' 43 | 44 | -- ┳ 45 | -- ┃ 𝗔𝘂𝘁𝗵𝗼𝗿 𝗜𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻 46 | -- ┃ Information about the author of this project 47 | -- ┻ 48 | author 'Thymon Arens' 49 | contact 'contact@arens.io' 50 | discord 'Tigo#9999' 51 | github 'ThymonA' 52 | 53 | -- ┳ 54 | -- ┃ 𝗙𝗶𝗹𝗲 𝗜𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻 55 | -- ┃ File needs to be loaded and which order 56 | -- ┻ 57 | server_scripts { 58 | 'build/fivemsql.js' 59 | } -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "fivem-mysql", 3 | "version": "1.0.2", 4 | "description": "MySQL library made for FiveM", 5 | "main": "index.js", 6 | "scripts": { 7 | "test": "echo \"Error: no test specified\" && exit 1" 8 | }, 9 | "repository": { 10 | "type": "git", 11 | "url": "git+https://github.com/ThymonA/fivem-mysql.git" 12 | }, 13 | "keywords": [ 14 | "fivem", 15 | "async", 16 | "mysql", 17 | "library", 18 | "thymona" 19 | ], 20 | "author": "ThymonA", 21 | "license": "GPL-3.0-or-later", 22 | "bugs": { 23 | "url": "https://github.com/ThymonA/fivem-mysql/issues" 24 | }, 25 | "homepage": "https://github.com/ThymonA/fivem-mysql#readme", 26 | "dependencies": { 27 | "@citizenfx/server": "^1.0.3362-1", 28 | "@types/deasync": "^0.1.1", 29 | "@types/node": "^14.14.16", 30 | "@types/sqlstring": "^2.3.0", 31 | "cardinal": "^2.1.1", 32 | "mysql2": "^2.2.5", 33 | "pg-connection-string": "^2.4.0", 34 | "qs": "^6.9.4", 35 | "sqlstring": "^2.3.2", 36 | "tracer": "^1.1.4", 37 | "ts-node": "^9.1.1" 38 | }, 39 | "devDependencies": { 40 | "@types/qs": "^6.9.5", 41 | "ts-loader": "^8.0.12", 42 | "typescript": "^4.1.3", 43 | "webpack": "^5.11.1", 44 | "webpack-cli": "^4.3.0" 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /source/fivem/callback.ts: -------------------------------------------------------------------------------- 1 | /** 2 | 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 3 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4 | ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 5 | ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 6 | ➤ Author: Thymon Arens 7 | ➤ Name: FiveM MySQL 8 | ➤ Version: 1.0.2 9 | ➤ Description: MySQL library made for FiveM 10 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 | 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 12 | ┳ 13 | ┃ Copyright (C) 2020 Thymon Arens 14 | ┃ 15 | ┃ This program is free software: you can redistribute it and/or modify 16 | ┃ it under the terms of the GNU General Public License as published by 17 | ┃ the Free Software Foundation, either version 3 of the License, or 18 | ┃ (at your option) any later version. 19 | ┃ 20 | ┃ This program is distributed in the hope that it will be useful, 21 | ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | ┃ GNU General Public License for more details. 24 | ┃ 25 | ┃ You should have received a copy of the GNU General Public License 26 | ┃ along with this program. If not, see . 27 | ┻ 28 | */ 29 | 30 | import { OkPacket, RowDataPacket, ResultSetHeader } from 'mysql2'; 31 | 32 | declare interface CFXCallback { 33 | (result: RowDataPacket[][] | RowDataPacket[] | OkPacket | OkPacket[] | ResultSetHeader | boolean | number | any | any[], query?: string): void; 34 | }; 35 | 36 | export { 37 | CFXCallback, 38 | OkPacket, 39 | RowDataPacket, 40 | ResultSetHeader 41 | } -------------------------------------------------------------------------------- /source/mysql/config.ts: -------------------------------------------------------------------------------- 1 | /** 2 | 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 3 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4 | ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 5 | ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 6 | ➤ Author: Thymon Arens 7 | ➤ Name: FiveM MySQL 8 | ➤ Version: 1.0.2 9 | ➤ Description: MySQL library made for FiveM 10 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 | 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 12 | ┳ 13 | ┃ Copyright (C) 2020 Thymon Arens 14 | ┃ 15 | ┃ This program is free software: you can redistribute it and/or modify 16 | ┃ it under the terms of the GNU General Public License as published by 17 | ┃ the Free Software Foundation, either version 3 of the License, or 18 | ┃ (at your option) any later version. 19 | ┃ 20 | ┃ This program is distributed in the hope that it will be useful, 21 | ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | ┃ GNU General Public License for more details. 24 | ┃ 25 | ┃ You should have received a copy of the GNU General Public License 26 | ┃ along with this program. If not, see . 27 | ┻ 28 | */ 29 | 30 | import { format } from 'sqlstring'; 31 | import { parse } from 'qs'; 32 | import { parse as ConnectionString } from 'pg-connection-string'; 33 | import { ConnectionOptions } from 'mysql2'; 34 | 35 | function fixString(query: string): string { 36 | if (query.startsWith("'") && query.endsWith("'")) { 37 | query = query.substr(1, (query.length - 1)); 38 | 39 | return fixString(query); 40 | } 41 | 42 | return query; 43 | } 44 | 45 | function getConnectionFromString(rawConnectionString: string): ConnectionOptions { 46 | let connection = {} as ConnectionOptions; 47 | 48 | if (/(?:database|initial\scatalog)=(?:(.*?);|(.*))/gi.test(rawConnectionString)) { 49 | const conf = parse(rawConnectionString, {delimiter: /[;]/ }); 50 | const host = conf.host || conf.server || conf.data || conf.source || conf.addr || conf.address || null; 51 | const user = conf.user || conf.userid || conf.username || conf.uid || null; 52 | const password = conf.password || conf.pwd || conf.pass || null; 53 | const port = typeof conf.port == 'string' ? parseInt(conf.port) : typeof conf.port == 'number' ? conf.port : null; 54 | const database = conf.database || null; 55 | 56 | connection = { 57 | host: typeof host == 'string' ? host : null, 58 | user: typeof user == 'string' ? user : null, 59 | password: typeof password == 'string' ? password : null, 60 | port: typeof port == 'number' && (port > 0 && port < 65535) ? port : null, 61 | database: typeof database == 'string' ? database : null 62 | } 63 | } else { 64 | const connectionString = ConnectionString(rawConnectionString); 65 | 66 | connection = { 67 | host: typeof connectionString.host == 'string' ? connectionString.host : null, 68 | user: typeof connectionString.user == 'string' ? connectionString.user : null, 69 | password: typeof connectionString.password == 'string' ? connectionString.password : null, 70 | port: typeof connectionString.port == 'number' && (connectionString.port > 0 && connectionString.port < 65535) ? connectionString.port : null, 71 | database: typeof connectionString.database == 'string' ? connectionString.database : null 72 | } 73 | } 74 | 75 | connection.typeCast = true; 76 | connection.charset = 'UTF8_GENERAL_CI' 77 | connection.supportBigNumbers = true; 78 | connection.stringifyObjects = false; 79 | connection.insecureAuth = true; 80 | connection.dateStrings = true; 81 | connection.trace = true; 82 | connection.multipleStatements = true; 83 | connection.queryFormat = (q, v) => { 84 | let sql = q.replace(/[@]/g, ':') 85 | .replace(/`'/g, '`') 86 | .replace(/'`/g, '`') 87 | .replace(/`"/g, '`') 88 | .replace(/"`/g, '`') 89 | .replace(/``/g, '`'); 90 | 91 | sql = format(sql, v, false, 'local'); 92 | sql = fixString(sql); 93 | 94 | sql = sql.replace(/[@]/g, ':') 95 | .replace(/`'/g, '`') 96 | .replace(/'`/g, '`') 97 | .replace(/`"/g, '`') 98 | .replace(/"`/g, '`') 99 | .replace(/``/g, '`'); 100 | 101 | return sql; 102 | } 103 | 104 | connection.connectionLimit = 999; 105 | connection.queueLimit = 999; 106 | connection.decimalNumbers = true; 107 | 108 | return connection; 109 | } 110 | 111 | export { 112 | getConnectionFromString 113 | }; -------------------------------------------------------------------------------- /source/mysql/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 3 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4 | ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 5 | ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 6 | ➤ Author: Thymon Arens 7 | ➤ Name: FiveM MySQL 8 | ➤ Version: 1.0.2 9 | ➤ Description: MySQL library made for FiveM 10 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 | 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 12 | ┳ 13 | ┃ Copyright (C) 2020 Thymon Arens 14 | ┃ 15 | ┃ This program is free software: you can redistribute it and/or modify 16 | ┃ it under the terms of the GNU General Public License as published by 17 | ┃ the Free Software Foundation, either version 3 of the License, or 18 | ┃ (at your option) any later version. 19 | ┃ 20 | ┃ This program is distributed in the hope that it will be useful, 21 | ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | ┃ GNU General Public License for more details. 24 | ┃ 25 | ┃ You should have received a copy of the GNU General Public License 26 | ┃ along with this program. If not, see . 27 | ┻ 28 | */ 29 | 30 | import { getConnectionFromString as ConnectionString } from './config'; 31 | import { MySQLServer, CFXCallback, OkPacket, RowDataPacket, ResultSetHeader, keyValue } from './mysql'; 32 | 33 | export { 34 | MySQLServer, 35 | CFXCallback, 36 | OkPacket, 37 | RowDataPacket, 38 | ResultSetHeader, 39 | ConnectionString, 40 | keyValue 41 | }; -------------------------------------------------------------------------------- /source/mysql/mysql.ts: -------------------------------------------------------------------------------- 1 | /** 2 | 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 3 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4 | ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 5 | ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 6 | ➤ Author: Thymon Arens 7 | ➤ Name: FiveM MySQL 8 | ➤ Version: 1.0.2 9 | ➤ Description: MySQL library made for FiveM 10 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 | 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 12 | ┳ 13 | ┃ Copyright (C) 2020 Thymon Arens 14 | ┃ 15 | ┃ This program is free software: you can redistribute it and/or modify 16 | ┃ it under the terms of the GNU General Public License as published by 17 | ┃ the Free Software Foundation, either version 3 of the License, or 18 | ┃ (at your option) any later version. 19 | ┃ 20 | ┃ This program is distributed in the hope that it will be useful, 21 | ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | ┃ GNU General Public License for more details. 24 | ┃ 25 | ┃ You should have received a copy of the GNU General Public License 26 | ┃ along with this program. If not, see . 27 | ┻ 28 | */ 29 | 30 | import { CFXCallback, OkPacket, RowDataPacket, ResultSetHeader } from '../fivem/callback'; 31 | import { Tracer } from 'tracer'; 32 | import { Pool, PoolOptions, ConnectionOptions, QueryError, createPool, QueryOptions } from 'mysql2'; 33 | 34 | declare type keyValue = { [key: string]: any }; 35 | 36 | class MySQLServer { 37 | ready: boolean = false; 38 | options: PoolOptions; 39 | pool: Pool; 40 | logger: Tracer.Logger; 41 | 42 | constructor(connectionOptions: ConnectionOptions, logger: Tracer.Logger, readyCallback?: Function) { 43 | this.logger = logger; 44 | this.options = { 45 | ...connectionOptions, 46 | ...{ 47 | waitForConnections: true, 48 | connectionLimit: 20, 49 | queueLimit: 0, 50 | enableKeepAlive: true, 51 | namedPlaceholders: true 52 | } 53 | } as PoolOptions; 54 | 55 | this.pool = createPool(this.options); 56 | this.ready = true; 57 | 58 | if (readyCallback !== null && typeof readyCallback !== 'undefined') { 59 | readyCallback(); 60 | } 61 | } 62 | 63 | beginTransaction(callback: CFXCallback, resource: string) { 64 | return this.pool.beginTransaction((err) => { 65 | err ? this.errorCallback(err, callback, resource) : callback([]); 66 | }); 67 | } 68 | 69 | commit(callback: CFXCallback, resource: string) { 70 | return this.pool.commit((err) => { 71 | err ? this.errorCallback(err, callback, resource) : callback([]); 72 | }); 73 | } 74 | 75 | rollback(callback: CFXCallback) { 76 | return this.pool.rollback(() => callback([])); 77 | } 78 | 79 | end(resource: string) { 80 | this.pool?.end((err) => { 81 | if (err) { 82 | this.logger.error(`Resource '${resource}' throw an SQL error\n> ^1Message: ^7${err.message}`); 83 | } 84 | }); 85 | } 86 | 87 | execute(query: string, parameters: keyValue, callback: CFXCallback, resource: string) { 88 | return this.pool?.query({ 89 | sql: this.pool.format(query, parameters), 90 | values: parameters, 91 | nestTables: false, 92 | typeCast: true 93 | } as QueryOptions, parameters, (err, result) => { 94 | err ? this.errorCallback(err, callback, resource, query) : callback(result, query); 95 | }); 96 | } 97 | 98 | errorCallback(error: QueryError, callback: CFXCallback, resource: string, query?: string) { 99 | this.logger.error(`Resource '${resource}' throw an SQL error\n> ^1Message: ^7${error.message}`); 100 | callback([], query); 101 | } 102 | 103 | isReady() { return this.ready; } 104 | } 105 | 106 | export { 107 | MySQLServer, 108 | CFXCallback, 109 | OkPacket, 110 | RowDataPacket, 111 | ResultSetHeader, 112 | keyValue 113 | }; -------------------------------------------------------------------------------- /source/server.ts: -------------------------------------------------------------------------------- 1 | /** 2 | 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 3 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4 | ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 5 | ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 6 | ➤ Author: Thymon Arens 7 | ➤ Name: FiveM MySQL 8 | ➤ Version: 1.0.2 9 | ➤ Description: MySQL library made for FiveM 10 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 | 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 12 | ┳ 13 | ┃ Copyright (C) 2020 Thymon Arens 14 | ┃ 15 | ┃ This program is free software: you can redistribute it and/or modify 16 | ┃ it under the terms of the GNU General Public License as published by 17 | ┃ the Free Software Foundation, either version 3 of the License, or 18 | ┃ (at your option) any later version. 19 | ┃ 20 | ┃ This program is distributed in the hope that it will be useful, 21 | ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | ┃ GNU General Public License for more details. 24 | ┃ 25 | ┃ You should have received a copy of the GNU General Public License 26 | ┃ along with this program. If not, see . 27 | ┻ 28 | */ 29 | 30 | import { console, Tracer } from 'tracer'; 31 | import { GetLoggerConfig, GetSlowQueryWarning } from './tracer'; 32 | import { MySQLServer, CFXCallback, OkPacket, ConnectionString, keyValue } from './mysql'; 33 | 34 | let isReady = false; 35 | 36 | global.exports('isReady', (): boolean => { return isReady; }); 37 | 38 | const rawConnectionString = GetConvar('mysql_connection_string', 'mysql://root@localhost/fivem'); 39 | const connectionString = ConnectionString(rawConnectionString); 40 | const slowQueryWarning = GetSlowQueryWarning(); 41 | const logger = console(GetLoggerConfig()); 42 | const server = new MySQLServer(connectionString, logger, () => { isReady = true; }); 43 | 44 | function warnIfNeeded(time: [number, number], logger: Tracer.Logger, sql: string, resource: string, interval: number) { 45 | const queryTime = time[0] * 1e3 + time[1] * 1e-6; 46 | 47 | if (interval <= 0 || interval > queryTime) { return; } 48 | 49 | logger.warn(`Resource '${resource}' executed an query that took ${queryTime.toFixed()}ms to execute\n> ^4Query: ^7${sql}\n> ^4Execution time: ^7${queryTime.toFixed()}ms`); 50 | } 51 | 52 | global.exports('executeAsync', (query: string, parameters?: keyValue, callback?: CFXCallback, resource?: string): void => { 53 | const startTime = process.hrtime(); 54 | 55 | resource = resource ?? GetInvokingResource(); 56 | 57 | server.execute(query, parameters, (result, sql) => { 58 | warnIfNeeded(process.hrtime(startTime), logger, sql, resource, slowQueryWarning); 59 | callback(result); 60 | }, resource); 61 | }); 62 | 63 | global.exports('insertAsync', (query: string, parameters?: keyValue, callback?: CFXCallback, resource?: string): void => { 64 | const startTime = process.hrtime(); 65 | 66 | resource = resource ?? GetInvokingResource(); 67 | 68 | server.execute(query, parameters, (result, sql) => { 69 | warnIfNeeded(process.hrtime(startTime), logger, sql, resource, slowQueryWarning); 70 | callback((result)?.insertId ?? 0); 71 | }, resource); 72 | }); 73 | 74 | global.exports('fetchAllAsync', (query: string, parameters?: keyValue, callback?: CFXCallback, resource?: string): void => { 75 | const startTime = process.hrtime(); 76 | 77 | resource = resource ?? GetInvokingResource(); 78 | 79 | server.execute(query, parameters, (result, sql) => { 80 | warnIfNeeded(process.hrtime(startTime), logger, sql, resource, slowQueryWarning); 81 | callback(result); 82 | }, resource); 83 | }); 84 | 85 | global.exports('fetchScalarAsync', (query: string, parameters?: keyValue, callback?: CFXCallback, resource?: string): void => { 86 | const startTime = process.hrtime(); 87 | 88 | resource = resource ?? GetInvokingResource(); 89 | 90 | server.execute(query, parameters, (result, sql) => { 91 | warnIfNeeded(process.hrtime(startTime), logger, sql, resource, slowQueryWarning); 92 | callback((result && result[0]) ? (Object.values(result[0])[0] ?? null) : null); 93 | }, resource); 94 | }); 95 | 96 | global.exports('fetchFirstAsync', (query: string, parameters?: keyValue, callback?: CFXCallback, resource?: string): void => { 97 | const startTime = process.hrtime(); 98 | 99 | resource = resource ?? GetInvokingResource(); 100 | 101 | server.execute(query, parameters, (result, sql) => { 102 | warnIfNeeded(process.hrtime(startTime), logger, sql, resource, slowQueryWarning); 103 | callback((result && result[0]) ? result[0] ?? [] : []); 104 | }, resource); 105 | }); -------------------------------------------------------------------------------- /source/tracer/index.ts: -------------------------------------------------------------------------------- 1 | /** 2 | 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 3 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4 | ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 5 | ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 6 | ➤ Author: Thymon Arens 7 | ➤ Name: FiveM MySQL 8 | ➤ Version: 1.0.2 9 | ➤ Description: MySQL library made for FiveM 10 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 | 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 12 | ┳ 13 | ┃ Copyright (C) 2020 Thymon Arens 14 | ┃ 15 | ┃ This program is free software: you can redistribute it and/or modify 16 | ┃ it under the terms of the GNU General Public License as published by 17 | ┃ the Free Software Foundation, either version 3 of the License, or 18 | ┃ (at your option) any later version. 19 | ┃ 20 | ┃ This program is distributed in the hope that it will be useful, 21 | ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | ┃ GNU General Public License for more details. 24 | ┃ 25 | ┃ You should have received a copy of the GNU General Public License 26 | ┃ along with this program. If not, see . 27 | ┻ 28 | */ 29 | 30 | import { Tracer } from 'tracer'; 31 | 32 | const resource_name = GetCurrentResourceName(); 33 | 34 | function GetLoggerConfig(): Tracer.LoggerConfig { 35 | return { 36 | format: [ 37 | `^7[^4${resource_name}^7][^7{{title}}^7] ^7{{message}}^7`, 38 | { 39 | warn: `^7[^4${resource_name}^7][^3{{title}}^7] ^3{{message}}^7`, 40 | error: `^7[^4${resource_name}^7][^1{{title}}^7] ^1{{message}}^7`, 41 | fatal: `^7[^4${resource_name}^7][^1{{title}}^7] ^1{{message}}^7` 42 | } 43 | ], 44 | level: GetConvar('mysql_level', 'warn'), 45 | inspectOpt: { 46 | showHidden: false, 47 | depth: 0 48 | }, 49 | rootDir: GetResourcePath(GetCurrentResourceName()) 50 | } 51 | } 52 | 53 | function GetSlowQueryWarning(): number { 54 | const rawInterval = GetConvar('mysql_slow_query_warning', '500') || '500'; 55 | const interval = parseInt(rawInterval); 56 | 57 | return interval > 0 ? interval : -1; 58 | } 59 | 60 | export { 61 | GetLoggerConfig, 62 | GetSlowQueryWarning 63 | } -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "target": "ES2017", 4 | "module": "commonjs", 5 | "types": ["@citizenfx/server", "@types/node", "@types/qs", "@types/sqlstring"], 6 | }, 7 | "include": [ 8 | "source/mysql/**/*", 9 | "source/fivem/**/*", 10 | "source/tracer/**/*", 11 | "source/mysql/*", 12 | "source/fivem/*", 13 | "source/tracer/*", 14 | "source/server.ts" 15 | ], 16 | "exclude": [ 17 | "node_modules" 18 | ] 19 | } -------------------------------------------------------------------------------- /webpack.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | 𝗙𝗶𝘃𝗲𝗠 𝗠𝘆𝗦𝗤𝗟 - 𝗠𝘆𝗦𝗤𝗟 𝗹𝗶𝗯𝗿𝗮𝗿𝘆 𝗳𝗼𝗿 𝗙𝗶𝘃𝗲𝗠 3 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4 | ➤ License: https://choosealicense.com/licenses/gpl-3.0/ 5 | ➤ GitHub: https://github.com/ThymonA/fivem-mysql/ 6 | ➤ Author: Thymon Arens 7 | ➤ Name: FiveM MySQL 8 | ➤ Version: 1.0.2 9 | ➤ Description: MySQL library made for FiveM 10 | ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11 | 𝗚𝗡𝗨 𝗚𝗲𝗻𝗲𝗿𝗮𝗹 𝗣𝘂𝗯𝗹𝗶𝗰 𝗟𝗶𝗰𝗲𝗻𝘀𝗲 𝘃𝟯.𝟬 12 | ┳ 13 | ┃ Copyright (C) 2020 Thymon Arens 14 | ┃ 15 | ┃ This program is free software: you can redistribute it and/or modify 16 | ┃ it under the terms of the GNU General Public License as published by 17 | ┃ the Free Software Foundation, either version 3 of the License, or 18 | ┃ (at your option) any later version. 19 | ┃ 20 | ┃ This program is distributed in the hope that it will be useful, 21 | ┃ but WITHOUT ANY WARRANTY; without even the implied warranty of 22 | ┃ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 | ┃ GNU General Public License for more details. 24 | ┃ 25 | ┃ You should have received a copy of the GNU General Public License 26 | ┃ along with this program. If not, see . 27 | ┻ 28 | */ 29 | 30 | const path = require('path'); 31 | 32 | module.exports = { 33 | mode: 'production', 34 | target: 'node', 35 | optimization: { 36 | minimize: false, 37 | }, 38 | entry: './source/server.ts', 39 | module: { 40 | rules: [ 41 | { 42 | test: /\.tsx$/, 43 | use: 'ts-loader', 44 | exclude: /node_modules/ 45 | }, 46 | { 47 | test: /\.ts$/, 48 | use: 'ts-loader', 49 | exclude: /node_modules/ 50 | } 51 | ] 52 | }, 53 | resolve: { 54 | extensions: [ '.tsx', '.ts', '.js' ] 55 | }, 56 | output: { 57 | filename: 'fivemsql.js', 58 | path: path.resolve(__dirname, 'build') 59 | } 60 | } -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@citizenfx/server@^1.0.3362-1": 6 | "integrity" "sha512-k0hN/lLaz+bnAibIqDFOGQZazkqGIzD2HSeuf2WMpswSnt6pQnzwQZ/3o0GlXNWQlojOcpv6vEgXbS5VxaHTWA==" 7 | "resolved" "https://registry.npmjs.org/@citizenfx/server/-/server-1.0.3362-1.tgz" 8 | "version" "1.0.3362-1" 9 | 10 | "@discoveryjs/json-ext@^0.5.0": 11 | "integrity" "sha512-HyYEUDeIj5rRQU2Hk5HTB2uHsbRQpF70nvMhVzi+VJR0X+xNEhjPui4/kBf3VeH/wqD28PT4sVOm8qqLjBrSZg==" 12 | "resolved" "https://registry.npmjs.org/@discoveryjs/json-ext/-/json-ext-0.5.2.tgz" 13 | "version" "0.5.2" 14 | 15 | "@types/deasync@^0.1.1": 16 | "integrity" "sha512-/AsDEUsHjyzMX0UjPgysggxFO8r7//c4aS9aeQwHzgs5POBsqaBFWW9+KYFGUyx/VYT4HrT/+JzAGTEEL2d4OQ==" 17 | "resolved" "https://registry.npmjs.org/@types/deasync/-/deasync-0.1.1.tgz" 18 | "version" "0.1.1" 19 | 20 | "@types/eslint-scope@^3.7.0": 21 | "integrity" "sha512-O/ql2+rrCUe2W2rs7wMR+GqPRcgB6UiqN5RhrR5xruFlY7l9YLMn0ZkDzjoHLeiFkR8MCQZVudUuuvQ2BLC9Qw==" 22 | "resolved" "https://registry.npmjs.org/@types/eslint-scope/-/eslint-scope-3.7.0.tgz" 23 | "version" "3.7.0" 24 | dependencies: 25 | "@types/eslint" "*" 26 | "@types/estree" "*" 27 | 28 | "@types/eslint@*": 29 | "integrity" "sha512-I+1sYH+NPQ3/tVqCeUSBwTE/0heyvtXqpIopUUArlBm0Kpocb8FbMa3AZ/ASKIFpN3rnEx932TTXDbt9OXsNDw==" 30 | "resolved" "https://registry.npmjs.org/@types/eslint/-/eslint-7.2.6.tgz" 31 | "version" "7.2.6" 32 | dependencies: 33 | "@types/estree" "*" 34 | "@types/json-schema" "*" 35 | 36 | "@types/estree@*", "@types/estree@^0.0.46": 37 | "integrity" "sha512-laIjwTQaD+5DukBZaygQ79K1Z0jb1bPEMRrkXSLjtCcZm+abyp5YbrqpSLzD42FwWW6gK/aS4NYpJ804nG2brg==" 38 | "resolved" "https://registry.npmjs.org/@types/estree/-/estree-0.0.46.tgz" 39 | "version" "0.0.46" 40 | 41 | "@types/json-schema@*", "@types/json-schema@^7.0.6": 42 | "integrity" "sha512-3c+yGKvVP5Y9TYBEibGNR+kLtijnj7mYrXRg+WpFb2X9xm04g/DXYkfg4hmzJQosc9snFNUPkbYIhu+KAm6jJw==" 43 | "resolved" "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.6.tgz" 44 | "version" "7.0.6" 45 | 46 | "@types/node@*", "@types/node@^14.14.16": 47 | "integrity" "sha512-naXYePhweTi+BMv11TgioE2/FXU4fSl29HAH1ffxVciNsH3rYXjNP2yM8wqmSm7jS20gM8TIklKiTen+1iVncw==" 48 | "resolved" "https://registry.npmjs.org/@types/node/-/node-14.14.16.tgz" 49 | "version" "14.14.16" 50 | 51 | "@types/qs@^6.9.5": 52 | "integrity" "sha512-/JHkVHtx/REVG0VVToGRGH2+23hsYLHdyG+GrvoUGlGAd0ErauXDyvHtRI/7H7mzLm+tBCKA7pfcpkQ1lf58iQ==" 53 | "resolved" "https://registry.npmjs.org/@types/qs/-/qs-6.9.5.tgz" 54 | "version" "6.9.5" 55 | 56 | "@types/sqlstring@^2.3.0": 57 | "integrity" "sha512-kMFecDYYFk/f5fljO0UFrSPwU1JxY4mIjX6ic7MHv5nD6sEd3NYLoWcOV/3s6Drs7RHdCwTQdD5NdgVl0I2zzg==" 58 | "resolved" "https://registry.npmjs.org/@types/sqlstring/-/sqlstring-2.3.0.tgz" 59 | "version" "2.3.0" 60 | 61 | "@webassemblyjs/ast@1.11.0": 62 | "integrity" "sha512-kX2W49LWsbthrmIRMbQZuQDhGtjyqXfEmmHyEi4XWnSZtPmxY0+3anPIzsnRb45VH/J55zlOfWvZuY47aJZTJg==" 63 | "resolved" "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.11.0.tgz" 64 | "version" "1.11.0" 65 | dependencies: 66 | "@webassemblyjs/helper-numbers" "1.11.0" 67 | "@webassemblyjs/helper-wasm-bytecode" "1.11.0" 68 | 69 | "@webassemblyjs/floating-point-hex-parser@1.11.0": 70 | "integrity" "sha512-Q/aVYs/VnPDVYvsCBL/gSgwmfjeCb4LW8+TMrO3cSzJImgv8lxxEPM2JA5jMrivE7LSz3V+PFqtMbls3m1exDA==" 71 | "resolved" "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.11.0.tgz" 72 | "version" "1.11.0" 73 | 74 | "@webassemblyjs/helper-api-error@1.11.0": 75 | "integrity" "sha512-baT/va95eXiXb2QflSx95QGT5ClzWpGaa8L7JnJbgzoYeaA27FCvuBXU758l+KXWRndEmUXjP0Q5fibhavIn8w==" 76 | "resolved" "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.0.tgz" 77 | "version" "1.11.0" 78 | 79 | "@webassemblyjs/helper-buffer@1.11.0": 80 | "integrity" "sha512-u9HPBEl4DS+vA8qLQdEQ6N/eJQ7gT7aNvMIo8AAWvAl/xMrcOSiI2M0MAnMCy3jIFke7bEee/JwdX1nUpCtdyA==" 81 | "resolved" "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.11.0.tgz" 82 | "version" "1.11.0" 83 | 84 | "@webassemblyjs/helper-numbers@1.11.0": 85 | "integrity" "sha512-DhRQKelIj01s5IgdsOJMKLppI+4zpmcMQ3XboFPLwCpSNH6Hqo1ritgHgD0nqHeSYqofA6aBN/NmXuGjM1jEfQ==" 86 | "resolved" "https://registry.npmjs.org/@webassemblyjs/helper-numbers/-/helper-numbers-1.11.0.tgz" 87 | "version" "1.11.0" 88 | dependencies: 89 | "@webassemblyjs/floating-point-hex-parser" "1.11.0" 90 | "@webassemblyjs/helper-api-error" "1.11.0" 91 | "@xtuc/long" "4.2.2" 92 | 93 | "@webassemblyjs/helper-wasm-bytecode@1.11.0": 94 | "integrity" "sha512-MbmhvxXExm542tWREgSFnOVo07fDpsBJg3sIl6fSp9xuu75eGz5lz31q7wTLffwL3Za7XNRCMZy210+tnsUSEA==" 95 | "resolved" "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.11.0.tgz" 96 | "version" "1.11.0" 97 | 98 | "@webassemblyjs/helper-wasm-section@1.11.0": 99 | "integrity" "sha512-3Eb88hcbfY/FCukrg6i3EH8H2UsD7x8Vy47iVJrP967A9JGqgBVL9aH71SETPx1JrGsOUVLo0c7vMCN22ytJew==" 100 | "resolved" "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.11.0.tgz" 101 | "version" "1.11.0" 102 | dependencies: 103 | "@webassemblyjs/ast" "1.11.0" 104 | "@webassemblyjs/helper-buffer" "1.11.0" 105 | "@webassemblyjs/helper-wasm-bytecode" "1.11.0" 106 | "@webassemblyjs/wasm-gen" "1.11.0" 107 | 108 | "@webassemblyjs/ieee754@1.11.0": 109 | "integrity" "sha512-KXzOqpcYQwAfeQ6WbF6HXo+0udBNmw0iXDmEK5sFlmQdmND+tr773Ti8/5T/M6Tl/413ArSJErATd8In3B+WBA==" 110 | "resolved" "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.11.0.tgz" 111 | "version" "1.11.0" 112 | dependencies: 113 | "@xtuc/ieee754" "^1.2.0" 114 | 115 | "@webassemblyjs/leb128@1.11.0": 116 | "integrity" "sha512-aqbsHa1mSQAbeeNcl38un6qVY++hh8OpCOzxhixSYgbRfNWcxJNJQwe2rezK9XEcssJbbWIkblaJRwGMS9zp+g==" 117 | "resolved" "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.11.0.tgz" 118 | "version" "1.11.0" 119 | dependencies: 120 | "@xtuc/long" "4.2.2" 121 | 122 | "@webassemblyjs/utf8@1.11.0": 123 | "integrity" "sha512-A/lclGxH6SpSLSyFowMzO/+aDEPU4hvEiooCMXQPcQFPPJaYcPQNKGOCLUySJsYJ4trbpr+Fs08n4jelkVTGVw==" 124 | "resolved" "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.11.0.tgz" 125 | "version" "1.11.0" 126 | 127 | "@webassemblyjs/wasm-edit@1.11.0": 128 | "integrity" "sha512-JHQ0damXy0G6J9ucyKVXO2j08JVJ2ntkdJlq1UTiUrIgfGMmA7Ik5VdC/L8hBK46kVJgujkBIoMtT8yVr+yVOQ==" 129 | "resolved" "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.11.0.tgz" 130 | "version" "1.11.0" 131 | dependencies: 132 | "@webassemblyjs/ast" "1.11.0" 133 | "@webassemblyjs/helper-buffer" "1.11.0" 134 | "@webassemblyjs/helper-wasm-bytecode" "1.11.0" 135 | "@webassemblyjs/helper-wasm-section" "1.11.0" 136 | "@webassemblyjs/wasm-gen" "1.11.0" 137 | "@webassemblyjs/wasm-opt" "1.11.0" 138 | "@webassemblyjs/wasm-parser" "1.11.0" 139 | "@webassemblyjs/wast-printer" "1.11.0" 140 | 141 | "@webassemblyjs/wasm-gen@1.11.0": 142 | "integrity" "sha512-BEUv1aj0WptCZ9kIS30th5ILASUnAPEvE3tVMTrItnZRT9tXCLW2LEXT8ezLw59rqPP9klh9LPmpU+WmRQmCPQ==" 143 | "resolved" "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.11.0.tgz" 144 | "version" "1.11.0" 145 | dependencies: 146 | "@webassemblyjs/ast" "1.11.0" 147 | "@webassemblyjs/helper-wasm-bytecode" "1.11.0" 148 | "@webassemblyjs/ieee754" "1.11.0" 149 | "@webassemblyjs/leb128" "1.11.0" 150 | "@webassemblyjs/utf8" "1.11.0" 151 | 152 | "@webassemblyjs/wasm-opt@1.11.0": 153 | "integrity" "sha512-tHUSP5F4ywyh3hZ0+fDQuWxKx3mJiPeFufg+9gwTpYp324mPCQgnuVKwzLTZVqj0duRDovnPaZqDwoyhIO8kYg==" 154 | "resolved" "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.11.0.tgz" 155 | "version" "1.11.0" 156 | dependencies: 157 | "@webassemblyjs/ast" "1.11.0" 158 | "@webassemblyjs/helper-buffer" "1.11.0" 159 | "@webassemblyjs/wasm-gen" "1.11.0" 160 | "@webassemblyjs/wasm-parser" "1.11.0" 161 | 162 | "@webassemblyjs/wasm-parser@1.11.0": 163 | "integrity" "sha512-6L285Sgu9gphrcpDXINvm0M9BskznnzJTE7gYkjDbxET28shDqp27wpruyx3C2S/dvEwiigBwLA1cz7lNUi0kw==" 164 | "resolved" "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.11.0.tgz" 165 | "version" "1.11.0" 166 | dependencies: 167 | "@webassemblyjs/ast" "1.11.0" 168 | "@webassemblyjs/helper-api-error" "1.11.0" 169 | "@webassemblyjs/helper-wasm-bytecode" "1.11.0" 170 | "@webassemblyjs/ieee754" "1.11.0" 171 | "@webassemblyjs/leb128" "1.11.0" 172 | "@webassemblyjs/utf8" "1.11.0" 173 | 174 | "@webassemblyjs/wast-printer@1.11.0": 175 | "integrity" "sha512-Fg5OX46pRdTgB7rKIUojkh9vXaVN6sGYCnEiJN1GYkb0RPwShZXp6KTDqmoMdQPKhcroOXh3fEzmkWmCYaKYhQ==" 176 | "resolved" "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.11.0.tgz" 177 | "version" "1.11.0" 178 | dependencies: 179 | "@webassemblyjs/ast" "1.11.0" 180 | "@xtuc/long" "4.2.2" 181 | 182 | "@webpack-cli/info@^1.2.0": 183 | "integrity" "sha512-+wA8lBKopgKmN76BSGJVJby5ZXDlsrO6p/nm7fUBsHznRNWB/ozotJP7Yfcz8JPfqeG2LxwYlTH2u6D9a/0XAw==" 184 | "resolved" "https://registry.npmjs.org/@webpack-cli/info/-/info-1.2.0.tgz" 185 | "version" "1.2.0" 186 | dependencies: 187 | "envinfo" "^7.7.3" 188 | 189 | "@webpack-cli/serve@^1.2.0": 190 | "integrity" "sha512-jI3P7jMp/AXDSPkM+ClwRcJZbxnlvNC8bVZBmyRr4scMMZ4p5WQcXkw3Q+Hc7RQekomJlBMN+UQGliT4hhG8Vw==" 191 | "resolved" "https://registry.npmjs.org/@webpack-cli/serve/-/serve-1.2.0.tgz" 192 | "version" "1.2.0" 193 | 194 | "@xtuc/ieee754@^1.2.0": 195 | "integrity" "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" 196 | "resolved" "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz" 197 | "version" "1.2.0" 198 | 199 | "@xtuc/long@4.2.2": 200 | "integrity" "sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==" 201 | "resolved" "https://registry.npmjs.org/@xtuc/long/-/long-4.2.2.tgz" 202 | "version" "4.2.2" 203 | 204 | "acorn@^8.0.4": 205 | "integrity" "sha512-XNP0PqF1XD19ZlLKvB7cMmnZswW4C/03pRHgirB30uSJTaS3A3V1/P4sS3HPvFmjoriPCJQs+JDSbm4bL1TxGQ==" 206 | "resolved" "https://registry.npmjs.org/acorn/-/acorn-8.0.4.tgz" 207 | "version" "8.0.4" 208 | 209 | "ajv-keywords@^3.5.2": 210 | "integrity" "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==" 211 | "resolved" "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz" 212 | "version" "3.5.2" 213 | 214 | "ajv@^6.12.5", "ajv@^6.9.1": 215 | "integrity" "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==" 216 | "resolved" "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz" 217 | "version" "6.12.6" 218 | dependencies: 219 | "fast-deep-equal" "^3.1.1" 220 | "fast-json-stable-stringify" "^2.0.0" 221 | "json-schema-traverse" "^0.4.1" 222 | "uri-js" "^4.2.2" 223 | 224 | "ansi-colors@^4.1.1": 225 | "integrity" "sha512-JoX0apGbHaUJBNl6yF+p6JAFYZ666/hhCGKN5t9QFjbJQKUU/g8MNbFDbvfrgKXvI1QpZplPOnwIo99lX/AAmA==" 226 | "resolved" "https://registry.npmjs.org/ansi-colors/-/ansi-colors-4.1.1.tgz" 227 | "version" "4.1.1" 228 | 229 | "ansi-styles@^3.2.1": 230 | "integrity" "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==" 231 | "resolved" "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz" 232 | "version" "3.2.1" 233 | dependencies: 234 | "color-convert" "^1.9.0" 235 | 236 | "ansicolors@~0.3.2": 237 | "integrity" "sha1-ZlWX3oap/+Oqm/vmyuXG6kJrSXk=" 238 | "resolved" "https://registry.npmjs.org/ansicolors/-/ansicolors-0.3.2.tgz" 239 | "version" "0.3.2" 240 | 241 | "arg@^4.1.0": 242 | "integrity" "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" 243 | "resolved" "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz" 244 | "version" "4.1.3" 245 | 246 | "big.js@^5.2.2": 247 | "integrity" "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==" 248 | "resolved" "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz" 249 | "version" "5.2.2" 250 | 251 | "braces@^3.0.1": 252 | "integrity" "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==" 253 | "resolved" "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz" 254 | "version" "3.0.2" 255 | dependencies: 256 | "fill-range" "^7.0.1" 257 | 258 | "browserslist@^4.14.5": 259 | "integrity" "sha512-/j6k8R0p3nxOC6kx5JGAxsnhc9ixaWJfYc+TNTzxg6+ARaESAvQGV7h0uNOB4t+pLQJZWzcrMxXOxjgsCj3dqQ==" 260 | "resolved" "https://registry.npmjs.org/browserslist/-/browserslist-4.16.0.tgz" 261 | "version" "4.16.0" 262 | dependencies: 263 | "caniuse-lite" "^1.0.30001165" 264 | "colorette" "^1.2.1" 265 | "electron-to-chromium" "^1.3.621" 266 | "escalade" "^3.1.1" 267 | "node-releases" "^1.1.67" 268 | 269 | "buffer-from@^1.0.0": 270 | "integrity" "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" 271 | "resolved" "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz" 272 | "version" "1.1.1" 273 | 274 | "caniuse-lite@^1.0.30001165": 275 | "integrity" "sha512-5Alrh8TTYPG9IH4UkRqEBZoEToWRLvPbSQokvzSz0lii8/FOWKG4keO1HoYfPWs8IF/NH/dyNPg1cmJGvV3Zlg==" 276 | "resolved" "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001171.tgz" 277 | "version" "1.0.30001171" 278 | 279 | "cardinal@^2.1.1": 280 | "integrity" "sha1-fMEFXYItISlU0HsIXeolHMe8VQU=" 281 | "resolved" "https://registry.npmjs.org/cardinal/-/cardinal-2.1.1.tgz" 282 | "version" "2.1.1" 283 | dependencies: 284 | "ansicolors" "~0.3.2" 285 | "redeyed" "~2.1.0" 286 | 287 | "chalk@^2.3.0": 288 | "integrity" "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==" 289 | "resolved" "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz" 290 | "version" "2.4.2" 291 | dependencies: 292 | "ansi-styles" "^3.2.1" 293 | "escape-string-regexp" "^1.0.5" 294 | "supports-color" "^5.3.0" 295 | 296 | "chrome-trace-event@^1.0.2": 297 | "integrity" "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==" 298 | "resolved" "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz" 299 | "version" "1.0.2" 300 | dependencies: 301 | "tslib" "^1.9.0" 302 | 303 | "color-convert@^1.9.0": 304 | "integrity" "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==" 305 | "resolved" "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz" 306 | "version" "1.9.3" 307 | dependencies: 308 | "color-name" "1.1.3" 309 | 310 | "color-name@1.1.3": 311 | "integrity" "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" 312 | "resolved" "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz" 313 | "version" "1.1.3" 314 | 315 | "colorette@^1.2.1": 316 | "integrity" "sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw==" 317 | "resolved" "https://registry.npmjs.org/colorette/-/colorette-1.2.1.tgz" 318 | "version" "1.2.1" 319 | 320 | "colors@1.4.0": 321 | "integrity" "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" 322 | "resolved" "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz" 323 | "version" "1.4.0" 324 | 325 | "commander@^2.20.0": 326 | "integrity" "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" 327 | "resolved" "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz" 328 | "version" "2.20.3" 329 | 330 | "commander@^6.2.0": 331 | "integrity" "sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA==" 332 | "resolved" "https://registry.npmjs.org/commander/-/commander-6.2.1.tgz" 333 | "version" "6.2.1" 334 | 335 | "core-util-is@~1.0.0": 336 | "integrity" "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" 337 | "resolved" "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz" 338 | "version" "1.0.2" 339 | 340 | "create-require@^1.1.0": 341 | "integrity" "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==" 342 | "resolved" "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz" 343 | "version" "1.1.1" 344 | 345 | "cross-spawn@^7.0.0": 346 | "integrity" "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==" 347 | "resolved" "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz" 348 | "version" "7.0.3" 349 | dependencies: 350 | "path-key" "^3.1.0" 351 | "shebang-command" "^2.0.0" 352 | "which" "^2.0.1" 353 | 354 | "dateformat@3.0.3": 355 | "integrity" "sha512-jyCETtSl3VMZMWeRo7iY1FL19ges1t55hMo5yaam4Jrsm5EPL89UQkoQRyiI+Yf4k8r2ZpdngkV8hr1lIdjb3Q==" 356 | "resolved" "https://registry.npmjs.org/dateformat/-/dateformat-3.0.3.tgz" 357 | "version" "3.0.3" 358 | 359 | "denque@^1.4.1": 360 | "integrity" "sha512-OfzPuSZKGcgr96rf1oODnfjqBFmr1DVoc/TrItj3Ohe0Ah1C5WX5Baquw/9U9KovnQ88EqmJbD66rKYUQYN1tQ==" 361 | "resolved" "https://registry.npmjs.org/denque/-/denque-1.4.1.tgz" 362 | "version" "1.4.1" 363 | 364 | "diff@^4.0.1": 365 | "integrity" "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==" 366 | "resolved" "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz" 367 | "version" "4.0.2" 368 | 369 | "electron-to-chromium@^1.3.621": 370 | "integrity" "sha512-bsVCsONiVX1abkWdH7KtpuDAhsQ3N3bjPYhROSAXE78roJKet0Y5wznA14JE9pzbwSZmSMAW6KiKYf1RvbTJkA==" 371 | "resolved" "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.633.tgz" 372 | "version" "1.3.633" 373 | 374 | "emojis-list@^3.0.0": 375 | "integrity" "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==" 376 | "resolved" "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz" 377 | "version" "3.0.0" 378 | 379 | "end-of-stream@^1.1.0": 380 | "integrity" "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==" 381 | "resolved" "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz" 382 | "version" "1.4.4" 383 | dependencies: 384 | "once" "^1.4.0" 385 | 386 | "enhanced-resolve@^4.0.0": 387 | "integrity" "sha512-3e87LvavsdxyoCfGusJnrZ5G8SLPOFeHSNpZI/ATL9a5leXo2k0w6MKnbqhdBad9qTobSfB20Ld7UmgoNbAZkQ==" 388 | "resolved" "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.3.0.tgz" 389 | "version" "4.3.0" 390 | dependencies: 391 | "graceful-fs" "^4.1.2" 392 | "memory-fs" "^0.5.0" 393 | "tapable" "^1.0.0" 394 | 395 | "enhanced-resolve@^5.7.0": 396 | "integrity" "sha512-6njwt/NsZFUKhM6j9U8hzVyD4E4r0x7NQzhTCbcWOJ0IQjNSAoalWmb0AE51Wn+fwan5qVESWi7t2ToBxs9vrw==" 397 | "resolved" "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.7.0.tgz" 398 | "version" "5.7.0" 399 | dependencies: 400 | "graceful-fs" "^4.2.4" 401 | "tapable" "^2.2.0" 402 | 403 | "enquirer@^2.3.6": 404 | "integrity" "sha512-yjNnPr315/FjS4zIsUxYguYUPP2e1NK4d7E7ZOLiyYCcbFBiTMyID+2wvm2w6+pZ/odMA7cRkjhsPbltwBOrLg==" 405 | "resolved" "https://registry.npmjs.org/enquirer/-/enquirer-2.3.6.tgz" 406 | "version" "2.3.6" 407 | dependencies: 408 | "ansi-colors" "^4.1.1" 409 | 410 | "envinfo@^7.7.3": 411 | "integrity" "sha512-46+j5QxbPWza0PB1i15nZx0xQ4I/EfQxg9J8Had3b408SV63nEtor2e+oiY63amTo9KTuh2a3XLObNwduxYwwA==" 412 | "resolved" "https://registry.npmjs.org/envinfo/-/envinfo-7.7.3.tgz" 413 | "version" "7.7.3" 414 | 415 | "errno@^0.1.3": 416 | "integrity" "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==" 417 | "resolved" "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz" 418 | "version" "0.1.8" 419 | dependencies: 420 | "prr" "~1.0.1" 421 | 422 | "es-module-lexer@^0.3.26": 423 | "integrity" "sha512-Va0Q/xqtrss45hWzP8CZJwzGSZJjDM5/MJRE3IXXnUCcVLElR9BRaE9F62BopysASyc4nM3uwhSW7FFB9nlWAA==" 424 | "resolved" "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-0.3.26.tgz" 425 | "version" "0.3.26" 426 | 427 | "escalade@^3.1.1": 428 | "integrity" "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==" 429 | "resolved" "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz" 430 | "version" "3.1.1" 431 | 432 | "escape-string-regexp@^1.0.5": 433 | "integrity" "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 434 | "resolved" "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz" 435 | "version" "1.0.5" 436 | 437 | "eslint-scope@^5.1.1": 438 | "integrity" "sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==" 439 | "resolved" "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.1.1.tgz" 440 | "version" "5.1.1" 441 | dependencies: 442 | "esrecurse" "^4.3.0" 443 | "estraverse" "^4.1.1" 444 | 445 | "esprima@~4.0.0": 446 | "integrity" "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" 447 | "resolved" "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz" 448 | "version" "4.0.1" 449 | 450 | "esrecurse@^4.3.0": 451 | "integrity" "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==" 452 | "resolved" "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz" 453 | "version" "4.3.0" 454 | dependencies: 455 | "estraverse" "^5.2.0" 456 | 457 | "estraverse@^4.1.1": 458 | "integrity" "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" 459 | "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz" 460 | "version" "4.3.0" 461 | 462 | "estraverse@^5.2.0": 463 | "integrity" "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==" 464 | "resolved" "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz" 465 | "version" "5.2.0" 466 | 467 | "events@^3.2.0": 468 | "integrity" "sha512-/46HWwbfCX2xTawVfkKLGxMifJYQBWMwY1mjywRtb4c9x8l5NP3KoJtnIOiL1hfdRkIuYhETxQlo62IF8tcnlg==" 469 | "resolved" "https://registry.npmjs.org/events/-/events-3.2.0.tgz" 470 | "version" "3.2.0" 471 | 472 | "execa@^4.1.0": 473 | "integrity" "sha512-j5W0//W7f8UxAn8hXVnwG8tLwdiUy4FJLcSupCg6maBYZDpyBvTApK7KyuI4bKj8KOh1r2YH+6ucuYtJv1bTZA==" 474 | "resolved" "https://registry.npmjs.org/execa/-/execa-4.1.0.tgz" 475 | "version" "4.1.0" 476 | dependencies: 477 | "cross-spawn" "^7.0.0" 478 | "get-stream" "^5.0.0" 479 | "human-signals" "^1.1.1" 480 | "is-stream" "^2.0.0" 481 | "merge-stream" "^2.0.0" 482 | "npm-run-path" "^4.0.0" 483 | "onetime" "^5.1.0" 484 | "signal-exit" "^3.0.2" 485 | "strip-final-newline" "^2.0.0" 486 | 487 | "fast-deep-equal@^3.1.1": 488 | "integrity" "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" 489 | "resolved" "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz" 490 | "version" "3.1.3" 491 | 492 | "fast-json-stable-stringify@^2.0.0": 493 | "integrity" "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" 494 | "resolved" "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz" 495 | "version" "2.1.0" 496 | 497 | "fastest-levenshtein@^1.0.12": 498 | "integrity" "sha512-On2N+BpYJ15xIC974QNVuYGMOlEVt4s0EOI3wwMqOmK1fdDY+FN/zltPV8vosq4ad4c/gJ1KHScUn/6AWIgiow==" 499 | "resolved" "https://registry.npmjs.org/fastest-levenshtein/-/fastest-levenshtein-1.0.12.tgz" 500 | "version" "1.0.12" 501 | 502 | "fill-range@^7.0.1": 503 | "integrity" "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==" 504 | "resolved" "https://registry.npmjs.org/fill-range/-/fill-range-7.0.1.tgz" 505 | "version" "7.0.1" 506 | dependencies: 507 | "to-regex-range" "^5.0.1" 508 | 509 | "find-up@^4.0.0": 510 | "integrity" "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==" 511 | "resolved" "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz" 512 | "version" "4.1.0" 513 | dependencies: 514 | "locate-path" "^5.0.0" 515 | "path-exists" "^4.0.0" 516 | 517 | "function-bind@^1.1.1": 518 | "integrity" "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" 519 | "resolved" "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz" 520 | "version" "1.1.1" 521 | 522 | "generate-function@^2.3.1": 523 | "integrity" "sha512-eeB5GfMNeevm/GRYq20ShmsaGcmI81kIX2K9XQx5miC8KdHaC6Jm0qQ8ZNeGOi7wYB8OsdxKs+Y2oVuTFuVwKQ==" 524 | "resolved" "https://registry.npmjs.org/generate-function/-/generate-function-2.3.1.tgz" 525 | "version" "2.3.1" 526 | dependencies: 527 | "is-property" "^1.0.2" 528 | 529 | "get-stream@^5.0.0": 530 | "integrity" "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==" 531 | "resolved" "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz" 532 | "version" "5.2.0" 533 | dependencies: 534 | "pump" "^3.0.0" 535 | 536 | "glob-to-regexp@^0.4.1": 537 | "integrity" "sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==" 538 | "resolved" "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz" 539 | "version" "0.4.1" 540 | 541 | "graceful-fs@^4.1.2", "graceful-fs@^4.2.4": 542 | "integrity" "sha512-WjKPNJF79dtJAVniUlGGWHYGz2jWxT6VhN/4m1NdkbZ2nOsEF+cI1Edgql5zCRhs/VsQYRvrXctxktVXZUkixw==" 543 | "resolved" "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.4.tgz" 544 | "version" "4.2.4" 545 | 546 | "has-flag@^3.0.0": 547 | "integrity" "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" 548 | "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz" 549 | "version" "3.0.0" 550 | 551 | "has-flag@^4.0.0": 552 | "integrity" "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==" 553 | "resolved" "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz" 554 | "version" "4.0.0" 555 | 556 | "has@^1.0.3": 557 | "integrity" "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==" 558 | "resolved" "https://registry.npmjs.org/has/-/has-1.0.3.tgz" 559 | "version" "1.0.3" 560 | dependencies: 561 | "function-bind" "^1.1.1" 562 | 563 | "human-signals@^1.1.1": 564 | "integrity" "sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==" 565 | "resolved" "https://registry.npmjs.org/human-signals/-/human-signals-1.1.1.tgz" 566 | "version" "1.1.1" 567 | 568 | "iconv-lite@^0.6.2": 569 | "integrity" "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==" 570 | "resolved" "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz" 571 | "version" "0.6.2" 572 | dependencies: 573 | "safer-buffer" ">= 2.1.2 < 3.0.0" 574 | 575 | "import-local@^3.0.2": 576 | "integrity" "sha512-vjL3+w0oulAVZ0hBHnxa/Nm5TAurf9YLQJDhqRZyqb+VKGOB6LU8t9H1Nr5CIo16vh9XfJTOoHwU0B71S557gA==" 577 | "resolved" "https://registry.npmjs.org/import-local/-/import-local-3.0.2.tgz" 578 | "version" "3.0.2" 579 | dependencies: 580 | "pkg-dir" "^4.2.0" 581 | "resolve-cwd" "^3.0.0" 582 | 583 | "inherits@~2.0.3": 584 | "integrity" "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 585 | "resolved" "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz" 586 | "version" "2.0.4" 587 | 588 | "interpret@^2.2.0": 589 | "integrity" "sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw==" 590 | "resolved" "https://registry.npmjs.org/interpret/-/interpret-2.2.0.tgz" 591 | "version" "2.2.0" 592 | 593 | "is-core-module@^2.1.0": 594 | "integrity" "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==" 595 | "resolved" "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz" 596 | "version" "2.2.0" 597 | dependencies: 598 | "has" "^1.0.3" 599 | 600 | "is-number@^7.0.0": 601 | "integrity" "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==" 602 | "resolved" "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz" 603 | "version" "7.0.0" 604 | 605 | "is-property@^1.0.2": 606 | "integrity" "sha1-V/4cTkhHTt1lsJkR8msc1Ald2oQ=" 607 | "resolved" "https://registry.npmjs.org/is-property/-/is-property-1.0.2.tgz" 608 | "version" "1.0.2" 609 | 610 | "is-stream@^2.0.0": 611 | "integrity" "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==" 612 | "resolved" "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz" 613 | "version" "2.0.0" 614 | 615 | "isarray@~1.0.0": 616 | "integrity" "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" 617 | "resolved" "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz" 618 | "version" "1.0.0" 619 | 620 | "isexe@^2.0.0": 621 | "integrity" "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" 622 | "resolved" "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz" 623 | "version" "2.0.0" 624 | 625 | "jest-worker@^26.6.2": 626 | "integrity" "sha512-KWYVV1c4i+jbMpaBC+U++4Va0cp8OisU185o73T1vo99hqi7w8tSJfUXYswwqqrjzwxa6KpRK54WhPvwf5w6PQ==" 627 | "resolved" "https://registry.npmjs.org/jest-worker/-/jest-worker-26.6.2.tgz" 628 | "version" "26.6.2" 629 | dependencies: 630 | "@types/node" "*" 631 | "merge-stream" "^2.0.0" 632 | "supports-color" "^7.0.0" 633 | 634 | "json-parse-better-errors@^1.0.2": 635 | "integrity" "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" 636 | "resolved" "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz" 637 | "version" "1.0.2" 638 | 639 | "json-schema-traverse@^0.4.1": 640 | "integrity" "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" 641 | "resolved" "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz" 642 | "version" "0.4.1" 643 | 644 | "json5@^1.0.1": 645 | "integrity" "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==" 646 | "resolved" "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz" 647 | "version" "1.0.1" 648 | dependencies: 649 | "minimist" "^1.2.0" 650 | 651 | "loader-runner@^4.2.0": 652 | "integrity" "sha512-92+huvxMvYlMzMt0iIOukcwYBFpkYJdpl2xsZ7LrlayO7E8SOv+JJUEK17B/dJIHAOLMfh2dZZ/Y18WgmGtYNw==" 653 | "resolved" "https://registry.npmjs.org/loader-runner/-/loader-runner-4.2.0.tgz" 654 | "version" "4.2.0" 655 | 656 | "loader-utils@^1.0.2": 657 | "integrity" "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==" 658 | "resolved" "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz" 659 | "version" "1.4.0" 660 | dependencies: 661 | "big.js" "^5.2.2" 662 | "emojis-list" "^3.0.0" 663 | "json5" "^1.0.1" 664 | 665 | "locate-path@^5.0.0": 666 | "integrity" "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==" 667 | "resolved" "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz" 668 | "version" "5.0.0" 669 | dependencies: 670 | "p-locate" "^4.1.0" 671 | 672 | "lodash@^4.17.15": 673 | "integrity" "sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==" 674 | "resolved" "https://registry.npmjs.org/lodash/-/lodash-4.17.20.tgz" 675 | "version" "4.17.20" 676 | 677 | "long@^4.0.0": 678 | "integrity" "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" 679 | "resolved" "https://registry.npmjs.org/long/-/long-4.0.0.tgz" 680 | "version" "4.0.0" 681 | 682 | "lru-cache@^4.1.3": 683 | "integrity" "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==" 684 | "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz" 685 | "version" "4.1.5" 686 | dependencies: 687 | "pseudomap" "^1.0.2" 688 | "yallist" "^2.1.2" 689 | 690 | "lru-cache@^6.0.0": 691 | "integrity" "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==" 692 | "resolved" "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz" 693 | "version" "6.0.0" 694 | dependencies: 695 | "yallist" "^4.0.0" 696 | 697 | "make-error@^1.1.1": 698 | "integrity" "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==" 699 | "resolved" "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz" 700 | "version" "1.3.6" 701 | 702 | "memory-fs@^0.5.0": 703 | "integrity" "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==" 704 | "resolved" "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz" 705 | "version" "0.5.0" 706 | dependencies: 707 | "errno" "^0.1.3" 708 | "readable-stream" "^2.0.1" 709 | 710 | "merge-stream@^2.0.0": 711 | "integrity" "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==" 712 | "resolved" "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz" 713 | "version" "2.0.0" 714 | 715 | "micromatch@^4.0.0": 716 | "integrity" "sha512-y7FpHSbMUMoyPbYUSzO6PaZ6FyRnQOpHuKwbo1G+Knck95XVU4QAiKdGEnj5wwoS7PlOgthX/09u5iFJ+aYf5Q==" 717 | "resolved" "https://registry.npmjs.org/micromatch/-/micromatch-4.0.2.tgz" 718 | "version" "4.0.2" 719 | dependencies: 720 | "braces" "^3.0.1" 721 | "picomatch" "^2.0.5" 722 | 723 | "mime-db@1.44.0": 724 | "integrity" "sha512-/NOTfLrsPBVeH7YtFPgsVWveuL+4SjjYxaQ1xtM1KMFj7HdxlBlxeyNLzhyJVx7r4rZGJAZ/6lkKCitSc/Nmpg==" 725 | "resolved" "https://registry.npmjs.org/mime-db/-/mime-db-1.44.0.tgz" 726 | "version" "1.44.0" 727 | 728 | "mime-types@^2.1.27": 729 | "integrity" "sha512-JIhqnCasI9yD+SsmkquHBxTSEuZdQX5BuQnS2Vc7puQQQ+8yiP5AY5uWhpdv4YL4VM5c6iliiYWPgJ/nJQLp7w==" 730 | "resolved" "https://registry.npmjs.org/mime-types/-/mime-types-2.1.27.tgz" 731 | "version" "2.1.27" 732 | dependencies: 733 | "mime-db" "1.44.0" 734 | 735 | "mimic-fn@^2.1.0": 736 | "integrity" "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==" 737 | "resolved" "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz" 738 | "version" "2.1.0" 739 | 740 | "minimist@^1.2.0": 741 | "integrity" "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" 742 | "resolved" "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz" 743 | "version" "1.2.5" 744 | 745 | "mkdirp@^1.0.4": 746 | "integrity" "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==" 747 | "resolved" "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz" 748 | "version" "1.0.4" 749 | 750 | "mysql2@^2.2.5": 751 | "integrity" "sha512-XRqPNxcZTpmFdXbJqb+/CtYVLCx14x1RTeNMD4954L331APu75IC74GDqnZMEt1kwaXy6TySo55rF2F3YJS78g==" 752 | "resolved" "https://registry.npmjs.org/mysql2/-/mysql2-2.2.5.tgz" 753 | "version" "2.2.5" 754 | dependencies: 755 | "denque" "^1.4.1" 756 | "generate-function" "^2.3.1" 757 | "iconv-lite" "^0.6.2" 758 | "long" "^4.0.0" 759 | "lru-cache" "^6.0.0" 760 | "named-placeholders" "^1.1.2" 761 | "seq-queue" "^0.0.5" 762 | "sqlstring" "^2.3.2" 763 | 764 | "named-placeholders@^1.1.2": 765 | "integrity" "sha512-wiFWqxoLL3PGVReSZpjLVxyJ1bRqe+KKJVbr4hGs1KWfTZTQyezHFBbuKj9hsizHyGV2ne7EMjHdxEGAybD5SA==" 766 | "resolved" "https://registry.npmjs.org/named-placeholders/-/named-placeholders-1.1.2.tgz" 767 | "version" "1.1.2" 768 | dependencies: 769 | "lru-cache" "^4.1.3" 770 | 771 | "neo-async@^2.6.2": 772 | "integrity" "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" 773 | "resolved" "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz" 774 | "version" "2.6.2" 775 | 776 | "node-releases@^1.1.67": 777 | "integrity" "sha512-V5QF9noGFl3EymEwUYzO+3NTDpGfQB4ve6Qfnzf3UNydMhjQRVPR1DZTuvWiLzaFJYw2fmDwAfnRNEVb64hSIg==" 778 | "resolved" "https://registry.npmjs.org/node-releases/-/node-releases-1.1.67.tgz" 779 | "version" "1.1.67" 780 | 781 | "npm-run-path@^4.0.0": 782 | "integrity" "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==" 783 | "resolved" "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz" 784 | "version" "4.0.1" 785 | dependencies: 786 | "path-key" "^3.0.0" 787 | 788 | "once@^1.3.1", "once@^1.4.0": 789 | "integrity" "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=" 790 | "resolved" "https://registry.npmjs.org/once/-/once-1.4.0.tgz" 791 | "version" "1.4.0" 792 | dependencies: 793 | "wrappy" "1" 794 | 795 | "onetime@^5.1.0": 796 | "integrity" "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==" 797 | "resolved" "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz" 798 | "version" "5.1.2" 799 | dependencies: 800 | "mimic-fn" "^2.1.0" 801 | 802 | "p-limit@^2.2.0": 803 | "integrity" "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==" 804 | "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz" 805 | "version" "2.3.0" 806 | dependencies: 807 | "p-try" "^2.0.0" 808 | 809 | "p-limit@^3.1.0": 810 | "integrity" "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==" 811 | "resolved" "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz" 812 | "version" "3.1.0" 813 | dependencies: 814 | "yocto-queue" "^0.1.0" 815 | 816 | "p-locate@^4.1.0": 817 | "integrity" "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==" 818 | "resolved" "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz" 819 | "version" "4.1.0" 820 | dependencies: 821 | "p-limit" "^2.2.0" 822 | 823 | "p-try@^2.0.0": 824 | "integrity" "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" 825 | "resolved" "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz" 826 | "version" "2.2.0" 827 | 828 | "path-exists@^4.0.0": 829 | "integrity" "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==" 830 | "resolved" "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz" 831 | "version" "4.0.0" 832 | 833 | "path-key@^3.0.0", "path-key@^3.1.0": 834 | "integrity" "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==" 835 | "resolved" "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz" 836 | "version" "3.1.1" 837 | 838 | "path-parse@^1.0.6": 839 | "integrity" "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" 840 | "resolved" "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz" 841 | "version" "1.0.6" 842 | 843 | "pg-connection-string@^2.4.0": 844 | "integrity" "sha512-3iBXuv7XKvxeMrIgym7njT+HlZkwZqqGX4Bu9cci8xHZNT+Um1gWKqCsAzcC0d95rcKMU5WBg6YRUcHyV0HZKQ==" 845 | "resolved" "https://registry.npmjs.org/pg-connection-string/-/pg-connection-string-2.4.0.tgz" 846 | "version" "2.4.0" 847 | 848 | "picomatch@^2.0.5": 849 | "integrity" "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==" 850 | "resolved" "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz" 851 | "version" "2.2.2" 852 | 853 | "pkg-dir@^4.2.0": 854 | "integrity" "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==" 855 | "resolved" "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz" 856 | "version" "4.2.0" 857 | dependencies: 858 | "find-up" "^4.0.0" 859 | 860 | "process-nextick-args@~2.0.0": 861 | "integrity" "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" 862 | "resolved" "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz" 863 | "version" "2.0.1" 864 | 865 | "prr@~1.0.1": 866 | "integrity" "sha1-0/wRS6BplaRexok/SEzrHXj19HY=" 867 | "resolved" "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz" 868 | "version" "1.0.1" 869 | 870 | "pseudomap@^1.0.2": 871 | "integrity" "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" 872 | "resolved" "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz" 873 | "version" "1.0.2" 874 | 875 | "pump@^3.0.0": 876 | "integrity" "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==" 877 | "resolved" "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz" 878 | "version" "3.0.0" 879 | dependencies: 880 | "end-of-stream" "^1.1.0" 881 | "once" "^1.3.1" 882 | 883 | "punycode@^2.1.0": 884 | "integrity" "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" 885 | "resolved" "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz" 886 | "version" "2.1.1" 887 | 888 | "qs@^6.9.4": 889 | "integrity" "sha512-A1kFqHekCTM7cz0udomYUoYNWjBebHm/5wzU/XqrBRBNWectVH0QIiN+NEcZ0Dte5hvzHwbr8+XQmguPhJ6WdQ==" 890 | "resolved" "https://registry.npmjs.org/qs/-/qs-6.9.4.tgz" 891 | "version" "6.9.4" 892 | 893 | "randombytes@^2.1.0": 894 | "integrity" "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==" 895 | "resolved" "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz" 896 | "version" "2.1.0" 897 | dependencies: 898 | "safe-buffer" "^5.1.0" 899 | 900 | "readable-stream@^2.0.1": 901 | "integrity" "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==" 902 | "resolved" "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz" 903 | "version" "2.3.7" 904 | dependencies: 905 | "core-util-is" "~1.0.0" 906 | "inherits" "~2.0.3" 907 | "isarray" "~1.0.0" 908 | "process-nextick-args" "~2.0.0" 909 | "safe-buffer" "~5.1.1" 910 | "string_decoder" "~1.1.1" 911 | "util-deprecate" "~1.0.1" 912 | 913 | "rechoir@^0.7.0": 914 | "integrity" "sha512-ADsDEH2bvbjltXEP+hTIAmeFekTFK0V2BTxMkok6qILyAJEXV0AFfoWcAq4yfll5VdIMd/RVXq0lR+wQi5ZU3Q==" 915 | "resolved" "https://registry.npmjs.org/rechoir/-/rechoir-0.7.0.tgz" 916 | "version" "0.7.0" 917 | dependencies: 918 | "resolve" "^1.9.0" 919 | 920 | "redeyed@~2.1.0": 921 | "integrity" "sha1-iYS1gV2ZyyIEacme7v/jiRPmzAs=" 922 | "resolved" "https://registry.npmjs.org/redeyed/-/redeyed-2.1.1.tgz" 923 | "version" "2.1.1" 924 | dependencies: 925 | "esprima" "~4.0.0" 926 | 927 | "resolve-cwd@^3.0.0": 928 | "integrity" "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==" 929 | "resolved" "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz" 930 | "version" "3.0.0" 931 | dependencies: 932 | "resolve-from" "^5.0.0" 933 | 934 | "resolve-from@^5.0.0": 935 | "integrity" "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==" 936 | "resolved" "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz" 937 | "version" "5.0.0" 938 | 939 | "resolve@^1.9.0": 940 | "integrity" "sha512-rArEXAgsBG4UgRGcynxWIWKFvh/XZCcS8UJdHhwy91zwAvCZIbcs+vAbflgBnNjYMs/i/i+/Ux6IZhML1yPvxg==" 941 | "resolved" "https://registry.npmjs.org/resolve/-/resolve-1.19.0.tgz" 942 | "version" "1.19.0" 943 | dependencies: 944 | "is-core-module" "^2.1.0" 945 | "path-parse" "^1.0.6" 946 | 947 | "safe-buffer@^5.1.0", "safe-buffer@~5.1.0", "safe-buffer@~5.1.1": 948 | "integrity" "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 949 | "resolved" "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz" 950 | "version" "5.1.2" 951 | 952 | "safer-buffer@>= 2.1.2 < 3.0.0": 953 | "integrity" "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 954 | "resolved" "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" 955 | "version" "2.1.2" 956 | 957 | "schema-utils@^3.0.0": 958 | "integrity" "sha512-6D82/xSzO094ajanoOSbe4YvXWMfn2A//8Y1+MUqFAJul5Bs+yn36xbK9OtNDcRVSBJ9jjeoXftM6CfztsjOAA==" 959 | "resolved" "https://registry.npmjs.org/schema-utils/-/schema-utils-3.0.0.tgz" 960 | "version" "3.0.0" 961 | dependencies: 962 | "@types/json-schema" "^7.0.6" 963 | "ajv" "^6.12.5" 964 | "ajv-keywords" "^3.5.2" 965 | 966 | "semver@^6.0.0": 967 | "integrity" "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" 968 | "resolved" "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz" 969 | "version" "6.3.0" 970 | 971 | "seq-queue@^0.0.5": 972 | "integrity" "sha1-1WgS4cAXpuTnw+Ojeh2m143TyT4=" 973 | "resolved" "https://registry.npmjs.org/seq-queue/-/seq-queue-0.0.5.tgz" 974 | "version" "0.0.5" 975 | 976 | "serialize-javascript@^5.0.1": 977 | "integrity" "sha512-SaaNal9imEO737H2c05Og0/8LUXG7EnsZyMa8MzkmuHoELfT6txuj0cMqRj6zfPKnmQ1yasR4PCJc8x+M4JSPA==" 978 | "resolved" "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-5.0.1.tgz" 979 | "version" "5.0.1" 980 | dependencies: 981 | "randombytes" "^2.1.0" 982 | 983 | "shebang-command@^2.0.0": 984 | "integrity" "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==" 985 | "resolved" "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz" 986 | "version" "2.0.0" 987 | dependencies: 988 | "shebang-regex" "^3.0.0" 989 | 990 | "shebang-regex@^3.0.0": 991 | "integrity" "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==" 992 | "resolved" "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz" 993 | "version" "3.0.0" 994 | 995 | "signal-exit@^3.0.2": 996 | "integrity" "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" 997 | "resolved" "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz" 998 | "version" "3.0.3" 999 | 1000 | "source-list-map@^2.0.1": 1001 | "integrity" "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==" 1002 | "resolved" "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz" 1003 | "version" "2.0.1" 1004 | 1005 | "source-map-support@^0.5.17", "source-map-support@~0.5.19": 1006 | "integrity" "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==" 1007 | "resolved" "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz" 1008 | "version" "0.5.19" 1009 | dependencies: 1010 | "buffer-from" "^1.0.0" 1011 | "source-map" "^0.6.0" 1012 | 1013 | "source-map@^0.6.0", "source-map@^0.6.1": 1014 | "integrity" "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" 1015 | "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz" 1016 | "version" "0.6.1" 1017 | 1018 | "source-map@~0.7.2": 1019 | "integrity" "sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==" 1020 | "resolved" "https://registry.npmjs.org/source-map/-/source-map-0.7.3.tgz" 1021 | "version" "0.7.3" 1022 | 1023 | "sqlstring@^2.3.2": 1024 | "integrity" "sha512-vF4ZbYdKS8OnoJAWBmMxCQDkiEBkGQYU7UZPtL8flbDRSNkhaXvRJ279ZtI6M+zDaQovVU4tuRgzK5fVhvFAhg==" 1025 | "resolved" "https://registry.npmjs.org/sqlstring/-/sqlstring-2.3.2.tgz" 1026 | "version" "2.3.2" 1027 | 1028 | "string_decoder@~1.1.1": 1029 | "integrity" "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==" 1030 | "resolved" "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz" 1031 | "version" "1.1.1" 1032 | dependencies: 1033 | "safe-buffer" "~5.1.0" 1034 | 1035 | "strip-final-newline@^2.0.0": 1036 | "integrity" "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==" 1037 | "resolved" "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz" 1038 | "version" "2.0.0" 1039 | 1040 | "supports-color@^5.3.0": 1041 | "integrity" "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==" 1042 | "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz" 1043 | "version" "5.5.0" 1044 | dependencies: 1045 | "has-flag" "^3.0.0" 1046 | 1047 | "supports-color@^7.0.0": 1048 | "integrity" "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==" 1049 | "resolved" "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz" 1050 | "version" "7.2.0" 1051 | dependencies: 1052 | "has-flag" "^4.0.0" 1053 | 1054 | "tapable@^1.0.0": 1055 | "integrity" "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==" 1056 | "resolved" "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz" 1057 | "version" "1.1.3" 1058 | 1059 | "tapable@^2.1.1", "tapable@^2.2.0": 1060 | "integrity" "sha512-FBk4IesMV1rBxX2tfiK8RAmogtWn53puLOQlvO8XuwlgxcYbP4mVPS9Ph4aeamSyyVjOl24aYWAuc8U5kCVwMw==" 1061 | "resolved" "https://registry.npmjs.org/tapable/-/tapable-2.2.0.tgz" 1062 | "version" "2.2.0" 1063 | 1064 | "terser-webpack-plugin@^5.1.1": 1065 | "integrity" "sha512-5XNNXZiR8YO6X6KhSGXfY0QrGrCRlSwAEjIIrlRQR4W8nP69TaJUlh3bkuac6zzgspiGPfKEHcY295MMVExl5Q==" 1066 | "resolved" "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-5.1.1.tgz" 1067 | "version" "5.1.1" 1068 | dependencies: 1069 | "jest-worker" "^26.6.2" 1070 | "p-limit" "^3.1.0" 1071 | "schema-utils" "^3.0.0" 1072 | "serialize-javascript" "^5.0.1" 1073 | "source-map" "^0.6.1" 1074 | "terser" "^5.5.1" 1075 | 1076 | "terser@^5.5.1": 1077 | "integrity" "sha512-6VGWZNVP2KTUcltUQJ25TtNjx/XgdDsBDKGt8nN0MpydU36LmbPPcMBd2kmtZNNGVVDLg44k7GKeHHj+4zPIBQ==" 1078 | "resolved" "https://registry.npmjs.org/terser/-/terser-5.5.1.tgz" 1079 | "version" "5.5.1" 1080 | dependencies: 1081 | "commander" "^2.20.0" 1082 | "source-map" "~0.7.2" 1083 | "source-map-support" "~0.5.19" 1084 | 1085 | "tinytim@0.1.1": 1086 | "integrity" "sha1-yWih5VWa2VUyJO92J7qzTjyu+Kg=" 1087 | "resolved" "https://registry.npmjs.org/tinytim/-/tinytim-0.1.1.tgz" 1088 | "version" "0.1.1" 1089 | 1090 | "to-regex-range@^5.0.1": 1091 | "integrity" "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==" 1092 | "resolved" "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz" 1093 | "version" "5.0.1" 1094 | dependencies: 1095 | "is-number" "^7.0.0" 1096 | 1097 | "tracer@^1.1.4": 1098 | "integrity" "sha512-43Ws4c/V6VK9i2MLjmeYVtXZ+YUHU/qFXznJqYgI8F5nNrIQ4v9ImBAk+JjfPHS4StlpmaHzgR5qpBydbD9TkA==" 1099 | "resolved" "https://registry.npmjs.org/tracer/-/tracer-1.1.4.tgz" 1100 | "version" "1.1.4" 1101 | dependencies: 1102 | "colors" "1.4.0" 1103 | "dateformat" "3.0.3" 1104 | "mkdirp" "^1.0.4" 1105 | "tinytim" "0.1.1" 1106 | 1107 | "ts-loader@^8.0.12": 1108 | "integrity" "sha512-UIivVfGVJDdwwjgSrbtcL9Nf10c1BWnL1mxAQUVcnhNIn/P9W3nP5v60Z0aBMtc7ZrE11lMmU6+5jSgAXmGaYw==" 1109 | "resolved" "https://registry.npmjs.org/ts-loader/-/ts-loader-8.0.12.tgz" 1110 | "version" "8.0.12" 1111 | dependencies: 1112 | "chalk" "^2.3.0" 1113 | "enhanced-resolve" "^4.0.0" 1114 | "loader-utils" "^1.0.2" 1115 | "micromatch" "^4.0.0" 1116 | "semver" "^6.0.0" 1117 | 1118 | "ts-node@^9.1.1": 1119 | "integrity" "sha512-hPlt7ZACERQGf03M253ytLY3dHbGNGrAq9qIHWUY9XHYl1z7wYngSr3OQ5xmui8o2AaxsONxIzjafLUiWBo1Fg==" 1120 | "resolved" "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz" 1121 | "version" "9.1.1" 1122 | dependencies: 1123 | "arg" "^4.1.0" 1124 | "create-require" "^1.1.0" 1125 | "diff" "^4.0.1" 1126 | "make-error" "^1.1.1" 1127 | "source-map-support" "^0.5.17" 1128 | "yn" "3.1.1" 1129 | 1130 | "tslib@^1.9.0": 1131 | "integrity" "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" 1132 | "resolved" "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz" 1133 | "version" "1.14.1" 1134 | 1135 | "typescript@*", "typescript@^4.1.3", "typescript@>=2.7": 1136 | "integrity" "sha512-6OSu9PTIzmn9TCDiovULTnET6BgXtDYL4Gg4szY+cGsc3JP1dQL8qvE8kShTRx1NIw4Q9IBHlwODjkjWEtMUyA==" 1137 | "resolved" "https://registry.npmjs.org/typescript/-/typescript-4.1.5.tgz" 1138 | "version" "4.1.5" 1139 | 1140 | "uri-js@^4.2.2": 1141 | "integrity" "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==" 1142 | "resolved" "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz" 1143 | "version" "4.4.0" 1144 | dependencies: 1145 | "punycode" "^2.1.0" 1146 | 1147 | "util-deprecate@~1.0.1": 1148 | "integrity" "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" 1149 | "resolved" "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz" 1150 | "version" "1.0.2" 1151 | 1152 | "v8-compile-cache@^2.2.0": 1153 | "integrity" "sha512-gTpR5XQNKFwOd4clxfnhaqvfqMpqEwr4tOtCyz4MtYZX2JYhfr1JvBFKdS+7K/9rfpZR3VLX+YWBbKoxCgS43Q==" 1154 | "resolved" "https://registry.npmjs.org/v8-compile-cache/-/v8-compile-cache-2.2.0.tgz" 1155 | "version" "2.2.0" 1156 | 1157 | "watchpack@^2.0.0": 1158 | "integrity" "sha512-UjgD1mqjkG99+3lgG36at4wPnUXNvis2v1utwTgQ43C22c4LD71LsYMExdWXh4HZ+RmW+B0t1Vrg2GpXAkTOQw==" 1159 | "resolved" "https://registry.npmjs.org/watchpack/-/watchpack-2.1.0.tgz" 1160 | "version" "2.1.0" 1161 | dependencies: 1162 | "glob-to-regexp" "^0.4.1" 1163 | "graceful-fs" "^4.1.2" 1164 | 1165 | "webpack-cli@^4.3.0", "webpack-cli@4.x.x": 1166 | "integrity" "sha512-gve+BBKrzMPTOYDjupzV8JchUznhVWMKtWM1hFIQWi6XoeLvGNoQwkrtMWVb+aJ437GgCKdta7sIn10v621pKA==" 1167 | "resolved" "https://registry.npmjs.org/webpack-cli/-/webpack-cli-4.3.0.tgz" 1168 | "version" "4.3.0" 1169 | dependencies: 1170 | "@discoveryjs/json-ext" "^0.5.0" 1171 | "@webpack-cli/info" "^1.2.0" 1172 | "@webpack-cli/serve" "^1.2.0" 1173 | "colorette" "^1.2.1" 1174 | "commander" "^6.2.0" 1175 | "enquirer" "^2.3.6" 1176 | "execa" "^4.1.0" 1177 | "fastest-levenshtein" "^1.0.12" 1178 | "import-local" "^3.0.2" 1179 | "interpret" "^2.2.0" 1180 | "rechoir" "^0.7.0" 1181 | "v8-compile-cache" "^2.2.0" 1182 | "webpack-merge" "^4.2.2" 1183 | 1184 | "webpack-merge@^4.2.2": 1185 | "integrity" "sha512-TUE1UGoTX2Cd42j3krGYqObZbOD+xF7u28WB7tfUordytSjbWTIjK/8V0amkBfTYN4/pB/GIDlJZZ657BGG19g==" 1186 | "resolved" "https://registry.npmjs.org/webpack-merge/-/webpack-merge-4.2.2.tgz" 1187 | "version" "4.2.2" 1188 | dependencies: 1189 | "lodash" "^4.17.15" 1190 | 1191 | "webpack-sources@^2.1.1": 1192 | "integrity" "sha512-bQsA24JLwcnWGArOKUxYKhX3Mz/nK1Xf6hxullKERyktjNMC4x8koOeaDNTA2fEJ09BdWLbM/iTW0ithREUP0w==" 1193 | "resolved" "https://registry.npmjs.org/webpack-sources/-/webpack-sources-2.2.0.tgz" 1194 | "version" "2.2.0" 1195 | dependencies: 1196 | "source-list-map" "^2.0.1" 1197 | "source-map" "^0.6.1" 1198 | 1199 | "webpack@*", "webpack@^5.1.0", "webpack@^5.11.1", "webpack@4.x.x || 5.x.x": 1200 | "integrity" "sha512-xHflCenx+AM4uWKX71SWHhxml5aMXdy2tu/vdi4lClm7PADKxlyDAFFN1rEFzNV0MAoPpHtBeJnl/+K6F4QBPg==" 1201 | "resolved" "https://registry.npmjs.org/webpack/-/webpack-5.21.2.tgz" 1202 | "version" "5.21.2" 1203 | dependencies: 1204 | "@types/eslint-scope" "^3.7.0" 1205 | "@types/estree" "^0.0.46" 1206 | "@webassemblyjs/ast" "1.11.0" 1207 | "@webassemblyjs/wasm-edit" "1.11.0" 1208 | "@webassemblyjs/wasm-parser" "1.11.0" 1209 | "acorn" "^8.0.4" 1210 | "browserslist" "^4.14.5" 1211 | "chrome-trace-event" "^1.0.2" 1212 | "enhanced-resolve" "^5.7.0" 1213 | "es-module-lexer" "^0.3.26" 1214 | "eslint-scope" "^5.1.1" 1215 | "events" "^3.2.0" 1216 | "glob-to-regexp" "^0.4.1" 1217 | "graceful-fs" "^4.2.4" 1218 | "json-parse-better-errors" "^1.0.2" 1219 | "loader-runner" "^4.2.0" 1220 | "mime-types" "^2.1.27" 1221 | "neo-async" "^2.6.2" 1222 | "schema-utils" "^3.0.0" 1223 | "tapable" "^2.1.1" 1224 | "terser-webpack-plugin" "^5.1.1" 1225 | "watchpack" "^2.0.0" 1226 | "webpack-sources" "^2.1.1" 1227 | 1228 | "which@^2.0.1": 1229 | "integrity" "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==" 1230 | "resolved" "https://registry.npmjs.org/which/-/which-2.0.2.tgz" 1231 | "version" "2.0.2" 1232 | dependencies: 1233 | "isexe" "^2.0.0" 1234 | 1235 | "wrappy@1": 1236 | "integrity" "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 1237 | "resolved" "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz" 1238 | "version" "1.0.2" 1239 | 1240 | "yallist@^2.1.2": 1241 | "integrity" "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" 1242 | "resolved" "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz" 1243 | "version" "2.1.2" 1244 | 1245 | "yallist@^4.0.0": 1246 | "integrity" "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" 1247 | "resolved" "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz" 1248 | "version" "4.0.0" 1249 | 1250 | "yn@3.1.1": 1251 | "integrity" "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" 1252 | "resolved" "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz" 1253 | "version" "3.1.1" 1254 | 1255 | "yocto-queue@^0.1.0": 1256 | "integrity" "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==" 1257 | "resolved" "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz" 1258 | "version" "0.1.0" 1259 | --------------------------------------------------------------------------------