├── .eslintrc ├── .gitignore ├── .nvmrc ├── LICENSE ├── README.md ├── bin └── rpo.js ├── package-lock.json ├── package.json └── src ├── index.js ├── package_manager.js └── settings.js /.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["plugin:prettier/recommended"], 3 | "env": { 4 | "node": true, 5 | "es6": true 6 | }, 7 | "parserOptions": { 8 | "ecmaVersion": 8, 9 | "sourceType": "module" 10 | }, 11 | "rules": { 12 | "semi": 2, 13 | "no-console": "off", 14 | "no-cond-assign": [1, "except-parens"] 15 | } 16 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # General 2 | .DS_Store 3 | .AppleDouble 4 | .LSOverride 5 | 6 | # Icon must end with two \r 7 | Icon 8 | 9 | 10 | # Thumbnails 11 | ._* 12 | 13 | # Files that might appear in the root of a volume 14 | .DocumentRevisions-V100 15 | .fseventsd 16 | .Spotlight-V100 17 | .TemporaryItems 18 | .Trashes 19 | .VolumeIcon.icns 20 | .com.apple.timemachine.donotpresent 21 | 22 | # Directories potentially created on remote AFP share 23 | .AppleDB 24 | .AppleDesktop 25 | Network Trash Folder 26 | Temporary Items 27 | .apdisk 28 | 29 | # Logs 30 | logs 31 | *.log 32 | npm-debug.log* 33 | yarn-debug.log* 34 | yarn-error.log* 35 | 36 | # Runtime data 37 | pids 38 | *.pid 39 | *.seed 40 | *.pid.lock 41 | 42 | # Directory for instrumented libs generated by jscoverage/JSCover 43 | lib-cov 44 | 45 | # Coverage directory used by tools like istanbul 46 | coverage 47 | 48 | # nyc test coverage 49 | .nyc_output 50 | 51 | # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) 52 | .grunt 53 | 54 | # Bower dependency directory (https://bower.io/) 55 | bower_components 56 | 57 | # node-waf configuration 58 | .lock-wscript 59 | 60 | # Compiled binary addons (https://nodejs.org/api/addons.html) 61 | build/Release 62 | 63 | # Dependency directories 64 | node_modules/ 65 | jspm_packages/ 66 | 67 | # TypeScript v1 declaration files 68 | typings/ 69 | 70 | # Optional npm cache directory 71 | .npm 72 | 73 | # Optional eslint cache 74 | .eslintcache 75 | 76 | # Optional REPL history 77 | .node_repl_history 78 | 79 | # Output of 'npm pack' 80 | *.tgz 81 | 82 | # Yarn Integrity file 83 | .yarn-integrity 84 | 85 | # dotenv environment variables file 86 | .env 87 | 88 | # next.js build output 89 | .next 90 | 91 | # vuepress build output 92 | .vuepress/dist 93 | 94 | # Serverless directories 95 | .serverless 96 | 97 | # VS Code Stuff 98 | .vscode -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | lts/hydrogen 2 | -------------------------------------------------------------------------------- /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) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # rpo 2 | [![npm](https://img.shields.io/npm/v/rpo.svg)](https://www.npmjs.com/package/rpo) 3 | 4 | A sweet, simple, multi-platform Debian/Cydia repository manager. Currently a CLI 5 | tool, but a web and desktop interface are planned for future releases. 6 | 7 | The purpose of this is to create a tool that can easily manage a Debian or Cydia 8 | repository regardless of platform. Utilizing libraries written entirely in 9 | Javascript, such as [unipkg](https://github.com/FrederickGeek8/unipkg), 10 | `rpo` is able to perform operations such as `dpkg-scanpackages` without `dpkg` ever being installed. 11 | 12 | # Installing 13 | To install `rpo` globally run 14 | ```bash 15 | npm install -g rpo 16 | ``` 17 | 18 | # Usage 19 | For full usage [please visit the wiki.](https://github.com/FrederickGeek8/repo-manager/wiki) 20 | Usage for the `rpo` can be found by doing `rpo --help`. To see 21 | available subcommands, you can run `rpo` or `rpo --help`. Example: 22 | ```bash 23 | > rpo -h 24 | 25 | Usage: rpo [options] [command] 26 | 27 | Options: 28 | 29 | -V, --version output the version number 30 | -h, --help output usage information 31 | 32 | Commands: 33 | 34 | init [options] 35 | settings|edit [options] 36 | add [options] 37 | remove [options] 38 | sign 39 | ``` 40 | ## Description of Subcommands 41 | `rpo init`: Initializes a repository. 42 | 43 | `rpo settings`: Edits the settings of a repository 44 | 45 | `rpo add`: Adds a package to a repository 46 | 47 | `rpo remove`: Removes a package from a repository 48 | 49 | `rpo sign`: Signs (if not already) a repository 50 | 51 | # Prerequisites 52 | This project has been tested on Node v18.20.3. 53 | 54 | # Roadmap 55 | *Progress can be tracked over on the [project board.](https://github.com/FrederickGeek8/repo-manager/projects)* 56 | 1. Create a desktop interface similar in effect to Github Desktop, where locations 57 | of repositories are kept track of and can be managed easily through a GUI. 58 | 2. Create a backend interface similar to that of the previous version of `repo-manager` 59 | (for those of you who remember it), where the repository can be managed remotely. 60 | 3. Create an automated frontend generation system that will updated and present 61 | to users what packages are currently in the repository. -------------------------------------------------------------------------------- /bin/rpo.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | const program = require("commander"); 4 | const Settings = require("../src/settings"); 5 | const PM = require("../src/package_manager"); 6 | const set = new Settings(); 7 | program.version("2.0.0"); 8 | 9 | // Init 10 | program 11 | .command("init") 12 | .option("-s, --sign", "Sign Release using GPG") 13 | .action(cmd => { 14 | if (cmd.sign) { 15 | return set 16 | .edit() 17 | .then(() => set.save()) 18 | .then(() => set.sign()); 19 | } 20 | 21 | return set.edit().then(() => set.save()); 22 | }); 23 | 24 | // Settings 25 | program 26 | .command("settings") 27 | .option("-s, --sign", "Sign Release using GPG") 28 | .alias("edit") 29 | .action(cmd => { 30 | if (cmd.sign) { 31 | return set 32 | .load() 33 | .then(() => set.edit()) 34 | .then(() => set.save()) 35 | .then(() => set.sign()); 36 | } 37 | 38 | return set 39 | .load() 40 | .then(() => set.edit()) 41 | .then(() => set.save()); 42 | }); 43 | 44 | // Add program 45 | program 46 | .command("add ") 47 | .option("-d, --disable-bzip", "Disable Bzip2 for Packages") 48 | .action((file, cmd) => { 49 | return PM.add(file, cmd.disableBzip); 50 | }); 51 | 52 | // Remove program 53 | program 54 | .command("remove ") 55 | .option("-d, --disable-bzip", "Disable Bzip2 for Packages") 56 | .action((file, cmd) => { 57 | return PM.remove(file, cmd.disableBzip); 58 | }); 59 | 60 | program.command("sign").action(() => { 61 | return set.sign(); 62 | }); 63 | 64 | program.parse(process.argv); 65 | 66 | if (!process.argv.slice(2).length) { 67 | program.help(); 68 | } 69 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rpo", 3 | "version": "2.0.3", 4 | "lockfileVersion": 3, 5 | "requires": true, 6 | "packages": { 7 | "": { 8 | "name": "rpo", 9 | "version": "2.0.3", 10 | "license": "GPL-3.0-only", 11 | "dependencies": { 12 | "commander": "^2.19.0", 13 | "compressjs": "git+https://github.com/openpgpjs/compressjs.git", 14 | "fs-extra": "^6.0.1", 15 | "inquirer": "^6.2.2", 16 | "openpgp": "^5.11.2", 17 | "unipkg": "^0.2.1" 18 | }, 19 | "bin": { 20 | "rpo": "bin/rpo.js" 21 | }, 22 | "devDependencies": { 23 | "eslint": "^5.14.1", 24 | "eslint-config-prettier": "^2.10.0", 25 | "eslint-plugin-jest": "^21.27.2", 26 | "eslint-plugin-prettier": "^2.7.0", 27 | "prettier": "^1.16.4" 28 | }, 29 | "engines": { 30 | "node": ">=18.0.0" 31 | } 32 | }, 33 | "node_modules/@babel/code-frame": { 34 | "version": "7.0.0", 35 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", 36 | "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", 37 | "dev": true, 38 | "dependencies": { 39 | "@babel/highlight": "^7.0.0" 40 | } 41 | }, 42 | "node_modules/@babel/highlight": { 43 | "version": "7.0.0", 44 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0.tgz", 45 | "integrity": "sha512-UFMC4ZeFC48Tpvj7C8UgLvtkaUuovQX+5xNWrsIoMG8o2z+XFKjKaN9iVmS84dPwVN00W4wPmqvYoZF3EGAsfw==", 46 | "dev": true, 47 | "dependencies": { 48 | "chalk": "^2.0.0", 49 | "esutils": "^2.0.2", 50 | "js-tokens": "^4.0.0" 51 | } 52 | }, 53 | "node_modules/@isaacs/cliui": { 54 | "version": "8.0.2", 55 | "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", 56 | "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", 57 | "dependencies": { 58 | "string-width": "^5.1.2", 59 | "string-width-cjs": "npm:string-width@^4.2.0", 60 | "strip-ansi": "^7.0.1", 61 | "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", 62 | "wrap-ansi": "^8.1.0", 63 | "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" 64 | }, 65 | "engines": { 66 | "node": ">=12" 67 | } 68 | }, 69 | "node_modules/@isaacs/cliui/node_modules/ansi-regex": { 70 | "version": "6.0.1", 71 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", 72 | "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", 73 | "engines": { 74 | "node": ">=12" 75 | }, 76 | "funding": { 77 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 78 | } 79 | }, 80 | "node_modules/@isaacs/cliui/node_modules/emoji-regex": { 81 | "version": "9.2.2", 82 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 83 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" 84 | }, 85 | "node_modules/@isaacs/cliui/node_modules/string-width": { 86 | "version": "5.1.2", 87 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 88 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 89 | "dependencies": { 90 | "eastasianwidth": "^0.2.0", 91 | "emoji-regex": "^9.2.2", 92 | "strip-ansi": "^7.0.1" 93 | }, 94 | "engines": { 95 | "node": ">=12" 96 | }, 97 | "funding": { 98 | "url": "https://github.com/sponsors/sindresorhus" 99 | } 100 | }, 101 | "node_modules/@isaacs/cliui/node_modules/strip-ansi": { 102 | "version": "7.1.0", 103 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 104 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 105 | "dependencies": { 106 | "ansi-regex": "^6.0.1" 107 | }, 108 | "engines": { 109 | "node": ">=12" 110 | }, 111 | "funding": { 112 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 113 | } 114 | }, 115 | "node_modules/@isaacs/fs-minipass": { 116 | "version": "4.0.1", 117 | "resolved": "https://registry.npmjs.org/@isaacs/fs-minipass/-/fs-minipass-4.0.1.tgz", 118 | "integrity": "sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==", 119 | "dependencies": { 120 | "minipass": "^7.0.4" 121 | }, 122 | "engines": { 123 | "node": ">=18.0.0" 124 | } 125 | }, 126 | "node_modules/@pkgjs/parseargs": { 127 | "version": "0.11.0", 128 | "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", 129 | "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", 130 | "optional": true, 131 | "engines": { 132 | "node": ">=14" 133 | } 134 | }, 135 | "node_modules/acorn": { 136 | "version": "6.4.2", 137 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", 138 | "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", 139 | "dev": true, 140 | "bin": { 141 | "acorn": "bin/acorn" 142 | }, 143 | "engines": { 144 | "node": ">=0.4.0" 145 | } 146 | }, 147 | "node_modules/acorn-jsx": { 148 | "version": "5.0.1", 149 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.0.1.tgz", 150 | "integrity": "sha512-HJ7CfNHrfJLlNTzIEUTj43LNWGkqpRLxm3YjAlcD0ACydk9XynzYsCBHxut+iqt+1aBXkx9UP/w/ZqMr13XIzg==", 151 | "dev": true, 152 | "peerDependencies": { 153 | "acorn": "^6.0.0" 154 | } 155 | }, 156 | "node_modules/ajv": { 157 | "version": "6.12.6", 158 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", 159 | "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", 160 | "dev": true, 161 | "dependencies": { 162 | "fast-deep-equal": "^3.1.1", 163 | "fast-json-stable-stringify": "^2.0.0", 164 | "json-schema-traverse": "^0.4.1", 165 | "uri-js": "^4.2.2" 166 | }, 167 | "funding": { 168 | "type": "github", 169 | "url": "https://github.com/sponsors/epoberezkin" 170 | } 171 | }, 172 | "node_modules/amdefine": { 173 | "version": "1.0.1", 174 | "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.1.tgz", 175 | "integrity": "sha1-SlKCrBZHKek2Gbz9OtFR+BfOkfU=", 176 | "engines": { 177 | "node": ">=0.4.2" 178 | } 179 | }, 180 | "node_modules/ansi-regex": { 181 | "version": "3.0.1", 182 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.1.tgz", 183 | "integrity": "sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw==", 184 | "engines": { 185 | "node": ">=4" 186 | } 187 | }, 188 | "node_modules/ansi-styles": { 189 | "version": "3.2.1", 190 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 191 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 192 | "dependencies": { 193 | "color-convert": "^1.9.0" 194 | }, 195 | "engines": { 196 | "node": ">=4" 197 | } 198 | }, 199 | "node_modules/ar": { 200 | "version": "0.0.1", 201 | "resolved": "https://registry.npmjs.org/ar/-/ar-0.0.1.tgz", 202 | "integrity": "sha1-uoBxb+WkUBQMb9uPaoKymtlGFhw=" 203 | }, 204 | "node_modules/argparse": { 205 | "version": "1.0.10", 206 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 207 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 208 | "dev": true, 209 | "dependencies": { 210 | "sprintf-js": "~1.0.2" 211 | } 212 | }, 213 | "node_modules/asn1.js": { 214 | "version": "5.0.1", 215 | "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.0.1.tgz", 216 | "integrity": "sha512-aO8EaEgbgqq77IEw+1jfx5c9zTbzvkfuRBuZsSsPnTHMkmd5AI4J6OtITLZFa381jReeaQL67J0GBTUu0+ZTVw==", 217 | "dependencies": { 218 | "bn.js": "^4.0.0", 219 | "inherits": "^2.0.1", 220 | "minimalistic-assert": "^1.0.0" 221 | } 222 | }, 223 | "node_modules/astral-regex": { 224 | "version": "1.0.0", 225 | "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", 226 | "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", 227 | "dev": true, 228 | "engines": { 229 | "node": ">=4" 230 | } 231 | }, 232 | "node_modules/balanced-match": { 233 | "version": "1.0.0", 234 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 235 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 236 | }, 237 | "node_modules/bn.js": { 238 | "version": "4.11.8", 239 | "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", 240 | "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" 241 | }, 242 | "node_modules/brace-expansion": { 243 | "version": "1.1.11", 244 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 245 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 246 | "dev": true, 247 | "dependencies": { 248 | "balanced-match": "^1.0.0", 249 | "concat-map": "0.0.1" 250 | } 251 | }, 252 | "node_modules/callsites": { 253 | "version": "3.0.0", 254 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.0.0.tgz", 255 | "integrity": "sha512-tWnkwu9YEq2uzlBDI4RcLn8jrFvF9AOi8PxDNU3hZZjJcjkcRAq3vCI+vZcg1SuxISDYe86k9VZFwAxDiJGoAw==", 256 | "dev": true, 257 | "engines": { 258 | "node": ">=6" 259 | } 260 | }, 261 | "node_modules/chalk": { 262 | "version": "2.4.2", 263 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 264 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 265 | "dependencies": { 266 | "ansi-styles": "^3.2.1", 267 | "escape-string-regexp": "^1.0.5", 268 | "supports-color": "^5.3.0" 269 | }, 270 | "engines": { 271 | "node": ">=4" 272 | } 273 | }, 274 | "node_modules/chardet": { 275 | "version": "0.7.0", 276 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", 277 | "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" 278 | }, 279 | "node_modules/chownr": { 280 | "version": "3.0.0", 281 | "resolved": "https://registry.npmjs.org/chownr/-/chownr-3.0.0.tgz", 282 | "integrity": "sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==", 283 | "engines": { 284 | "node": ">=18" 285 | } 286 | }, 287 | "node_modules/cli-cursor": { 288 | "version": "2.1.0", 289 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", 290 | "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", 291 | "dependencies": { 292 | "restore-cursor": "^2.0.0" 293 | }, 294 | "engines": { 295 | "node": ">=4" 296 | } 297 | }, 298 | "node_modules/cli-width": { 299 | "version": "2.2.0", 300 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", 301 | "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=" 302 | }, 303 | "node_modules/color-convert": { 304 | "version": "1.9.2", 305 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.2.tgz", 306 | "integrity": "sha512-3NUJZdhMhcdPn8vJ9v2UQJoH0qqoGUkYTgFEPZaPjEtwmmKUfNV46zZmgB2M5M4DCEQHMaCfWHCxiBflLm04Tg==", 307 | "dependencies": { 308 | "color-name": "1.1.1" 309 | } 310 | }, 311 | "node_modules/color-name": { 312 | "version": "1.1.1", 313 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.1.tgz", 314 | "integrity": "sha1-SxQVMEz1ACjqgWQ2Q72C6gWANok=" 315 | }, 316 | "node_modules/commander": { 317 | "version": "2.19.0", 318 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", 319 | "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==" 320 | }, 321 | "node_modules/compressjs": { 322 | "version": "1.0.3-git", 323 | "resolved": "git+ssh://git@github.com/openpgpjs/compressjs.git#bfbb371a34d1750afa34bfa49156461acdab79a9", 324 | "integrity": "sha512-NlDQrjBpGIM20rG67IeIx+zbDJeLs2khoum/caTLkUGGhBCscd2qWo8O1yzFh7ClhiHsNeJOQnF1xLqg+erK4Q==", 325 | "license": "GPL", 326 | "dependencies": { 327 | "amdefine": "~1.0.0", 328 | "commander": "~2.8.1" 329 | }, 330 | "bin": { 331 | "compressjs": "bin/compressjs" 332 | } 333 | }, 334 | "node_modules/compressjs/node_modules/commander": { 335 | "version": "2.8.1", 336 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.8.1.tgz", 337 | "integrity": "sha1-Br42f+v9oMMwqh4qBy09yXYkJdQ=", 338 | "dependencies": { 339 | "graceful-readlink": ">= 1.0.0" 340 | }, 341 | "engines": { 342 | "node": ">= 0.6.x" 343 | } 344 | }, 345 | "node_modules/concat-map": { 346 | "version": "0.0.1", 347 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 348 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=", 349 | "dev": true 350 | }, 351 | "node_modules/cross-spawn": { 352 | "version": "6.0.5", 353 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", 354 | "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", 355 | "dev": true, 356 | "dependencies": { 357 | "nice-try": "^1.0.4", 358 | "path-key": "^2.0.1", 359 | "semver": "^5.5.0", 360 | "shebang-command": "^1.2.0", 361 | "which": "^1.2.9" 362 | }, 363 | "engines": { 364 | "node": ">=4.8" 365 | } 366 | }, 367 | "node_modules/debug": { 368 | "version": "4.3.5", 369 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.5.tgz", 370 | "integrity": "sha512-pt0bNEmneDIvdL1Xsd9oDQ/wrQRkXDT4AUWlNZNPKvW5x/jyO9VFXkJUP07vQ2upmw5PlaITaPKc31jK13V+jg==", 371 | "dev": true, 372 | "dependencies": { 373 | "ms": "2.1.2" 374 | }, 375 | "engines": { 376 | "node": ">=6.0" 377 | }, 378 | "peerDependenciesMeta": { 379 | "supports-color": { 380 | "optional": true 381 | } 382 | } 383 | }, 384 | "node_modules/deep-is": { 385 | "version": "0.1.3", 386 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 387 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=", 388 | "dev": true 389 | }, 390 | "node_modules/doctrine": { 391 | "version": "3.0.0", 392 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 393 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 394 | "dev": true, 395 | "dependencies": { 396 | "esutils": "^2.0.2" 397 | }, 398 | "engines": { 399 | "node": ">=6.0.0" 400 | } 401 | }, 402 | "node_modules/eastasianwidth": { 403 | "version": "0.2.0", 404 | "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", 405 | "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==" 406 | }, 407 | "node_modules/emoji-regex": { 408 | "version": "7.0.3", 409 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", 410 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==", 411 | "dev": true 412 | }, 413 | "node_modules/escape-string-regexp": { 414 | "version": "1.0.5", 415 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 416 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", 417 | "engines": { 418 | "node": ">=0.8.0" 419 | } 420 | }, 421 | "node_modules/eslint": { 422 | "version": "5.14.1", 423 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.14.1.tgz", 424 | "integrity": "sha512-CyUMbmsjxedx8B0mr79mNOqetvkbij/zrXnFeK2zc3pGRn3/tibjiNAv/3UxFEyfMDjh+ZqTrJrEGBFiGfD5Og==", 425 | "dev": true, 426 | "dependencies": { 427 | "@babel/code-frame": "^7.0.0", 428 | "ajv": "^6.9.1", 429 | "chalk": "^2.1.0", 430 | "cross-spawn": "^6.0.5", 431 | "debug": "^4.0.1", 432 | "doctrine": "^3.0.0", 433 | "eslint-scope": "^4.0.0", 434 | "eslint-utils": "^1.3.1", 435 | "eslint-visitor-keys": "^1.0.0", 436 | "espree": "^5.0.1", 437 | "esquery": "^1.0.1", 438 | "esutils": "^2.0.2", 439 | "file-entry-cache": "^5.0.1", 440 | "functional-red-black-tree": "^1.0.1", 441 | "glob": "^7.1.2", 442 | "globals": "^11.7.0", 443 | "ignore": "^4.0.6", 444 | "import-fresh": "^3.0.0", 445 | "imurmurhash": "^0.1.4", 446 | "inquirer": "^6.2.2", 447 | "js-yaml": "^3.12.0", 448 | "json-stable-stringify-without-jsonify": "^1.0.1", 449 | "levn": "^0.3.0", 450 | "lodash": "^4.17.11", 451 | "minimatch": "^3.0.4", 452 | "mkdirp": "^0.5.1", 453 | "natural-compare": "^1.4.0", 454 | "optionator": "^0.8.2", 455 | "path-is-inside": "^1.0.2", 456 | "progress": "^2.0.0", 457 | "regexpp": "^2.0.1", 458 | "semver": "^5.5.1", 459 | "strip-ansi": "^4.0.0", 460 | "strip-json-comments": "^2.0.1", 461 | "table": "^5.2.3", 462 | "text-table": "^0.2.0" 463 | }, 464 | "bin": { 465 | "eslint": "bin/eslint.js" 466 | }, 467 | "engines": { 468 | "node": "^6.14.0 || ^8.10.0 || >=9.10.0" 469 | } 470 | }, 471 | "node_modules/eslint-config-prettier": { 472 | "version": "2.10.0", 473 | "resolved": "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-2.10.0.tgz", 474 | "integrity": "sha512-Mhl90VLucfBuhmcWBgbUNtgBiK955iCDK1+aHAz7QfDQF6wuzWZ6JjihZ3ejJoGlJWIuko7xLqNm8BA5uenKhA==", 475 | "dev": true, 476 | "dependencies": { 477 | "get-stdin": "^5.0.1" 478 | }, 479 | "bin": { 480 | "eslint-config-prettier-check": "bin/cli.js" 481 | }, 482 | "peerDependencies": { 483 | "eslint": ">=3.14.1" 484 | } 485 | }, 486 | "node_modules/eslint-plugin-jest": { 487 | "version": "21.27.2", 488 | "resolved": "https://registry.npmjs.org/eslint-plugin-jest/-/eslint-plugin-jest-21.27.2.tgz", 489 | "integrity": "sha512-0E4OIgBJVlAmf1KfYFtZ3gYxgUzC5Eb3Jzmrc9ikI1OY+/cM8Kh72Ti7KfpeHNeD3HJNf9SmEfmvQLIz44Hrhw==", 490 | "dev": true, 491 | "engines": { 492 | "node": ">= 4" 493 | }, 494 | "peerDependencies": { 495 | "eslint": ">=3.6" 496 | } 497 | }, 498 | "node_modules/eslint-plugin-prettier": { 499 | "version": "2.7.0", 500 | "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-2.7.0.tgz", 501 | "integrity": "sha512-CStQYJgALoQBw3FsBzH0VOVDRnJ/ZimUlpLm226U8qgqYJfPOY/CPK6wyRInMxh73HSKg5wyRwdS4BVYYHwokA==", 502 | "dev": true, 503 | "dependencies": { 504 | "fast-diff": "^1.1.1", 505 | "jest-docblock": "^21.0.0" 506 | }, 507 | "engines": { 508 | "node": ">=4.0.0" 509 | }, 510 | "peerDependencies": { 511 | "prettier": ">= 0.11.0" 512 | } 513 | }, 514 | "node_modules/eslint-scope": { 515 | "version": "4.0.0", 516 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz", 517 | "integrity": "sha512-1G6UTDi7Jc1ELFwnR58HV4fK9OQK4S6N985f166xqXxpjU6plxFISJa2Ba9KCQuFa8RCnj/lSFJbHo7UFDBnUA==", 518 | "dev": true, 519 | "dependencies": { 520 | "esrecurse": "^4.1.0", 521 | "estraverse": "^4.1.1" 522 | }, 523 | "engines": { 524 | "node": ">=4.0.0" 525 | } 526 | }, 527 | "node_modules/eslint-utils": { 528 | "version": "1.4.3", 529 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", 530 | "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", 531 | "dev": true, 532 | "dependencies": { 533 | "eslint-visitor-keys": "^1.1.0" 534 | }, 535 | "engines": { 536 | "node": ">=6" 537 | } 538 | }, 539 | "node_modules/eslint-visitor-keys": { 540 | "version": "1.3.0", 541 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", 542 | "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", 543 | "dev": true, 544 | "engines": { 545 | "node": ">=4" 546 | } 547 | }, 548 | "node_modules/espree": { 549 | "version": "5.0.1", 550 | "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", 551 | "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", 552 | "dev": true, 553 | "dependencies": { 554 | "acorn": "^6.0.7", 555 | "acorn-jsx": "^5.0.0", 556 | "eslint-visitor-keys": "^1.0.0" 557 | }, 558 | "engines": { 559 | "node": ">=6.0.0" 560 | } 561 | }, 562 | "node_modules/esprima": { 563 | "version": "4.0.1", 564 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 565 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 566 | "dev": true, 567 | "bin": { 568 | "esparse": "bin/esparse.js", 569 | "esvalidate": "bin/esvalidate.js" 570 | }, 571 | "engines": { 572 | "node": ">=4" 573 | } 574 | }, 575 | "node_modules/esquery": { 576 | "version": "1.0.1", 577 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.0.1.tgz", 578 | "integrity": "sha512-SmiyZ5zIWH9VM+SRUReLS5Q8a7GxtRdxEBVZpm98rJM7Sb+A9DVCndXfkeFUd3byderg+EbDkfnevfCwynWaNA==", 579 | "dev": true, 580 | "dependencies": { 581 | "estraverse": "^4.0.0" 582 | }, 583 | "engines": { 584 | "node": ">=0.6" 585 | } 586 | }, 587 | "node_modules/esrecurse": { 588 | "version": "4.2.1", 589 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", 590 | "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", 591 | "dev": true, 592 | "dependencies": { 593 | "estraverse": "^4.1.0" 594 | }, 595 | "engines": { 596 | "node": ">=4.0" 597 | } 598 | }, 599 | "node_modules/estraverse": { 600 | "version": "4.2.0", 601 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.2.0.tgz", 602 | "integrity": "sha1-De4/7TH81GlhjOc0IJn8GvoL2xM=", 603 | "dev": true, 604 | "engines": { 605 | "node": ">=0.10.0" 606 | } 607 | }, 608 | "node_modules/esutils": { 609 | "version": "2.0.2", 610 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.2.tgz", 611 | "integrity": "sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs=", 612 | "dev": true, 613 | "engines": { 614 | "node": ">=0.10.0" 615 | } 616 | }, 617 | "node_modules/external-editor": { 618 | "version": "3.0.3", 619 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.0.3.tgz", 620 | "integrity": "sha512-bn71H9+qWoOQKyZDo25mOMVpSmXROAsTJVVVYzrrtol3d4y+AsKjf4Iwl2Q+IuT0kFSQ1qo166UuIwqYq7mGnA==", 621 | "dependencies": { 622 | "chardet": "^0.7.0", 623 | "iconv-lite": "^0.4.24", 624 | "tmp": "^0.0.33" 625 | }, 626 | "engines": { 627 | "node": ">=4" 628 | } 629 | }, 630 | "node_modules/external-editor/node_modules/iconv-lite": { 631 | "version": "0.4.24", 632 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 633 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 634 | "dependencies": { 635 | "safer-buffer": ">= 2.1.2 < 3" 636 | }, 637 | "engines": { 638 | "node": ">=0.10.0" 639 | } 640 | }, 641 | "node_modules/fast-deep-equal": { 642 | "version": "3.1.3", 643 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", 644 | "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", 645 | "dev": true 646 | }, 647 | "node_modules/fast-diff": { 648 | "version": "1.2.0", 649 | "resolved": "https://registry.npmjs.org/fast-diff/-/fast-diff-1.2.0.tgz", 650 | "integrity": "sha512-xJuoT5+L99XlZ8twedaRf6Ax2TgQVxvgZOYoPKqZufmJib0tL2tegPBOZb1pVNgIhlqDlA0eO0c3wBvQcmzx4w==", 651 | "dev": true 652 | }, 653 | "node_modules/fast-json-stable-stringify": { 654 | "version": "2.0.0", 655 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz", 656 | "integrity": "sha1-1RQsDK7msRifh9OnYREGT4bIu/I=", 657 | "dev": true 658 | }, 659 | "node_modules/fast-levenshtein": { 660 | "version": "2.0.6", 661 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 662 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=", 663 | "dev": true 664 | }, 665 | "node_modules/figures": { 666 | "version": "2.0.0", 667 | "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", 668 | "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", 669 | "dependencies": { 670 | "escape-string-regexp": "^1.0.5" 671 | }, 672 | "engines": { 673 | "node": ">=4" 674 | } 675 | }, 676 | "node_modules/file-entry-cache": { 677 | "version": "5.0.1", 678 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", 679 | "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", 680 | "dev": true, 681 | "dependencies": { 682 | "flat-cache": "^2.0.1" 683 | }, 684 | "engines": { 685 | "node": ">=4" 686 | } 687 | }, 688 | "node_modules/flat-cache": { 689 | "version": "2.0.1", 690 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", 691 | "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", 692 | "dev": true, 693 | "dependencies": { 694 | "flatted": "^2.0.0", 695 | "rimraf": "2.6.3", 696 | "write": "1.0.3" 697 | }, 698 | "engines": { 699 | "node": ">=4" 700 | } 701 | }, 702 | "node_modules/flatted": { 703 | "version": "2.0.0", 704 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.0.tgz", 705 | "integrity": "sha512-R+H8IZclI8AAkSBRQJLVOsxwAoHd6WC40b4QTNWIjzAa6BXOBfQcM587MXDTVPeYaopFNWHUFLx7eNmHDSxMWg==", 706 | "dev": true 707 | }, 708 | "node_modules/foreground-child": { 709 | "version": "3.2.1", 710 | "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.2.1.tgz", 711 | "integrity": "sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA==", 712 | "dependencies": { 713 | "cross-spawn": "^7.0.0", 714 | "signal-exit": "^4.0.1" 715 | }, 716 | "engines": { 717 | "node": ">=14" 718 | }, 719 | "funding": { 720 | "url": "https://github.com/sponsors/isaacs" 721 | } 722 | }, 723 | "node_modules/foreground-child/node_modules/cross-spawn": { 724 | "version": "7.0.3", 725 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", 726 | "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", 727 | "dependencies": { 728 | "path-key": "^3.1.0", 729 | "shebang-command": "^2.0.0", 730 | "which": "^2.0.1" 731 | }, 732 | "engines": { 733 | "node": ">= 8" 734 | } 735 | }, 736 | "node_modules/foreground-child/node_modules/path-key": { 737 | "version": "3.1.1", 738 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", 739 | "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", 740 | "engines": { 741 | "node": ">=8" 742 | } 743 | }, 744 | "node_modules/foreground-child/node_modules/shebang-command": { 745 | "version": "2.0.0", 746 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", 747 | "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", 748 | "dependencies": { 749 | "shebang-regex": "^3.0.0" 750 | }, 751 | "engines": { 752 | "node": ">=8" 753 | } 754 | }, 755 | "node_modules/foreground-child/node_modules/shebang-regex": { 756 | "version": "3.0.0", 757 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", 758 | "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", 759 | "engines": { 760 | "node": ">=8" 761 | } 762 | }, 763 | "node_modules/foreground-child/node_modules/signal-exit": { 764 | "version": "4.1.0", 765 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", 766 | "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", 767 | "engines": { 768 | "node": ">=14" 769 | }, 770 | "funding": { 771 | "url": "https://github.com/sponsors/isaacs" 772 | } 773 | }, 774 | "node_modules/foreground-child/node_modules/which": { 775 | "version": "2.0.2", 776 | "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", 777 | "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", 778 | "dependencies": { 779 | "isexe": "^2.0.0" 780 | }, 781 | "bin": { 782 | "node-which": "bin/node-which" 783 | }, 784 | "engines": { 785 | "node": ">= 8" 786 | } 787 | }, 788 | "node_modules/fs-extra": { 789 | "version": "6.0.1", 790 | "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-6.0.1.tgz", 791 | "integrity": "sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA==", 792 | "dependencies": { 793 | "graceful-fs": "^4.1.2", 794 | "jsonfile": "^4.0.0", 795 | "universalify": "^0.1.0" 796 | } 797 | }, 798 | "node_modules/fs.realpath": { 799 | "version": "1.0.0", 800 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 801 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=", 802 | "dev": true 803 | }, 804 | "node_modules/functional-red-black-tree": { 805 | "version": "1.0.1", 806 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 807 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=", 808 | "dev": true 809 | }, 810 | "node_modules/get-stdin": { 811 | "version": "5.0.1", 812 | "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.1.tgz", 813 | "integrity": "sha1-Ei4WFZHiH/TFJTAwVpPyDmOTo5g=", 814 | "dev": true, 815 | "engines": { 816 | "node": ">=0.12.0" 817 | } 818 | }, 819 | "node_modules/glob": { 820 | "version": "7.1.3", 821 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", 822 | "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", 823 | "deprecated": "Glob versions prior to v9 are no longer supported", 824 | "dev": true, 825 | "dependencies": { 826 | "fs.realpath": "^1.0.0", 827 | "inflight": "^1.0.4", 828 | "inherits": "2", 829 | "minimatch": "^3.0.4", 830 | "once": "^1.3.0", 831 | "path-is-absolute": "^1.0.0" 832 | }, 833 | "engines": { 834 | "node": "*" 835 | } 836 | }, 837 | "node_modules/globals": { 838 | "version": "11.11.0", 839 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.11.0.tgz", 840 | "integrity": "sha512-WHq43gS+6ufNOEqlrDBxVEbb8ntfXrfAUU2ZOpCxrBdGKW3gyv8mCxAfIBD0DroPKGrJ2eSsXsLtY9MPntsyTw==", 841 | "dev": true, 842 | "engines": { 843 | "node": ">=4" 844 | } 845 | }, 846 | "node_modules/graceful-fs": { 847 | "version": "4.1.11", 848 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz", 849 | "integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg=", 850 | "engines": { 851 | "node": ">=0.4.0" 852 | } 853 | }, 854 | "node_modules/graceful-readlink": { 855 | "version": "1.0.1", 856 | "resolved": "https://registry.npmjs.org/graceful-readlink/-/graceful-readlink-1.0.1.tgz", 857 | "integrity": "sha1-TK+tdrxi8C+gObL5Tpo906ORpyU=" 858 | }, 859 | "node_modules/has-flag": { 860 | "version": "3.0.0", 861 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 862 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", 863 | "engines": { 864 | "node": ">=4" 865 | } 866 | }, 867 | "node_modules/ignore": { 868 | "version": "4.0.6", 869 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", 870 | "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", 871 | "dev": true, 872 | "engines": { 873 | "node": ">= 4" 874 | } 875 | }, 876 | "node_modules/import-fresh": { 877 | "version": "3.0.0", 878 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.0.0.tgz", 879 | "integrity": "sha512-pOnA9tfM3Uwics+SaBLCNyZZZbK+4PTu0OPZtLlMIrv17EdBoC15S9Kn8ckJ9TZTyKb3ywNE5y1yeDxxGA7nTQ==", 880 | "dev": true, 881 | "dependencies": { 882 | "parent-module": "^1.0.0", 883 | "resolve-from": "^4.0.0" 884 | }, 885 | "engines": { 886 | "node": ">=6" 887 | } 888 | }, 889 | "node_modules/imurmurhash": { 890 | "version": "0.1.4", 891 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 892 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", 893 | "dev": true, 894 | "engines": { 895 | "node": ">=0.8.19" 896 | } 897 | }, 898 | "node_modules/inflight": { 899 | "version": "1.0.6", 900 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 901 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 902 | "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", 903 | "dev": true, 904 | "dependencies": { 905 | "once": "^1.3.0", 906 | "wrappy": "1" 907 | } 908 | }, 909 | "node_modules/inherits": { 910 | "version": "2.0.3", 911 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", 912 | "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" 913 | }, 914 | "node_modules/inquirer": { 915 | "version": "6.2.2", 916 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.2.tgz", 917 | "integrity": "sha512-Z2rREiXA6cHRR9KBOarR3WuLlFzlIfAEIiB45ll5SSadMg7WqOh1MKEjjndfuH5ewXdixWCxqnVfGOQzPeiztA==", 918 | "dependencies": { 919 | "ansi-escapes": "^3.2.0", 920 | "chalk": "^2.4.2", 921 | "cli-cursor": "^2.1.0", 922 | "cli-width": "^2.0.0", 923 | "external-editor": "^3.0.3", 924 | "figures": "^2.0.0", 925 | "lodash": "^4.17.11", 926 | "mute-stream": "0.0.7", 927 | "run-async": "^2.2.0", 928 | "rxjs": "^6.4.0", 929 | "string-width": "^2.1.0", 930 | "strip-ansi": "^5.0.0", 931 | "through": "^2.3.6" 932 | }, 933 | "engines": { 934 | "node": ">=6.0.0" 935 | } 936 | }, 937 | "node_modules/inquirer/node_modules/ansi-escapes": { 938 | "version": "3.2.0", 939 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", 940 | "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", 941 | "engines": { 942 | "node": ">=4" 943 | } 944 | }, 945 | "node_modules/inquirer/node_modules/ansi-regex": { 946 | "version": "4.1.1", 947 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", 948 | "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", 949 | "engines": { 950 | "node": ">=6" 951 | } 952 | }, 953 | "node_modules/inquirer/node_modules/strip-ansi": { 954 | "version": "5.0.0", 955 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz", 956 | "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==", 957 | "dependencies": { 958 | "ansi-regex": "^4.0.0" 959 | }, 960 | "engines": { 961 | "node": ">=6" 962 | } 963 | }, 964 | "node_modules/is-fullwidth-code-point": { 965 | "version": "2.0.0", 966 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 967 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", 968 | "engines": { 969 | "node": ">=4" 970 | } 971 | }, 972 | "node_modules/is-promise": { 973 | "version": "2.1.0", 974 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", 975 | "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=" 976 | }, 977 | "node_modules/isexe": { 978 | "version": "2.0.0", 979 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 980 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" 981 | }, 982 | "node_modules/jackspeak": { 983 | "version": "3.4.0", 984 | "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.0.tgz", 985 | "integrity": "sha512-JVYhQnN59LVPFCEcVa2C3CrEKYacvjRfqIQl+h8oi91aLYQVWRYbxjPcv1bUiUy/kLmQaANrYfNMCO3kuEDHfw==", 986 | "dependencies": { 987 | "@isaacs/cliui": "^8.0.2" 988 | }, 989 | "engines": { 990 | "node": ">=14" 991 | }, 992 | "funding": { 993 | "url": "https://github.com/sponsors/isaacs" 994 | }, 995 | "optionalDependencies": { 996 | "@pkgjs/parseargs": "^0.11.0" 997 | } 998 | }, 999 | "node_modules/jest-docblock": { 1000 | "version": "21.2.0", 1001 | "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-21.2.0.tgz", 1002 | "integrity": "sha512-5IZ7sY9dBAYSV+YjQ0Ovb540Ku7AO9Z5o2Cg789xj167iQuZ2cG+z0f3Uct6WeYLbU6aQiM2pCs7sZ+4dotydw==", 1003 | "dev": true 1004 | }, 1005 | "node_modules/js-tokens": { 1006 | "version": "4.0.0", 1007 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 1008 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", 1009 | "dev": true 1010 | }, 1011 | "node_modules/js-yaml": { 1012 | "version": "3.14.1", 1013 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", 1014 | "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", 1015 | "dev": true, 1016 | "dependencies": { 1017 | "argparse": "^1.0.7", 1018 | "esprima": "^4.0.0" 1019 | }, 1020 | "bin": { 1021 | "js-yaml": "bin/js-yaml.js" 1022 | } 1023 | }, 1024 | "node_modules/json-schema-traverse": { 1025 | "version": "0.4.1", 1026 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1027 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", 1028 | "dev": true 1029 | }, 1030 | "node_modules/json-stable-stringify-without-jsonify": { 1031 | "version": "1.0.1", 1032 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1033 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=", 1034 | "dev": true 1035 | }, 1036 | "node_modules/jsonfile": { 1037 | "version": "4.0.0", 1038 | "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", 1039 | "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", 1040 | "optionalDependencies": { 1041 | "graceful-fs": "^4.1.6" 1042 | } 1043 | }, 1044 | "node_modules/klaw": { 1045 | "version": "2.1.1", 1046 | "resolved": "https://registry.npmjs.org/klaw/-/klaw-2.1.1.tgz", 1047 | "integrity": "sha1-QrdolHARacyRD9DRnOZ3tfs3ivE=", 1048 | "dependencies": { 1049 | "graceful-fs": "^4.1.9" 1050 | } 1051 | }, 1052 | "node_modules/levn": { 1053 | "version": "0.3.0", 1054 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", 1055 | "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", 1056 | "dev": true, 1057 | "dependencies": { 1058 | "prelude-ls": "~1.1.2", 1059 | "type-check": "~0.3.2" 1060 | }, 1061 | "engines": { 1062 | "node": ">= 0.8.0" 1063 | } 1064 | }, 1065 | "node_modules/lodash": { 1066 | "version": "4.17.21", 1067 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 1068 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" 1069 | }, 1070 | "node_modules/lru-cache": { 1071 | "version": "10.2.2", 1072 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.2.2.tgz", 1073 | "integrity": "sha512-9hp3Vp2/hFQUiIwKo8XCeFVnrg8Pk3TYNPIR7tJADKi5YfcF7vEaK7avFHTlSy3kOKYaJQaalfEo6YuXdceBOQ==", 1074 | "engines": { 1075 | "node": "14 || >=16.14" 1076 | } 1077 | }, 1078 | "node_modules/mimic-fn": { 1079 | "version": "1.2.0", 1080 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", 1081 | "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", 1082 | "engines": { 1083 | "node": ">=4" 1084 | } 1085 | }, 1086 | "node_modules/minimalistic-assert": { 1087 | "version": "1.0.1", 1088 | "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", 1089 | "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" 1090 | }, 1091 | "node_modules/minimatch": { 1092 | "version": "3.1.2", 1093 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1094 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1095 | "dev": true, 1096 | "dependencies": { 1097 | "brace-expansion": "^1.1.7" 1098 | }, 1099 | "engines": { 1100 | "node": "*" 1101 | } 1102 | }, 1103 | "node_modules/minimist": { 1104 | "version": "1.2.8", 1105 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 1106 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 1107 | "dev": true, 1108 | "funding": { 1109 | "url": "https://github.com/sponsors/ljharb" 1110 | } 1111 | }, 1112 | "node_modules/minipass": { 1113 | "version": "7.1.2", 1114 | "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", 1115 | "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", 1116 | "engines": { 1117 | "node": ">=16 || 14 >=14.17" 1118 | } 1119 | }, 1120 | "node_modules/minizlib": { 1121 | "version": "3.0.1", 1122 | "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-3.0.1.tgz", 1123 | "integrity": "sha512-umcy022ILvb5/3Djuu8LWeqUa8D68JaBzlttKeMWen48SjabqS3iY5w/vzeMzMUNhLDifyhbOwKDSznB1vvrwg==", 1124 | "dependencies": { 1125 | "minipass": "^7.0.4", 1126 | "rimraf": "^5.0.5" 1127 | }, 1128 | "engines": { 1129 | "node": ">= 18" 1130 | } 1131 | }, 1132 | "node_modules/minizlib/node_modules/brace-expansion": { 1133 | "version": "2.0.1", 1134 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", 1135 | "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", 1136 | "dependencies": { 1137 | "balanced-match": "^1.0.0" 1138 | } 1139 | }, 1140 | "node_modules/minizlib/node_modules/glob": { 1141 | "version": "10.4.2", 1142 | "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.2.tgz", 1143 | "integrity": "sha512-GwMlUF6PkPo3Gk21UxkCohOv0PLcIXVtKyLlpEI28R/cO/4eNOdmLk3CMW1wROV/WR/EsZOWAfBbBOqYvs88/w==", 1144 | "dependencies": { 1145 | "foreground-child": "^3.1.0", 1146 | "jackspeak": "^3.1.2", 1147 | "minimatch": "^9.0.4", 1148 | "minipass": "^7.1.2", 1149 | "package-json-from-dist": "^1.0.0", 1150 | "path-scurry": "^1.11.1" 1151 | }, 1152 | "bin": { 1153 | "glob": "dist/esm/bin.mjs" 1154 | }, 1155 | "engines": { 1156 | "node": ">=16 || 14 >=14.18" 1157 | }, 1158 | "funding": { 1159 | "url": "https://github.com/sponsors/isaacs" 1160 | } 1161 | }, 1162 | "node_modules/minizlib/node_modules/minimatch": { 1163 | "version": "9.0.4", 1164 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.4.tgz", 1165 | "integrity": "sha512-KqWh+VchfxcMNRAJjj2tnsSJdNbHsVgnkBhTNrW7AjVo6OvLtxw8zfT9oLw1JSohlFzJ8jCoTgaoXvJ+kHt6fw==", 1166 | "dependencies": { 1167 | "brace-expansion": "^2.0.1" 1168 | }, 1169 | "engines": { 1170 | "node": ">=16 || 14 >=14.17" 1171 | }, 1172 | "funding": { 1173 | "url": "https://github.com/sponsors/isaacs" 1174 | } 1175 | }, 1176 | "node_modules/minizlib/node_modules/rimraf": { 1177 | "version": "5.0.7", 1178 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-5.0.7.tgz", 1179 | "integrity": "sha512-nV6YcJo5wbLW77m+8KjH8aB/7/rxQy9SZ0HY5shnwULfS+9nmTtVXAJET5NdZmCzA4fPI/Hm1wo/Po/4mopOdg==", 1180 | "dependencies": { 1181 | "glob": "^10.3.7" 1182 | }, 1183 | "bin": { 1184 | "rimraf": "dist/esm/bin.mjs" 1185 | }, 1186 | "engines": { 1187 | "node": ">=14.18" 1188 | }, 1189 | "funding": { 1190 | "url": "https://github.com/sponsors/isaacs" 1191 | } 1192 | }, 1193 | "node_modules/mkdirp": { 1194 | "version": "0.5.6", 1195 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 1196 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 1197 | "dev": true, 1198 | "dependencies": { 1199 | "minimist": "^1.2.6" 1200 | }, 1201 | "bin": { 1202 | "mkdirp": "bin/cmd.js" 1203 | } 1204 | }, 1205 | "node_modules/ms": { 1206 | "version": "2.1.2", 1207 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1208 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1209 | "dev": true 1210 | }, 1211 | "node_modules/mute-stream": { 1212 | "version": "0.0.7", 1213 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", 1214 | "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=" 1215 | }, 1216 | "node_modules/natural-compare": { 1217 | "version": "1.4.0", 1218 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 1219 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=", 1220 | "dev": true 1221 | }, 1222 | "node_modules/nice-try": { 1223 | "version": "1.0.5", 1224 | "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", 1225 | "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", 1226 | "dev": true 1227 | }, 1228 | "node_modules/once": { 1229 | "version": "1.4.0", 1230 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1231 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 1232 | "dev": true, 1233 | "dependencies": { 1234 | "wrappy": "1" 1235 | } 1236 | }, 1237 | "node_modules/onetime": { 1238 | "version": "2.0.1", 1239 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", 1240 | "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", 1241 | "dependencies": { 1242 | "mimic-fn": "^1.0.0" 1243 | }, 1244 | "engines": { 1245 | "node": ">=4" 1246 | } 1247 | }, 1248 | "node_modules/openpgp": { 1249 | "version": "5.11.2", 1250 | "resolved": "https://registry.npmjs.org/openpgp/-/openpgp-5.11.2.tgz", 1251 | "integrity": "sha512-f8dJFVLwdkvPvW3VPFs6q9Vs2+HNhdvwls7a/MIFcQUB+XiQzRe7alfa3RtwfGJU7oUDDMAWPZ0nYsHa23Az+A==", 1252 | "dependencies": { 1253 | "asn1.js": "^5.0.0" 1254 | }, 1255 | "engines": { 1256 | "node": ">= 8.0.0" 1257 | } 1258 | }, 1259 | "node_modules/optionator": { 1260 | "version": "0.8.2", 1261 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.2.tgz", 1262 | "integrity": "sha1-NkxeQJ0/TWMB1sC0wFu6UBgK62Q=", 1263 | "dev": true, 1264 | "dependencies": { 1265 | "deep-is": "~0.1.3", 1266 | "fast-levenshtein": "~2.0.4", 1267 | "levn": "~0.3.0", 1268 | "prelude-ls": "~1.1.2", 1269 | "type-check": "~0.3.2", 1270 | "wordwrap": "~1.0.0" 1271 | }, 1272 | "engines": { 1273 | "node": ">= 0.8.0" 1274 | } 1275 | }, 1276 | "node_modules/os-tmpdir": { 1277 | "version": "1.0.2", 1278 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 1279 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", 1280 | "engines": { 1281 | "node": ">=0.10.0" 1282 | } 1283 | }, 1284 | "node_modules/package-json-from-dist": { 1285 | "version": "1.0.0", 1286 | "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.0.tgz", 1287 | "integrity": "sha512-dATvCeZN/8wQsGywez1mzHtTlP22H8OEfPrVMLNr4/eGa+ijtLn/6M5f0dY8UKNrC2O9UCU6SSoG3qRKnt7STw==" 1288 | }, 1289 | "node_modules/parent-module": { 1290 | "version": "1.0.0", 1291 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.0.tgz", 1292 | "integrity": "sha512-8Mf5juOMmiE4FcmzYc4IaiS9L3+9paz2KOiXzkRviCP6aDmN49Hz6EMWz0lGNp9pX80GvvAuLADtyGfW/Em3TA==", 1293 | "dev": true, 1294 | "dependencies": { 1295 | "callsites": "^3.0.0" 1296 | }, 1297 | "engines": { 1298 | "node": ">=6" 1299 | } 1300 | }, 1301 | "node_modules/path-is-absolute": { 1302 | "version": "1.0.1", 1303 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1304 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", 1305 | "dev": true, 1306 | "engines": { 1307 | "node": ">=0.10.0" 1308 | } 1309 | }, 1310 | "node_modules/path-is-inside": { 1311 | "version": "1.0.2", 1312 | "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", 1313 | "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=", 1314 | "dev": true 1315 | }, 1316 | "node_modules/path-key": { 1317 | "version": "2.0.1", 1318 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", 1319 | "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", 1320 | "dev": true, 1321 | "engines": { 1322 | "node": ">=4" 1323 | } 1324 | }, 1325 | "node_modules/path-scurry": { 1326 | "version": "1.11.1", 1327 | "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", 1328 | "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", 1329 | "dependencies": { 1330 | "lru-cache": "^10.2.0", 1331 | "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" 1332 | }, 1333 | "engines": { 1334 | "node": ">=16 || 14 >=14.18" 1335 | }, 1336 | "funding": { 1337 | "url": "https://github.com/sponsors/isaacs" 1338 | } 1339 | }, 1340 | "node_modules/prelude-ls": { 1341 | "version": "1.1.2", 1342 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", 1343 | "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", 1344 | "dev": true, 1345 | "engines": { 1346 | "node": ">= 0.8.0" 1347 | } 1348 | }, 1349 | "node_modules/prettier": { 1350 | "version": "1.16.4", 1351 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.16.4.tgz", 1352 | "integrity": "sha512-ZzWuos7TI5CKUeQAtFd6Zhm2s6EpAD/ZLApIhsF9pRvRtM1RFo61dM/4MSRUA0SuLugA/zgrZD8m0BaY46Og7g==", 1353 | "dev": true, 1354 | "bin": { 1355 | "prettier": "bin-prettier.js" 1356 | }, 1357 | "engines": { 1358 | "node": ">=4" 1359 | } 1360 | }, 1361 | "node_modules/progress": { 1362 | "version": "2.0.3", 1363 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 1364 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", 1365 | "dev": true, 1366 | "engines": { 1367 | "node": ">=0.4.0" 1368 | } 1369 | }, 1370 | "node_modules/punycode": { 1371 | "version": "2.1.1", 1372 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 1373 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", 1374 | "dev": true, 1375 | "engines": { 1376 | "node": ">=6" 1377 | } 1378 | }, 1379 | "node_modules/regexpp": { 1380 | "version": "2.0.1", 1381 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", 1382 | "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", 1383 | "dev": true, 1384 | "engines": { 1385 | "node": ">=6.5.0" 1386 | } 1387 | }, 1388 | "node_modules/resolve-from": { 1389 | "version": "4.0.0", 1390 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 1391 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", 1392 | "dev": true, 1393 | "engines": { 1394 | "node": ">=4" 1395 | } 1396 | }, 1397 | "node_modules/restore-cursor": { 1398 | "version": "2.0.0", 1399 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", 1400 | "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", 1401 | "dependencies": { 1402 | "onetime": "^2.0.0", 1403 | "signal-exit": "^3.0.2" 1404 | }, 1405 | "engines": { 1406 | "node": ">=4" 1407 | } 1408 | }, 1409 | "node_modules/rimraf": { 1410 | "version": "2.6.3", 1411 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", 1412 | "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", 1413 | "deprecated": "Rimraf versions prior to v4 are no longer supported", 1414 | "dev": true, 1415 | "dependencies": { 1416 | "glob": "^7.1.3" 1417 | }, 1418 | "bin": { 1419 | "rimraf": "bin.js" 1420 | } 1421 | }, 1422 | "node_modules/run-async": { 1423 | "version": "2.3.0", 1424 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", 1425 | "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", 1426 | "dependencies": { 1427 | "is-promise": "^2.1.0" 1428 | }, 1429 | "engines": { 1430 | "node": ">=0.12.0" 1431 | } 1432 | }, 1433 | "node_modules/rxjs": { 1434 | "version": "6.4.0", 1435 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.4.0.tgz", 1436 | "integrity": "sha512-Z9Yfa11F6B9Sg/BK9MnqnQ+aQYicPLtilXBp2yUtDt2JRCE0h26d33EnfO3ZxoNxG0T92OUucP3Ct7cpfkdFfw==", 1437 | "dependencies": { 1438 | "tslib": "^1.9.0" 1439 | }, 1440 | "engines": { 1441 | "npm": ">=2.0.0" 1442 | } 1443 | }, 1444 | "node_modules/safer-buffer": { 1445 | "version": "2.1.2", 1446 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1447 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 1448 | }, 1449 | "node_modules/semver": { 1450 | "version": "5.7.2", 1451 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", 1452 | "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", 1453 | "dev": true, 1454 | "bin": { 1455 | "semver": "bin/semver" 1456 | } 1457 | }, 1458 | "node_modules/shebang-command": { 1459 | "version": "1.2.0", 1460 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 1461 | "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", 1462 | "dev": true, 1463 | "dependencies": { 1464 | "shebang-regex": "^1.0.0" 1465 | }, 1466 | "engines": { 1467 | "node": ">=0.10.0" 1468 | } 1469 | }, 1470 | "node_modules/shebang-regex": { 1471 | "version": "1.0.0", 1472 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", 1473 | "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", 1474 | "dev": true, 1475 | "engines": { 1476 | "node": ">=0.10.0" 1477 | } 1478 | }, 1479 | "node_modules/signal-exit": { 1480 | "version": "3.0.2", 1481 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", 1482 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" 1483 | }, 1484 | "node_modules/slice-ansi": { 1485 | "version": "2.1.0", 1486 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", 1487 | "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", 1488 | "dev": true, 1489 | "dependencies": { 1490 | "ansi-styles": "^3.2.0", 1491 | "astral-regex": "^1.0.0", 1492 | "is-fullwidth-code-point": "^2.0.0" 1493 | }, 1494 | "engines": { 1495 | "node": ">=6" 1496 | } 1497 | }, 1498 | "node_modules/sprintf-js": { 1499 | "version": "1.0.3", 1500 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 1501 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=", 1502 | "dev": true 1503 | }, 1504 | "node_modules/string-width": { 1505 | "version": "2.1.1", 1506 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 1507 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 1508 | "dependencies": { 1509 | "is-fullwidth-code-point": "^2.0.0", 1510 | "strip-ansi": "^4.0.0" 1511 | }, 1512 | "engines": { 1513 | "node": ">=4" 1514 | } 1515 | }, 1516 | "node_modules/string-width-cjs": { 1517 | "name": "string-width", 1518 | "version": "4.2.3", 1519 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1520 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1521 | "dependencies": { 1522 | "emoji-regex": "^8.0.0", 1523 | "is-fullwidth-code-point": "^3.0.0", 1524 | "strip-ansi": "^6.0.1" 1525 | }, 1526 | "engines": { 1527 | "node": ">=8" 1528 | } 1529 | }, 1530 | "node_modules/string-width-cjs/node_modules/ansi-regex": { 1531 | "version": "5.0.1", 1532 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1533 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1534 | "engines": { 1535 | "node": ">=8" 1536 | } 1537 | }, 1538 | "node_modules/string-width-cjs/node_modules/emoji-regex": { 1539 | "version": "8.0.0", 1540 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1541 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 1542 | }, 1543 | "node_modules/string-width-cjs/node_modules/is-fullwidth-code-point": { 1544 | "version": "3.0.0", 1545 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1546 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1547 | "engines": { 1548 | "node": ">=8" 1549 | } 1550 | }, 1551 | "node_modules/string-width-cjs/node_modules/strip-ansi": { 1552 | "version": "6.0.1", 1553 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1554 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1555 | "dependencies": { 1556 | "ansi-regex": "^5.0.1" 1557 | }, 1558 | "engines": { 1559 | "node": ">=8" 1560 | } 1561 | }, 1562 | "node_modules/strip-ansi": { 1563 | "version": "4.0.0", 1564 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 1565 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 1566 | "dependencies": { 1567 | "ansi-regex": "^3.0.0" 1568 | }, 1569 | "engines": { 1570 | "node": ">=4" 1571 | } 1572 | }, 1573 | "node_modules/strip-ansi-cjs": { 1574 | "name": "strip-ansi", 1575 | "version": "6.0.1", 1576 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1577 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1578 | "dependencies": { 1579 | "ansi-regex": "^5.0.1" 1580 | }, 1581 | "engines": { 1582 | "node": ">=8" 1583 | } 1584 | }, 1585 | "node_modules/strip-ansi-cjs/node_modules/ansi-regex": { 1586 | "version": "5.0.1", 1587 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1588 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1589 | "engines": { 1590 | "node": ">=8" 1591 | } 1592 | }, 1593 | "node_modules/strip-json-comments": { 1594 | "version": "2.0.1", 1595 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 1596 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", 1597 | "dev": true, 1598 | "engines": { 1599 | "node": ">=0.10.0" 1600 | } 1601 | }, 1602 | "node_modules/supports-color": { 1603 | "version": "5.4.0", 1604 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.4.0.tgz", 1605 | "integrity": "sha512-zjaXglF5nnWpsq470jSv6P9DwPvgLkuapYmfDm3JWOm0vkNTVF2tI4UrN2r6jH1qM/uc/WtxYY1hYoA2dOKj5w==", 1606 | "dependencies": { 1607 | "has-flag": "^3.0.0" 1608 | }, 1609 | "engines": { 1610 | "node": ">=4" 1611 | } 1612 | }, 1613 | "node_modules/table": { 1614 | "version": "5.2.3", 1615 | "resolved": "https://registry.npmjs.org/table/-/table-5.2.3.tgz", 1616 | "integrity": "sha512-N2RsDAMvDLvYwFcwbPyF3VmVSSkuF+G1e+8inhBLtHpvwXGw4QRPEZhihQNeEN0i1up6/f6ObCJXNdlRG3YVyQ==", 1617 | "dev": true, 1618 | "dependencies": { 1619 | "ajv": "^6.9.1", 1620 | "lodash": "^4.17.11", 1621 | "slice-ansi": "^2.1.0", 1622 | "string-width": "^3.0.0" 1623 | }, 1624 | "engines": { 1625 | "node": ">=6.0.0" 1626 | } 1627 | }, 1628 | "node_modules/table/node_modules/ansi-regex": { 1629 | "version": "4.1.1", 1630 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.1.tgz", 1631 | "integrity": "sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==", 1632 | "dev": true, 1633 | "engines": { 1634 | "node": ">=6" 1635 | } 1636 | }, 1637 | "node_modules/table/node_modules/string-width": { 1638 | "version": "3.0.0", 1639 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.0.0.tgz", 1640 | "integrity": "sha512-rr8CUxBbvOZDUvc5lNIJ+OC1nPVpz+Siw9VBtUjB9b6jZehZLFt0JMCZzShFHIsI8cbhm0EsNIfWJMFV3cu3Ew==", 1641 | "dev": true, 1642 | "dependencies": { 1643 | "emoji-regex": "^7.0.1", 1644 | "is-fullwidth-code-point": "^2.0.0", 1645 | "strip-ansi": "^5.0.0" 1646 | }, 1647 | "engines": { 1648 | "node": ">=6" 1649 | } 1650 | }, 1651 | "node_modules/table/node_modules/strip-ansi": { 1652 | "version": "5.0.0", 1653 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz", 1654 | "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==", 1655 | "dev": true, 1656 | "dependencies": { 1657 | "ansi-regex": "^4.0.0" 1658 | }, 1659 | "engines": { 1660 | "node": ">=6" 1661 | } 1662 | }, 1663 | "node_modules/tar": { 1664 | "version": "7.4.0", 1665 | "resolved": "https://registry.npmjs.org/tar/-/tar-7.4.0.tgz", 1666 | "integrity": "sha512-XQs0S8fuAkQWuqhDeCdMlJXDX80D7EOVLDPVFkna9yQfzS+PHKgfxcei0jf6/+QAWcjqrnC8uM3fSAnrQl+XYg==", 1667 | "dependencies": { 1668 | "@isaacs/fs-minipass": "^4.0.0", 1669 | "chownr": "^3.0.0", 1670 | "minipass": "^7.1.2", 1671 | "minizlib": "^3.0.1", 1672 | "mkdirp": "^3.0.1", 1673 | "yallist": "^5.0.0" 1674 | }, 1675 | "engines": { 1676 | "node": ">=18" 1677 | } 1678 | }, 1679 | "node_modules/tar/node_modules/mkdirp": { 1680 | "version": "3.0.1", 1681 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-3.0.1.tgz", 1682 | "integrity": "sha512-+NsyUUAZDmo6YVHzL/stxSu3t9YS1iljliy3BSDrXJ/dkn1KYdmtZODGGjLcc9XLgVVpH4KshHB8XmZgMhaBXg==", 1683 | "bin": { 1684 | "mkdirp": "dist/cjs/src/bin.js" 1685 | }, 1686 | "engines": { 1687 | "node": ">=10" 1688 | }, 1689 | "funding": { 1690 | "url": "https://github.com/sponsors/isaacs" 1691 | } 1692 | }, 1693 | "node_modules/text-table": { 1694 | "version": "0.2.0", 1695 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 1696 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=", 1697 | "dev": true 1698 | }, 1699 | "node_modules/through": { 1700 | "version": "2.3.8", 1701 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 1702 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" 1703 | }, 1704 | "node_modules/tmp": { 1705 | "version": "0.0.33", 1706 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", 1707 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", 1708 | "dependencies": { 1709 | "os-tmpdir": "~1.0.2" 1710 | }, 1711 | "engines": { 1712 | "node": ">=0.6.0" 1713 | } 1714 | }, 1715 | "node_modules/tslib": { 1716 | "version": "1.9.3", 1717 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.3.tgz", 1718 | "integrity": "sha512-4krF8scpejhaOgqzBEcGM7yDIEfi0/8+8zDRZhNZZ2kjmHJ4hv3zCbQWxoJGz1iw5U0Jl0nma13xzHXcncMavQ==" 1719 | }, 1720 | "node_modules/type-check": { 1721 | "version": "0.3.2", 1722 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", 1723 | "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", 1724 | "dev": true, 1725 | "dependencies": { 1726 | "prelude-ls": "~1.1.2" 1727 | }, 1728 | "engines": { 1729 | "node": ">= 0.8.0" 1730 | } 1731 | }, 1732 | "node_modules/unipkg": { 1733 | "version": "0.2.1", 1734 | "resolved": "https://registry.npmjs.org/unipkg/-/unipkg-0.2.1.tgz", 1735 | "integrity": "sha512-UxT5jRB2qfxgyg4Jw4DscUlb9KpP7q3O++tLIGMcWeg+OnUzNiH8fspo3PRB/+GAQeQvHqchAvw1l5LPTjMneg==", 1736 | "dependencies": { 1737 | "ar": "0.0.1", 1738 | "commander": "^2.19.0", 1739 | "fs-extra": "^6.0.1", 1740 | "klaw": "^2.1.1", 1741 | "tar": "^7.4.0", 1742 | "tmp": "^0.2.3" 1743 | }, 1744 | "bin": { 1745 | "unipkg": "bin/unipkg.js" 1746 | }, 1747 | "engines": { 1748 | "node": ">=4.0.0" 1749 | } 1750 | }, 1751 | "node_modules/unipkg/node_modules/tmp": { 1752 | "version": "0.2.3", 1753 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", 1754 | "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", 1755 | "engines": { 1756 | "node": ">=14.14" 1757 | } 1758 | }, 1759 | "node_modules/universalify": { 1760 | "version": "0.1.1", 1761 | "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.1.tgz", 1762 | "integrity": "sha1-+nG63UQ3r0wUiEHjs7Fl+enlkLc=" 1763 | }, 1764 | "node_modules/uri-js": { 1765 | "version": "4.2.2", 1766 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", 1767 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", 1768 | "dev": true, 1769 | "dependencies": { 1770 | "punycode": "^2.1.0" 1771 | } 1772 | }, 1773 | "node_modules/which": { 1774 | "version": "1.3.1", 1775 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 1776 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 1777 | "dev": true, 1778 | "dependencies": { 1779 | "isexe": "^2.0.0" 1780 | }, 1781 | "bin": { 1782 | "which": "bin/which" 1783 | } 1784 | }, 1785 | "node_modules/wordwrap": { 1786 | "version": "1.0.0", 1787 | "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", 1788 | "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=", 1789 | "dev": true 1790 | }, 1791 | "node_modules/wrap-ansi": { 1792 | "version": "8.1.0", 1793 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", 1794 | "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", 1795 | "dependencies": { 1796 | "ansi-styles": "^6.1.0", 1797 | "string-width": "^5.0.1", 1798 | "strip-ansi": "^7.0.1" 1799 | }, 1800 | "engines": { 1801 | "node": ">=12" 1802 | }, 1803 | "funding": { 1804 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 1805 | } 1806 | }, 1807 | "node_modules/wrap-ansi-cjs": { 1808 | "name": "wrap-ansi", 1809 | "version": "7.0.0", 1810 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 1811 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 1812 | "dependencies": { 1813 | "ansi-styles": "^4.0.0", 1814 | "string-width": "^4.1.0", 1815 | "strip-ansi": "^6.0.0" 1816 | }, 1817 | "engines": { 1818 | "node": ">=10" 1819 | }, 1820 | "funding": { 1821 | "url": "https://github.com/chalk/wrap-ansi?sponsor=1" 1822 | } 1823 | }, 1824 | "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": { 1825 | "version": "5.0.1", 1826 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 1827 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 1828 | "engines": { 1829 | "node": ">=8" 1830 | } 1831 | }, 1832 | "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": { 1833 | "version": "4.3.0", 1834 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 1835 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 1836 | "dependencies": { 1837 | "color-convert": "^2.0.1" 1838 | }, 1839 | "engines": { 1840 | "node": ">=8" 1841 | }, 1842 | "funding": { 1843 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 1844 | } 1845 | }, 1846 | "node_modules/wrap-ansi-cjs/node_modules/color-convert": { 1847 | "version": "2.0.1", 1848 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 1849 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 1850 | "dependencies": { 1851 | "color-name": "~1.1.4" 1852 | }, 1853 | "engines": { 1854 | "node": ">=7.0.0" 1855 | } 1856 | }, 1857 | "node_modules/wrap-ansi-cjs/node_modules/color-name": { 1858 | "version": "1.1.4", 1859 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 1860 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" 1861 | }, 1862 | "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": { 1863 | "version": "8.0.0", 1864 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 1865 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" 1866 | }, 1867 | "node_modules/wrap-ansi-cjs/node_modules/is-fullwidth-code-point": { 1868 | "version": "3.0.0", 1869 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 1870 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 1871 | "engines": { 1872 | "node": ">=8" 1873 | } 1874 | }, 1875 | "node_modules/wrap-ansi-cjs/node_modules/string-width": { 1876 | "version": "4.2.3", 1877 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1878 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1879 | "dependencies": { 1880 | "emoji-regex": "^8.0.0", 1881 | "is-fullwidth-code-point": "^3.0.0", 1882 | "strip-ansi": "^6.0.1" 1883 | }, 1884 | "engines": { 1885 | "node": ">=8" 1886 | } 1887 | }, 1888 | "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": { 1889 | "version": "6.0.1", 1890 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1891 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1892 | "dependencies": { 1893 | "ansi-regex": "^5.0.1" 1894 | }, 1895 | "engines": { 1896 | "node": ">=8" 1897 | } 1898 | }, 1899 | "node_modules/wrap-ansi/node_modules/ansi-regex": { 1900 | "version": "6.0.1", 1901 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.0.1.tgz", 1902 | "integrity": "sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==", 1903 | "engines": { 1904 | "node": ">=12" 1905 | }, 1906 | "funding": { 1907 | "url": "https://github.com/chalk/ansi-regex?sponsor=1" 1908 | } 1909 | }, 1910 | "node_modules/wrap-ansi/node_modules/ansi-styles": { 1911 | "version": "6.2.1", 1912 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", 1913 | "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", 1914 | "engines": { 1915 | "node": ">=12" 1916 | }, 1917 | "funding": { 1918 | "url": "https://github.com/chalk/ansi-styles?sponsor=1" 1919 | } 1920 | }, 1921 | "node_modules/wrap-ansi/node_modules/emoji-regex": { 1922 | "version": "9.2.2", 1923 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", 1924 | "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" 1925 | }, 1926 | "node_modules/wrap-ansi/node_modules/string-width": { 1927 | "version": "5.1.2", 1928 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", 1929 | "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", 1930 | "dependencies": { 1931 | "eastasianwidth": "^0.2.0", 1932 | "emoji-regex": "^9.2.2", 1933 | "strip-ansi": "^7.0.1" 1934 | }, 1935 | "engines": { 1936 | "node": ">=12" 1937 | }, 1938 | "funding": { 1939 | "url": "https://github.com/sponsors/sindresorhus" 1940 | } 1941 | }, 1942 | "node_modules/wrap-ansi/node_modules/strip-ansi": { 1943 | "version": "7.1.0", 1944 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", 1945 | "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", 1946 | "dependencies": { 1947 | "ansi-regex": "^6.0.1" 1948 | }, 1949 | "engines": { 1950 | "node": ">=12" 1951 | }, 1952 | "funding": { 1953 | "url": "https://github.com/chalk/strip-ansi?sponsor=1" 1954 | } 1955 | }, 1956 | "node_modules/wrappy": { 1957 | "version": "1.0.2", 1958 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1959 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=", 1960 | "dev": true 1961 | }, 1962 | "node_modules/write": { 1963 | "version": "1.0.3", 1964 | "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", 1965 | "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", 1966 | "dev": true, 1967 | "dependencies": { 1968 | "mkdirp": "^0.5.1" 1969 | }, 1970 | "engines": { 1971 | "node": ">=4" 1972 | } 1973 | }, 1974 | "node_modules/yallist": { 1975 | "version": "5.0.0", 1976 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-5.0.0.tgz", 1977 | "integrity": "sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==", 1978 | "engines": { 1979 | "node": ">=18" 1980 | } 1981 | } 1982 | } 1983 | } 1984 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "rpo", 3 | "version": "2.0.3", 4 | "description": "Debian/Cydia repository manager via a CLI.", 5 | "main": "src/index.js", 6 | "scripts": { 7 | "lint": "eslint src bin", 8 | "lint-fix": "eslint src bin --fix", 9 | "test": "echo \"Error: no test specified\" && exit 1" 10 | }, 11 | "repository": { 12 | "type": "git", 13 | "url": "git+https://github.com/FrederickGeek8/repo-manager.git" 14 | }, 15 | "keywords": [ 16 | "cydia", 17 | "repo", 18 | "debian", 19 | "deb", 20 | "apt", 21 | "repository", 22 | "manager" 23 | ], 24 | "author": "Frederick Morlock", 25 | "license": "GPL-3.0-only", 26 | "bugs": { 27 | "url": "https://github.com/FrederickGeek8/repo-manager/issues" 28 | }, 29 | "bin": { 30 | "rpo": "bin/rpo.js" 31 | }, 32 | "engines": { 33 | "node": ">=18.0.0" 34 | }, 35 | "homepage": "https://github.com/FrederickGeek8/repo-manager#readme", 36 | "dependencies": { 37 | "commander": "^2.19.0", 38 | "compressjs": "git+https://github.com/openpgpjs/compressjs.git", 39 | "fs-extra": "^6.0.1", 40 | "inquirer": "^6.2.2", 41 | "openpgp": "^5.11.2", 42 | "unipkg": "^0.2.1" 43 | }, 44 | "devDependencies": { 45 | "eslint": "^5.14.1", 46 | "eslint-config-prettier": "^2.10.0", 47 | "eslint-plugin-jest": "^21.27.2", 48 | "eslint-plugin-prettier": "^2.7.0", 49 | "prettier": "^1.16.4" 50 | } 51 | } 52 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | const pkgManager = require("./package_manager"); 2 | const settings = require("./settings"); 3 | 4 | module.exports = { 5 | PackageManager: pkgManager, 6 | Settings: settings 7 | }; 8 | -------------------------------------------------------------------------------- /src/package_manager.js: -------------------------------------------------------------------------------- 1 | const dpkg = require("unipkg"); 2 | const fs = require("fs-extra"); 3 | const compressjs = require("compressjs"); 4 | const path = require("path"); 5 | 6 | // first parse Packages to get the current files 7 | class PackageManager { 8 | static async add(file, disable_bzip = false, pathPrefix = "./") { 9 | var pkgData = await PackageManager.resolve(pathPrefix); 10 | 11 | var files = [file]; 12 | if (Array.isArray(pkgData)) { 13 | files = pkgData.map(x => path.join(pathPrefix, x)); 14 | files.push(file); 15 | } else { 16 | var chunks = pkgData.toString().split("\n\n"); 17 | for (let i = 0; i < chunks.length; i++) { 18 | let reg = /(Filename: )+(.+)/g; 19 | var match = reg.exec(chunks[i]); 20 | // match[2] == filename 21 | if (match && match[2] && !files.includes(match[2])) { 22 | files.push(path.join(pathPrefix, match[2])); 23 | } 24 | } 25 | } 26 | 27 | return this.save(files, disable_bzip, pathPrefix); 28 | } 29 | 30 | static async remove(file, disable_bzip = false, pathPrefix = "./") { 31 | var pkgData = await PackageManager.resolve(pathPrefix); 32 | 33 | var files = []; 34 | if (Array.isArray(pkgData)) { 35 | files = pkgData.map(x => path.relative(pathPrefix, x)); 36 | } else { 37 | var chunks = pkgData.toString().split("\n\n"); 38 | for (let i = 0; i < chunks.length; i++) { 39 | let reg = /(Filename: )+(.+)/g; 40 | var match = reg.exec(chunks[i]); 41 | // match[2] == filename 42 | if (match && match[2] && !files.includes(match[2])) { 43 | files.push(path.join(pathPrefix, match[2])); 44 | } 45 | } 46 | } 47 | 48 | const existing_set = new Set(files.map(x => path.resolve(x))); 49 | if (!existing_set.delete(path.resolve(file))) { 50 | throw new Error(`File ${file} not found in Packages index.`); 51 | } 52 | 53 | return this.save(Array.from(existing_set), disable_bzip, pathPrefix); 54 | } 55 | 56 | static async list(pathPrefix = "./") { 57 | var pkgData; 58 | await PackageManager.resolve(pathPrefix, false).then(data => { 59 | pkgData = data; 60 | }); 61 | 62 | // first split then parseControl 63 | var chunks = pkgData.toString().split("\n\n"); 64 | const pkgs = []; 65 | for (let i = 0; i < chunks.length - 1; i++) { 66 | let dataDict = { 67 | Package: "", 68 | Version: "", 69 | Architecture: "", 70 | Maintainer: "", 71 | Description: [] 72 | }; 73 | 74 | /* 75 | We use this less than ideal regex here to deal with long 76 | descriptions that are present in some Debian packages. 77 | 78 | https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#control 79 | */ 80 | 81 | var result; 82 | var reg = /^(([^\s]*):)?(.+)/gm; 83 | while ((result = reg.exec(chunks[i]))) { 84 | /* 85 | result[1] = Description: 86 | result[2] = Description 87 | result[3] = virtual dice roller 88 | */ 89 | 90 | if (result[3]) { 91 | if (!result[2] || result[2] == "Description") { 92 | dataDict["Description"].push(result[3].trim()); 93 | } else { 94 | dataDict[result[2]] = result[3].trim(); 95 | } 96 | } 97 | } 98 | 99 | pkgs.push(dataDict); 100 | } 101 | 102 | return pkgs; 103 | } 104 | 105 | static async save(files, disable_bzip = false, pathPrefix = "./") { 106 | await dpkg.scanFiles(files, pathPrefix); 107 | 108 | if (!disable_bzip) { 109 | const alg = compressjs.Bzip2; 110 | const pkgData = fs.readFileSync(path.join(pathPrefix, "Packages")); 111 | const compressed = alg.compressFile(pkgData); 112 | fs.writeFileSync( 113 | path.join(pathPrefix, "Packages.bz2"), 114 | compressed, 115 | "binary" 116 | ); 117 | fs.unlink(path.join(pathPrefix, "Packages")); 118 | } else { 119 | fs.unlink(path.join(pathPrefix, "Packages.bz2")).catch(() => {}); // doesn't have to exist 120 | } 121 | 122 | // cache results async 123 | const prom = fs 124 | .mkdirp(path.join(pathPrefix, ".rpo")) 125 | .then(() => 126 | fs.writeFile( 127 | path.join(pathPrefix, ".rpo", "Packages.json"), 128 | JSON.stringify(files) 129 | ) 130 | ); 131 | 132 | return prom; 133 | } 134 | 135 | static async resolve(pathPrefix = "./", enableCache = true) { 136 | /* 137 | Check that either Packages or Packages.bz2 exist (maybe both) and load 138 | the more recent version 139 | */ 140 | const pkgCache = 141 | (await fs 142 | .stat(path.join(pathPrefix, ".rpo", "Packages.json")) 143 | .then(_ => _.mtime) 144 | .catch(() => {})) || 0; 145 | const pkg = 146 | (await fs 147 | .stat(path.join(pathPrefix, "Packages")) 148 | .then(_ => _.mtime) 149 | .catch(() => {})) || 0; 150 | const pkgBz2 = 151 | (await fs 152 | .stat(path.join(pathPrefix, "Packages.bz2")) 153 | .then(_ => _.mtime) 154 | .catch(() => {})) || 0; 155 | 156 | var selected; 157 | if (pkgCache > pkg && pkgCache > pkgBz2 && enableCache) { 158 | selected = path.join(pathPrefix, ".rpo", "Packages.json"); 159 | } else if (pkg > pkgBz2 && (pkg > pkgCache || !enableCache)) { 160 | selected = path.join(pathPrefix, "Packages"); 161 | } else { 162 | selected = path.join(pathPrefix, "Packages.bz2"); 163 | } 164 | 165 | var pkgData = ""; 166 | if (selected == path.join(pathPrefix, "Packages.bz2")) { 167 | await fs 168 | .readFile(path.join(pathPrefix, "Packages.bz2")) 169 | .then(data => { 170 | const alg = compressjs.Bzip2; 171 | const decompressed = alg.decompressFile(data); 172 | pkgData = Buffer.from(decompressed).toString(); 173 | }) 174 | .catch(err => {}); 175 | } else if (selected == path.join(pathPrefix, "Packages")) { 176 | await fs 177 | .readFile(path.join(pathPrefix, "Packages")) 178 | .then(data => { 179 | // Parse data 180 | pkgData = data; 181 | }) 182 | .catch(err => { 183 | // do nothing, just continue 184 | }); 185 | } else { 186 | await fs 187 | .readFile(path.join(pathPrefix, ".rpo", "Packages.json")) 188 | .then(data => { 189 | pkgData = JSON.parse(data); 190 | }) 191 | .catch(err => {}); 192 | } 193 | 194 | return pkgData; 195 | } 196 | } 197 | 198 | module.exports = PackageManager; 199 | -------------------------------------------------------------------------------- /src/settings.js: -------------------------------------------------------------------------------- 1 | const fs = require("fs-extra"); 2 | const readline = require("readline"); 3 | const inquirer = require("inquirer"); 4 | const openpgp = require("openpgp"); 5 | const os = require("os"); 6 | 7 | class Settings { 8 | constructor(pathPrefix = ".") { 9 | this.settings = { 10 | Origin: "", 11 | Label: "", 12 | Suite: "", 13 | Version: "", 14 | Codename: "", 15 | Architectures: "", 16 | Components: "", 17 | Description: "" 18 | }; 19 | 20 | this.defaults = { 21 | Origin: "Full Repo Name", 22 | Label: "Repo Name", 23 | Suite: "stable", 24 | Version: "1.0", 25 | Codename: "main", 26 | Architectures: "iphoneos-arm", 27 | Components: "main", 28 | Description: "Short description of repository." 29 | }; 30 | this.pathPrefix = pathPrefix; 31 | } 32 | 33 | async edit() { 34 | const questions = []; 35 | 36 | // Construct questions 37 | for (let key in this.settings) { 38 | let def = 39 | this.settings[key] == "" ? this.defaults[key] : this.settings[key]; 40 | 41 | questions.push({ 42 | name: key, 43 | default: def 44 | }); 45 | } 46 | 47 | await inquirer.prompt(questions).then(answers => { 48 | this.settings = answers; 49 | }); 50 | } 51 | 52 | async load() { 53 | return fs 54 | .stat(`${this.pathPrefix}/Release`) 55 | .then(async stats => { 56 | const rl = readline.createInterface({ 57 | input: fs.createReadStream(`${this.pathPrefix}/Release`) 58 | }); 59 | 60 | rl.on("line", line => { 61 | let splitted = line.split(/:(.+)/); 62 | if (splitted[0] in this.settings) { 63 | this.settings[splitted[0]] = splitted[1].trim(); 64 | } 65 | }); 66 | 67 | await new Promise((res, rej) => { 68 | rl.on("close", () => res()); 69 | }); 70 | }) 71 | .catch(err => { 72 | throw new Error("Not a repository."); 73 | }); 74 | } 75 | 76 | async save() { 77 | const saving = fs.createWriteStream(`${this.pathPrefix}/Release`); 78 | 79 | for (let key in this.settings) { 80 | let line = `${key}: ${this.settings[key]}\n`; 81 | await new Promise((res, rej) => { 82 | saving.write(line, () => res()); 83 | }); 84 | } 85 | 86 | // saving.on("finish", () => sign()); 87 | 88 | saving.end(); 89 | } 90 | 91 | async sign() { 92 | console.warn( 93 | "\tWARNING: This functionality for signing Releases is unmaintained but may\n" + 94 | "\tbe considered security critical. Please ensure that you understand the\n" + 95 | "\timplications. Contributions to the code are welcome.\n" 96 | ); 97 | 98 | var release; 99 | 100 | try { 101 | release = fs.readFileSync(`${this.pathPrefix}/Release`); 102 | } catch (_) { 103 | throw new Error( 104 | "Release file not found or accessible. Try running rpo init." 105 | ); 106 | } 107 | 108 | var homeDir = `${os.homedir()}/.rpo`; 109 | const pubKeyLoc = `${homeDir}/pubkey.key`; 110 | const privKeyLoc = `${homeDir}/privkey.key`; 111 | var pubkey; 112 | var privkey; 113 | var passphrase; 114 | await fs 115 | .readFile(pubKeyLoc) 116 | .then(data => { 117 | pubkey = data.toString(); 118 | return fs.readFile(privKeyLoc); 119 | }) 120 | .then(data => { 121 | privkey = data.toString(); 122 | }) 123 | .catch(err => { 124 | console.warn( 125 | `\tWARNING: Creating PGP Public Key in ${pubKeyLoc} and Private Key in ${privKeyLoc}` 126 | ); 127 | // create key pair 128 | const questions = [ 129 | { 130 | name: "Name", 131 | default: "Real Name" 132 | }, 133 | { 134 | name: "Email Address", 135 | default: "test@nerd.net" 136 | }, 137 | { 138 | name: "Passphrase", 139 | type: "password" 140 | } 141 | ]; 142 | 143 | return inquirer 144 | .prompt(questions) 145 | .then(answers => { 146 | const options = { 147 | userIds: [ 148 | { name: answers["Name"], email: answers["Email Address"] } 149 | ], 150 | numBits: 4096, 151 | passphrase: answers["Passphrase"] 152 | }; 153 | 154 | console.log("Generating keys. This may take a while..."); 155 | 156 | return openpgp.generateKey(options); 157 | }) 158 | .then(key => { 159 | privkey = key.privateKeyArmored; 160 | pubkey = key.publicKeyArmored; 161 | }) 162 | .then(_ => fs.mkdirp(homeDir)) 163 | .then(_ => fs.writeFile(pubKeyLoc, pubkey)) 164 | .then(_ => fs.writeFile(privKeyLoc, privkey)); 165 | }); 166 | 167 | const privKeyObj = openpgp.key.readArmored(privkey).keys[0]; 168 | const questions = [ 169 | { 170 | name: "Passphrase", 171 | type: "password" 172 | } 173 | ]; 174 | 175 | await inquirer 176 | .prompt(questions) 177 | .then(answers => privKeyObj.decrypt(answers["Passphrase"])); 178 | 179 | const options = { 180 | data: release, 181 | privateKeys: [privKeyObj], 182 | detached: true 183 | }; 184 | 185 | return openpgp.sign(options).then(signed => { 186 | const detachedSig = signed.signature; 187 | return fs.writeFile("Release.gpg", detachedSig); 188 | }); 189 | } 190 | } 191 | 192 | module.exports = Settings; 193 | --------------------------------------------------------------------------------