├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .mocha.opts ├── .nycrc ├── .vscode └── settings.json ├── Dockerfile ├── LICENSE ├── README.md ├── data ├── README.md ├── abilities.js ├── items.js ├── moves.js └── pokedex.js ├── package-lock.json ├── package.json ├── src ├── App.ts ├── classes │ ├── Chaos.ts │ ├── Parser.ts │ ├── Ranking.ts │ ├── data │ │ ├── Abilities.ts │ │ ├── Items.ts │ │ ├── Moves.ts │ │ └── Pokedex.ts │ └── parsers │ │ ├── AbilitiesParser.ts │ │ ├── ItemsParser.ts │ │ ├── MovesParer.ts │ │ ├── NameParser.ts │ │ ├── RankingParser.ts │ │ ├── SpreadsParser.ts │ │ ├── StatsParser.ts │ │ ├── TeammatesParser.ts │ │ ├── TypesParser.ts │ │ └── ViabilityParser.ts ├── config │ └── DataConfig.ts ├── index.ts ├── types │ ├── Chaos.d.ts │ ├── Parser.d.ts │ ├── Pokedex.ts │ └── Ranking.d.ts └── util │ ├── ajax.ts │ ├── file.ts │ └── json.ts └── tsconfig.json /.eslintignore: -------------------------------------------------------------------------------- 1 | static/ 2 | dist/ 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "airbnb-base", 3 | "env": { 4 | "node": true, 5 | "mocha": true, 6 | "es6": true 7 | }, 8 | "parser": "typescript-eslint-parser", 9 | "parserOptions": { 10 | "ecmaVersion": 6, 11 | "sourceType": "module", 12 | "ecmaFeatures": { 13 | "modules": true 14 | } 15 | }, 16 | "rules": { 17 | "no-restricted-globals": "off", 18 | "import/prefer-default-export": "off", 19 | "no-unused-vars": "off", 20 | "no-undef": "off", 21 | "no-console": "off", 22 | "import/no-unresolved": { 23 | "caseSensitive": false 24 | }, 25 | "import/extensions": "never", 26 | "global-strict": false, 27 | "strict": "off", 28 | "no-unused-expressions": "off", 29 | "radix": "off", 30 | "default-case": "off" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | node_modules/ 3 | .DS_Store 4 | .nyc_output/ 5 | coverage/ 6 | test/ -------------------------------------------------------------------------------- /.mocha.opts: -------------------------------------------------------------------------------- 1 | --require ./node_modules/ts-node/register/transpile-only 2 | --require ./node_modules/source-map-support/register 3 | --recursive 4 | --exit 5 | dist/**/*.spec.js 6 | -------------------------------------------------------------------------------- /.nycrc: -------------------------------------------------------------------------------- 1 | { 2 | "all": true, 3 | "cache": false, 4 | "extension": [ 5 | ".ts", 6 | ".tsx" 7 | ], 8 | "require": ["ts-node/register/transpile-only"], 9 | "exclude": [ 10 | "src/test", 11 | "static", 12 | "dist/test", 13 | "src/config", 14 | "**/*.d.ts", 15 | "coverage/**", 16 | "packages/*/test/**", 17 | "test/**", 18 | "test{,-*}.ts", 19 | "**/*{.,-}{test,spec}.ts", 20 | "**/__tests__/**", 21 | "**/node_modules/**" 22 | ], 23 | "reporter": [ 24 | "text-summary", 25 | "text", 26 | "html" 27 | ], 28 | "statements": 95, 29 | "check-coverage": true 30 | } 31 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "eslint.validate": [ 3 | "javascript", 4 | "javascriptreact", 5 | "typescript" 6 | ], 7 | 8 | "editor.formatOnSave": true, 9 | "prettier.singleQuote": true, 10 | "prettier.trailingComma": "all", 11 | "prettier.arrowParens": "always" 12 | } -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM node:carbon 2 | 3 | WORKDIR /usage-parser 4 | COPY package.json package.json 5 | RUN npm install 6 | 7 | COPY . . 8 | 9 | RUN npm run tsc 10 | -------------------------------------------------------------------------------- /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 | # Smogon Usage Parser 2 | 3 | A Node CLI [Smogon Usage Stats](https://www.smogon.com/stats) parser built in TypeScript, which outputs Usage Stats data in the format required for the [Pikalytics](https://www.pikalytics.com) API. Use this parser as you please, credit is always appreciated if this parser is used in any cool projects! 4 | 5 | ## Requirements 6 | 7 | - Node 10.16.3+ 8 | 9 | ## Setup 10 | 11 | - `npm install` 12 | - `npm run tsc` 13 | 14 | ## Usage 15 | 16 | - `node dist/index.js -f -d -r -o [-l ]` 17 | 18 | `format` should be formatted as `gen7vgc2017`, `date` as `2017-10`, `rating` as `1760`, `output` as `./data`. 19 | 20 | The `-l` flag will force the parser to utilize local data, instead of fetching from the Smogon servers. This should reference the directory where the chaos .json & .txt files to parse reside. 21 | 22 | ## Example 23 | 24 | - `node dist/index.js -d 2019-08 -f gen7vgc2019ultraseries -r 1760 -o ./` 25 | 26 | ## Output 27 | 28 | When Smogon Usage Parser finishes a run, it will output a .json file to specified output directory, along with CSV's for items, abilities, moves, etc. The output JSON data will be in the following format: 29 | 30 | ```json 31 | [ 32 | { 33 | "name": "Incineroar", 34 | "types": [ 35 | "fire", 36 | "dark" 37 | ], 38 | "stats": { 39 | "hp": 95, 40 | "atk": 115, 41 | "def": 90, 42 | "spa": 80, 43 | "spd": 90, 44 | "spe": 60 45 | }, 46 | "abilities": [ 47 | { 48 | "ability": "Intimidate", 49 | "percent": "99.915" 50 | }, 51 | ... 52 | ], 53 | "raw_count": "492", 54 | "percent": 86, 55 | "ranking": 1, 56 | "viability": "B+", 57 | "items": [ 58 | { 59 | "item": "Figy Berry", 60 | "item_us": "Figy_Berry", 61 | "percent": "31.073" 62 | }, 63 | ... 64 | ], 65 | "spreads": [ 66 | { 67 | "nature": "Careful", 68 | "ev": "236/4/4/0/236/28", 69 | "percent": "8.263" 70 | }, 71 | ... 72 | ], 73 | "moves": [ 74 | { 75 | "move": "Fake Out", 76 | "type": "normal", 77 | "percent": "99.970" 78 | }, 79 | ... 80 | ], 81 | "team": [ 82 | { 83 | "pokemon": "Rayquaza-Mega", 84 | "percent": "47.043", 85 | "types": [ 86 | "dragon", 87 | "flying" 88 | ] 89 | }, 90 | ... 91 | ] 92 | }, 93 | ... 94 | ] 95 | ``` 96 | -------------------------------------------------------------------------------- /data/README.md: -------------------------------------------------------------------------------- 1 | # Pokemon Showdown Data 2 | All data found in the `data/` directory of this repo is sourced from [Pokemon Showdown](https://github.com/Zarel/Pokemon-Showdown), and should be updated in sync with any changes that project recieves. 3 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "smogon-usage-parser", 3 | "version": "1.0.0", 4 | "lockfileVersion": 1, 5 | "requires": true, 6 | "dependencies": { 7 | "@babel/code-frame": { 8 | "version": "7.8.3", 9 | "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.8.3.tgz", 10 | "integrity": "sha512-a9gxpmdXtZEInkCSHUJDLHZVBgb1QS0jhss4cPP93EW7s+uC5bikET2twEF3KV+7rDblJcmNvTR7VJejqd2C2g==", 11 | "requires": { 12 | "@babel/highlight": "^7.8.3" 13 | } 14 | }, 15 | "@babel/generator": { 16 | "version": "7.8.4", 17 | "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.8.4.tgz", 18 | "integrity": "sha512-PwhclGdRpNAf3IxZb0YVuITPZmmrXz9zf6fH8lT4XbrmfQKr6ryBzhv593P5C6poJRciFCL/eHGW2NuGrgEyxA==", 19 | "requires": { 20 | "@babel/types": "^7.8.3", 21 | "jsesc": "^2.5.1", 22 | "lodash": "^4.17.13", 23 | "source-map": "^0.5.0" 24 | } 25 | }, 26 | "@babel/helper-function-name": { 27 | "version": "7.8.3", 28 | "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.8.3.tgz", 29 | "integrity": "sha512-BCxgX1BC2hD/oBlIFUgOCQDOPV8nSINxCwM3o93xP4P9Fq6aV5sgv2cOOITDMtCfQ+3PvHp3l689XZvAM9QyOA==", 30 | "requires": { 31 | "@babel/helper-get-function-arity": "^7.8.3", 32 | "@babel/template": "^7.8.3", 33 | "@babel/types": "^7.8.3" 34 | } 35 | }, 36 | "@babel/helper-get-function-arity": { 37 | "version": "7.8.3", 38 | "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.8.3.tgz", 39 | "integrity": "sha512-FVDR+Gd9iLjUMY1fzE2SR0IuaJToR4RkCDARVfsBBPSP53GEqSFjD8gNyxg246VUyc/ALRxFaAK8rVG7UT7xRA==", 40 | "requires": { 41 | "@babel/types": "^7.8.3" 42 | } 43 | }, 44 | "@babel/helper-split-export-declaration": { 45 | "version": "7.8.3", 46 | "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.8.3.tgz", 47 | "integrity": "sha512-3x3yOeyBhW851hroze7ElzdkeRXQYQbFIb7gLK1WQYsw2GWDay5gAJNw1sWJ0VFP6z5J1whqeXH/WCdCjZv6dA==", 48 | "requires": { 49 | "@babel/types": "^7.8.3" 50 | } 51 | }, 52 | "@babel/highlight": { 53 | "version": "7.8.3", 54 | "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.8.3.tgz", 55 | "integrity": "sha512-PX4y5xQUvy0fnEVHrYOarRPXVWafSjTW9T0Hab8gVIawpl2Sj0ORyrygANq+KjcNlSSTw0YCLSNA8OyZ1I4yEg==", 56 | "requires": { 57 | "chalk": "^2.0.0", 58 | "esutils": "^2.0.2", 59 | "js-tokens": "^4.0.0" 60 | } 61 | }, 62 | "@babel/parser": { 63 | "version": "7.8.4", 64 | "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.8.4.tgz", 65 | "integrity": "sha512-0fKu/QqildpXmPVaRBoXOlyBb3MC+J0A66x97qEfLOMkn3u6nfY5esWogQwi/K0BjASYy4DbnsEWnpNL6qT5Mw==" 66 | }, 67 | "@babel/runtime": { 68 | "version": "7.8.4", 69 | "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.8.4.tgz", 70 | "integrity": "sha512-neAp3zt80trRVBI1x0azq6c57aNBqYZH8KhMm3TaB7wEI5Q4A2SHfBHE8w9gOhI/lrqxtEbXZgQIrHP+wvSGwQ==", 71 | "dev": true, 72 | "requires": { 73 | "regenerator-runtime": "^0.13.2" 74 | } 75 | }, 76 | "@babel/template": { 77 | "version": "7.8.3", 78 | "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.8.3.tgz", 79 | "integrity": "sha512-04m87AcQgAFdvuoyiQ2kgELr2tV8B4fP/xJAVUL3Yb3bkNdMedD3d0rlSQr3PegP0cms3eHjl1F7PWlvWbU8FQ==", 80 | "requires": { 81 | "@babel/code-frame": "^7.8.3", 82 | "@babel/parser": "^7.8.3", 83 | "@babel/types": "^7.8.3" 84 | } 85 | }, 86 | "@babel/traverse": { 87 | "version": "7.8.4", 88 | "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.8.4.tgz", 89 | "integrity": "sha512-NGLJPZwnVEyBPLI+bl9y9aSnxMhsKz42so7ApAv9D+b4vAFPpY013FTS9LdKxcABoIYFU52HcYga1pPlx454mg==", 90 | "requires": { 91 | "@babel/code-frame": "^7.8.3", 92 | "@babel/generator": "^7.8.4", 93 | "@babel/helper-function-name": "^7.8.3", 94 | "@babel/helper-split-export-declaration": "^7.8.3", 95 | "@babel/parser": "^7.8.4", 96 | "@babel/types": "^7.8.3", 97 | "debug": "^4.1.0", 98 | "globals": "^11.1.0", 99 | "lodash": "^4.17.13" 100 | } 101 | }, 102 | "@babel/types": { 103 | "version": "7.8.3", 104 | "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.8.3.tgz", 105 | "integrity": "sha512-jBD+G8+LWpMBBWvVcdr4QysjUE4mU/syrhN17o1u3gx0/WzJB1kwiVZAXRtWbsIPOwW8pF/YJV5+nmetPzepXg==", 106 | "requires": { 107 | "esutils": "^2.0.2", 108 | "lodash": "^4.17.13", 109 | "to-fast-properties": "^2.0.0" 110 | } 111 | }, 112 | "@types/args": { 113 | "version": "3.0.0", 114 | "resolved": "https://registry.npmjs.org/@types/args/-/args-3.0.0.tgz", 115 | "integrity": "sha512-2A817ZtVj1/nD44MV0/U/R6xe3GM2n1WDdni4ioCuLjay6dE0bLJd5RafHC/ddqwXL1xa2RQUdJhsGZKyr3vpA==" 116 | }, 117 | "@types/eslint-visitor-keys": { 118 | "version": "1.0.0", 119 | "resolved": "https://registry.npmjs.org/@types/eslint-visitor-keys/-/eslint-visitor-keys-1.0.0.tgz", 120 | "integrity": "sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==" 121 | }, 122 | "@types/json-schema": { 123 | "version": "7.0.4", 124 | "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.4.tgz", 125 | "integrity": "sha512-8+KAKzEvSUdeo+kmqnKrqgeE+LcA0tjYWFY7RPProVYwnqDjukzO+3b6dLD56rYX5TdWejnEOLJYOIeh4CXKuA==" 126 | }, 127 | "@types/mocha": { 128 | "version": "5.2.7", 129 | "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-5.2.7.tgz", 130 | "integrity": "sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==", 131 | "dev": true 132 | }, 133 | "@types/node": { 134 | "version": "10.17.15", 135 | "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.15.tgz", 136 | "integrity": "sha512-daFGV9GSs6USfPgxceDA8nlSe48XrVCJfDeYm7eokxq/ye7iuOH87hKXgMtEAVLFapkczbZsx868PMDT1Y0a6A==" 137 | }, 138 | "@typescript-eslint/experimental-utils": { 139 | "version": "1.13.0", 140 | "resolved": "https://registry.npmjs.org/@typescript-eslint/experimental-utils/-/experimental-utils-1.13.0.tgz", 141 | "integrity": "sha512-zmpS6SyqG4ZF64ffaJ6uah6tWWWgZ8m+c54XXgwFtUv0jNz8aJAVx8chMCvnk7yl6xwn8d+d96+tWp7fXzTuDg==", 142 | "requires": { 143 | "@types/json-schema": "^7.0.3", 144 | "@typescript-eslint/typescript-estree": "1.13.0", 145 | "eslint-scope": "^4.0.0" 146 | } 147 | }, 148 | "@typescript-eslint/parser": { 149 | "version": "1.13.0", 150 | "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-1.13.0.tgz", 151 | "integrity": "sha512-ITMBs52PCPgLb2nGPoeT4iU3HdQZHcPaZVw+7CsFagRJHUhyeTgorEwHXhFf3e7Evzi8oujKNpHc8TONth8AdQ==", 152 | "requires": { 153 | "@types/eslint-visitor-keys": "^1.0.0", 154 | "@typescript-eslint/experimental-utils": "1.13.0", 155 | "@typescript-eslint/typescript-estree": "1.13.0", 156 | "eslint-visitor-keys": "^1.0.0" 157 | } 158 | }, 159 | "@typescript-eslint/typescript-estree": { 160 | "version": "1.13.0", 161 | "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-1.13.0.tgz", 162 | "integrity": "sha512-b5rCmd2e6DCC6tCTN9GSUAuxdYwCM/k/2wdjHGrIRGPSJotWMCe/dGpi66u42bhuh8q3QBzqM4TMA1GUUCJvdw==", 163 | "requires": { 164 | "lodash.unescape": "4.0.1", 165 | "semver": "5.5.0" 166 | }, 167 | "dependencies": { 168 | "semver": { 169 | "version": "5.5.0", 170 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", 171 | "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==" 172 | } 173 | } 174 | }, 175 | "acorn": { 176 | "version": "6.4.0", 177 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.0.tgz", 178 | "integrity": "sha512-gac8OEcQ2Li1dxIEWGZzsp2BitJxwkwcOm0zHAJLcPJaVvm58FRnk6RkuLRpU1EujipU2ZFODv2P9DLMfnV8mw==" 179 | }, 180 | "acorn-jsx": { 181 | "version": "5.1.0", 182 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.1.0.tgz", 183 | "integrity": "sha512-tMUqwBWfLFbJbizRmEcWSLw6HnFzfdJs2sOJEOwwtVPMoH/0Ay+E703oZz78VSXZiiDcZrQ5XKjPIUQixhmgVw==" 184 | }, 185 | "ajv": { 186 | "version": "6.11.0", 187 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.11.0.tgz", 188 | "integrity": "sha512-nCprB/0syFYy9fVYU1ox1l2KN8S9I+tziH8D4zdZuLT3N6RMlGSGt5FSTpAiHB/Whv8Qs1cWHma1aMKZyaHRKA==", 189 | "requires": { 190 | "fast-deep-equal": "^3.1.1", 191 | "fast-json-stable-stringify": "^2.0.0", 192 | "json-schema-traverse": "^0.4.1", 193 | "uri-js": "^4.2.2" 194 | } 195 | }, 196 | "ajv-keywords": { 197 | "version": "2.1.1", 198 | "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-2.1.1.tgz", 199 | "integrity": "sha1-YXmX/F9gV2iUxDX5QNgZ4TW4B2I=", 200 | "dev": true 201 | }, 202 | "ansi-colors": { 203 | "version": "3.2.3", 204 | "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.3.tgz", 205 | "integrity": "sha512-LEHHyuhlPY3TmuUYMh2oz89lTShfvgbmzaBcxve9t/9Wuy7Dwf4yoAKcND7KFT1HAQfqZ12qtc+DUrBMeKF9nw==", 206 | "dev": true 207 | }, 208 | "ansi-escapes": { 209 | "version": "3.2.0", 210 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", 211 | "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==" 212 | }, 213 | "ansi-regex": { 214 | "version": "4.1.0", 215 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", 216 | "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==" 217 | }, 218 | "ansi-styles": { 219 | "version": "3.2.1", 220 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 221 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 222 | "requires": { 223 | "color-convert": "^1.9.0" 224 | } 225 | }, 226 | "append-transform": { 227 | "version": "1.0.0", 228 | "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-1.0.0.tgz", 229 | "integrity": "sha512-P009oYkeHyU742iSZJzZZywj4QRJdnTWffaKuJQLablCZ1uz6/cW4yaRgcDaoQ+uwOxxnt0gRUcwfsNP2ri0gw==", 230 | "requires": { 231 | "default-require-extensions": "^2.0.0" 232 | } 233 | }, 234 | "archy": { 235 | "version": "1.0.0", 236 | "resolved": "https://registry.npmjs.org/archy/-/archy-1.0.0.tgz", 237 | "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=" 238 | }, 239 | "arg": { 240 | "version": "4.1.3", 241 | "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", 242 | "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==" 243 | }, 244 | "argparse": { 245 | "version": "1.0.10", 246 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 247 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 248 | "requires": { 249 | "sprintf-js": "~1.0.2" 250 | } 251 | }, 252 | "args": { 253 | "version": "5.0.1", 254 | "resolved": "https://registry.npmjs.org/args/-/args-5.0.1.tgz", 255 | "integrity": "sha512-1kqmFCFsPffavQFGt8OxJdIcETti99kySRUPMpOhaGjL6mRJn8HFU1OxKY5bMqfZKUwTQc1mZkAjmGYaVOHFtQ==", 256 | "requires": { 257 | "camelcase": "5.0.0", 258 | "chalk": "2.4.2", 259 | "leven": "2.1.0", 260 | "mri": "1.1.4" 261 | } 262 | }, 263 | "aria-query": { 264 | "version": "3.0.0", 265 | "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz", 266 | "integrity": "sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w=", 267 | "dev": true, 268 | "requires": { 269 | "ast-types-flow": "0.0.7", 270 | "commander": "^2.11.0" 271 | } 272 | }, 273 | "array-includes": { 274 | "version": "3.1.1", 275 | "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.1.tgz", 276 | "integrity": "sha512-c2VXaCHl7zPsvpkFsw4nxvFie4fh1ur9bpcgsVkIjqn0H/Xwdg+7fv3n2r/isyS8EBj5b06M9kHyZuIr4El6WQ==", 277 | "dev": true, 278 | "requires": { 279 | "define-properties": "^1.1.3", 280 | "es-abstract": "^1.17.0", 281 | "is-string": "^1.0.5" 282 | } 283 | }, 284 | "array.prototype.flat": { 285 | "version": "1.2.3", 286 | "resolved": "https://registry.npmjs.org/array.prototype.flat/-/array.prototype.flat-1.2.3.tgz", 287 | "integrity": "sha512-gBlRZV0VSmfPIeWfuuy56XZMvbVfbEUnOXUvt3F/eUUUSyzlgLxhEX4YAEpxNAogRGehPSnfXyPtYyKAhkzQhQ==", 288 | "dev": true, 289 | "requires": { 290 | "define-properties": "^1.1.3", 291 | "es-abstract": "^1.17.0-next.1" 292 | } 293 | }, 294 | "asciiparse": { 295 | "version": "0.1.1", 296 | "resolved": "https://registry.npmjs.org/asciiparse/-/asciiparse-0.1.1.tgz", 297 | "integrity": "sha1-mUsxZQtY1gJtaZLOGgvu+mdz0HE=", 298 | "requires": { 299 | "underscore": "*" 300 | } 301 | }, 302 | "assertion-error": { 303 | "version": "1.1.0", 304 | "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", 305 | "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==" 306 | }, 307 | "ast-types-flow": { 308 | "version": "0.0.7", 309 | "resolved": "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.7.tgz", 310 | "integrity": "sha1-9wtzXGvKGlycItmCw+Oef+ujva0=", 311 | "dev": true 312 | }, 313 | "astral-regex": { 314 | "version": "1.0.0", 315 | "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", 316 | "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==" 317 | }, 318 | "axobject-query": { 319 | "version": "2.1.2", 320 | "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.1.2.tgz", 321 | "integrity": "sha512-ICt34ZmrVt8UQnvPl6TVyDTkmhXmAyAT4Jh5ugfGUX4MOrZ+U/ZY6/sdylRw3qGNr9Ub5AJsaHeDMzNLehRdOQ==", 322 | "dev": true 323 | }, 324 | "babel-code-frame": { 325 | "version": "6.26.0", 326 | "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", 327 | "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", 328 | "dev": true, 329 | "requires": { 330 | "chalk": "^1.1.3", 331 | "esutils": "^2.0.2", 332 | "js-tokens": "^3.0.2" 333 | }, 334 | "dependencies": { 335 | "ansi-regex": { 336 | "version": "2.1.1", 337 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 338 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", 339 | "dev": true 340 | }, 341 | "ansi-styles": { 342 | "version": "2.2.1", 343 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 344 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", 345 | "dev": true 346 | }, 347 | "chalk": { 348 | "version": "1.1.3", 349 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 350 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 351 | "dev": true, 352 | "requires": { 353 | "ansi-styles": "^2.2.1", 354 | "escape-string-regexp": "^1.0.2", 355 | "has-ansi": "^2.0.0", 356 | "strip-ansi": "^3.0.0", 357 | "supports-color": "^2.0.0" 358 | } 359 | }, 360 | "js-tokens": { 361 | "version": "3.0.2", 362 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", 363 | "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=", 364 | "dev": true 365 | }, 366 | "strip-ansi": { 367 | "version": "3.0.1", 368 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 369 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 370 | "dev": true, 371 | "requires": { 372 | "ansi-regex": "^2.0.0" 373 | } 374 | }, 375 | "supports-color": { 376 | "version": "2.0.0", 377 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 378 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", 379 | "dev": true 380 | } 381 | } 382 | }, 383 | "balanced-match": { 384 | "version": "1.0.0", 385 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", 386 | "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" 387 | }, 388 | "brace-expansion": { 389 | "version": "1.1.11", 390 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 391 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 392 | "requires": { 393 | "balanced-match": "^1.0.0", 394 | "concat-map": "0.0.1" 395 | } 396 | }, 397 | "browser-stdout": { 398 | "version": "1.3.1", 399 | "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.1.tgz", 400 | "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", 401 | "dev": true 402 | }, 403 | "buffer-from": { 404 | "version": "1.1.1", 405 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", 406 | "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" 407 | }, 408 | "builtin-modules": { 409 | "version": "1.1.1", 410 | "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", 411 | "integrity": "sha1-Jw8HbFpywC9bZaR9+Uxf46J4iS8=", 412 | "dev": true 413 | }, 414 | "caching-transform": { 415 | "version": "3.0.2", 416 | "resolved": "https://registry.npmjs.org/caching-transform/-/caching-transform-3.0.2.tgz", 417 | "integrity": "sha512-Mtgcv3lh3U0zRii/6qVgQODdPA4G3zhG+jtbCWj39RXuUFTMzH0vcdMtaJS1jPowd+It2Pqr6y3NJMQqOqCE2w==", 418 | "requires": { 419 | "hasha": "^3.0.0", 420 | "make-dir": "^2.0.0", 421 | "package-hash": "^3.0.0", 422 | "write-file-atomic": "^2.4.2" 423 | } 424 | }, 425 | "caller-path": { 426 | "version": "0.1.0", 427 | "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", 428 | "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", 429 | "dev": true, 430 | "requires": { 431 | "callsites": "^0.2.0" 432 | }, 433 | "dependencies": { 434 | "callsites": { 435 | "version": "0.2.0", 436 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", 437 | "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", 438 | "dev": true 439 | } 440 | } 441 | }, 442 | "callsites": { 443 | "version": "3.1.0", 444 | "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", 445 | "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==" 446 | }, 447 | "camelcase": { 448 | "version": "5.0.0", 449 | "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.0.0.tgz", 450 | "integrity": "sha512-faqwZqnWxbxn+F1d399ygeamQNy3lPp/H9H6rNrqYh4FSVCtcY+3cub1MxA8o9mDd55mM8Aghuu/kuyYA6VTsA==" 451 | }, 452 | "chai": { 453 | "version": "4.2.0", 454 | "resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz", 455 | "integrity": "sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==", 456 | "requires": { 457 | "assertion-error": "^1.1.0", 458 | "check-error": "^1.0.2", 459 | "deep-eql": "^3.0.1", 460 | "get-func-name": "^2.0.0", 461 | "pathval": "^1.1.0", 462 | "type-detect": "^4.0.5" 463 | } 464 | }, 465 | "chalk": { 466 | "version": "2.4.2", 467 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 468 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 469 | "requires": { 470 | "ansi-styles": "^3.2.1", 471 | "escape-string-regexp": "^1.0.5", 472 | "supports-color": "^5.3.0" 473 | } 474 | }, 475 | "chardet": { 476 | "version": "0.7.0", 477 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", 478 | "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" 479 | }, 480 | "check-error": { 481 | "version": "1.0.2", 482 | "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", 483 | "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=" 484 | }, 485 | "circular-json": { 486 | "version": "0.3.3", 487 | "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", 488 | "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", 489 | "dev": true 490 | }, 491 | "cli-cursor": { 492 | "version": "2.1.0", 493 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", 494 | "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", 495 | "requires": { 496 | "restore-cursor": "^2.0.0" 497 | } 498 | }, 499 | "cli-width": { 500 | "version": "2.2.0", 501 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.0.tgz", 502 | "integrity": "sha1-/xnt6Kml5XkyQUewwR8PvLq+1jk=" 503 | }, 504 | "cliui": { 505 | "version": "5.0.0", 506 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-5.0.0.tgz", 507 | "integrity": "sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==", 508 | "requires": { 509 | "string-width": "^3.1.0", 510 | "strip-ansi": "^5.2.0", 511 | "wrap-ansi": "^5.1.0" 512 | } 513 | }, 514 | "co": { 515 | "version": "4.6.0", 516 | "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", 517 | "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", 518 | "dev": true 519 | }, 520 | "color-convert": { 521 | "version": "1.9.3", 522 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 523 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 524 | "requires": { 525 | "color-name": "1.1.3" 526 | } 527 | }, 528 | "color-name": { 529 | "version": "1.1.3", 530 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 531 | "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" 532 | }, 533 | "commander": { 534 | "version": "2.20.3", 535 | "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", 536 | "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==", 537 | "dev": true 538 | }, 539 | "common-tags": { 540 | "version": "1.8.0", 541 | "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz", 542 | "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==" 543 | }, 544 | "commondir": { 545 | "version": "1.0.1", 546 | "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", 547 | "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" 548 | }, 549 | "concat-map": { 550 | "version": "0.0.1", 551 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 552 | "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" 553 | }, 554 | "concat-stream": { 555 | "version": "1.6.2", 556 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", 557 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", 558 | "dev": true, 559 | "requires": { 560 | "buffer-from": "^1.0.0", 561 | "inherits": "^2.0.3", 562 | "readable-stream": "^2.2.2", 563 | "typedarray": "^0.0.6" 564 | } 565 | }, 566 | "contains-path": { 567 | "version": "0.1.0", 568 | "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", 569 | "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", 570 | "dev": true 571 | }, 572 | "convert-source-map": { 573 | "version": "1.7.0", 574 | "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", 575 | "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", 576 | "requires": { 577 | "safe-buffer": "~5.1.1" 578 | } 579 | }, 580 | "core-js": { 581 | "version": "3.6.4", 582 | "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz", 583 | "integrity": "sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==" 584 | }, 585 | "core-util-is": { 586 | "version": "1.0.2", 587 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", 588 | "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", 589 | "dev": true 590 | }, 591 | "cp-file": { 592 | "version": "6.2.0", 593 | "resolved": "https://registry.npmjs.org/cp-file/-/cp-file-6.2.0.tgz", 594 | "integrity": "sha512-fmvV4caBnofhPe8kOcitBwSn2f39QLjnAnGq3gO9dfd75mUytzKNZB1hde6QHunW2Rt+OwuBOMc3i1tNElbszA==", 595 | "requires": { 596 | "graceful-fs": "^4.1.2", 597 | "make-dir": "^2.0.0", 598 | "nested-error-stacks": "^2.0.0", 599 | "pify": "^4.0.1", 600 | "safe-buffer": "^5.0.1" 601 | } 602 | }, 603 | "cross-spawn": { 604 | "version": "4.0.2", 605 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-4.0.2.tgz", 606 | "integrity": "sha1-e5JHYhwjrf3ThWAEqCPL45dCTUE=", 607 | "requires": { 608 | "lru-cache": "^4.0.1", 609 | "which": "^1.2.9" 610 | } 611 | }, 612 | "damerau-levenshtein": { 613 | "version": "1.0.6", 614 | "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz", 615 | "integrity": "sha512-JVrozIeElnj3QzfUIt8tB8YMluBJom4Vw9qTPpjGYQ9fYlB3D/rb6OordUxf3xeFB35LKWs0xqcO5U6ySvBtug==", 616 | "dev": true 617 | }, 618 | "debug": { 619 | "version": "4.1.1", 620 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", 621 | "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", 622 | "requires": { 623 | "ms": "^2.1.1" 624 | } 625 | }, 626 | "decamelize": { 627 | "version": "1.2.0", 628 | "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", 629 | "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=" 630 | }, 631 | "deep-eql": { 632 | "version": "3.0.1", 633 | "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", 634 | "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", 635 | "requires": { 636 | "type-detect": "^4.0.0" 637 | } 638 | }, 639 | "deep-is": { 640 | "version": "0.1.3", 641 | "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", 642 | "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" 643 | }, 644 | "default-require-extensions": { 645 | "version": "2.0.0", 646 | "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-2.0.0.tgz", 647 | "integrity": "sha1-9fj7sYp9bVCyH2QfZJ67Uiz+JPc=", 648 | "requires": { 649 | "strip-bom": "^3.0.0" 650 | } 651 | }, 652 | "define-properties": { 653 | "version": "1.1.3", 654 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", 655 | "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", 656 | "dev": true, 657 | "requires": { 658 | "object-keys": "^1.0.12" 659 | } 660 | }, 661 | "diff": { 662 | "version": "4.0.2", 663 | "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", 664 | "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==" 665 | }, 666 | "dlv": { 667 | "version": "1.1.3", 668 | "resolved": "https://registry.npmjs.org/dlv/-/dlv-1.1.3.tgz", 669 | "integrity": "sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==" 670 | }, 671 | "doctrine": { 672 | "version": "3.0.0", 673 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", 674 | "integrity": "sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==", 675 | "requires": { 676 | "esutils": "^2.0.2" 677 | } 678 | }, 679 | "emoji-regex": { 680 | "version": "7.0.3", 681 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-7.0.3.tgz", 682 | "integrity": "sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==" 683 | }, 684 | "error-ex": { 685 | "version": "1.3.2", 686 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 687 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 688 | "requires": { 689 | "is-arrayish": "^0.2.1" 690 | } 691 | }, 692 | "es-abstract": { 693 | "version": "1.17.4", 694 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.17.4.tgz", 695 | "integrity": "sha512-Ae3um/gb8F0mui/jPL+QiqmglkUsaQf7FwBEHYIFkztkneosu9imhqHpBzQ3h1vit8t5iQ74t6PEVvphBZiuiQ==", 696 | "dev": true, 697 | "requires": { 698 | "es-to-primitive": "^1.2.1", 699 | "function-bind": "^1.1.1", 700 | "has": "^1.0.3", 701 | "has-symbols": "^1.0.1", 702 | "is-callable": "^1.1.5", 703 | "is-regex": "^1.0.5", 704 | "object-inspect": "^1.7.0", 705 | "object-keys": "^1.1.1", 706 | "object.assign": "^4.1.0", 707 | "string.prototype.trimleft": "^2.1.1", 708 | "string.prototype.trimright": "^2.1.1" 709 | } 710 | }, 711 | "es-to-primitive": { 712 | "version": "1.2.1", 713 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 714 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 715 | "dev": true, 716 | "requires": { 717 | "is-callable": "^1.1.4", 718 | "is-date-object": "^1.0.1", 719 | "is-symbol": "^1.0.2" 720 | } 721 | }, 722 | "es6-error": { 723 | "version": "4.1.1", 724 | "resolved": "https://registry.npmjs.org/es6-error/-/es6-error-4.1.1.tgz", 725 | "integrity": "sha512-Um/+FxMr9CISWh0bi5Zv0iOD+4cFh5qLeks1qhAopKVAJw3drgKbKySikp7wGhDL0HPeaja0P5ULZrxLkniUVg==" 726 | }, 727 | "escape-string-regexp": { 728 | "version": "1.0.5", 729 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 730 | "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" 731 | }, 732 | "eslint": { 733 | "version": "4.19.1", 734 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-4.19.1.tgz", 735 | "integrity": "sha512-bT3/1x1EbZB7phzYu7vCr1v3ONuzDtX8WjuM9c0iYxe+cq+pwcKEoQjl7zd3RpC6YOLgnSy3cTN58M2jcoPDIQ==", 736 | "dev": true, 737 | "requires": { 738 | "ajv": "^5.3.0", 739 | "babel-code-frame": "^6.22.0", 740 | "chalk": "^2.1.0", 741 | "concat-stream": "^1.6.0", 742 | "cross-spawn": "^5.1.0", 743 | "debug": "^3.1.0", 744 | "doctrine": "^2.1.0", 745 | "eslint-scope": "^3.7.1", 746 | "eslint-visitor-keys": "^1.0.0", 747 | "espree": "^3.5.4", 748 | "esquery": "^1.0.0", 749 | "esutils": "^2.0.2", 750 | "file-entry-cache": "^2.0.0", 751 | "functional-red-black-tree": "^1.0.1", 752 | "glob": "^7.1.2", 753 | "globals": "^11.0.1", 754 | "ignore": "^3.3.3", 755 | "imurmurhash": "^0.1.4", 756 | "inquirer": "^3.0.6", 757 | "is-resolvable": "^1.0.0", 758 | "js-yaml": "^3.9.1", 759 | "json-stable-stringify-without-jsonify": "^1.0.1", 760 | "levn": "^0.3.0", 761 | "lodash": "^4.17.4", 762 | "minimatch": "^3.0.2", 763 | "mkdirp": "^0.5.1", 764 | "natural-compare": "^1.4.0", 765 | "optionator": "^0.8.2", 766 | "path-is-inside": "^1.0.2", 767 | "pluralize": "^7.0.0", 768 | "progress": "^2.0.0", 769 | "regexpp": "^1.0.1", 770 | "require-uncached": "^1.0.3", 771 | "semver": "^5.3.0", 772 | "strip-ansi": "^4.0.0", 773 | "strip-json-comments": "~2.0.1", 774 | "table": "4.0.2", 775 | "text-table": "~0.2.0" 776 | }, 777 | "dependencies": { 778 | "acorn": { 779 | "version": "5.7.3", 780 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", 781 | "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==", 782 | "dev": true 783 | }, 784 | "acorn-jsx": { 785 | "version": "3.0.1", 786 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", 787 | "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", 788 | "dev": true, 789 | "requires": { 790 | "acorn": "^3.0.4" 791 | }, 792 | "dependencies": { 793 | "acorn": { 794 | "version": "3.3.0", 795 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", 796 | "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=", 797 | "dev": true 798 | } 799 | } 800 | }, 801 | "ajv": { 802 | "version": "5.5.2", 803 | "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz", 804 | "integrity": "sha1-c7Xuyj+rZT49P5Qis0GtQiBdyWU=", 805 | "dev": true, 806 | "requires": { 807 | "co": "^4.6.0", 808 | "fast-deep-equal": "^1.0.0", 809 | "fast-json-stable-stringify": "^2.0.0", 810 | "json-schema-traverse": "^0.3.0" 811 | } 812 | }, 813 | "ansi-regex": { 814 | "version": "3.0.0", 815 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 816 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", 817 | "dev": true 818 | }, 819 | "chardet": { 820 | "version": "0.4.2", 821 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.4.2.tgz", 822 | "integrity": "sha1-tUc7M9yXxCTl2Y3IfVXU2KKci/I=", 823 | "dev": true 824 | }, 825 | "cross-spawn": { 826 | "version": "5.1.0", 827 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-5.1.0.tgz", 828 | "integrity": "sha1-6L0O/uWPz/b4+UUQoKVUu/ojVEk=", 829 | "dev": true, 830 | "requires": { 831 | "lru-cache": "^4.0.1", 832 | "shebang-command": "^1.2.0", 833 | "which": "^1.2.9" 834 | } 835 | }, 836 | "debug": { 837 | "version": "3.2.6", 838 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", 839 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", 840 | "dev": true, 841 | "requires": { 842 | "ms": "^2.1.1" 843 | } 844 | }, 845 | "doctrine": { 846 | "version": "2.1.0", 847 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", 848 | "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", 849 | "dev": true, 850 | "requires": { 851 | "esutils": "^2.0.2" 852 | } 853 | }, 854 | "eslint-scope": { 855 | "version": "3.7.3", 856 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz", 857 | "integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", 858 | "dev": true, 859 | "requires": { 860 | "esrecurse": "^4.1.0", 861 | "estraverse": "^4.1.1" 862 | } 863 | }, 864 | "espree": { 865 | "version": "3.5.4", 866 | "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", 867 | "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", 868 | "dev": true, 869 | "requires": { 870 | "acorn": "^5.5.0", 871 | "acorn-jsx": "^3.0.0" 872 | } 873 | }, 874 | "external-editor": { 875 | "version": "2.2.0", 876 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-2.2.0.tgz", 877 | "integrity": "sha512-bSn6gvGxKt+b7+6TKEv1ZycHleA7aHhRHyAqJyp5pbUFuYYNIzpZnQDk7AsYckyWdEnTeAnay0aCy2aV6iTk9A==", 878 | "dev": true, 879 | "requires": { 880 | "chardet": "^0.4.0", 881 | "iconv-lite": "^0.4.17", 882 | "tmp": "^0.0.33" 883 | } 884 | }, 885 | "fast-deep-equal": { 886 | "version": "1.1.0", 887 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-1.1.0.tgz", 888 | "integrity": "sha1-wFNHeBfIa1HaqFPIHgWbcz0CNhQ=", 889 | "dev": true 890 | }, 891 | "file-entry-cache": { 892 | "version": "2.0.0", 893 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", 894 | "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", 895 | "dev": true, 896 | "requires": { 897 | "flat-cache": "^1.2.1", 898 | "object-assign": "^4.0.1" 899 | } 900 | }, 901 | "flat-cache": { 902 | "version": "1.3.4", 903 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz", 904 | "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==", 905 | "dev": true, 906 | "requires": { 907 | "circular-json": "^0.3.1", 908 | "graceful-fs": "^4.1.2", 909 | "rimraf": "~2.6.2", 910 | "write": "^0.2.1" 911 | } 912 | }, 913 | "ignore": { 914 | "version": "3.3.10", 915 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", 916 | "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==", 917 | "dev": true 918 | }, 919 | "inquirer": { 920 | "version": "3.3.0", 921 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-3.3.0.tgz", 922 | "integrity": "sha512-h+xtnyk4EwKvFWHrUYsWErEVR+igKtLdchu+o0Z1RL7VU/jVMFbYir2bp6bAj8efFNxWqHX0dIss6fJQ+/+qeQ==", 923 | "dev": true, 924 | "requires": { 925 | "ansi-escapes": "^3.0.0", 926 | "chalk": "^2.0.0", 927 | "cli-cursor": "^2.1.0", 928 | "cli-width": "^2.0.0", 929 | "external-editor": "^2.0.4", 930 | "figures": "^2.0.0", 931 | "lodash": "^4.3.0", 932 | "mute-stream": "0.0.7", 933 | "run-async": "^2.2.0", 934 | "rx-lite": "^4.0.8", 935 | "rx-lite-aggregates": "^4.0.8", 936 | "string-width": "^2.1.0", 937 | "strip-ansi": "^4.0.0", 938 | "through": "^2.3.6" 939 | } 940 | }, 941 | "json-schema-traverse": { 942 | "version": "0.3.1", 943 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz", 944 | "integrity": "sha1-NJptRMU6Ud6JtAgFxdXlm0F9M0A=", 945 | "dev": true 946 | }, 947 | "regexpp": { 948 | "version": "1.1.0", 949 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-1.1.0.tgz", 950 | "integrity": "sha512-LOPw8FpgdQF9etWMaAfG/WRthIdXJGYp4mJ2Jgn/2lpkbod9jPn0t9UqN7AxBOKNfzRbYyVfgc7Vk4t/MpnXgw==", 951 | "dev": true 952 | }, 953 | "rimraf": { 954 | "version": "2.6.3", 955 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", 956 | "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", 957 | "dev": true, 958 | "requires": { 959 | "glob": "^7.1.3" 960 | } 961 | }, 962 | "slice-ansi": { 963 | "version": "1.0.0", 964 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", 965 | "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", 966 | "dev": true, 967 | "requires": { 968 | "is-fullwidth-code-point": "^2.0.0" 969 | } 970 | }, 971 | "string-width": { 972 | "version": "2.1.1", 973 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 974 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 975 | "dev": true, 976 | "requires": { 977 | "is-fullwidth-code-point": "^2.0.0", 978 | "strip-ansi": "^4.0.0" 979 | } 980 | }, 981 | "strip-ansi": { 982 | "version": "4.0.0", 983 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 984 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 985 | "dev": true, 986 | "requires": { 987 | "ansi-regex": "^3.0.0" 988 | } 989 | }, 990 | "table": { 991 | "version": "4.0.2", 992 | "resolved": "https://registry.npmjs.org/table/-/table-4.0.2.tgz", 993 | "integrity": "sha512-UUkEAPdSGxtRpiV9ozJ5cMTtYiqz7Ni1OGqLXRCynrvzdtR1p+cfOWe2RJLwvUG8hNanaSRjecIqwOjqeatDsA==", 994 | "dev": true, 995 | "requires": { 996 | "ajv": "^5.2.3", 997 | "ajv-keywords": "^2.1.0", 998 | "chalk": "^2.1.0", 999 | "lodash": "^4.17.4", 1000 | "slice-ansi": "1.0.0", 1001 | "string-width": "^2.1.1" 1002 | } 1003 | }, 1004 | "write": { 1005 | "version": "0.2.1", 1006 | "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", 1007 | "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", 1008 | "dev": true, 1009 | "requires": { 1010 | "mkdirp": "^0.5.1" 1011 | } 1012 | } 1013 | } 1014 | }, 1015 | "eslint-config-airbnb": { 1016 | "version": "16.1.0", 1017 | "resolved": "https://registry.npmjs.org/eslint-config-airbnb/-/eslint-config-airbnb-16.1.0.tgz", 1018 | "integrity": "sha512-zLyOhVWhzB/jwbz7IPSbkUuj7X2ox4PHXTcZkEmDqTvd0baJmJyuxlFPDlZOE/Y5bC+HQRaEkT3FoHo9wIdRiw==", 1019 | "dev": true, 1020 | "requires": { 1021 | "eslint-config-airbnb-base": "^12.1.0" 1022 | } 1023 | }, 1024 | "eslint-config-airbnb-base": { 1025 | "version": "12.1.0", 1026 | "resolved": "https://registry.npmjs.org/eslint-config-airbnb-base/-/eslint-config-airbnb-base-12.1.0.tgz", 1027 | "integrity": "sha512-/vjm0Px5ZCpmJqnjIzcFb9TKZrKWz0gnuG/7Gfkt0Db1ELJR51xkZth+t14rYdqWgX836XbuxtArbIHlVhbLBA==", 1028 | "dev": true, 1029 | "requires": { 1030 | "eslint-restricted-globals": "^0.1.1" 1031 | } 1032 | }, 1033 | "eslint-import-resolver-node": { 1034 | "version": "0.3.3", 1035 | "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.3.tgz", 1036 | "integrity": "sha512-b8crLDo0M5RSe5YG8Pu2DYBj71tSB6OvXkfzwbJU2w7y8P4/yo0MyF8jU26IEuEuHF2K5/gcAJE3LhQGqBBbVg==", 1037 | "dev": true, 1038 | "requires": { 1039 | "debug": "^2.6.9", 1040 | "resolve": "^1.13.1" 1041 | }, 1042 | "dependencies": { 1043 | "debug": { 1044 | "version": "2.6.9", 1045 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1046 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1047 | "dev": true, 1048 | "requires": { 1049 | "ms": "2.0.0" 1050 | } 1051 | }, 1052 | "ms": { 1053 | "version": "2.0.0", 1054 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1055 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 1056 | "dev": true 1057 | } 1058 | } 1059 | }, 1060 | "eslint-module-utils": { 1061 | "version": "2.5.2", 1062 | "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.5.2.tgz", 1063 | "integrity": "sha512-LGScZ/JSlqGKiT8OC+cYRxseMjyqt6QO54nl281CK93unD89ijSeRV6An8Ci/2nvWVKe8K/Tqdm75RQoIOCr+Q==", 1064 | "dev": true, 1065 | "requires": { 1066 | "debug": "^2.6.9", 1067 | "pkg-dir": "^2.0.0" 1068 | }, 1069 | "dependencies": { 1070 | "debug": { 1071 | "version": "2.6.9", 1072 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1073 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1074 | "dev": true, 1075 | "requires": { 1076 | "ms": "2.0.0" 1077 | } 1078 | }, 1079 | "find-up": { 1080 | "version": "2.1.0", 1081 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", 1082 | "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", 1083 | "dev": true, 1084 | "requires": { 1085 | "locate-path": "^2.0.0" 1086 | } 1087 | }, 1088 | "locate-path": { 1089 | "version": "2.0.0", 1090 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", 1091 | "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", 1092 | "dev": true, 1093 | "requires": { 1094 | "p-locate": "^2.0.0", 1095 | "path-exists": "^3.0.0" 1096 | } 1097 | }, 1098 | "ms": { 1099 | "version": "2.0.0", 1100 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1101 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 1102 | "dev": true 1103 | }, 1104 | "p-limit": { 1105 | "version": "1.3.0", 1106 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", 1107 | "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", 1108 | "dev": true, 1109 | "requires": { 1110 | "p-try": "^1.0.0" 1111 | } 1112 | }, 1113 | "p-locate": { 1114 | "version": "2.0.0", 1115 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", 1116 | "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", 1117 | "dev": true, 1118 | "requires": { 1119 | "p-limit": "^1.1.0" 1120 | } 1121 | }, 1122 | "p-try": { 1123 | "version": "1.0.0", 1124 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", 1125 | "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", 1126 | "dev": true 1127 | }, 1128 | "pkg-dir": { 1129 | "version": "2.0.0", 1130 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", 1131 | "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", 1132 | "dev": true, 1133 | "requires": { 1134 | "find-up": "^2.1.0" 1135 | } 1136 | } 1137 | } 1138 | }, 1139 | "eslint-plugin-import": { 1140 | "version": "2.20.1", 1141 | "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.20.1.tgz", 1142 | "integrity": "sha512-qQHgFOTjguR+LnYRoToeZWT62XM55MBVXObHM6SKFd1VzDcX/vqT1kAz8ssqigh5eMj8qXcRoXXGZpPP6RfdCw==", 1143 | "dev": true, 1144 | "requires": { 1145 | "array-includes": "^3.0.3", 1146 | "array.prototype.flat": "^1.2.1", 1147 | "contains-path": "^0.1.0", 1148 | "debug": "^2.6.9", 1149 | "doctrine": "1.5.0", 1150 | "eslint-import-resolver-node": "^0.3.2", 1151 | "eslint-module-utils": "^2.4.1", 1152 | "has": "^1.0.3", 1153 | "minimatch": "^3.0.4", 1154 | "object.values": "^1.1.0", 1155 | "read-pkg-up": "^2.0.0", 1156 | "resolve": "^1.12.0" 1157 | }, 1158 | "dependencies": { 1159 | "debug": { 1160 | "version": "2.6.9", 1161 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 1162 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 1163 | "dev": true, 1164 | "requires": { 1165 | "ms": "2.0.0" 1166 | } 1167 | }, 1168 | "doctrine": { 1169 | "version": "1.5.0", 1170 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", 1171 | "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", 1172 | "dev": true, 1173 | "requires": { 1174 | "esutils": "^2.0.2", 1175 | "isarray": "^1.0.0" 1176 | } 1177 | }, 1178 | "find-up": { 1179 | "version": "2.1.0", 1180 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", 1181 | "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", 1182 | "dev": true, 1183 | "requires": { 1184 | "locate-path": "^2.0.0" 1185 | } 1186 | }, 1187 | "load-json-file": { 1188 | "version": "2.0.0", 1189 | "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", 1190 | "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", 1191 | "dev": true, 1192 | "requires": { 1193 | "graceful-fs": "^4.1.2", 1194 | "parse-json": "^2.2.0", 1195 | "pify": "^2.0.0", 1196 | "strip-bom": "^3.0.0" 1197 | } 1198 | }, 1199 | "locate-path": { 1200 | "version": "2.0.0", 1201 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", 1202 | "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", 1203 | "dev": true, 1204 | "requires": { 1205 | "p-locate": "^2.0.0", 1206 | "path-exists": "^3.0.0" 1207 | } 1208 | }, 1209 | "ms": { 1210 | "version": "2.0.0", 1211 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1212 | "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=", 1213 | "dev": true 1214 | }, 1215 | "p-limit": { 1216 | "version": "1.3.0", 1217 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", 1218 | "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", 1219 | "dev": true, 1220 | "requires": { 1221 | "p-try": "^1.0.0" 1222 | } 1223 | }, 1224 | "p-locate": { 1225 | "version": "2.0.0", 1226 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", 1227 | "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", 1228 | "dev": true, 1229 | "requires": { 1230 | "p-limit": "^1.1.0" 1231 | } 1232 | }, 1233 | "p-try": { 1234 | "version": "1.0.0", 1235 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", 1236 | "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", 1237 | "dev": true 1238 | }, 1239 | "parse-json": { 1240 | "version": "2.2.0", 1241 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", 1242 | "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", 1243 | "dev": true, 1244 | "requires": { 1245 | "error-ex": "^1.2.0" 1246 | } 1247 | }, 1248 | "path-type": { 1249 | "version": "2.0.0", 1250 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", 1251 | "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", 1252 | "dev": true, 1253 | "requires": { 1254 | "pify": "^2.0.0" 1255 | } 1256 | }, 1257 | "pify": { 1258 | "version": "2.3.0", 1259 | "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", 1260 | "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", 1261 | "dev": true 1262 | }, 1263 | "read-pkg": { 1264 | "version": "2.0.0", 1265 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", 1266 | "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", 1267 | "dev": true, 1268 | "requires": { 1269 | "load-json-file": "^2.0.0", 1270 | "normalize-package-data": "^2.3.2", 1271 | "path-type": "^2.0.0" 1272 | } 1273 | }, 1274 | "read-pkg-up": { 1275 | "version": "2.0.0", 1276 | "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", 1277 | "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", 1278 | "dev": true, 1279 | "requires": { 1280 | "find-up": "^2.0.0", 1281 | "read-pkg": "^2.0.0" 1282 | } 1283 | } 1284 | } 1285 | }, 1286 | "eslint-plugin-jsx-a11y": { 1287 | "version": "6.2.3", 1288 | "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.2.3.tgz", 1289 | "integrity": "sha512-CawzfGt9w83tyuVekn0GDPU9ytYtxyxyFZ3aSWROmnRRFQFT2BiPJd7jvRdzNDi6oLWaS2asMeYSNMjWTV4eNg==", 1290 | "dev": true, 1291 | "requires": { 1292 | "@babel/runtime": "^7.4.5", 1293 | "aria-query": "^3.0.0", 1294 | "array-includes": "^3.0.3", 1295 | "ast-types-flow": "^0.0.7", 1296 | "axobject-query": "^2.0.2", 1297 | "damerau-levenshtein": "^1.0.4", 1298 | "emoji-regex": "^7.0.2", 1299 | "has": "^1.0.3", 1300 | "jsx-ast-utils": "^2.2.1" 1301 | } 1302 | }, 1303 | "eslint-plugin-react": { 1304 | "version": "7.18.3", 1305 | "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.18.3.tgz", 1306 | "integrity": "sha512-Bt56LNHAQCoou88s8ViKRjMB2+36XRejCQ1VoLj716KI1MoE99HpTVvIThJ0rvFmG4E4Gsq+UgToEjn+j044Bg==", 1307 | "dev": true, 1308 | "requires": { 1309 | "array-includes": "^3.1.1", 1310 | "doctrine": "^2.1.0", 1311 | "has": "^1.0.3", 1312 | "jsx-ast-utils": "^2.2.3", 1313 | "object.entries": "^1.1.1", 1314 | "object.fromentries": "^2.0.2", 1315 | "object.values": "^1.1.1", 1316 | "prop-types": "^15.7.2", 1317 | "resolve": "^1.14.2", 1318 | "string.prototype.matchall": "^4.0.2" 1319 | }, 1320 | "dependencies": { 1321 | "doctrine": { 1322 | "version": "2.1.0", 1323 | "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-2.1.0.tgz", 1324 | "integrity": "sha512-35mSku4ZXK0vfCuHEDAwt55dg2jNajHZ1odvF+8SSr82EsZY4QmXfuWso8oEd8zRhVObSN18aM0CjSdoBX7zIw==", 1325 | "dev": true, 1326 | "requires": { 1327 | "esutils": "^2.0.2" 1328 | } 1329 | } 1330 | } 1331 | }, 1332 | "eslint-restricted-globals": { 1333 | "version": "0.1.1", 1334 | "resolved": "https://registry.npmjs.org/eslint-restricted-globals/-/eslint-restricted-globals-0.1.1.tgz", 1335 | "integrity": "sha1-NfDVy8ZMLj7WLpO0saevBbp+1Nc=", 1336 | "dev": true 1337 | }, 1338 | "eslint-scope": { 1339 | "version": "4.0.3", 1340 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", 1341 | "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", 1342 | "requires": { 1343 | "esrecurse": "^4.1.0", 1344 | "estraverse": "^4.1.1" 1345 | } 1346 | }, 1347 | "eslint-utils": { 1348 | "version": "1.4.3", 1349 | "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", 1350 | "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", 1351 | "requires": { 1352 | "eslint-visitor-keys": "^1.1.0" 1353 | } 1354 | }, 1355 | "eslint-visitor-keys": { 1356 | "version": "1.1.0", 1357 | "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.1.0.tgz", 1358 | "integrity": "sha512-8y9YjtM1JBJU/A9Kc+SbaOV4y29sSWckBwMHa+FGtVj5gN/sbnKDf6xJUl+8g7FAij9LVaP8C24DUiH/f/2Z9A==" 1359 | }, 1360 | "espree": { 1361 | "version": "5.0.1", 1362 | "resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz", 1363 | "integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==", 1364 | "requires": { 1365 | "acorn": "^6.0.7", 1366 | "acorn-jsx": "^5.0.0", 1367 | "eslint-visitor-keys": "^1.0.0" 1368 | } 1369 | }, 1370 | "esprima": { 1371 | "version": "4.0.1", 1372 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 1373 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==" 1374 | }, 1375 | "esquery": { 1376 | "version": "1.1.0", 1377 | "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.1.0.tgz", 1378 | "integrity": "sha512-MxYW9xKmROWF672KqjO75sszsA8Mxhw06YFeS5VHlB98KDHbOSurm3ArsjO60Eaf3QmGMCP1yn+0JQkNLo/97Q==", 1379 | "requires": { 1380 | "estraverse": "^4.0.0" 1381 | } 1382 | }, 1383 | "esrecurse": { 1384 | "version": "4.2.1", 1385 | "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz", 1386 | "integrity": "sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==", 1387 | "requires": { 1388 | "estraverse": "^4.1.0" 1389 | } 1390 | }, 1391 | "estraverse": { 1392 | "version": "4.3.0", 1393 | "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", 1394 | "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==" 1395 | }, 1396 | "esutils": { 1397 | "version": "2.0.3", 1398 | "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", 1399 | "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==" 1400 | }, 1401 | "external-editor": { 1402 | "version": "3.1.0", 1403 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", 1404 | "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", 1405 | "requires": { 1406 | "chardet": "^0.7.0", 1407 | "iconv-lite": "^0.4.24", 1408 | "tmp": "^0.0.33" 1409 | } 1410 | }, 1411 | "fast-deep-equal": { 1412 | "version": "3.1.1", 1413 | "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.1.tgz", 1414 | "integrity": "sha512-8UEa58QDLauDNfpbrX55Q9jrGHThw2ZMdOky5Gl1CDtVeJDPVrG4Jxx1N8jw2gkWaff5UUuX1KJd+9zGe2B+ZA==" 1415 | }, 1416 | "fast-json-stable-stringify": { 1417 | "version": "2.1.0", 1418 | "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", 1419 | "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==" 1420 | }, 1421 | "fast-levenshtein": { 1422 | "version": "2.0.6", 1423 | "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", 1424 | "integrity": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" 1425 | }, 1426 | "figures": { 1427 | "version": "2.0.0", 1428 | "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", 1429 | "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", 1430 | "requires": { 1431 | "escape-string-regexp": "^1.0.5" 1432 | } 1433 | }, 1434 | "file-entry-cache": { 1435 | "version": "5.0.1", 1436 | "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-5.0.1.tgz", 1437 | "integrity": "sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==", 1438 | "requires": { 1439 | "flat-cache": "^2.0.1" 1440 | } 1441 | }, 1442 | "find-cache-dir": { 1443 | "version": "2.1.0", 1444 | "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", 1445 | "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", 1446 | "requires": { 1447 | "commondir": "^1.0.1", 1448 | "make-dir": "^2.0.0", 1449 | "pkg-dir": "^3.0.0" 1450 | } 1451 | }, 1452 | "find-up": { 1453 | "version": "3.0.0", 1454 | "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", 1455 | "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", 1456 | "requires": { 1457 | "locate-path": "^3.0.0" 1458 | } 1459 | }, 1460 | "flat": { 1461 | "version": "4.1.0", 1462 | "resolved": "https://registry.npmjs.org/flat/-/flat-4.1.0.tgz", 1463 | "integrity": "sha512-Px/TiLIznH7gEDlPXcUD4KnBusa6kR6ayRUVcnEAbreRIuhkqow/mun59BuRXwoYk7ZQOLW1ZM05ilIvK38hFw==", 1464 | "dev": true, 1465 | "requires": { 1466 | "is-buffer": "~2.0.3" 1467 | } 1468 | }, 1469 | "flat-cache": { 1470 | "version": "2.0.1", 1471 | "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-2.0.1.tgz", 1472 | "integrity": "sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==", 1473 | "requires": { 1474 | "flatted": "^2.0.0", 1475 | "rimraf": "2.6.3", 1476 | "write": "1.0.3" 1477 | }, 1478 | "dependencies": { 1479 | "rimraf": { 1480 | "version": "2.6.3", 1481 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", 1482 | "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", 1483 | "requires": { 1484 | "glob": "^7.1.3" 1485 | } 1486 | } 1487 | } 1488 | }, 1489 | "flatted": { 1490 | "version": "2.0.1", 1491 | "resolved": "https://registry.npmjs.org/flatted/-/flatted-2.0.1.tgz", 1492 | "integrity": "sha512-a1hQMktqW9Nmqr5aktAux3JMNqaucxGcjtjWnZLHX7yyPCmlSV3M54nGYbqT8K+0GhF3NBgmJCc3ma+WOgX8Jg==" 1493 | }, 1494 | "foreground-child": { 1495 | "version": "1.5.6", 1496 | "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-1.5.6.tgz", 1497 | "integrity": "sha1-T9ca0t/elnibmApcCilZN8svXOk=", 1498 | "requires": { 1499 | "cross-spawn": "^4", 1500 | "signal-exit": "^3.0.0" 1501 | } 1502 | }, 1503 | "fs": { 1504 | "version": "0.0.1-security", 1505 | "resolved": "https://registry.npmjs.org/fs/-/fs-0.0.1-security.tgz", 1506 | "integrity": "sha1-invTcYa23d84E/I4WLV+yq9eQdQ=" 1507 | }, 1508 | "fs.realpath": { 1509 | "version": "1.0.0", 1510 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 1511 | "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" 1512 | }, 1513 | "function-bind": { 1514 | "version": "1.1.1", 1515 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 1516 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 1517 | "dev": true 1518 | }, 1519 | "functional-red-black-tree": { 1520 | "version": "1.0.1", 1521 | "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", 1522 | "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" 1523 | }, 1524 | "get-caller-file": { 1525 | "version": "2.0.5", 1526 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 1527 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==" 1528 | }, 1529 | "get-func-name": { 1530 | "version": "2.0.0", 1531 | "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", 1532 | "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=" 1533 | }, 1534 | "glob": { 1535 | "version": "7.1.6", 1536 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.6.tgz", 1537 | "integrity": "sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA==", 1538 | "requires": { 1539 | "fs.realpath": "^1.0.0", 1540 | "inflight": "^1.0.4", 1541 | "inherits": "2", 1542 | "minimatch": "^3.0.4", 1543 | "once": "^1.3.0", 1544 | "path-is-absolute": "^1.0.0" 1545 | } 1546 | }, 1547 | "globals": { 1548 | "version": "11.12.0", 1549 | "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", 1550 | "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==" 1551 | }, 1552 | "graceful-fs": { 1553 | "version": "4.2.3", 1554 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.3.tgz", 1555 | "integrity": "sha512-a30VEBm4PEdx1dRB7MFK7BejejvCvBronbLjht+sHuGYj8PHs7M/5Z+rt5lw551vZ7yfTCj4Vuyy3mSJytDWRQ==" 1556 | }, 1557 | "growl": { 1558 | "version": "1.10.5", 1559 | "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.5.tgz", 1560 | "integrity": "sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==", 1561 | "dev": true 1562 | }, 1563 | "has": { 1564 | "version": "1.0.3", 1565 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 1566 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 1567 | "dev": true, 1568 | "requires": { 1569 | "function-bind": "^1.1.1" 1570 | } 1571 | }, 1572 | "has-ansi": { 1573 | "version": "2.0.0", 1574 | "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", 1575 | "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", 1576 | "requires": { 1577 | "ansi-regex": "^2.0.0" 1578 | }, 1579 | "dependencies": { 1580 | "ansi-regex": { 1581 | "version": "2.1.1", 1582 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 1583 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" 1584 | } 1585 | } 1586 | }, 1587 | "has-flag": { 1588 | "version": "3.0.0", 1589 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1590 | "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" 1591 | }, 1592 | "has-symbols": { 1593 | "version": "1.0.1", 1594 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.1.tgz", 1595 | "integrity": "sha512-PLcsoqu++dmEIZB+6totNFKq/7Do+Z0u4oT0zKOJNl3lYK6vGwwu2hjHs+68OEZbTjiUE9bgOABXbP/GvrS0Kg==", 1596 | "dev": true 1597 | }, 1598 | "hasha": { 1599 | "version": "3.0.0", 1600 | "resolved": "https://registry.npmjs.org/hasha/-/hasha-3.0.0.tgz", 1601 | "integrity": "sha1-UqMvq4Vp1BymmmH/GiFPjrfIvTk=", 1602 | "requires": { 1603 | "is-stream": "^1.0.1" 1604 | } 1605 | }, 1606 | "he": { 1607 | "version": "1.2.0", 1608 | "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", 1609 | "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", 1610 | "dev": true 1611 | }, 1612 | "hosted-git-info": { 1613 | "version": "2.8.5", 1614 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.5.tgz", 1615 | "integrity": "sha512-kssjab8CvdXfcXMXVcvsXum4Hwdq9XGtRD3TteMEvEbq0LXyiNQr6AprqKqfeaDXze7SxWvRxdpwE6ku7ikLkg==" 1616 | }, 1617 | "html-escaper": { 1618 | "version": "2.0.0", 1619 | "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.0.tgz", 1620 | "integrity": "sha512-a4u9BeERWGu/S8JiWEAQcdrg9v4QArtP9keViQjGMdff20fBdd8waotXaNmODqBe6uZ3Nafi7K/ho4gCQHV3Ig==" 1621 | }, 1622 | "iconv-lite": { 1623 | "version": "0.4.24", 1624 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 1625 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 1626 | "requires": { 1627 | "safer-buffer": ">= 2.1.2 < 3" 1628 | } 1629 | }, 1630 | "ignore": { 1631 | "version": "4.0.6", 1632 | "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", 1633 | "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==" 1634 | }, 1635 | "import-fresh": { 1636 | "version": "3.2.1", 1637 | "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.2.1.tgz", 1638 | "integrity": "sha512-6e1q1cnWP2RXD9/keSkxHScg508CdXqXWgWBaETNhyuBFz+kUZlKboh+ISK+bU++DmbHimVBrOz/zzPe0sZ3sQ==", 1639 | "requires": { 1640 | "parent-module": "^1.0.0", 1641 | "resolve-from": "^4.0.0" 1642 | } 1643 | }, 1644 | "imurmurhash": { 1645 | "version": "0.1.4", 1646 | "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", 1647 | "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=" 1648 | }, 1649 | "indent-string": { 1650 | "version": "4.0.0", 1651 | "resolved": "https://registry.npmjs.org/indent-string/-/indent-string-4.0.0.tgz", 1652 | "integrity": "sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==" 1653 | }, 1654 | "inflight": { 1655 | "version": "1.0.6", 1656 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 1657 | "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", 1658 | "requires": { 1659 | "once": "^1.3.0", 1660 | "wrappy": "1" 1661 | } 1662 | }, 1663 | "inherits": { 1664 | "version": "2.0.4", 1665 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 1666 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" 1667 | }, 1668 | "inquirer": { 1669 | "version": "6.5.2", 1670 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz", 1671 | "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==", 1672 | "requires": { 1673 | "ansi-escapes": "^3.2.0", 1674 | "chalk": "^2.4.2", 1675 | "cli-cursor": "^2.1.0", 1676 | "cli-width": "^2.0.0", 1677 | "external-editor": "^3.0.3", 1678 | "figures": "^2.0.0", 1679 | "lodash": "^4.17.12", 1680 | "mute-stream": "0.0.7", 1681 | "run-async": "^2.2.0", 1682 | "rxjs": "^6.4.0", 1683 | "string-width": "^2.1.0", 1684 | "strip-ansi": "^5.1.0", 1685 | "through": "^2.3.6" 1686 | }, 1687 | "dependencies": { 1688 | "ansi-regex": { 1689 | "version": "3.0.0", 1690 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 1691 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 1692 | }, 1693 | "string-width": { 1694 | "version": "2.1.1", 1695 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 1696 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 1697 | "requires": { 1698 | "is-fullwidth-code-point": "^2.0.0", 1699 | "strip-ansi": "^4.0.0" 1700 | }, 1701 | "dependencies": { 1702 | "strip-ansi": { 1703 | "version": "4.0.0", 1704 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 1705 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 1706 | "requires": { 1707 | "ansi-regex": "^3.0.0" 1708 | } 1709 | } 1710 | } 1711 | } 1712 | } 1713 | }, 1714 | "internal-slot": { 1715 | "version": "1.0.2", 1716 | "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.2.tgz", 1717 | "integrity": "sha512-2cQNfwhAfJIkU4KZPkDI+Gj5yNNnbqi40W9Gge6dfnk4TocEVm00B3bdiL+JINrbGJil2TeHvM4rETGzk/f/0g==", 1718 | "dev": true, 1719 | "requires": { 1720 | "es-abstract": "^1.17.0-next.1", 1721 | "has": "^1.0.3", 1722 | "side-channel": "^1.0.2" 1723 | } 1724 | }, 1725 | "is-arrayish": { 1726 | "version": "0.2.1", 1727 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 1728 | "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" 1729 | }, 1730 | "is-buffer": { 1731 | "version": "2.0.4", 1732 | "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-2.0.4.tgz", 1733 | "integrity": "sha512-Kq1rokWXOPXWuaMAqZiJW4XxsmD9zGx9q4aePabbn3qCRGedtH7Cm+zV8WETitMfu1wdh+Rvd6w5egwSngUX2A==", 1734 | "dev": true 1735 | }, 1736 | "is-callable": { 1737 | "version": "1.1.5", 1738 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.1.5.tgz", 1739 | "integrity": "sha512-ESKv5sMCJB2jnHTWZ3O5itG+O128Hsus4K4Qh1h2/cgn2vbgnLSVqfV46AeJA9D5EeeLa9w81KUXMtn34zhX+Q==", 1740 | "dev": true 1741 | }, 1742 | "is-date-object": { 1743 | "version": "1.0.2", 1744 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", 1745 | "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", 1746 | "dev": true 1747 | }, 1748 | "is-fullwidth-code-point": { 1749 | "version": "2.0.0", 1750 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", 1751 | "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=" 1752 | }, 1753 | "is-promise": { 1754 | "version": "2.1.0", 1755 | "resolved": "https://registry.npmjs.org/is-promise/-/is-promise-2.1.0.tgz", 1756 | "integrity": "sha1-eaKp7OfwlugPNtKy87wWwf9L8/o=" 1757 | }, 1758 | "is-regex": { 1759 | "version": "1.0.5", 1760 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.0.5.tgz", 1761 | "integrity": "sha512-vlKW17SNq44owv5AQR3Cq0bQPEb8+kF3UKZ2fiZNOWtztYE5i0CzCZxFDwO58qAOWtxdBRVO/V5Qin1wjCqFYQ==", 1762 | "dev": true, 1763 | "requires": { 1764 | "has": "^1.0.3" 1765 | } 1766 | }, 1767 | "is-resolvable": { 1768 | "version": "1.1.0", 1769 | "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", 1770 | "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==", 1771 | "dev": true 1772 | }, 1773 | "is-stream": { 1774 | "version": "1.1.0", 1775 | "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", 1776 | "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=" 1777 | }, 1778 | "is-string": { 1779 | "version": "1.0.5", 1780 | "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", 1781 | "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", 1782 | "dev": true 1783 | }, 1784 | "is-symbol": { 1785 | "version": "1.0.3", 1786 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", 1787 | "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", 1788 | "dev": true, 1789 | "requires": { 1790 | "has-symbols": "^1.0.1" 1791 | } 1792 | }, 1793 | "isarray": { 1794 | "version": "1.0.0", 1795 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 1796 | "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", 1797 | "dev": true 1798 | }, 1799 | "isexe": { 1800 | "version": "2.0.0", 1801 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 1802 | "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" 1803 | }, 1804 | "istanbul-lib-coverage": { 1805 | "version": "2.0.5", 1806 | "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.5.tgz", 1807 | "integrity": "sha512-8aXznuEPCJvGnMSRft4udDRDtb1V3pkQkMMI5LI+6HuQz5oQ4J2UFn1H82raA3qJtyOLkkwVqICBQkjnGtn5mA==" 1808 | }, 1809 | "istanbul-lib-hook": { 1810 | "version": "2.0.7", 1811 | "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-2.0.7.tgz", 1812 | "integrity": "sha512-vrRztU9VRRFDyC+aklfLoeXyNdTfga2EI3udDGn4cZ6fpSXpHLV9X6CHvfoMCPtggg8zvDDmC4b9xfu0z6/llA==", 1813 | "requires": { 1814 | "append-transform": "^1.0.0" 1815 | } 1816 | }, 1817 | "istanbul-lib-instrument": { 1818 | "version": "3.3.0", 1819 | "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-3.3.0.tgz", 1820 | "integrity": "sha512-5nnIN4vo5xQZHdXno/YDXJ0G+I3dAm4XgzfSVTPLQpj/zAV2dV6Juy0yaf10/zrJOJeHoN3fraFe+XRq2bFVZA==", 1821 | "requires": { 1822 | "@babel/generator": "^7.4.0", 1823 | "@babel/parser": "^7.4.3", 1824 | "@babel/template": "^7.4.0", 1825 | "@babel/traverse": "^7.4.3", 1826 | "@babel/types": "^7.4.0", 1827 | "istanbul-lib-coverage": "^2.0.5", 1828 | "semver": "^6.0.0" 1829 | }, 1830 | "dependencies": { 1831 | "semver": { 1832 | "version": "6.3.0", 1833 | "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", 1834 | "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" 1835 | } 1836 | } 1837 | }, 1838 | "istanbul-lib-report": { 1839 | "version": "2.0.8", 1840 | "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-2.0.8.tgz", 1841 | "integrity": "sha512-fHBeG573EIihhAblwgxrSenp0Dby6tJMFR/HvlerBsrCTD5bkUuoNtn3gVh29ZCS824cGGBPn7Sg7cNk+2xUsQ==", 1842 | "requires": { 1843 | "istanbul-lib-coverage": "^2.0.5", 1844 | "make-dir": "^2.1.0", 1845 | "supports-color": "^6.1.0" 1846 | }, 1847 | "dependencies": { 1848 | "supports-color": { 1849 | "version": "6.1.0", 1850 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", 1851 | "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", 1852 | "requires": { 1853 | "has-flag": "^3.0.0" 1854 | } 1855 | } 1856 | } 1857 | }, 1858 | "istanbul-lib-source-maps": { 1859 | "version": "3.0.6", 1860 | "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-3.0.6.tgz", 1861 | "integrity": "sha512-R47KzMtDJH6X4/YW9XTx+jrLnZnscW4VpNN+1PViSYTejLVPWv7oov+Duf8YQSPyVRUvueQqz1TcsC6mooZTXw==", 1862 | "requires": { 1863 | "debug": "^4.1.1", 1864 | "istanbul-lib-coverage": "^2.0.5", 1865 | "make-dir": "^2.1.0", 1866 | "rimraf": "^2.6.3", 1867 | "source-map": "^0.6.1" 1868 | }, 1869 | "dependencies": { 1870 | "source-map": { 1871 | "version": "0.6.1", 1872 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 1873 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" 1874 | } 1875 | } 1876 | }, 1877 | "istanbul-reports": { 1878 | "version": "2.2.7", 1879 | "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-2.2.7.tgz", 1880 | "integrity": "sha512-uu1F/L1o5Y6LzPVSVZXNOoD/KXpJue9aeLRd0sM9uMXfZvzomB0WxVamWb5ue8kA2vVWEmW7EG+A5n3f1kqHKg==", 1881 | "requires": { 1882 | "html-escaper": "^2.0.0" 1883 | } 1884 | }, 1885 | "js-tokens": { 1886 | "version": "4.0.0", 1887 | "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", 1888 | "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==" 1889 | }, 1890 | "js-yaml": { 1891 | "version": "3.13.1", 1892 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.13.1.tgz", 1893 | "integrity": "sha512-YfbcO7jXDdyj0DGxYVSlSeQNHbD7XPWvrVWeVUujrQEoZzWJIRrCPoyk6kL6IAjAG2IolMK4T0hNUe0HOUs5Jw==", 1894 | "requires": { 1895 | "argparse": "^1.0.7", 1896 | "esprima": "^4.0.0" 1897 | } 1898 | }, 1899 | "jsesc": { 1900 | "version": "2.5.2", 1901 | "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", 1902 | "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==" 1903 | }, 1904 | "json-parse-better-errors": { 1905 | "version": "1.0.2", 1906 | "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", 1907 | "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" 1908 | }, 1909 | "json-schema-traverse": { 1910 | "version": "0.4.1", 1911 | "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", 1912 | "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==" 1913 | }, 1914 | "json-stable-stringify-without-jsonify": { 1915 | "version": "1.0.1", 1916 | "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", 1917 | "integrity": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=" 1918 | }, 1919 | "json2csv": { 1920 | "version": "5.0.1", 1921 | "resolved": "https://registry.npmjs.org/json2csv/-/json2csv-5.0.1.tgz", 1922 | "integrity": "sha512-QFMifUX1y8W2tKi2TwZpnzf2rHdZvzdmgZUMEMDF46F90f4a9mUeWfx/qg4kzXSZYJYc3cWA5O+eLXk5lj9g8g==", 1923 | "requires": { 1924 | "commander": "^5.0.0", 1925 | "jsonparse": "^1.3.1", 1926 | "lodash.get": "^4.4.2" 1927 | }, 1928 | "dependencies": { 1929 | "commander": { 1930 | "version": "5.1.0", 1931 | "resolved": "https://registry.npmjs.org/commander/-/commander-5.1.0.tgz", 1932 | "integrity": "sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==" 1933 | } 1934 | } 1935 | }, 1936 | "jsonparse": { 1937 | "version": "1.3.1", 1938 | "resolved": "https://registry.npmjs.org/jsonparse/-/jsonparse-1.3.1.tgz", 1939 | "integrity": "sha1-P02uSpH6wxX3EGL4UhzCOfE2YoA=" 1940 | }, 1941 | "jsx-ast-utils": { 1942 | "version": "2.2.3", 1943 | "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.2.3.tgz", 1944 | "integrity": "sha512-EdIHFMm+1BPynpKOpdPqiOsvnIrInRGJD7bzPZdPkjitQEqpdpUuFpq4T0npZFKTiB3RhWFdGN+oqOJIdhDhQA==", 1945 | "dev": true, 1946 | "requires": { 1947 | "array-includes": "^3.0.3", 1948 | "object.assign": "^4.1.0" 1949 | } 1950 | }, 1951 | "leven": { 1952 | "version": "2.1.0", 1953 | "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", 1954 | "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=" 1955 | }, 1956 | "levn": { 1957 | "version": "0.3.0", 1958 | "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", 1959 | "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", 1960 | "requires": { 1961 | "prelude-ls": "~1.1.2", 1962 | "type-check": "~0.3.2" 1963 | } 1964 | }, 1965 | "load-json-file": { 1966 | "version": "4.0.0", 1967 | "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", 1968 | "integrity": "sha1-L19Fq5HjMhYjT9U62rZo607AmTs=", 1969 | "requires": { 1970 | "graceful-fs": "^4.1.2", 1971 | "parse-json": "^4.0.0", 1972 | "pify": "^3.0.0", 1973 | "strip-bom": "^3.0.0" 1974 | }, 1975 | "dependencies": { 1976 | "pify": { 1977 | "version": "3.0.0", 1978 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", 1979 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" 1980 | } 1981 | } 1982 | }, 1983 | "locate-path": { 1984 | "version": "3.0.0", 1985 | "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", 1986 | "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", 1987 | "requires": { 1988 | "p-locate": "^3.0.0", 1989 | "path-exists": "^3.0.0" 1990 | } 1991 | }, 1992 | "lodash": { 1993 | "version": "4.17.15", 1994 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", 1995 | "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" 1996 | }, 1997 | "lodash.flattendeep": { 1998 | "version": "4.4.0", 1999 | "resolved": "https://registry.npmjs.org/lodash.flattendeep/-/lodash.flattendeep-4.4.0.tgz", 2000 | "integrity": "sha1-+wMJF/hqMTTlvJvsDWngAT3f7bI=" 2001 | }, 2002 | "lodash.get": { 2003 | "version": "4.4.2", 2004 | "resolved": "https://registry.npmjs.org/lodash.get/-/lodash.get-4.4.2.tgz", 2005 | "integrity": "sha1-LRd/ZS+jHpObRDjVNBSZ36OCXpk=" 2006 | }, 2007 | "lodash.merge": { 2008 | "version": "4.6.2", 2009 | "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", 2010 | "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" 2011 | }, 2012 | "lodash.unescape": { 2013 | "version": "4.0.1", 2014 | "resolved": "https://registry.npmjs.org/lodash.unescape/-/lodash.unescape-4.0.1.tgz", 2015 | "integrity": "sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=" 2016 | }, 2017 | "log-symbols": { 2018 | "version": "2.2.0", 2019 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-2.2.0.tgz", 2020 | "integrity": "sha512-VeIAFslyIerEJLXHziedo2basKbMKtTw3vfn5IzG0XTjhAVEJyNHnL2p7vc+wBDSdQuUpNw3M2u6xb9QsAY5Eg==", 2021 | "dev": true, 2022 | "requires": { 2023 | "chalk": "^2.0.1" 2024 | } 2025 | }, 2026 | "loglevel": { 2027 | "version": "1.6.7", 2028 | "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.6.7.tgz", 2029 | "integrity": "sha512-cY2eLFrQSAfVPhCgH1s7JI73tMbg9YC3v3+ZHVW67sBS7UxWzNEk/ZBbSfLykBWHp33dqqtOv82gjhKEi81T/A==" 2030 | }, 2031 | "loglevel-colored-level-prefix": { 2032 | "version": "1.0.0", 2033 | "resolved": "https://registry.npmjs.org/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz", 2034 | "integrity": "sha1-akAhj9x64V/HbD0PPmdsRlOIYD4=", 2035 | "requires": { 2036 | "chalk": "^1.1.3", 2037 | "loglevel": "^1.4.1" 2038 | }, 2039 | "dependencies": { 2040 | "ansi-regex": { 2041 | "version": "2.1.1", 2042 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", 2043 | "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=" 2044 | }, 2045 | "ansi-styles": { 2046 | "version": "2.2.1", 2047 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", 2048 | "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=" 2049 | }, 2050 | "chalk": { 2051 | "version": "1.1.3", 2052 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", 2053 | "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", 2054 | "requires": { 2055 | "ansi-styles": "^2.2.1", 2056 | "escape-string-regexp": "^1.0.2", 2057 | "has-ansi": "^2.0.0", 2058 | "strip-ansi": "^3.0.0", 2059 | "supports-color": "^2.0.0" 2060 | } 2061 | }, 2062 | "strip-ansi": { 2063 | "version": "3.0.1", 2064 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", 2065 | "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", 2066 | "requires": { 2067 | "ansi-regex": "^2.0.0" 2068 | } 2069 | }, 2070 | "supports-color": { 2071 | "version": "2.0.0", 2072 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", 2073 | "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=" 2074 | } 2075 | } 2076 | }, 2077 | "loose-envify": { 2078 | "version": "1.4.0", 2079 | "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", 2080 | "integrity": "sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q==", 2081 | "dev": true, 2082 | "requires": { 2083 | "js-tokens": "^3.0.0 || ^4.0.0" 2084 | } 2085 | }, 2086 | "lru-cache": { 2087 | "version": "4.1.5", 2088 | "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", 2089 | "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", 2090 | "requires": { 2091 | "pseudomap": "^1.0.2", 2092 | "yallist": "^2.1.2" 2093 | } 2094 | }, 2095 | "make-dir": { 2096 | "version": "2.1.0", 2097 | "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", 2098 | "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", 2099 | "requires": { 2100 | "pify": "^4.0.1", 2101 | "semver": "^5.6.0" 2102 | } 2103 | }, 2104 | "make-error": { 2105 | "version": "1.3.5", 2106 | "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz", 2107 | "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==" 2108 | }, 2109 | "merge-source-map": { 2110 | "version": "1.1.0", 2111 | "resolved": "https://registry.npmjs.org/merge-source-map/-/merge-source-map-1.1.0.tgz", 2112 | "integrity": "sha512-Qkcp7P2ygktpMPh2mCQZaf3jhN6D3Z/qVZHSdWvQ+2Ef5HgRAPBO57A77+ENm0CPx2+1Ce/MYKi3ymqdfuqibw==", 2113 | "requires": { 2114 | "source-map": "^0.6.1" 2115 | }, 2116 | "dependencies": { 2117 | "source-map": { 2118 | "version": "0.6.1", 2119 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 2120 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" 2121 | } 2122 | } 2123 | }, 2124 | "mimic-fn": { 2125 | "version": "1.2.0", 2126 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", 2127 | "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==" 2128 | }, 2129 | "minimatch": { 2130 | "version": "3.0.4", 2131 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", 2132 | "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", 2133 | "requires": { 2134 | "brace-expansion": "^1.1.7" 2135 | } 2136 | }, 2137 | "minimist": { 2138 | "version": "0.0.8", 2139 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", 2140 | "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" 2141 | }, 2142 | "mkdirp": { 2143 | "version": "0.5.1", 2144 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", 2145 | "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", 2146 | "requires": { 2147 | "minimist": "0.0.8" 2148 | } 2149 | }, 2150 | "mocha": { 2151 | "version": "6.2.2", 2152 | "resolved": "https://registry.npmjs.org/mocha/-/mocha-6.2.2.tgz", 2153 | "integrity": "sha512-FgDS9Re79yU1xz5d+C4rv1G7QagNGHZ+iXF81hO8zY35YZZcLEsJVfFolfsqKFWunATEvNzMK0r/CwWd/szO9A==", 2154 | "dev": true, 2155 | "requires": { 2156 | "ansi-colors": "3.2.3", 2157 | "browser-stdout": "1.3.1", 2158 | "debug": "3.2.6", 2159 | "diff": "3.5.0", 2160 | "escape-string-regexp": "1.0.5", 2161 | "find-up": "3.0.0", 2162 | "glob": "7.1.3", 2163 | "growl": "1.10.5", 2164 | "he": "1.2.0", 2165 | "js-yaml": "3.13.1", 2166 | "log-symbols": "2.2.0", 2167 | "minimatch": "3.0.4", 2168 | "mkdirp": "0.5.1", 2169 | "ms": "2.1.1", 2170 | "node-environment-flags": "1.0.5", 2171 | "object.assign": "4.1.0", 2172 | "strip-json-comments": "2.0.1", 2173 | "supports-color": "6.0.0", 2174 | "which": "1.3.1", 2175 | "wide-align": "1.1.3", 2176 | "yargs": "13.3.0", 2177 | "yargs-parser": "13.1.1", 2178 | "yargs-unparser": "1.6.0" 2179 | }, 2180 | "dependencies": { 2181 | "debug": { 2182 | "version": "3.2.6", 2183 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", 2184 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", 2185 | "dev": true, 2186 | "requires": { 2187 | "ms": "^2.1.1" 2188 | } 2189 | }, 2190 | "diff": { 2191 | "version": "3.5.0", 2192 | "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", 2193 | "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", 2194 | "dev": true 2195 | }, 2196 | "glob": { 2197 | "version": "7.1.3", 2198 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.3.tgz", 2199 | "integrity": "sha512-vcfuiIxogLV4DlGBHIUOwI0IbrJ8HWPc4MU7HzviGeNho/UJDfi6B5p3sHeWIQ0KGIU0Jpxi5ZHxemQfLkkAwQ==", 2200 | "dev": true, 2201 | "requires": { 2202 | "fs.realpath": "^1.0.0", 2203 | "inflight": "^1.0.4", 2204 | "inherits": "2", 2205 | "minimatch": "^3.0.4", 2206 | "once": "^1.3.0", 2207 | "path-is-absolute": "^1.0.0" 2208 | } 2209 | }, 2210 | "ms": { 2211 | "version": "2.1.1", 2212 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", 2213 | "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==", 2214 | "dev": true 2215 | }, 2216 | "supports-color": { 2217 | "version": "6.0.0", 2218 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.0.0.tgz", 2219 | "integrity": "sha512-on9Kwidc1IUQo+bQdhi8+Tijpo0e1SS6RoGo2guUwn5vdaxw8RXOF9Vb2ws+ihWOmh4JnCJOvaziZWP1VABaLg==", 2220 | "dev": true, 2221 | "requires": { 2222 | "has-flag": "^3.0.0" 2223 | } 2224 | } 2225 | } 2226 | }, 2227 | "mri": { 2228 | "version": "1.1.4", 2229 | "resolved": "https://registry.npmjs.org/mri/-/mri-1.1.4.tgz", 2230 | "integrity": "sha512-6y7IjGPm8AzlvoUrwAaw1tLnUBudaS3752vcd8JtrpGGQn+rXIe63LFVHm/YMwtqAuh+LJPCFdlLYPWM1nYn6w==" 2231 | }, 2232 | "ms": { 2233 | "version": "2.1.2", 2234 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 2235 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" 2236 | }, 2237 | "mute-stream": { 2238 | "version": "0.0.7", 2239 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", 2240 | "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=" 2241 | }, 2242 | "natural-compare": { 2243 | "version": "1.4.0", 2244 | "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", 2245 | "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" 2246 | }, 2247 | "nested-error-stacks": { 2248 | "version": "2.1.0", 2249 | "resolved": "https://registry.npmjs.org/nested-error-stacks/-/nested-error-stacks-2.1.0.tgz", 2250 | "integrity": "sha512-AO81vsIO1k1sM4Zrd6Hu7regmJN1NSiAja10gc4bX3F0wd+9rQmcuHQaHVQCYIEC8iFXnE+mavh23GOt7wBgug==" 2251 | }, 2252 | "nice-try": { 2253 | "version": "1.0.5", 2254 | "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", 2255 | "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" 2256 | }, 2257 | "node-environment-flags": { 2258 | "version": "1.0.5", 2259 | "resolved": "https://registry.npmjs.org/node-environment-flags/-/node-environment-flags-1.0.5.tgz", 2260 | "integrity": "sha512-VNYPRfGfmZLx0Ye20jWzHUjyTW/c+6Wq+iLhDzUI4XmhrDd9l/FozXV3F2xOaXjvp0co0+v1YSR3CMP6g+VvLQ==", 2261 | "dev": true, 2262 | "requires": { 2263 | "object.getownpropertydescriptors": "^2.0.3", 2264 | "semver": "^5.7.0" 2265 | } 2266 | }, 2267 | "node-fetch": { 2268 | "version": "2.6.0", 2269 | "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz", 2270 | "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA==" 2271 | }, 2272 | "normalize-package-data": { 2273 | "version": "2.5.0", 2274 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", 2275 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", 2276 | "requires": { 2277 | "hosted-git-info": "^2.1.4", 2278 | "resolve": "^1.10.0", 2279 | "semver": "2 || 3 || 4 || 5", 2280 | "validate-npm-package-license": "^3.0.1" 2281 | } 2282 | }, 2283 | "nyc": { 2284 | "version": "14.1.1", 2285 | "resolved": "https://registry.npmjs.org/nyc/-/nyc-14.1.1.tgz", 2286 | "integrity": "sha512-OI0vm6ZGUnoGZv/tLdZ2esSVzDwUC88SNs+6JoSOMVxA+gKMB8Tk7jBwgemLx4O40lhhvZCVw1C+OYLOBOPXWw==", 2287 | "requires": { 2288 | "archy": "^1.0.0", 2289 | "caching-transform": "^3.0.2", 2290 | "convert-source-map": "^1.6.0", 2291 | "cp-file": "^6.2.0", 2292 | "find-cache-dir": "^2.1.0", 2293 | "find-up": "^3.0.0", 2294 | "foreground-child": "^1.5.6", 2295 | "glob": "^7.1.3", 2296 | "istanbul-lib-coverage": "^2.0.5", 2297 | "istanbul-lib-hook": "^2.0.7", 2298 | "istanbul-lib-instrument": "^3.3.0", 2299 | "istanbul-lib-report": "^2.0.8", 2300 | "istanbul-lib-source-maps": "^3.0.6", 2301 | "istanbul-reports": "^2.2.4", 2302 | "js-yaml": "^3.13.1", 2303 | "make-dir": "^2.1.0", 2304 | "merge-source-map": "^1.1.0", 2305 | "resolve-from": "^4.0.0", 2306 | "rimraf": "^2.6.3", 2307 | "signal-exit": "^3.0.2", 2308 | "spawn-wrap": "^1.4.2", 2309 | "test-exclude": "^5.2.3", 2310 | "uuid": "^3.3.2", 2311 | "yargs": "^13.2.2", 2312 | "yargs-parser": "^13.0.0" 2313 | } 2314 | }, 2315 | "object-assign": { 2316 | "version": "4.1.1", 2317 | "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", 2318 | "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", 2319 | "dev": true 2320 | }, 2321 | "object-inspect": { 2322 | "version": "1.7.0", 2323 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.7.0.tgz", 2324 | "integrity": "sha512-a7pEHdh1xKIAgTySUGgLMx/xwDZskN1Ud6egYYN3EdRW4ZMPNEDUTF+hwy2LUC+Bl+SyLXANnwz/jyh/qutKUw==", 2325 | "dev": true 2326 | }, 2327 | "object-keys": { 2328 | "version": "1.1.1", 2329 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 2330 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 2331 | "dev": true 2332 | }, 2333 | "object.assign": { 2334 | "version": "4.1.0", 2335 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.0.tgz", 2336 | "integrity": "sha512-exHJeq6kBKj58mqGyTQ9DFvrZC/eR6OwxzoM9YRoGBqrXYonaFyGiFMuc9VZrXf7DarreEwMpurG3dd+CNyW5w==", 2337 | "dev": true, 2338 | "requires": { 2339 | "define-properties": "^1.1.2", 2340 | "function-bind": "^1.1.1", 2341 | "has-symbols": "^1.0.0", 2342 | "object-keys": "^1.0.11" 2343 | } 2344 | }, 2345 | "object.entries": { 2346 | "version": "1.1.1", 2347 | "resolved": "https://registry.npmjs.org/object.entries/-/object.entries-1.1.1.tgz", 2348 | "integrity": "sha512-ilqR7BgdyZetJutmDPfXCDffGa0/Yzl2ivVNpbx/g4UeWrCdRnFDUBrKJGLhGieRHDATnyZXWBeCb29k9CJysQ==", 2349 | "dev": true, 2350 | "requires": { 2351 | "define-properties": "^1.1.3", 2352 | "es-abstract": "^1.17.0-next.1", 2353 | "function-bind": "^1.1.1", 2354 | "has": "^1.0.3" 2355 | } 2356 | }, 2357 | "object.fromentries": { 2358 | "version": "2.0.2", 2359 | "resolved": "https://registry.npmjs.org/object.fromentries/-/object.fromentries-2.0.2.tgz", 2360 | "integrity": "sha512-r3ZiBH7MQppDJVLx6fhD618GKNG40CZYH9wgwdhKxBDDbQgjeWGGd4AtkZad84d291YxvWe7bJGuE65Anh0dxQ==", 2361 | "dev": true, 2362 | "requires": { 2363 | "define-properties": "^1.1.3", 2364 | "es-abstract": "^1.17.0-next.1", 2365 | "function-bind": "^1.1.1", 2366 | "has": "^1.0.3" 2367 | } 2368 | }, 2369 | "object.getownpropertydescriptors": { 2370 | "version": "2.1.0", 2371 | "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.0.tgz", 2372 | "integrity": "sha512-Z53Oah9A3TdLoblT7VKJaTDdXdT+lQO+cNpKVnya5JDe9uLvzu1YyY1yFDFrcxrlRgWrEFH0jJtD/IbuwjcEVg==", 2373 | "dev": true, 2374 | "requires": { 2375 | "define-properties": "^1.1.3", 2376 | "es-abstract": "^1.17.0-next.1" 2377 | } 2378 | }, 2379 | "object.values": { 2380 | "version": "1.1.1", 2381 | "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.1.tgz", 2382 | "integrity": "sha512-WTa54g2K8iu0kmS/us18jEmdv1a4Wi//BZ/DTVYEcH0XhLM5NYdpDHja3gt57VrZLcNAO2WGA+KpWsDBaHt6eA==", 2383 | "dev": true, 2384 | "requires": { 2385 | "define-properties": "^1.1.3", 2386 | "es-abstract": "^1.17.0-next.1", 2387 | "function-bind": "^1.1.1", 2388 | "has": "^1.0.3" 2389 | } 2390 | }, 2391 | "once": { 2392 | "version": "1.4.0", 2393 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 2394 | "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", 2395 | "requires": { 2396 | "wrappy": "1" 2397 | } 2398 | }, 2399 | "onetime": { 2400 | "version": "2.0.1", 2401 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", 2402 | "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", 2403 | "requires": { 2404 | "mimic-fn": "^1.0.0" 2405 | } 2406 | }, 2407 | "optionator": { 2408 | "version": "0.8.3", 2409 | "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", 2410 | "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", 2411 | "requires": { 2412 | "deep-is": "~0.1.3", 2413 | "fast-levenshtein": "~2.0.6", 2414 | "levn": "~0.3.0", 2415 | "prelude-ls": "~1.1.2", 2416 | "type-check": "~0.3.2", 2417 | "word-wrap": "~1.2.3" 2418 | } 2419 | }, 2420 | "os-homedir": { 2421 | "version": "1.0.2", 2422 | "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", 2423 | "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=" 2424 | }, 2425 | "os-tmpdir": { 2426 | "version": "1.0.2", 2427 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 2428 | "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" 2429 | }, 2430 | "p-limit": { 2431 | "version": "2.2.2", 2432 | "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.2.2.tgz", 2433 | "integrity": "sha512-WGR+xHecKTr7EbUEhyLSh5Dube9JtdiG78ufaeLxTgpudf/20KqyMioIUZJAezlTIi6evxuoUs9YXc11cU+yzQ==", 2434 | "requires": { 2435 | "p-try": "^2.0.0" 2436 | } 2437 | }, 2438 | "p-locate": { 2439 | "version": "3.0.0", 2440 | "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", 2441 | "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", 2442 | "requires": { 2443 | "p-limit": "^2.0.0" 2444 | } 2445 | }, 2446 | "p-try": { 2447 | "version": "2.2.0", 2448 | "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", 2449 | "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==" 2450 | }, 2451 | "package-hash": { 2452 | "version": "3.0.0", 2453 | "resolved": "https://registry.npmjs.org/package-hash/-/package-hash-3.0.0.tgz", 2454 | "integrity": "sha512-lOtmukMDVvtkL84rJHI7dpTYq+0rli8N2wlnqUcBuDWCfVhRUfOmnR9SsoHFMLpACvEV60dX7rd0rFaYDZI+FA==", 2455 | "requires": { 2456 | "graceful-fs": "^4.1.15", 2457 | "hasha": "^3.0.0", 2458 | "lodash.flattendeep": "^4.4.0", 2459 | "release-zalgo": "^1.0.0" 2460 | } 2461 | }, 2462 | "parent-module": { 2463 | "version": "1.0.1", 2464 | "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", 2465 | "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", 2466 | "requires": { 2467 | "callsites": "^3.0.0" 2468 | } 2469 | }, 2470 | "parse-json": { 2471 | "version": "4.0.0", 2472 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", 2473 | "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", 2474 | "requires": { 2475 | "error-ex": "^1.3.1", 2476 | "json-parse-better-errors": "^1.0.1" 2477 | } 2478 | }, 2479 | "path-exists": { 2480 | "version": "3.0.0", 2481 | "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", 2482 | "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=" 2483 | }, 2484 | "path-is-absolute": { 2485 | "version": "1.0.1", 2486 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 2487 | "integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=" 2488 | }, 2489 | "path-is-inside": { 2490 | "version": "1.0.2", 2491 | "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", 2492 | "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" 2493 | }, 2494 | "path-key": { 2495 | "version": "2.0.1", 2496 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", 2497 | "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=" 2498 | }, 2499 | "path-parse": { 2500 | "version": "1.0.6", 2501 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", 2502 | "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" 2503 | }, 2504 | "path-type": { 2505 | "version": "3.0.0", 2506 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", 2507 | "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", 2508 | "requires": { 2509 | "pify": "^3.0.0" 2510 | }, 2511 | "dependencies": { 2512 | "pify": { 2513 | "version": "3.0.0", 2514 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", 2515 | "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" 2516 | } 2517 | } 2518 | }, 2519 | "pathval": { 2520 | "version": "1.1.0", 2521 | "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.0.tgz", 2522 | "integrity": "sha1-uULm1L3mUwBe9rcTYd74cn0GReA=" 2523 | }, 2524 | "pify": { 2525 | "version": "4.0.1", 2526 | "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", 2527 | "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==" 2528 | }, 2529 | "pkg-dir": { 2530 | "version": "3.0.0", 2531 | "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", 2532 | "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", 2533 | "requires": { 2534 | "find-up": "^3.0.0" 2535 | } 2536 | }, 2537 | "pluralize": { 2538 | "version": "7.0.0", 2539 | "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", 2540 | "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", 2541 | "dev": true 2542 | }, 2543 | "prelude-ls": { 2544 | "version": "1.1.2", 2545 | "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", 2546 | "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=" 2547 | }, 2548 | "prettier": { 2549 | "version": "1.19.1", 2550 | "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", 2551 | "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==" 2552 | }, 2553 | "prettier-eslint": { 2554 | "version": "9.0.1", 2555 | "resolved": "https://registry.npmjs.org/prettier-eslint/-/prettier-eslint-9.0.1.tgz", 2556 | "integrity": "sha512-KZT65QTosSAqBBqmrC+RpXbsMRe7Os2YSR9cAfFbDlyPAopzA/S5bioiZ3rpziNQNSJaOxmtXSx07EQ+o2Dlug==", 2557 | "requires": { 2558 | "@typescript-eslint/parser": "^1.10.2", 2559 | "common-tags": "^1.4.0", 2560 | "core-js": "^3.1.4", 2561 | "dlv": "^1.1.0", 2562 | "eslint": "^5.0.0", 2563 | "indent-string": "^4.0.0", 2564 | "lodash.merge": "^4.6.0", 2565 | "loglevel-colored-level-prefix": "^1.0.0", 2566 | "prettier": "^1.7.0", 2567 | "pretty-format": "^23.0.1", 2568 | "require-relative": "^0.8.7", 2569 | "typescript": "^3.2.1", 2570 | "vue-eslint-parser": "^2.0.2" 2571 | }, 2572 | "dependencies": { 2573 | "ansi-regex": { 2574 | "version": "3.0.0", 2575 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 2576 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 2577 | }, 2578 | "cross-spawn": { 2579 | "version": "6.0.5", 2580 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", 2581 | "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", 2582 | "requires": { 2583 | "nice-try": "^1.0.4", 2584 | "path-key": "^2.0.1", 2585 | "semver": "^5.5.0", 2586 | "shebang-command": "^1.2.0", 2587 | "which": "^1.2.9" 2588 | } 2589 | }, 2590 | "eslint": { 2591 | "version": "5.16.0", 2592 | "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.16.0.tgz", 2593 | "integrity": "sha512-S3Rz11i7c8AA5JPv7xAH+dOyq/Cu/VXHiHXBPOU1k/JAM5dXqQPt3qcrhpHSorXmrpu2g0gkIBVXAqCpzfoZIg==", 2594 | "requires": { 2595 | "@babel/code-frame": "^7.0.0", 2596 | "ajv": "^6.9.1", 2597 | "chalk": "^2.1.0", 2598 | "cross-spawn": "^6.0.5", 2599 | "debug": "^4.0.1", 2600 | "doctrine": "^3.0.0", 2601 | "eslint-scope": "^4.0.3", 2602 | "eslint-utils": "^1.3.1", 2603 | "eslint-visitor-keys": "^1.0.0", 2604 | "espree": "^5.0.1", 2605 | "esquery": "^1.0.1", 2606 | "esutils": "^2.0.2", 2607 | "file-entry-cache": "^5.0.1", 2608 | "functional-red-black-tree": "^1.0.1", 2609 | "glob": "^7.1.2", 2610 | "globals": "^11.7.0", 2611 | "ignore": "^4.0.6", 2612 | "import-fresh": "^3.0.0", 2613 | "imurmurhash": "^0.1.4", 2614 | "inquirer": "^6.2.2", 2615 | "js-yaml": "^3.13.0", 2616 | "json-stable-stringify-without-jsonify": "^1.0.1", 2617 | "levn": "^0.3.0", 2618 | "lodash": "^4.17.11", 2619 | "minimatch": "^3.0.4", 2620 | "mkdirp": "^0.5.1", 2621 | "natural-compare": "^1.4.0", 2622 | "optionator": "^0.8.2", 2623 | "path-is-inside": "^1.0.2", 2624 | "progress": "^2.0.0", 2625 | "regexpp": "^2.0.1", 2626 | "semver": "^5.5.1", 2627 | "strip-ansi": "^4.0.0", 2628 | "strip-json-comments": "^2.0.1", 2629 | "table": "^5.2.3", 2630 | "text-table": "^0.2.0" 2631 | } 2632 | }, 2633 | "strip-ansi": { 2634 | "version": "4.0.0", 2635 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 2636 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 2637 | "requires": { 2638 | "ansi-regex": "^3.0.0" 2639 | } 2640 | }, 2641 | "typescript": { 2642 | "version": "3.7.5", 2643 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.7.5.tgz", 2644 | "integrity": "sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==" 2645 | } 2646 | } 2647 | }, 2648 | "pretty-format": { 2649 | "version": "23.6.0", 2650 | "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-23.6.0.tgz", 2651 | "integrity": "sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw==", 2652 | "requires": { 2653 | "ansi-regex": "^3.0.0", 2654 | "ansi-styles": "^3.2.0" 2655 | }, 2656 | "dependencies": { 2657 | "ansi-regex": { 2658 | "version": "3.0.0", 2659 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 2660 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=" 2661 | } 2662 | } 2663 | }, 2664 | "process-nextick-args": { 2665 | "version": "2.0.1", 2666 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 2667 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 2668 | "dev": true 2669 | }, 2670 | "progress": { 2671 | "version": "2.0.3", 2672 | "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", 2673 | "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==" 2674 | }, 2675 | "prop-types": { 2676 | "version": "15.7.2", 2677 | "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", 2678 | "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", 2679 | "dev": true, 2680 | "requires": { 2681 | "loose-envify": "^1.4.0", 2682 | "object-assign": "^4.1.1", 2683 | "react-is": "^16.8.1" 2684 | } 2685 | }, 2686 | "pseudomap": { 2687 | "version": "1.0.2", 2688 | "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", 2689 | "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" 2690 | }, 2691 | "punycode": { 2692 | "version": "2.1.1", 2693 | "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", 2694 | "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==" 2695 | }, 2696 | "react-is": { 2697 | "version": "16.12.0", 2698 | "resolved": "https://registry.npmjs.org/react-is/-/react-is-16.12.0.tgz", 2699 | "integrity": "sha512-rPCkf/mWBtKc97aLL9/txD8DZdemK0vkA3JMLShjlJB3Pj3s+lpf1KaBzMfQrAmhMQB0n1cU/SUGgKKBCe837Q==", 2700 | "dev": true 2701 | }, 2702 | "read-pkg": { 2703 | "version": "3.0.0", 2704 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", 2705 | "integrity": "sha1-nLxoaXj+5l0WwA4rGcI3/Pbjg4k=", 2706 | "requires": { 2707 | "load-json-file": "^4.0.0", 2708 | "normalize-package-data": "^2.3.2", 2709 | "path-type": "^3.0.0" 2710 | } 2711 | }, 2712 | "read-pkg-up": { 2713 | "version": "4.0.0", 2714 | "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-4.0.0.tgz", 2715 | "integrity": "sha512-6etQSH7nJGsK0RbG/2TeDzZFa8shjQ1um+SwQQ5cwKy0dhSXdOncEhb1CPpvQG4h7FyOV6EB6YlV0yJvZQNAkA==", 2716 | "requires": { 2717 | "find-up": "^3.0.0", 2718 | "read-pkg": "^3.0.0" 2719 | } 2720 | }, 2721 | "readable-stream": { 2722 | "version": "2.3.7", 2723 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", 2724 | "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", 2725 | "dev": true, 2726 | "requires": { 2727 | "core-util-is": "~1.0.0", 2728 | "inherits": "~2.0.3", 2729 | "isarray": "~1.0.0", 2730 | "process-nextick-args": "~2.0.0", 2731 | "safe-buffer": "~5.1.1", 2732 | "string_decoder": "~1.1.1", 2733 | "util-deprecate": "~1.0.1" 2734 | } 2735 | }, 2736 | "regenerator-runtime": { 2737 | "version": "0.13.3", 2738 | "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.3.tgz", 2739 | "integrity": "sha512-naKIZz2GQ8JWh///G7L3X6LaQUAMp2lvb1rvwwsURe/VXwD6VMfr+/1NuNw3ag8v2kY1aQ/go5SNn79O9JU7yw==", 2740 | "dev": true 2741 | }, 2742 | "regexp.prototype.flags": { 2743 | "version": "1.3.0", 2744 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.0.tgz", 2745 | "integrity": "sha512-2+Q0C5g951OlYlJz6yu5/M33IcsESLlLfsyIaLJaG4FA2r4yP8MvVMJUUP/fVBkSpbbbZlS5gynbEWLipiiXiQ==", 2746 | "dev": true, 2747 | "requires": { 2748 | "define-properties": "^1.1.3", 2749 | "es-abstract": "^1.17.0-next.1" 2750 | } 2751 | }, 2752 | "regexpp": { 2753 | "version": "2.0.1", 2754 | "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", 2755 | "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==" 2756 | }, 2757 | "release-zalgo": { 2758 | "version": "1.0.0", 2759 | "resolved": "https://registry.npmjs.org/release-zalgo/-/release-zalgo-1.0.0.tgz", 2760 | "integrity": "sha1-CXALflB0Mpc5Mw5TXFqQ+2eFFzA=", 2761 | "requires": { 2762 | "es6-error": "^4.0.1" 2763 | } 2764 | }, 2765 | "require-directory": { 2766 | "version": "2.1.1", 2767 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 2768 | "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=" 2769 | }, 2770 | "require-main-filename": { 2771 | "version": "2.0.0", 2772 | "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", 2773 | "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==" 2774 | }, 2775 | "require-relative": { 2776 | "version": "0.8.7", 2777 | "resolved": "https://registry.npmjs.org/require-relative/-/require-relative-0.8.7.tgz", 2778 | "integrity": "sha1-eZlTn8ngR6N5KPoZb44VY9q9Nt4=" 2779 | }, 2780 | "require-uncached": { 2781 | "version": "1.0.3", 2782 | "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", 2783 | "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", 2784 | "dev": true, 2785 | "requires": { 2786 | "caller-path": "^0.1.0", 2787 | "resolve-from": "^1.0.0" 2788 | }, 2789 | "dependencies": { 2790 | "resolve-from": { 2791 | "version": "1.0.1", 2792 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", 2793 | "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", 2794 | "dev": true 2795 | } 2796 | } 2797 | }, 2798 | "resolve": { 2799 | "version": "1.15.1", 2800 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.15.1.tgz", 2801 | "integrity": "sha512-84oo6ZTtoTUpjgNEr5SJyzQhzL72gaRodsSfyxC/AXRvwu0Yse9H8eF9IpGo7b8YetZhlI6v7ZQ6bKBFV/6S7w==", 2802 | "requires": { 2803 | "path-parse": "^1.0.6" 2804 | } 2805 | }, 2806 | "resolve-from": { 2807 | "version": "4.0.0", 2808 | "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", 2809 | "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==" 2810 | }, 2811 | "restore-cursor": { 2812 | "version": "2.0.0", 2813 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", 2814 | "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", 2815 | "requires": { 2816 | "onetime": "^2.0.0", 2817 | "signal-exit": "^3.0.2" 2818 | } 2819 | }, 2820 | "rimraf": { 2821 | "version": "2.7.1", 2822 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", 2823 | "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", 2824 | "requires": { 2825 | "glob": "^7.1.3" 2826 | } 2827 | }, 2828 | "run-async": { 2829 | "version": "2.3.0", 2830 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.3.0.tgz", 2831 | "integrity": "sha1-A3GrSuC91yDUFm19/aZP96RFpsA=", 2832 | "requires": { 2833 | "is-promise": "^2.1.0" 2834 | } 2835 | }, 2836 | "rx-lite": { 2837 | "version": "4.0.8", 2838 | "resolved": "https://registry.npmjs.org/rx-lite/-/rx-lite-4.0.8.tgz", 2839 | "integrity": "sha1-Cx4Rr4vESDbwSmQH6S2kJGe3lEQ=", 2840 | "dev": true 2841 | }, 2842 | "rx-lite-aggregates": { 2843 | "version": "4.0.8", 2844 | "resolved": "https://registry.npmjs.org/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz", 2845 | "integrity": "sha1-dTuHqJoRyVRnxKwWJsTvxOBcZ74=", 2846 | "dev": true, 2847 | "requires": { 2848 | "rx-lite": "*" 2849 | } 2850 | }, 2851 | "rxjs": { 2852 | "version": "6.5.4", 2853 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.5.4.tgz", 2854 | "integrity": "sha512-naMQXcgEo3csAEGvw/NydRA0fuS2nDZJiw1YUWFKU7aPPAPGZEsD4Iimit96qwCieH6y614MCLYwdkrWx7z/7Q==", 2855 | "requires": { 2856 | "tslib": "^1.9.0" 2857 | } 2858 | }, 2859 | "safe-buffer": { 2860 | "version": "5.1.2", 2861 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 2862 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" 2863 | }, 2864 | "safer-buffer": { 2865 | "version": "2.1.2", 2866 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 2867 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" 2868 | }, 2869 | "semver": { 2870 | "version": "5.7.1", 2871 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", 2872 | "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" 2873 | }, 2874 | "set-blocking": { 2875 | "version": "2.0.0", 2876 | "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", 2877 | "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" 2878 | }, 2879 | "shebang-command": { 2880 | "version": "1.2.0", 2881 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 2882 | "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", 2883 | "requires": { 2884 | "shebang-regex": "^1.0.0" 2885 | } 2886 | }, 2887 | "shebang-regex": { 2888 | "version": "1.0.0", 2889 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", 2890 | "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=" 2891 | }, 2892 | "side-channel": { 2893 | "version": "1.0.2", 2894 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.2.tgz", 2895 | "integrity": "sha512-7rL9YlPHg7Ancea1S96Pa8/QWb4BtXL/TZvS6B8XFetGBeuhAsfmUspK6DokBeZ64+Kj9TCNRD/30pVz1BvQNA==", 2896 | "dev": true, 2897 | "requires": { 2898 | "es-abstract": "^1.17.0-next.1", 2899 | "object-inspect": "^1.7.0" 2900 | } 2901 | }, 2902 | "signal-exit": { 2903 | "version": "3.0.2", 2904 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", 2905 | "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" 2906 | }, 2907 | "slice-ansi": { 2908 | "version": "2.1.0", 2909 | "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-2.1.0.tgz", 2910 | "integrity": "sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==", 2911 | "requires": { 2912 | "ansi-styles": "^3.2.0", 2913 | "astral-regex": "^1.0.0", 2914 | "is-fullwidth-code-point": "^2.0.0" 2915 | } 2916 | }, 2917 | "source-map": { 2918 | "version": "0.5.7", 2919 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", 2920 | "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=" 2921 | }, 2922 | "source-map-support": { 2923 | "version": "0.5.16", 2924 | "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.16.tgz", 2925 | "integrity": "sha512-efyLRJDr68D9hBBNIPWFjhpFzURh+KJykQwvMyW5UiZzYwoF6l4YMMDIJJEyFWxWCqfyxLzz6tSfUFR+kXXsVQ==", 2926 | "requires": { 2927 | "buffer-from": "^1.0.0", 2928 | "source-map": "^0.6.0" 2929 | }, 2930 | "dependencies": { 2931 | "source-map": { 2932 | "version": "0.6.1", 2933 | "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", 2934 | "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" 2935 | } 2936 | } 2937 | }, 2938 | "spawn-wrap": { 2939 | "version": "1.4.3", 2940 | "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-1.4.3.tgz", 2941 | "integrity": "sha512-IgB8md0QW/+tWqcavuFgKYR/qIRvJkRLPJDFaoXtLLUaVcCDK0+HeFTkmQHj3eprcYhc+gOl0aEA1w7qZlYezw==", 2942 | "requires": { 2943 | "foreground-child": "^1.5.6", 2944 | "mkdirp": "^0.5.0", 2945 | "os-homedir": "^1.0.1", 2946 | "rimraf": "^2.6.2", 2947 | "signal-exit": "^3.0.2", 2948 | "which": "^1.3.0" 2949 | } 2950 | }, 2951 | "spdx-correct": { 2952 | "version": "3.1.0", 2953 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.0.tgz", 2954 | "integrity": "sha512-lr2EZCctC2BNR7j7WzJ2FpDznxky1sjfxvvYEyzxNyb6lZXHODmEoJeFu4JupYlkfha1KZpJyoqiJ7pgA1qq8Q==", 2955 | "requires": { 2956 | "spdx-expression-parse": "^3.0.0", 2957 | "spdx-license-ids": "^3.0.0" 2958 | } 2959 | }, 2960 | "spdx-exceptions": { 2961 | "version": "2.2.0", 2962 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.2.0.tgz", 2963 | "integrity": "sha512-2XQACfElKi9SlVb1CYadKDXvoajPgBVPn/gOQLrTvHdElaVhr7ZEbqJaRnJLVNeaI4cMEAgVCeBMKF6MWRDCRA==" 2964 | }, 2965 | "spdx-expression-parse": { 2966 | "version": "3.0.0", 2967 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.0.tgz", 2968 | "integrity": "sha512-Yg6D3XpRD4kkOmTpdgbUiEJFKghJH03fiC1OPll5h/0sO6neh2jqRDVHOQ4o/LMea0tgCkbMgea5ip/e+MkWyg==", 2969 | "requires": { 2970 | "spdx-exceptions": "^2.1.0", 2971 | "spdx-license-ids": "^3.0.0" 2972 | } 2973 | }, 2974 | "spdx-license-ids": { 2975 | "version": "3.0.5", 2976 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.5.tgz", 2977 | "integrity": "sha512-J+FWzZoynJEXGphVIS+XEh3kFSjZX/1i9gFBaWQcB+/tmpe2qUsSBABpcxqxnAxFdiUFEgAX1bjYGQvIZmoz9Q==" 2978 | }, 2979 | "sprintf-js": { 2980 | "version": "1.0.3", 2981 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 2982 | "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" 2983 | }, 2984 | "string-width": { 2985 | "version": "3.1.0", 2986 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-3.1.0.tgz", 2987 | "integrity": "sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==", 2988 | "requires": { 2989 | "emoji-regex": "^7.0.1", 2990 | "is-fullwidth-code-point": "^2.0.0", 2991 | "strip-ansi": "^5.1.0" 2992 | } 2993 | }, 2994 | "string.prototype.matchall": { 2995 | "version": "4.0.2", 2996 | "resolved": "https://registry.npmjs.org/string.prototype.matchall/-/string.prototype.matchall-4.0.2.tgz", 2997 | "integrity": "sha512-N/jp6O5fMf9os0JU3E72Qhf590RSRZU/ungsL/qJUYVTNv7hTG0P/dbPjxINVN9jpscu3nzYwKESU3P3RY5tOg==", 2998 | "dev": true, 2999 | "requires": { 3000 | "define-properties": "^1.1.3", 3001 | "es-abstract": "^1.17.0", 3002 | "has-symbols": "^1.0.1", 3003 | "internal-slot": "^1.0.2", 3004 | "regexp.prototype.flags": "^1.3.0", 3005 | "side-channel": "^1.0.2" 3006 | } 3007 | }, 3008 | "string.prototype.trimleft": { 3009 | "version": "2.1.1", 3010 | "resolved": "https://registry.npmjs.org/string.prototype.trimleft/-/string.prototype.trimleft-2.1.1.tgz", 3011 | "integrity": "sha512-iu2AGd3PuP5Rp7x2kEZCrB2Nf41ehzh+goo8TV7z8/XDBbsvc6HQIlUl9RjkZ4oyrW1XM5UwlGl1oVEaDjg6Ag==", 3012 | "dev": true, 3013 | "requires": { 3014 | "define-properties": "^1.1.3", 3015 | "function-bind": "^1.1.1" 3016 | } 3017 | }, 3018 | "string.prototype.trimright": { 3019 | "version": "2.1.1", 3020 | "resolved": "https://registry.npmjs.org/string.prototype.trimright/-/string.prototype.trimright-2.1.1.tgz", 3021 | "integrity": "sha512-qFvWL3/+QIgZXVmJBfpHmxLB7xsUXz6HsUmP8+5dRaC3Q7oKUv9Vo6aMCRZC1smrtyECFsIT30PqBJ1gTjAs+g==", 3022 | "dev": true, 3023 | "requires": { 3024 | "define-properties": "^1.1.3", 3025 | "function-bind": "^1.1.1" 3026 | } 3027 | }, 3028 | "string_decoder": { 3029 | "version": "1.1.1", 3030 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 3031 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 3032 | "dev": true, 3033 | "requires": { 3034 | "safe-buffer": "~5.1.0" 3035 | } 3036 | }, 3037 | "strip-ansi": { 3038 | "version": "5.2.0", 3039 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", 3040 | "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", 3041 | "requires": { 3042 | "ansi-regex": "^4.1.0" 3043 | } 3044 | }, 3045 | "strip-bom": { 3046 | "version": "3.0.0", 3047 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", 3048 | "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=" 3049 | }, 3050 | "strip-json-comments": { 3051 | "version": "2.0.1", 3052 | "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", 3053 | "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=" 3054 | }, 3055 | "supports-color": { 3056 | "version": "5.5.0", 3057 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 3058 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 3059 | "requires": { 3060 | "has-flag": "^3.0.0" 3061 | } 3062 | }, 3063 | "table": { 3064 | "version": "5.4.6", 3065 | "resolved": "https://registry.npmjs.org/table/-/table-5.4.6.tgz", 3066 | "integrity": "sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==", 3067 | "requires": { 3068 | "ajv": "^6.10.2", 3069 | "lodash": "^4.17.14", 3070 | "slice-ansi": "^2.1.0", 3071 | "string-width": "^3.0.0" 3072 | } 3073 | }, 3074 | "test-exclude": { 3075 | "version": "5.2.3", 3076 | "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-5.2.3.tgz", 3077 | "integrity": "sha512-M+oxtseCFO3EDtAaGH7iiej3CBkzXqFMbzqYAACdzKui4eZA+pq3tZEwChvOdNfa7xxy8BfbmgJSIr43cC/+2g==", 3078 | "requires": { 3079 | "glob": "^7.1.3", 3080 | "minimatch": "^3.0.4", 3081 | "read-pkg-up": "^4.0.0", 3082 | "require-main-filename": "^2.0.0" 3083 | } 3084 | }, 3085 | "text-table": { 3086 | "version": "0.2.0", 3087 | "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", 3088 | "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=" 3089 | }, 3090 | "through": { 3091 | "version": "2.3.8", 3092 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 3093 | "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" 3094 | }, 3095 | "tmp": { 3096 | "version": "0.0.33", 3097 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", 3098 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", 3099 | "requires": { 3100 | "os-tmpdir": "~1.0.2" 3101 | } 3102 | }, 3103 | "to-fast-properties": { 3104 | "version": "2.0.0", 3105 | "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", 3106 | "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=" 3107 | }, 3108 | "ts-node": { 3109 | "version": "8.6.2", 3110 | "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.6.2.tgz", 3111 | "integrity": "sha512-4mZEbofxGqLL2RImpe3zMJukvEvcO1XP8bj8ozBPySdCUXEcU5cIRwR0aM3R+VoZq7iXc8N86NC0FspGRqP4gg==", 3112 | "requires": { 3113 | "arg": "^4.1.0", 3114 | "diff": "^4.0.1", 3115 | "make-error": "^1.1.1", 3116 | "source-map-support": "^0.5.6", 3117 | "yn": "3.1.1" 3118 | } 3119 | }, 3120 | "tsc": { 3121 | "version": "1.20150623.0", 3122 | "resolved": "https://registry.npmjs.org/tsc/-/tsc-1.20150623.0.tgz", 3123 | "integrity": "sha1-Trw8d04WkUjLx2inNCUz8ILHpuU=" 3124 | }, 3125 | "tslib": { 3126 | "version": "1.10.0", 3127 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", 3128 | "integrity": "sha512-qOebF53frne81cf0S9B41ByenJ3/IuH8yJKngAX35CmiZySA0khhkovshKK+jGCaMnVomla7gVlIcc3EvKPbTQ==" 3129 | }, 3130 | "tslint": { 3131 | "version": "5.20.1", 3132 | "resolved": "https://registry.npmjs.org/tslint/-/tslint-5.20.1.tgz", 3133 | "integrity": "sha512-EcMxhzCFt8k+/UP5r8waCf/lzmeSyVlqxqMEDQE7rWYiQky8KpIBz1JAoYXfROHrPZ1XXd43q8yQnULOLiBRQg==", 3134 | "dev": true, 3135 | "requires": { 3136 | "@babel/code-frame": "^7.0.0", 3137 | "builtin-modules": "^1.1.1", 3138 | "chalk": "^2.3.0", 3139 | "commander": "^2.12.1", 3140 | "diff": "^4.0.1", 3141 | "glob": "^7.1.1", 3142 | "js-yaml": "^3.13.1", 3143 | "minimatch": "^3.0.4", 3144 | "mkdirp": "^0.5.1", 3145 | "resolve": "^1.3.2", 3146 | "semver": "^5.3.0", 3147 | "tslib": "^1.8.0", 3148 | "tsutils": "^2.29.0" 3149 | } 3150 | }, 3151 | "tsutils": { 3152 | "version": "2.29.0", 3153 | "resolved": "https://registry.npmjs.org/tsutils/-/tsutils-2.29.0.tgz", 3154 | "integrity": "sha512-g5JVHCIJwzfISaXpXE1qvNalca5Jwob6FjI4AoPlqMusJ6ftFE7IkkFoMhVLRgK+4Kx3gkzb8UZK5t5yTTvEmA==", 3155 | "dev": true, 3156 | "requires": { 3157 | "tslib": "^1.8.1" 3158 | } 3159 | }, 3160 | "type-check": { 3161 | "version": "0.3.2", 3162 | "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", 3163 | "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", 3164 | "requires": { 3165 | "prelude-ls": "~1.1.2" 3166 | } 3167 | }, 3168 | "type-detect": { 3169 | "version": "4.0.8", 3170 | "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", 3171 | "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" 3172 | }, 3173 | "typedarray": { 3174 | "version": "0.0.6", 3175 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 3176 | "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=", 3177 | "dev": true 3178 | }, 3179 | "typescript": { 3180 | "version": "2.9.2", 3181 | "resolved": "https://registry.npmjs.org/typescript/-/typescript-2.9.2.tgz", 3182 | "integrity": "sha512-Gr4p6nFNaoufRIY4NMdpQRNmgxVIGMs4Fcu/ujdYk3nAZqk7supzBE9idmvfZIlH/Cuj//dvi+019qEue9lV0w==" 3183 | }, 3184 | "typescript-eslint-parser": { 3185 | "version": "16.0.1", 3186 | "resolved": "https://registry.npmjs.org/typescript-eslint-parser/-/typescript-eslint-parser-16.0.1.tgz", 3187 | "integrity": "sha512-IKawLTu4A2xN3aN/cPLxvZ0bhxZHILGDKTZWvWNJ3sLNhJ3PjfMEDQmR2VMpdRPrmWOadgWXRwjLBzSA8AGsaQ==", 3188 | "dev": true, 3189 | "requires": { 3190 | "lodash.unescape": "4.0.1", 3191 | "semver": "5.5.0" 3192 | }, 3193 | "dependencies": { 3194 | "semver": { 3195 | "version": "5.5.0", 3196 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz", 3197 | "integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA==", 3198 | "dev": true 3199 | } 3200 | } 3201 | }, 3202 | "underscore": { 3203 | "version": "1.9.2", 3204 | "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.9.2.tgz", 3205 | "integrity": "sha512-D39qtimx0c1fI3ya1Lnhk3E9nONswSKhnffBI0gME9C99fYOkNi04xs8K6pePLhvl1frbDemkaBQ5ikWllR2HQ==" 3206 | }, 3207 | "uri-js": { 3208 | "version": "4.2.2", 3209 | "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", 3210 | "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", 3211 | "requires": { 3212 | "punycode": "^2.1.0" 3213 | } 3214 | }, 3215 | "util-deprecate": { 3216 | "version": "1.0.2", 3217 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 3218 | "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", 3219 | "dev": true 3220 | }, 3221 | "uuid": { 3222 | "version": "3.4.0", 3223 | "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", 3224 | "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" 3225 | }, 3226 | "validate-npm-package-license": { 3227 | "version": "3.0.4", 3228 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", 3229 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", 3230 | "requires": { 3231 | "spdx-correct": "^3.0.0", 3232 | "spdx-expression-parse": "^3.0.0" 3233 | } 3234 | }, 3235 | "vue-eslint-parser": { 3236 | "version": "2.0.3", 3237 | "resolved": "https://registry.npmjs.org/vue-eslint-parser/-/vue-eslint-parser-2.0.3.tgz", 3238 | "integrity": "sha512-ZezcU71Owm84xVF6gfurBQUGg8WQ+WZGxgDEQu1IHFBZNx7BFZg3L1yHxrCBNNwbwFtE1GuvfJKMtb6Xuwc/Bw==", 3239 | "requires": { 3240 | "debug": "^3.1.0", 3241 | "eslint-scope": "^3.7.1", 3242 | "eslint-visitor-keys": "^1.0.0", 3243 | "espree": "^3.5.2", 3244 | "esquery": "^1.0.0", 3245 | "lodash": "^4.17.4" 3246 | }, 3247 | "dependencies": { 3248 | "acorn": { 3249 | "version": "5.7.3", 3250 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.3.tgz", 3251 | "integrity": "sha512-T/zvzYRfbVojPWahDsE5evJdHb3oJoQfFbsrKM7w5Zcs++Tr257tia3BmMP8XYVjp1S9RZXQMh7gao96BlqZOw==" 3252 | }, 3253 | "acorn-jsx": { 3254 | "version": "3.0.1", 3255 | "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-3.0.1.tgz", 3256 | "integrity": "sha1-r9+UiPsezvyDSPb7IvRk4ypYs2s=", 3257 | "requires": { 3258 | "acorn": "^3.0.4" 3259 | }, 3260 | "dependencies": { 3261 | "acorn": { 3262 | "version": "3.3.0", 3263 | "resolved": "https://registry.npmjs.org/acorn/-/acorn-3.3.0.tgz", 3264 | "integrity": "sha1-ReN/s56No/JbruP/U2niu18iAXo=" 3265 | } 3266 | } 3267 | }, 3268 | "debug": { 3269 | "version": "3.2.6", 3270 | "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.6.tgz", 3271 | "integrity": "sha512-mel+jf7nrtEl5Pn1Qx46zARXKDpBbvzezse7p7LqINmdoIk8PYP5SySaxEmYv6TZ0JyEKA1hsCId6DIhgITtWQ==", 3272 | "requires": { 3273 | "ms": "^2.1.1" 3274 | } 3275 | }, 3276 | "eslint-scope": { 3277 | "version": "3.7.3", 3278 | "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.3.tgz", 3279 | "integrity": "sha512-W+B0SvF4gamyCTmUc+uITPY0989iXVfKvhwtmJocTaYoc/3khEHmEmvfY/Gn9HA9VV75jrQECsHizkNw1b68FA==", 3280 | "requires": { 3281 | "esrecurse": "^4.1.0", 3282 | "estraverse": "^4.1.1" 3283 | } 3284 | }, 3285 | "espree": { 3286 | "version": "3.5.4", 3287 | "resolved": "https://registry.npmjs.org/espree/-/espree-3.5.4.tgz", 3288 | "integrity": "sha512-yAcIQxtmMiB/jL32dzEp2enBeidsB7xWPLNiw3IIkpVds1P+h7qF9YwJq1yUNzp2OKXgAprs4F61ih66UsoD1A==", 3289 | "requires": { 3290 | "acorn": "^5.5.0", 3291 | "acorn-jsx": "^3.0.0" 3292 | } 3293 | } 3294 | } 3295 | }, 3296 | "which": { 3297 | "version": "1.3.1", 3298 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 3299 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 3300 | "requires": { 3301 | "isexe": "^2.0.0" 3302 | } 3303 | }, 3304 | "which-module": { 3305 | "version": "2.0.0", 3306 | "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", 3307 | "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" 3308 | }, 3309 | "wide-align": { 3310 | "version": "1.1.3", 3311 | "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", 3312 | "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", 3313 | "dev": true, 3314 | "requires": { 3315 | "string-width": "^1.0.2 || 2" 3316 | }, 3317 | "dependencies": { 3318 | "ansi-regex": { 3319 | "version": "3.0.0", 3320 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", 3321 | "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", 3322 | "dev": true 3323 | }, 3324 | "string-width": { 3325 | "version": "2.1.1", 3326 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", 3327 | "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", 3328 | "dev": true, 3329 | "requires": { 3330 | "is-fullwidth-code-point": "^2.0.0", 3331 | "strip-ansi": "^4.0.0" 3332 | } 3333 | }, 3334 | "strip-ansi": { 3335 | "version": "4.0.0", 3336 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", 3337 | "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", 3338 | "dev": true, 3339 | "requires": { 3340 | "ansi-regex": "^3.0.0" 3341 | } 3342 | } 3343 | } 3344 | }, 3345 | "word-wrap": { 3346 | "version": "1.2.3", 3347 | "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", 3348 | "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==" 3349 | }, 3350 | "wrap-ansi": { 3351 | "version": "5.1.0", 3352 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-5.1.0.tgz", 3353 | "integrity": "sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==", 3354 | "requires": { 3355 | "ansi-styles": "^3.2.0", 3356 | "string-width": "^3.0.0", 3357 | "strip-ansi": "^5.0.0" 3358 | } 3359 | }, 3360 | "wrappy": { 3361 | "version": "1.0.2", 3362 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 3363 | "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" 3364 | }, 3365 | "write": { 3366 | "version": "1.0.3", 3367 | "resolved": "https://registry.npmjs.org/write/-/write-1.0.3.tgz", 3368 | "integrity": "sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==", 3369 | "requires": { 3370 | "mkdirp": "^0.5.1" 3371 | } 3372 | }, 3373 | "write-file-atomic": { 3374 | "version": "2.4.3", 3375 | "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", 3376 | "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", 3377 | "requires": { 3378 | "graceful-fs": "^4.1.11", 3379 | "imurmurhash": "^0.1.4", 3380 | "signal-exit": "^3.0.2" 3381 | } 3382 | }, 3383 | "y18n": { 3384 | "version": "4.0.0", 3385 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.0.tgz", 3386 | "integrity": "sha512-r9S/ZyXu/Xu9q1tYlpsLIsa3EeLXXk0VwlxqTcFRfg9EhMW+17kbt9G0NrgCmhGb5vT2hyhJZLfDGx+7+5Uj/w==" 3387 | }, 3388 | "yallist": { 3389 | "version": "2.1.2", 3390 | "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", 3391 | "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" 3392 | }, 3393 | "yargs": { 3394 | "version": "13.3.0", 3395 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-13.3.0.tgz", 3396 | "integrity": "sha512-2eehun/8ALW8TLoIl7MVaRUrg+yCnenu8B4kBlRxj3GJGDKU1Og7sMXPNm1BYyM1DOJmTZ4YeN/Nwxv+8XJsUA==", 3397 | "requires": { 3398 | "cliui": "^5.0.0", 3399 | "find-up": "^3.0.0", 3400 | "get-caller-file": "^2.0.1", 3401 | "require-directory": "^2.1.1", 3402 | "require-main-filename": "^2.0.0", 3403 | "set-blocking": "^2.0.0", 3404 | "string-width": "^3.0.0", 3405 | "which-module": "^2.0.0", 3406 | "y18n": "^4.0.0", 3407 | "yargs-parser": "^13.1.1" 3408 | } 3409 | }, 3410 | "yargs-parser": { 3411 | "version": "13.1.1", 3412 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-13.1.1.tgz", 3413 | "integrity": "sha512-oVAVsHz6uFrg3XQheFII8ESO2ssAf9luWuAd6Wexsu4F3OtIW0o8IribPXYrD4WC24LWtPrJlGy87y5udK+dxQ==", 3414 | "requires": { 3415 | "camelcase": "^5.0.0", 3416 | "decamelize": "^1.2.0" 3417 | } 3418 | }, 3419 | "yargs-unparser": { 3420 | "version": "1.6.0", 3421 | "resolved": "https://registry.npmjs.org/yargs-unparser/-/yargs-unparser-1.6.0.tgz", 3422 | "integrity": "sha512-W9tKgmSn0DpSatfri0nx52Joq5hVXgeLiqR/5G0sZNDoLZFOr/xjBUDcShCOGNsBnEMNo1KAMBkTej1Hm62HTw==", 3423 | "dev": true, 3424 | "requires": { 3425 | "flat": "^4.1.0", 3426 | "lodash": "^4.17.15", 3427 | "yargs": "^13.3.0" 3428 | } 3429 | }, 3430 | "yn": { 3431 | "version": "3.1.1", 3432 | "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", 3433 | "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==" 3434 | } 3435 | } 3436 | } 3437 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "smogon-usage-parser", 3 | "version": "1.0.0", 4 | "description": "", 5 | "main": "index.js", 6 | "bin": { 7 | "sup": "./dist/index.js" 8 | }, 9 | "scripts": { 10 | "build": "./node_modules/typescript/bin/tsc", 11 | "dev": "./node_modules/typescript/bin/tsc --watch & nodemon dist", 12 | "lint": "eslint src --ext ts", 13 | "tsc": "./node_modules/typescript/bin/tsc", 14 | "test": "./node_modules/typescript/bin/tsc && ./node_modules/mocha/bin/mocha --opts .mocha.opts", 15 | "coverage": "./node_modules/typescript/bin/tsc && ./node_modules/nyc/bin/nyc.js ./node_modules/mocha/bin/mocha --opts .mocha.opts", 16 | "report": "./node_modules/typescript/bin/tsc && ./node_modules/nyc/bin/nyc.js ./node_modules/mocha/bin/mocha --opts .mocha.opts && open coverage/index.html", 17 | "docker": "docker build -t br . && docker run -p 3000:3000 -p 3001:3001 br node dist", 18 | "docker_test": "docker build -t br . && docker run -p 3000:3000 -p 3001:3001 br ./node_modules/nyc/bin/nyc.js ./node_modules/mocha/bin/mocha --opts .mocha.opts" 19 | }, 20 | "author": "", 21 | "license": "GPL-3.0", 22 | "dependencies": { 23 | "@types/args": "^3.0.0", 24 | "@types/node": "^10.3.1", 25 | "args": "^5.0.1", 26 | "asciiparse": "^0.1.1", 27 | "chai": "^4.1.2", 28 | "fs": "^0.0.1-security", 29 | "json2csv": "^5.0.1", 30 | "node-fetch": "^2.6.0", 31 | "nyc": "^14.1.1", 32 | "prettier-eslint": "^9.0.0", 33 | "ts-node": "^8.3.0", 34 | "tsc": "^1.20150623.0+f2044a901165a2a97813772353b57dd9ed4796ca", 35 | "typescript": "^2.9.1" 36 | }, 37 | "devDependencies": { 38 | "@types/mocha": "^5.2.1", 39 | "eslint": "^4.19.1", 40 | "eslint-config-airbnb": "^16.1.0", 41 | "eslint-config-airbnb-base": "^12.1.0", 42 | "eslint-plugin-import": "^2.12.0", 43 | "eslint-plugin-jsx-a11y": "^6.0.3", 44 | "eslint-plugin-react": "^7.9.1", 45 | "mocha": "^6.1.4", 46 | "tslint": "^5.10.0", 47 | "typescript-eslint-parser": "^16.0.0" 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/App.ts: -------------------------------------------------------------------------------- 1 | import { promises as fs, writeFileSync } from 'fs'; 2 | import { parse } from 'json2csv'; 3 | 4 | import Chaos from './classes/Chaos'; 5 | import Parser from './classes/Parser'; 6 | 7 | class App { 8 | public date: string; 9 | public format: string; 10 | public rating: number; 11 | public output: string; 12 | public localDir: string; 13 | constructor(args: { [key: string]: string }) { 14 | this.date = args.date; 15 | this.format = args.format; 16 | this.rating = parseInt(args.rating); 17 | this.output = args.output; 18 | if (args.local !== undefined) this.localDir = args.local; 19 | } 20 | 21 | public async parse() { 22 | const parser = new Parser( 23 | this.date, 24 | this.format, 25 | this.rating, 26 | this.localDir, 27 | ); 28 | await parser.fetch(); 29 | const output = parser.parse(); 30 | return new Promise(async (resolve: Function) => { 31 | try { 32 | await fs.access(`${this.output}${this.date}/`); 33 | } catch (e) { 34 | await fs.mkdir(`${this.output}${this.date}/`); 35 | } 36 | try { 37 | await fs.access( 38 | `${this.output}${this.date}/${this.format}-${this.rating}`, 39 | ); 40 | } catch (e) { 41 | await fs.mkdir( 42 | `${this.output}${this.date}/${this.format}-${this.rating}`, 43 | ); 44 | } 45 | const jsonOutput = JSON.stringify(output); 46 | const csvRanking = []; 47 | const csvMoves = []; 48 | const csvItems = []; 49 | const csvAbilities = []; 50 | const csvTeam = []; 51 | const csvSpreads = []; 52 | for (let i in output) { 53 | const pokemon = output[i]; 54 | csvRanking.push({ 55 | pokemon: pokemon.name, 56 | ranking: pokemon.ranking, 57 | percent: pokemon.percent, 58 | hp: pokemon.stats.hp, 59 | atk: pokemon.stats.atk, 60 | def: pokemon.stats.def, 61 | spa: pokemon.stats.spa, 62 | spd: pokemon.stats.spd, 63 | spe: pokemon.stats.spe, 64 | }); 65 | for (let j in pokemon.moves) { 66 | csvMoves.push({ 67 | pokemon: pokemon.name, 68 | move: pokemon.moves[j].move, 69 | percent: pokemon.moves[j].percent, 70 | }); 71 | } 72 | for (let j in pokemon.items) { 73 | csvItems.push({ 74 | pokemon: pokemon.name, 75 | item: pokemon.items[j].item, 76 | percent: pokemon.items[j].percent, 77 | }); 78 | } 79 | for (let j in pokemon.abilities) { 80 | csvAbilities.push({ 81 | pokemon: pokemon.name, 82 | ability: pokemon.abilities[j].ability, 83 | percent: pokemon.abilities[j].percent, 84 | }); 85 | } 86 | for (let j in pokemon.team) { 87 | csvTeam.push({ 88 | pokemon: pokemon.name, 89 | teammate: pokemon.team[j].pokemon, 90 | percent: pokemon.team[j].percent, 91 | }); 92 | } 93 | for (let j in pokemon.spreads) { 94 | const evArr = pokemon.spreads[j].ev.split('/'); 95 | csvSpreads.push({ 96 | pokemon: pokemon.name, 97 | nature: pokemon.spreads[j].nature, 98 | ev: pokemon.spreads[j].ev, 99 | hp: evArr[0], 100 | atk: evArr[1], 101 | def: evArr[2], 102 | spa: evArr[3], 103 | spd: evArr[4], 104 | spe: evArr[5], 105 | percent: pokemon.spreads[j].percent, 106 | }); 107 | } 108 | } 109 | writeFileSync( 110 | `${this.output}${this.date}/${this.format}-${this.rating}/usage.csv`, 111 | parse(csvRanking), 112 | 'utf8', 113 | ); 114 | writeFileSync( 115 | `${this.output}${this.date}/${this.format}-${this.rating}/moves.csv`, 116 | parse(csvMoves), 117 | 'utf8', 118 | ); 119 | writeFileSync( 120 | `${this.output}${this.date}/${this.format}-${this.rating}/items.csv`, 121 | parse(csvItems), 122 | 'utf8', 123 | ); 124 | writeFileSync( 125 | `${this.output}${this.date}/${this.format}-${this.rating}/abilities.csv`, 126 | parse(csvAbilities), 127 | 'utf8', 128 | ); 129 | writeFileSync( 130 | `${this.output}${this.date}/${this.format}-${this.rating}/team.csv`, 131 | parse(csvTeam), 132 | 'utf8', 133 | ); 134 | writeFileSync( 135 | `${this.output}${this.date}/${this.format}-${this.rating}/spreads.csv`, 136 | parse(csvSpreads), 137 | 'utf8', 138 | ); 139 | fs.writeFile( 140 | `${this.output}${this.date}/${this.format}-${this.rating}/usage.json`, 141 | jsonOutput, 142 | 'utf8', 143 | ).then(() => { 144 | resolve(); 145 | }); 146 | }); 147 | } 148 | } 149 | 150 | export default App; 151 | -------------------------------------------------------------------------------- /src/classes/Chaos.ts: -------------------------------------------------------------------------------- 1 | import DataConfig from '../config/DataConfig'; 2 | import ajax from '../util/ajax'; 3 | import json from '../util/json'; 4 | 5 | class Chaos { 6 | public url: string; 7 | public localDir: string; 8 | public data; 9 | constructor(date: string, format: string, rating: number, localDir?: string) { 10 | this.url = `${DataConfig.baseUrl}${date}/chaos/${format}-${rating}.json`; 11 | if (localDir !== undefined) { 12 | this.localDir = `${localDir}${format}-${rating}.json`; 13 | } 14 | } 15 | 16 | public async fetch() { 17 | let body; 18 | if (this.localDir !== undefined) body = await json(this.localDir); 19 | else body = await ajax(this.url, 'json'); 20 | 21 | this.data = body; 22 | return this.data; 23 | } 24 | } 25 | 26 | export default Chaos; 27 | -------------------------------------------------------------------------------- /src/classes/Parser.ts: -------------------------------------------------------------------------------- 1 | import Chaos from './Chaos'; 2 | import NameParser from './parsers/NameParser'; 3 | import Ranking from './Ranking'; 4 | import RankingParser from './parsers/RankingParser'; 5 | import TypesParser from './parsers/TypesParser'; 6 | import StatsParser from './parsers/StatsParser'; 7 | import AbilitiesParser from './parsers/AbilitiesParser'; 8 | import ItemsParser from './parsers/ItemsParser'; 9 | import SpreadsParser from './parsers/SpreadsParser'; 10 | import MovesParer from './parsers/MovesParer'; 11 | import TeammatesParser from './parsers/TeammatesParser'; 12 | import ViabilityParser from './parsers/ViabilityParser'; 13 | 14 | const kFormatter = (num: number) => (num > 999 ? (num / 1000).toFixed(0) : num); 15 | 16 | class Parser { 17 | public chaos: { 18 | info: { [key: string]: any }; 19 | data: { [key: string]: ChaosPokemon }; 20 | }; 21 | public ranking: { [key: string]: RankingPokemon }; 22 | public date: string; 23 | public format: string; 24 | public rating: number; 25 | public localDir: string; 26 | constructor(date: string, format: string, rating: number, localDir: string) { 27 | this.date = date; 28 | this.format = format; 29 | this.rating = rating; 30 | this.localDir = localDir; 31 | } 32 | 33 | public async fetch() { 34 | const chaos = new Chaos(this.date, this.format, this.rating, this.localDir); 35 | this.chaos = await chaos.fetch(); 36 | 37 | const ranking = new Ranking( 38 | this.date, 39 | this.format, 40 | this.rating, 41 | this.localDir, 42 | ); 43 | this.ranking = await ranking.fetch(); 44 | } 45 | 46 | public parse() { 47 | const result = []; 48 | const pData = this.chaos.data; 49 | const rData = this.ranking; 50 | Object.keys(pData).forEach((pName: string) => { 51 | const pokemon: ChaosPokemon = pData[pName]; 52 | const pokemonRanking: RankingPokemon = rData[pName]; 53 | pokemon.Name = pName; 54 | const parsedPokemon = { 55 | name: NameParser.parseName(pokemon), 56 | types: TypesParser.parseTypes(pokemon), 57 | stats: StatsParser.parseStats(pokemon), 58 | abilities: AbilitiesParser.parseAbilities(pokemon), 59 | raw_count: kFormatter(pokemon['Raw count']), 60 | percent: Math.round(parseFloat(pokemonRanking['Usage %'])), 61 | ranking: RankingParser.parseRanking(pokemonRanking), 62 | viability: ViabilityParser.parseViability(pokemon), 63 | items: ItemsParser.parseItems(pokemon), 64 | spreads: SpreadsParser.parseSpreads(pokemon), 65 | moves: MovesParer.parseMoves(pokemon), 66 | team: TeammatesParser.parseTeammates(pokemon, pokemonRanking, rData), 67 | }; 68 | result.push(parsedPokemon); 69 | }); 70 | return result.sort((a, b) => b.percent - a.percent); 71 | } 72 | } 73 | 74 | export default Parser; 75 | -------------------------------------------------------------------------------- /src/classes/Ranking.ts: -------------------------------------------------------------------------------- 1 | import * as asciiparse from 'asciiparse'; 2 | 3 | import DataConfig from '../config/DataConfig'; 4 | import file from '../util/file'; 5 | import ajax from '../util/ajax'; 6 | 7 | const formatData = (data: Array<{ [key: string]: any }>) => { 8 | const formattedObj = {}; 9 | data.forEach((item: { [key: string]: any }) => { 10 | formattedObj[item.Pokemon] = item; 11 | }); 12 | return formattedObj; 13 | }; 14 | 15 | class Ranking { 16 | public url: string; 17 | public localDir: string; 18 | public data; 19 | constructor(date: string, format: string, rating: number, localDir?: string) { 20 | this.url = `${DataConfig.baseUrl}${date}/${format}-${rating}.txt`; 21 | if (localDir !== undefined) { 22 | this.localDir = `${localDir}${format}-${rating}.txt`; 23 | } 24 | } 25 | 26 | public async fetch(): Promise { 27 | let body; 28 | if (this.localDir !== undefined) { 29 | body = await file(this.localDir); 30 | } else body = await ajax(this.url, 'text'); 31 | 32 | const lines = body.split('\n'); 33 | lines.splice(0, 2); 34 | body = lines.join('\n'); 35 | 36 | return new Promise((resolve: Function) => { 37 | asciiparse.parseString( 38 | body, 39 | { junction: ' + ', multiline: false }, 40 | (err, data) => { 41 | this.data = formatData(data); 42 | resolve(this.data); 43 | }, 44 | ); 45 | }); 46 | } 47 | } 48 | 49 | export default Ranking; 50 | -------------------------------------------------------------------------------- /src/classes/data/Abilities.ts: -------------------------------------------------------------------------------- 1 | class Abilities { 2 | public data; 3 | 4 | constructor() { 5 | this.data = require('../../../data/abilities.js'); // eslint-disable-line 6 | } 7 | 8 | public getAbility(ability: string) { 9 | const formattedAbility = ability 10 | .toLowerCase() 11 | .replace(/\s/gi, '') 12 | .replace(/\./gi, '') 13 | .replace(/-/gi, '') 14 | .replace(/_/gi, '') 15 | .replace(/:/gi, ''); 16 | 17 | if (this.data.BattleAbilities[formattedAbility] !== undefined) { 18 | return this.data.BattleAbilities[formattedAbility]; 19 | } 20 | return null; 21 | } 22 | } 23 | 24 | export default new Abilities(); 25 | -------------------------------------------------------------------------------- /src/classes/data/Items.ts: -------------------------------------------------------------------------------- 1 | class Items { 2 | public data; 3 | 4 | constructor() { 5 | this.data = require('../../../data/items.js'); // eslint-disable-line 6 | } 7 | 8 | public getItem(item: string) { 9 | const formattedItem = item 10 | .toLowerCase() 11 | .replace(/\s/gi, '') 12 | .replace(/\./gi, '') 13 | .replace(/-/gi, '') 14 | .replace(/_/gi, '') 15 | .replace(/:/gi, ''); 16 | 17 | if (this.data.BattleItems[formattedItem] !== undefined) { 18 | return this.data.BattleItems[formattedItem]; 19 | } 20 | return null; 21 | } 22 | } 23 | 24 | export default new Items(); 25 | -------------------------------------------------------------------------------- /src/classes/data/Moves.ts: -------------------------------------------------------------------------------- 1 | class Moves { 2 | public data; 3 | 4 | constructor() { 5 | this.data = require('../../../data/moves.js'); // eslint-disable-line 6 | } 7 | 8 | public getMove(move: string) { 9 | const formattedMove = move 10 | .toLowerCase() 11 | .replace(/\s/gi, '') 12 | .replace(/\./gi, '') 13 | .replace(/-/gi, '') 14 | .replace(/_/gi, '') 15 | .replace(/:/gi, ''); 16 | 17 | if (this.data.BattleMovedex[formattedMove] !== undefined) { 18 | return this.data.BattleMovedex[formattedMove]; 19 | } 20 | return null; 21 | } 22 | } 23 | 24 | export default new Moves(); 25 | -------------------------------------------------------------------------------- /src/classes/data/Pokedex.ts: -------------------------------------------------------------------------------- 1 | class Pokedex { 2 | public data; 3 | 4 | constructor() { 5 | this.data = require('../../../data/pokedex.js'); // eslint-disable-line 6 | } 7 | 8 | public getPokemon(species: string): PokedexEntry { 9 | const formattedSpecies = species 10 | .toLowerCase() 11 | .replace(/\s/gi, '') 12 | .replace(/\./gi, '') 13 | .replace(/-/gi, '') 14 | .replace(/_/gi, '') 15 | .replace(/:/gi, ''); 16 | 17 | if (this.data.BattlePokedex[formattedSpecies] !== undefined) { 18 | return this.data.BattlePokedex[formattedSpecies]; 19 | } 20 | return null; 21 | } 22 | } 23 | 24 | export default new Pokedex(); 25 | -------------------------------------------------------------------------------- /src/classes/parsers/AbilitiesParser.ts: -------------------------------------------------------------------------------- 1 | import Abilities from '../data/Abilities'; 2 | 3 | // eslint-disable-next-line 4 | export const parseAbilities = ( 5 | pokemon: ChaosPokemon, 6 | // eslint-disable-next-line 7 | ): Array<{ [key: string]: string | number }> => { 8 | const abilites = pokemon.Abilities; 9 | const result = []; 10 | let totalPercent = 0; 11 | Object.keys(abilites).forEach((ability: string) => { 12 | const percent = abilites[ability]; 13 | totalPercent += percent; 14 | }); 15 | Object.keys(abilites).forEach((ability: string) => { 16 | const percent = abilites[ability]; 17 | const PokedexAbility = Abilities.getAbility(ability); 18 | const abilityData = { 19 | ability: PokedexAbility.name, 20 | percent: ((percent / totalPercent) * 100).toFixed(3), 21 | }; 22 | result.push(abilityData); 23 | }); 24 | 25 | // eslint-disable-next-line 26 | return result.sort((a, b) => { 27 | return b.percent - a.percent; 28 | }); 29 | }; 30 | 31 | export default { parseAbilities }; 32 | -------------------------------------------------------------------------------- /src/classes/parsers/ItemsParser.ts: -------------------------------------------------------------------------------- 1 | import Items from '../data/Items'; 2 | 3 | // eslint-disable-next-line 4 | export const parseItems = ( 5 | pokemon: ChaosPokemon, 6 | // eslint-disable-next-line 7 | ): Array<{ [key: string]: string | number }> => { 8 | const items = pokemon.Items; 9 | const result = []; 10 | let totalPercent = 0; 11 | let otherPercent = 0; 12 | Object.keys(items).forEach((item: string) => { 13 | const percent = items[item]; 14 | totalPercent += percent; 15 | }); 16 | Object.keys(items).forEach((item: string) => { 17 | const percent = items[item]; 18 | const PokedexItem = Items.getItem(item); 19 | if (PokedexItem !== null) { 20 | const itemData = { 21 | item: PokedexItem.name, 22 | item_us: PokedexItem.name.replace(/\s/g, '_'), 23 | percent: '', 24 | }; 25 | const itemUsage = (percent / totalPercent) * 100; 26 | if (itemUsage >= 2) { 27 | itemData.percent = itemUsage.toFixed(3); 28 | result.push(itemData); 29 | } else otherPercent += itemUsage; 30 | } 31 | }); 32 | 33 | // eslint-disable-next-line 34 | const sortedResult = result.sort((a, b) => { 35 | return b.percent - a.percent; 36 | }); 37 | 38 | if (otherPercent > 0) { 39 | sortedResult.push({ 40 | item: 'Other', 41 | item_us: 'Other', 42 | percent: otherPercent.toFixed(3), 43 | }); 44 | } 45 | 46 | return sortedResult; 47 | }; 48 | 49 | export default { parseItems }; 50 | -------------------------------------------------------------------------------- /src/classes/parsers/MovesParer.ts: -------------------------------------------------------------------------------- 1 | import Moves from '../data/Moves'; 2 | 3 | // eslint-disable-next-line 4 | export const parseMoves = ( 5 | pokemon: ChaosPokemon, 6 | // eslint-disable-next-line 7 | ): Array<{ [key: string]: string | number }> => { 8 | const moves = pokemon.Moves; 9 | const result = []; 10 | let totalPercent = 0; 11 | let otherPercent = 0; 12 | Object.keys(moves).forEach((move: string) => { 13 | const percent = moves[move]; 14 | totalPercent += percent; 15 | }); 16 | Object.keys(moves).forEach((move: string) => { 17 | const percent = moves[move]; 18 | if (move === '') { 19 | otherPercent += 4 * (percent / totalPercent) * 100; 20 | return; 21 | } 22 | const PokedexMove = Moves.getMove(move); 23 | if (PokedexMove !== null) { 24 | const moveData = { 25 | move: PokedexMove.name, 26 | type: PokedexMove.type.toLowerCase(), 27 | percent: '', 28 | }; 29 | const moveUsage = 4 * (percent / totalPercent) * 100; 30 | if (moveUsage >= 5) { 31 | moveData.percent = moveUsage.toFixed(3); 32 | result.push(moveData); 33 | } else otherPercent += moveUsage; 34 | } 35 | }); 36 | 37 | // eslint-disable-next-line 38 | const sortedResult = result.sort((a, b) => { 39 | return b.percent - a.percent; 40 | }); 41 | 42 | if (otherPercent > 0) { 43 | sortedResult.push({ 44 | move: 'Other', 45 | percent: otherPercent.toFixed(3), 46 | }); 47 | } 48 | 49 | return sortedResult; 50 | }; 51 | 52 | export default { parseMoves }; 53 | -------------------------------------------------------------------------------- /src/classes/parsers/NameParser.ts: -------------------------------------------------------------------------------- 1 | export const parseName = (pokemon: ChaosPokemon): string => pokemon.Name; 2 | 3 | export default { parseName }; 4 | -------------------------------------------------------------------------------- /src/classes/parsers/RankingParser.ts: -------------------------------------------------------------------------------- 1 | export const parseRanking = (pokemon: RankingPokemon): number => 2 | parseInt(pokemon.Rank); 3 | 4 | export default { parseRanking }; 5 | -------------------------------------------------------------------------------- /src/classes/parsers/SpreadsParser.ts: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line 2 | export const parseSpreads = ( 3 | pokemon: ChaosPokemon, 4 | // eslint-disable-next-line 5 | ): Array<{ [key: string]: string | number }> => { 6 | const spreads = pokemon.Spreads; 7 | const result = []; 8 | let totalPercent = 0; 9 | Object.keys(spreads).forEach((spread: string) => { 10 | const percent = spreads[spread]; 11 | totalPercent += percent; 12 | }); 13 | Object.keys(spreads).forEach((spread: string) => { 14 | const percent = spreads[spread]; 15 | const spreadArray = spread.split(':'); 16 | const spreadData = { 17 | nature: spreadArray[0], 18 | ev: spreadArray[1], 19 | percent: '', 20 | }; 21 | const spreadUsage = (percent / totalPercent) * 100; 22 | if (spreadUsage >= 0.5) { 23 | spreadData.percent = spreadUsage.toFixed(3); 24 | result.push(spreadData); 25 | } 26 | }); 27 | 28 | // eslint-disable-next-line 29 | return result.sort((a, b) => { 30 | return b.percent - a.percent; 31 | }); 32 | }; 33 | 34 | export default { parseSpreads }; 35 | -------------------------------------------------------------------------------- /src/classes/parsers/StatsParser.ts: -------------------------------------------------------------------------------- 1 | import Pokedex from '../data/Pokedex'; 2 | 3 | export const parseStats = (pokemon: ChaosPokemon): BaseStats => { 4 | const species = pokemon.Name; 5 | const pokedexEntry: PokedexEntry = Pokedex.getPokemon(species); 6 | if (pokedexEntry !== null) { 7 | return pokedexEntry.baseStats; 8 | } 9 | return null; 10 | }; 11 | 12 | export default { parseStats }; 13 | -------------------------------------------------------------------------------- /src/classes/parsers/TeammatesParser.ts: -------------------------------------------------------------------------------- 1 | import Pokedex from '../data/Pokedex'; 2 | 3 | const sum = (obj) => { 4 | let result = 0; 5 | Object.keys(obj).forEach((el: string) => { 6 | if (obj[el] !== undefined) { 7 | result += parseFloat(obj[el]); 8 | } 9 | }); 10 | return result; 11 | }; 12 | 13 | export const parseTeammates = ( 14 | cPokemon: ChaosPokemon, 15 | rPokemon: RankingPokemon, 16 | rData, 17 | ): Array<{ pokemon: string; percent: number; types: Array }> => { 18 | const abilities = cPokemon.Abilities; 19 | const abilitiesSum = sum(abilities); 20 | 21 | const teammates = cPokemon.Teammates; 22 | const result = []; 23 | Object.keys(teammates).forEach((teammate: string) => { 24 | if (teammate === 'empty') return; 25 | const percent = parseFloat(rData[teammate]['Usage %']) * 0.01; 26 | const teammatePercent = teammates[teammate]; 27 | const teammateData = { 28 | pokemon: teammate, 29 | percent: ( 30 | (100 * (abilitiesSum * percent + teammatePercent)) / // eslint-disable-line 31 | abilitiesSum 32 | ).toFixed(3), 33 | types: [], 34 | }; 35 | 36 | const pokedexData = Pokedex.getPokemon(teammate); 37 | if (pokedexData !== null) { 38 | pokedexData.types.forEach((type: string) => { 39 | teammateData.types.push(type.toLowerCase()); 40 | }); 41 | result.push(teammateData); 42 | } 43 | }); 44 | 45 | return ( 46 | result 47 | // eslint-disable-next-line 48 | .sort((a, b) => { 49 | return b.percent - a.percent; 50 | }) 51 | .slice(0, 10) 52 | ); 53 | }; 54 | 55 | export default { parseTeammates }; 56 | -------------------------------------------------------------------------------- /src/classes/parsers/TypesParser.ts: -------------------------------------------------------------------------------- 1 | import Pokedex from '../data/Pokedex'; 2 | 3 | export const parseTypes = (pokemon: ChaosPokemon): Array => { 4 | const types = []; 5 | const species = pokemon.Name; 6 | const pokedexEntry: PokedexEntry = Pokedex.getPokemon(species); 7 | if (pokedexEntry !== null) { 8 | // eslint-disable-next-line 9 | pokedexEntry.types.forEach((type) => { 10 | return types.push(type.toLowerCase()); 11 | }); 12 | } 13 | return types; 14 | }; 15 | 16 | export default { parseTypes }; 17 | -------------------------------------------------------------------------------- /src/classes/parsers/ViabilityParser.ts: -------------------------------------------------------------------------------- 1 | export const parseViability = (pokemon: ChaosPokemon) => { 2 | const viabilityScore = pokemon['Viability Ceiling'][1]; 3 | let result = 'F'; 4 | switch (true) { 5 | case viabilityScore === 100: 6 | result = 'A+'; 7 | break; 8 | case viabilityScore > 92: 9 | result = 'A'; 10 | break; 11 | case viabilityScore > 89: 12 | result = 'A-'; 13 | break; 14 | case viabilityScore > 86: 15 | result = 'B+'; 16 | break; 17 | case viabilityScore > 82: 18 | result = 'B'; 19 | break; 20 | case viabilityScore > 79: 21 | result = 'B-'; 22 | break; 23 | case viabilityScore > 76: 24 | result = 'C+'; 25 | break; 26 | case viabilityScore > 72: 27 | result = 'C'; 28 | break; 29 | case viabilityScore > 69: 30 | result = 'C-'; 31 | break; 32 | case viabilityScore > 66: 33 | result = 'D+'; 34 | break; 35 | case viabilityScore > 62: 36 | result = 'D'; 37 | break; 38 | case viabilityScore > 59: 39 | result = 'D-'; 40 | break; 41 | default: 42 | result = 'F'; 43 | break; 44 | } 45 | return result; 46 | }; 47 | 48 | export default { parseViability }; 49 | -------------------------------------------------------------------------------- /src/config/DataConfig.ts: -------------------------------------------------------------------------------- 1 | export default { 2 | baseUrl: 'https://www.smogon.com/stats/', 3 | }; 4 | -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import * as args from 'args'; 4 | import App from './App'; 5 | 6 | args 7 | .command('parse', 'Parse Smogon usage stats data') 8 | .option('date', 'The date to parse Smogon data for.') 9 | .option('format', 'The format to parse Smogon data for.') 10 | .option('rating', 'The rating to parse Smogon data for.') 11 | .option('output', 'Destination directory to output parsed JSON to.') 12 | .option('local', '(Optional) Parse local files instead of remote.'); 13 | 14 | const flags = args.parse(process.argv); 15 | 16 | const app = new App(flags); 17 | app.parse(); 18 | -------------------------------------------------------------------------------- /src/types/Chaos.d.ts: -------------------------------------------------------------------------------- 1 | declare interface ChaosPokemon { 2 | Name?: string; 3 | Moves: { [key: string]: number }; 4 | Abilities: { [key: string]: number }; 5 | Teammates: { [key: string]: number }; 6 | usage: number; 7 | Items: { [key: string]: number }; 8 | 'Raw count': number; 9 | Spreads: { [key: string]: number }; 10 | Happiness: { [key: string]: number }; 11 | 'Viability Ceiling': Array; 12 | } 13 | -------------------------------------------------------------------------------- /src/types/Parser.d.ts: -------------------------------------------------------------------------------- 1 | declare interface ParsedPokemon { 2 | name: string; 3 | ranking: number; 4 | types: Array; 5 | stats: { [key: string]: number }; 6 | abilities: Array<{ ability: string; percent: number }>; 7 | items: Array<{ item: string; item_us: string; percent: number }>; // eslint-disable-line 8 | spreads: Array<{ nature: string; percent: number }>; 9 | moves: Array<{ move: string; type: string; percent: number }>; 10 | team: Array<{ pokemon: string; types: Array; rank: number }>; 11 | raw_count: number; // eslint-disable-line 12 | percent: number; 13 | } 14 | -------------------------------------------------------------------------------- /src/types/Pokedex.ts: -------------------------------------------------------------------------------- 1 | declare interface BaseStats { 2 | hp: number; 3 | atk: number; 4 | def: number; 5 | spa: number; 6 | spd: number; 7 | spe: number; 8 | } 9 | 10 | declare interface PokedexEntry { 11 | num: number; 12 | species: string; 13 | types: Array; 14 | gender: string; 15 | baseStats: BaseStats; 16 | abilities: { [key: string]: string }; 17 | heightm: number; 18 | weightkg: number; 19 | color: string; 20 | eggGroups: Array; 21 | } 22 | -------------------------------------------------------------------------------- /src/types/Ranking.d.ts: -------------------------------------------------------------------------------- 1 | declare interface RankingPokemon { 2 | Rank: string; 3 | Pokemon: string; 4 | 'Usage %': string; 5 | Raw: string; 6 | '%': string; 7 | Real: string; 8 | } 9 | -------------------------------------------------------------------------------- /src/util/ajax.ts: -------------------------------------------------------------------------------- 1 | import * as fetch from 'node-fetch'; 2 | 3 | export const ajax = async (request: RequestInfo, type: string): Promise => 4 | new Promise((resolve: Function) => { 5 | fetch(request) 6 | // eslint-disable-next-line 7 | .then((response) => { 8 | if (type === 'json') return response.json(); 9 | if (type === 'text') return response.text(); 10 | }) 11 | .then((body: string) => { 12 | resolve(body); 13 | }); 14 | }); 15 | 16 | export default ajax; 17 | -------------------------------------------------------------------------------- /src/util/file.ts: -------------------------------------------------------------------------------- 1 | import { promises as fs } from 'fs'; 2 | import * as path from 'path'; 3 | 4 | export const file = async (filename: string): Promise => 5 | new Promise((resolve: Function) => { 6 | // eslint-disable-next-line 7 | fs.readFile(filename, 'utf-8').then((body: string | Buffer) => { 8 | const result = body.toString(); 9 | resolve(result); 10 | }); // eslint-disable-line 11 | }); 12 | 13 | export default file; 14 | -------------------------------------------------------------------------------- /src/util/json.ts: -------------------------------------------------------------------------------- 1 | export const json = async (path: string): Promise => 2 | new Promise((resolve: Function) => resolve(require(path))); // eslint-disable-line 3 | 4 | export default json; 5 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "removeComments": false, 4 | "target": "es2017", 5 | "module": "commonjs", 6 | "outDir": "dist", 7 | "inlineSourceMap": true, 8 | "typeRoots": ["src/types", "./node_modules/@types"] 9 | }, 10 | "files": ["./node_modules/@types/node/index.d.ts"], 11 | "include": ["src/**/*.ts"], 12 | "exclude": ["./node_modules", "./dist", "dist", "./dist/*"] 13 | } 14 | --------------------------------------------------------------------------------