├── .phpunit.result.cache ├── LICENSE ├── README.md ├── composer.json ├── composer.lock ├── package-lock.json ├── package.json └── src ├── Bootstrap.php ├── Contract └── Controller │ └── Controller.php ├── Controller ├── Attachment.php ├── Author.php ├── Blog.php ├── Date.php ├── Front_Page.php ├── Home.php ├── Not_Found.php ├── Page.php ├── Post_Type_Archive.php ├── Search.php ├── Single.php └── Taxonomy.php └── languages ├── generic.pot ├── ja.mo ├── ja.po ├── vi.mo └── vi.po /.phpunit.result.cache: -------------------------------------------------------------------------------- 1 | {"version":1,"defects":{"BreadcrumbsTest::test_author":4},"times":{"BreadcrumbsTestNoarchive::test_single":0.354,"BreadcrumbsTest::test_front_page":0.337,"BreadcrumbsTest::test_blog":0.347,"BreadcrumbsTest::test_category":0.343,"BreadcrumbsTest::test_post_tag":0.338,"BreadcrumbsTest::test_year":0.338,"BreadcrumbsTest::test_month":0.339,"BreadcrumbsTest::test_day":0.362,"BreadcrumbsTest::test_author":0.341,"BreadcrumbsTest::test_single":0.346,"BreadcrumbsTest::test_post_type_archive":0.345,"BreadcrumbsTest::test_taxonomy":0.354}} -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # WP Breadcrumbs 2 | 3 | ![CI](https://github.com/inc2734/wp-breadcrumbs/workflows/CI/badge.svg) 4 | [![Latest Stable Version](https://poser.pugx.org/inc2734/wp-breadcrumbs/v/stable)](https://packagist.org/packages/inc2734/wp-breadcrumbs) 5 | [![License](https://poser.pugx.org/inc2734/wp-breadcrumbs/license)](https://packagist.org/packages/inc2734/wp-breadcrumbs) 6 | 7 | ## Install 8 | 9 | ```bash 10 | composer require inc2734/wp-breadcrumbs 11 | ``` 12 | 13 | ## How to use 14 | 15 | ```php 16 | get(); 19 | ?> 20 |
21 |
22 |
    23 | $item ) : ?> 24 |
  1. 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 |
  2. 36 | 37 |
38 |
39 |
40 | ``` 41 | 42 | ## Filters 43 | 44 | Some filters are available if you need to change `wp-breadcrumbs` behavior. 45 | 46 | ```php 47 | /** 48 | * Filter items 49 | */ 50 | add_filter( 51 | 'inc2734_wp_breadcrumbs', 52 | function( $items ) { 53 | // Do something here 54 | return $items; 55 | } 56 | ); 57 | ``` 58 | 59 | ```php 60 | /** 61 | * Add link attribute for the last item (default: true) 62 | */ 63 | add_filter( 'inc2734_wp_breadcrumbs_remove_last_link', '__return_false' ); 64 | ``` 65 | 66 | ```php 67 | /** 68 | * Change the taxonomy used in the breadcrumb (default: first taxonomy attached) 69 | */ 70 | add_filter( 71 | 'inc2734_wp_breadcrumbs_main_taxonomy', 72 | function( $first_post_type_taxonomy, $taxonomies, $post_type_object ) { 73 | // Logic to set the primary taxonomy of your post type if it has multiple ones 74 | if ( 'product' === $post_type_object->name ) { 75 | return 'my_main_product_taxonomy'; 76 | } 77 | return $first_post_type_taxonomy; 78 | }, 79 | 10, 80 | 3 81 | ); 82 | ``` 83 | 84 | ```php 85 | /** 86 | * If a post (post, CPT, etc.) has more than one term, this filter provides a way to set the main term 87 | */ 88 | add_filter( 89 | 'inc2734_wp_breadcrumbs_main_term', 90 | function( $main_term, $terms, $taxonomy, $post_id ) { 91 | // Example with the SEO Framework plugin 92 | $tsf_main_term = get_post_meta( $post_id, sprintf( '_primary_term_%s', $taxonomy ), true ); 93 | return $tsf_main_term ? get_term( $tsf_main_term ) : $main_term; 94 | }, 95 | 10, 96 | 3 97 | ); 98 | ``` 99 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "inc2734/wp-breadcrumbs", 3 | "description": "A library for WordPress breadcrumbs.", 4 | "license": "GPL-2.0-or-later", 5 | "require": { 6 | "php": ">=7.4" 7 | }, 8 | "require-dev": { 9 | "wp-coding-standards/wpcs": "^2.3", 10 | "yoast/phpunit-polyfills": "^1.0" 11 | }, 12 | "authors": [ 13 | { 14 | "name": "Takashi Kitajima", 15 | "email": "inc@2inc.org" 16 | } 17 | ], 18 | "autoload": { 19 | "psr-4" : { 20 | "Inc2734\\WP_Breadcrumbs\\" : "src" 21 | } 22 | }, 23 | "config": { 24 | "process-timeout": 0, 25 | "vendor-dir": "vendor", 26 | "allow-plugins": { 27 | "dealerdirect/phpcodesniffer-composer-installer": true 28 | } 29 | }, 30 | "scripts": { 31 | "lint": "phpcs --standard=.phpcs.xml.dist", 32 | "format": "phpcbf --standard=.phpcs.xml.dist --report-summary --report-source" 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /package-lock.json: -------------------------------------------------------------------------------- 1 | { 2 | "requires": true, 3 | "lockfileVersion": 1, 4 | "dependencies": { 5 | "@kwsites/file-exists": { 6 | "version": "1.1.1", 7 | "resolved": "https://registry.npmjs.org/@kwsites/file-exists/-/file-exists-1.1.1.tgz", 8 | "integrity": "sha512-m9/5YGR18lIwxSFDwfE3oA7bWuq9kdau6ugN4H2rJeyhFQZcG9AgSHkQtSD15a8WvTgfz9aikZMrKPHvbpqFiw==", 9 | "dev": true, 10 | "requires": { 11 | "debug": "^4.1.1" 12 | }, 13 | "dependencies": { 14 | "debug": { 15 | "version": "4.3.4", 16 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 17 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 18 | "dev": true, 19 | "requires": { 20 | "ms": "2.1.2" 21 | } 22 | }, 23 | "ms": { 24 | "version": "2.1.2", 25 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 26 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 27 | "dev": true 28 | } 29 | } 30 | }, 31 | "@kwsites/promise-deferred": { 32 | "version": "1.1.1", 33 | "resolved": "https://registry.npmjs.org/@kwsites/promise-deferred/-/promise-deferred-1.1.1.tgz", 34 | "integrity": "sha512-GaHYm+c0O9MjZRu0ongGBRbinu8gVAMd2UZjji6jVmqKtZluZnptXGWhz1E8j8D2HJ3f/yMxKAUC0b+57wncIw==", 35 | "dev": true 36 | }, 37 | "@sindresorhus/is": { 38 | "version": "4.6.0", 39 | "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", 40 | "integrity": "sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==", 41 | "dev": true 42 | }, 43 | "@szmarczak/http-timer": { 44 | "version": "4.0.6", 45 | "resolved": "https://registry.npmjs.org/@szmarczak/http-timer/-/http-timer-4.0.6.tgz", 46 | "integrity": "sha512-4BAffykYOgO+5nzBWYwE3W90sBgLJoUPRWWcL8wlyiM8IB8ipJz3UMJ9KXQd1RKQXpKp8Tutn80HZtWsu2u76w==", 47 | "dev": true, 48 | "requires": { 49 | "defer-to-connect": "^2.0.0" 50 | } 51 | }, 52 | "@types/cacheable-request": { 53 | "version": "6.0.3", 54 | "resolved": "https://registry.npmjs.org/@types/cacheable-request/-/cacheable-request-6.0.3.tgz", 55 | "integrity": "sha512-IQ3EbTzGxIigb1I3qPZc1rWJnH0BmSKv5QYTalEwweFvyBDLSAe24zP0le/hyi7ecGfZVlIVAg4BZqb8WBwKqw==", 56 | "dev": true, 57 | "requires": { 58 | "@types/http-cache-semantics": "*", 59 | "@types/keyv": "^3.1.4", 60 | "@types/node": "*", 61 | "@types/responselike": "^1.0.0" 62 | } 63 | }, 64 | "@types/http-cache-semantics": { 65 | "version": "4.0.1", 66 | "resolved": "https://registry.npmjs.org/@types/http-cache-semantics/-/http-cache-semantics-4.0.1.tgz", 67 | "integrity": "sha512-SZs7ekbP8CN0txVG2xVRH6EgKmEm31BOxA07vkFaETzZz1xh+cbt8BcI0slpymvwhx5dlFnQG2rTlPVQn+iRPQ==", 68 | "dev": true 69 | }, 70 | "@types/keyv": { 71 | "version": "3.1.4", 72 | "resolved": "https://registry.npmjs.org/@types/keyv/-/keyv-3.1.4.tgz", 73 | "integrity": "sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==", 74 | "dev": true, 75 | "requires": { 76 | "@types/node": "*" 77 | } 78 | }, 79 | "@types/node": { 80 | "version": "20.5.7", 81 | "resolved": "https://registry.npmjs.org/@types/node/-/node-20.5.7.tgz", 82 | "integrity": "sha512-dP7f3LdZIysZnmvP3ANJYTSwg+wLLl8p7RqniVlV7j+oXSXAbt9h0WIBFmJy5inWZoX9wZN6eXx+YXd9Rh3RBA==", 83 | "dev": true 84 | }, 85 | "@types/responselike": { 86 | "version": "1.0.0", 87 | "resolved": "https://registry.npmjs.org/@types/responselike/-/responselike-1.0.0.tgz", 88 | "integrity": "sha512-85Y2BjiufFzaMIlvJDvTTB8Fxl2xfLo4HgmHzVBz08w4wDePCTjYw66PdrolO0kzli3yam/YCgRufyo1DdQVTA==", 89 | "dev": true, 90 | "requires": { 91 | "@types/node": "*" 92 | } 93 | }, 94 | "@wordpress/env": { 95 | "version": "8.7.0", 96 | "resolved": "https://registry.npmjs.org/@wordpress/env/-/env-8.7.0.tgz", 97 | "integrity": "sha512-cqjDjFFLZ8691mzsuPaakoNbUJ5d6DNNRMyN6UZefLGKhthlqmyK5DqzXZUzCr9cgF/kdc//v3ZmBy9nywBYSA==", 98 | "dev": true, 99 | "requires": { 100 | "chalk": "^4.0.0", 101 | "copy-dir": "^1.3.0", 102 | "docker-compose": "^0.22.2", 103 | "extract-zip": "^1.6.7", 104 | "got": "^11.8.5", 105 | "inquirer": "^7.1.0", 106 | "js-yaml": "^3.13.1", 107 | "ora": "^4.0.2", 108 | "rimraf": "^3.0.2", 109 | "simple-git": "^3.5.0", 110 | "terminal-link": "^2.0.0", 111 | "yargs": "^17.3.0" 112 | } 113 | }, 114 | "ansi-escapes": { 115 | "version": "4.3.2", 116 | "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", 117 | "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", 118 | "dev": true, 119 | "requires": { 120 | "type-fest": "^0.21.3" 121 | } 122 | }, 123 | "ansi-regex": { 124 | "version": "5.0.1", 125 | "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", 126 | "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", 127 | "dev": true 128 | }, 129 | "ansi-styles": { 130 | "version": "4.3.0", 131 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", 132 | "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", 133 | "dev": true, 134 | "requires": { 135 | "color-convert": "^2.0.1" 136 | } 137 | }, 138 | "argparse": { 139 | "version": "1.0.10", 140 | "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", 141 | "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", 142 | "dev": true, 143 | "requires": { 144 | "sprintf-js": "~1.0.2" 145 | } 146 | }, 147 | "array-buffer-byte-length": { 148 | "version": "1.0.0", 149 | "resolved": "https://registry.npmjs.org/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz", 150 | "integrity": "sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A==", 151 | "dev": true, 152 | "requires": { 153 | "call-bind": "^1.0.2", 154 | "is-array-buffer": "^3.0.1" 155 | } 156 | }, 157 | "arraybuffer.prototype.slice": { 158 | "version": "1.0.1", 159 | "resolved": "https://registry.npmjs.org/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.1.tgz", 160 | "integrity": "sha512-09x0ZWFEjj4WD8PDbykUwo3t9arLn8NIzmmYEJFpYekOAQjpkGSyrQhNoRTcwwcFRu+ycWF78QZ63oWTqSjBcw==", 161 | "dev": true, 162 | "requires": { 163 | "array-buffer-byte-length": "^1.0.0", 164 | "call-bind": "^1.0.2", 165 | "define-properties": "^1.2.0", 166 | "get-intrinsic": "^1.2.1", 167 | "is-array-buffer": "^3.0.2", 168 | "is-shared-array-buffer": "^1.0.2" 169 | } 170 | }, 171 | "available-typed-arrays": { 172 | "version": "1.0.5", 173 | "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", 174 | "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", 175 | "dev": true 176 | }, 177 | "balanced-match": { 178 | "version": "1.0.2", 179 | "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", 180 | "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", 181 | "dev": true 182 | }, 183 | "brace-expansion": { 184 | "version": "1.1.11", 185 | "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", 186 | "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", 187 | "dev": true, 188 | "requires": { 189 | "balanced-match": "^1.0.0", 190 | "concat-map": "0.0.1" 191 | } 192 | }, 193 | "buffer-crc32": { 194 | "version": "0.2.13", 195 | "resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz", 196 | "integrity": "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==", 197 | "dev": true 198 | }, 199 | "buffer-from": { 200 | "version": "1.1.2", 201 | "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", 202 | "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", 203 | "dev": true 204 | }, 205 | "cacheable-lookup": { 206 | "version": "5.0.4", 207 | "resolved": "https://registry.npmjs.org/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz", 208 | "integrity": "sha512-2/kNscPhpcxrOigMZzbiWF7dz8ilhb/nIHU3EyZiXWXpeq/au8qJ8VhdftMkty3n7Gj6HIGalQG8oiBNB3AJgA==", 209 | "dev": true 210 | }, 211 | "cacheable-request": { 212 | "version": "7.0.4", 213 | "resolved": "https://registry.npmjs.org/cacheable-request/-/cacheable-request-7.0.4.tgz", 214 | "integrity": "sha512-v+p6ongsrp0yTGbJXjgxPow2+DL93DASP4kXCDKb8/bwRtt9OEF3whggkkDkGNzgcWy2XaF4a8nZglC7uElscg==", 215 | "dev": true, 216 | "requires": { 217 | "clone-response": "^1.0.2", 218 | "get-stream": "^5.1.0", 219 | "http-cache-semantics": "^4.0.0", 220 | "keyv": "^4.0.0", 221 | "lowercase-keys": "^2.0.0", 222 | "normalize-url": "^6.0.1", 223 | "responselike": "^2.0.0" 224 | } 225 | }, 226 | "call-bind": { 227 | "version": "1.0.2", 228 | "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.2.tgz", 229 | "integrity": "sha512-7O+FbCihrB5WGbFYesctwmTKae6rOiIzmz1icreWJ+0aA7LJfuqhEso2T9ncpcFtzMQtzXf2QGGueWJGTYsqrA==", 230 | "dev": true, 231 | "requires": { 232 | "function-bind": "^1.1.1", 233 | "get-intrinsic": "^1.0.2" 234 | } 235 | }, 236 | "chalk": { 237 | "version": "4.1.2", 238 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", 239 | "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", 240 | "dev": true, 241 | "requires": { 242 | "ansi-styles": "^4.1.0", 243 | "supports-color": "^7.1.0" 244 | } 245 | }, 246 | "chardet": { 247 | "version": "0.7.0", 248 | "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", 249 | "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==", 250 | "dev": true 251 | }, 252 | "cli-cursor": { 253 | "version": "3.1.0", 254 | "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-3.1.0.tgz", 255 | "integrity": "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==", 256 | "dev": true, 257 | "requires": { 258 | "restore-cursor": "^3.1.0" 259 | } 260 | }, 261 | "cli-spinners": { 262 | "version": "2.9.0", 263 | "resolved": "https://registry.npmjs.org/cli-spinners/-/cli-spinners-2.9.0.tgz", 264 | "integrity": "sha512-4/aL9X3Wh0yiMQlE+eeRhWP6vclO3QRtw1JHKIT0FFUs5FjpFmESqtMvYZ0+lbzBw900b95mS0hohy+qn2VK/g==", 265 | "dev": true 266 | }, 267 | "cli-width": { 268 | "version": "3.0.0", 269 | "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-3.0.0.tgz", 270 | "integrity": "sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==", 271 | "dev": true 272 | }, 273 | "cliui": { 274 | "version": "8.0.1", 275 | "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", 276 | "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", 277 | "dev": true, 278 | "requires": { 279 | "string-width": "^4.2.0", 280 | "strip-ansi": "^6.0.1", 281 | "wrap-ansi": "^7.0.0" 282 | } 283 | }, 284 | "clone": { 285 | "version": "1.0.4", 286 | "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz", 287 | "integrity": "sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==", 288 | "dev": true 289 | }, 290 | "clone-response": { 291 | "version": "1.0.3", 292 | "resolved": "https://registry.npmjs.org/clone-response/-/clone-response-1.0.3.tgz", 293 | "integrity": "sha512-ROoL94jJH2dUVML2Y/5PEDNaSHgeOdSDicUyS7izcF63G6sTc/FTjLub4b8Il9S8S0beOfYt0TaA5qvFK+w0wA==", 294 | "dev": true, 295 | "requires": { 296 | "mimic-response": "^1.0.0" 297 | } 298 | }, 299 | "color-convert": { 300 | "version": "2.0.1", 301 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", 302 | "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", 303 | "dev": true, 304 | "requires": { 305 | "color-name": "~1.1.4" 306 | } 307 | }, 308 | "color-name": { 309 | "version": "1.1.4", 310 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", 311 | "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", 312 | "dev": true 313 | }, 314 | "concat-map": { 315 | "version": "0.0.1", 316 | "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", 317 | "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", 318 | "dev": true 319 | }, 320 | "concat-stream": { 321 | "version": "1.6.2", 322 | "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", 323 | "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", 324 | "dev": true, 325 | "requires": { 326 | "buffer-from": "^1.0.0", 327 | "inherits": "^2.0.3", 328 | "readable-stream": "^2.2.2", 329 | "typedarray": "^0.0.6" 330 | } 331 | }, 332 | "copy-dir": { 333 | "version": "1.3.0", 334 | "resolved": "https://registry.npmjs.org/copy-dir/-/copy-dir-1.3.0.tgz", 335 | "integrity": "sha512-Q4+qBFnN4bwGwvtXXzbp4P/4iNk0MaiGAzvQ8OiMtlLjkIKjmNN689uVzShSM0908q7GoFHXIPx4zi75ocoaHw==", 336 | "dev": true 337 | }, 338 | "core-util-is": { 339 | "version": "1.0.3", 340 | "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.3.tgz", 341 | "integrity": "sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==", 342 | "dev": true 343 | }, 344 | "cross-spawn": { 345 | "version": "6.0.5", 346 | "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", 347 | "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", 348 | "dev": true, 349 | "requires": { 350 | "nice-try": "^1.0.4", 351 | "path-key": "^2.0.1", 352 | "semver": "^5.5.0", 353 | "shebang-command": "^1.2.0", 354 | "which": "^1.2.9" 355 | } 356 | }, 357 | "debug": { 358 | "version": "2.6.9", 359 | "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", 360 | "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", 361 | "dev": true, 362 | "requires": { 363 | "ms": "2.0.0" 364 | } 365 | }, 366 | "decompress-response": { 367 | "version": "6.0.0", 368 | "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-6.0.0.tgz", 369 | "integrity": "sha512-aW35yZM6Bb/4oJlZncMH2LCoZtJXTRxES17vE3hoRiowU2kWHaJKFkSBDnDR+cm9J+9QhXmREyIfv0pji9ejCQ==", 370 | "dev": true, 371 | "requires": { 372 | "mimic-response": "^3.1.0" 373 | }, 374 | "dependencies": { 375 | "mimic-response": { 376 | "version": "3.1.0", 377 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-3.1.0.tgz", 378 | "integrity": "sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==", 379 | "dev": true 380 | } 381 | } 382 | }, 383 | "defaults": { 384 | "version": "1.0.4", 385 | "resolved": "https://registry.npmjs.org/defaults/-/defaults-1.0.4.tgz", 386 | "integrity": "sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==", 387 | "dev": true, 388 | "requires": { 389 | "clone": "^1.0.2" 390 | } 391 | }, 392 | "defer-to-connect": { 393 | "version": "2.0.1", 394 | "resolved": "https://registry.npmjs.org/defer-to-connect/-/defer-to-connect-2.0.1.tgz", 395 | "integrity": "sha512-4tvttepXG1VaYGrRibk5EwJd1t4udunSOVMdLSAL6mId1ix438oPwPZMALY41FCijukO1L0twNcGsdzS7dHgDg==", 396 | "dev": true 397 | }, 398 | "define-properties": { 399 | "version": "1.2.0", 400 | "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.0.tgz", 401 | "integrity": "sha512-xvqAVKGfT1+UAvPwKTVw/njhdQ8ZhXK4lI0bCIuCMrp2up9nPnaDftrLtmpTazqd1o+UY4zgzU+avtMbDP+ldA==", 402 | "dev": true, 403 | "requires": { 404 | "has-property-descriptors": "^1.0.0", 405 | "object-keys": "^1.1.1" 406 | } 407 | }, 408 | "docker-compose": { 409 | "version": "0.22.2", 410 | "resolved": "https://registry.npmjs.org/docker-compose/-/docker-compose-0.22.2.tgz", 411 | "integrity": "sha512-iXWb5+LiYmylIMFXvGTYsjI1F+Xyx78Jm/uj1dxwwZLbWkUdH6yOXY5Nr3RjbYX15EgbGJCq78d29CmWQQQMPg==", 412 | "dev": true 413 | }, 414 | "emoji-regex": { 415 | "version": "8.0.0", 416 | "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", 417 | "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", 418 | "dev": true 419 | }, 420 | "end-of-stream": { 421 | "version": "1.4.4", 422 | "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", 423 | "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", 424 | "dev": true, 425 | "requires": { 426 | "once": "^1.4.0" 427 | } 428 | }, 429 | "error-ex": { 430 | "version": "1.3.2", 431 | "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", 432 | "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", 433 | "dev": true, 434 | "requires": { 435 | "is-arrayish": "^0.2.1" 436 | } 437 | }, 438 | "es-abstract": { 439 | "version": "1.22.1", 440 | "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.22.1.tgz", 441 | "integrity": "sha512-ioRRcXMO6OFyRpyzV3kE1IIBd4WG5/kltnzdxSCqoP8CMGs/Li+M1uF5o7lOkZVFjDs+NLesthnF66Pg/0q0Lw==", 442 | "dev": true, 443 | "requires": { 444 | "array-buffer-byte-length": "^1.0.0", 445 | "arraybuffer.prototype.slice": "^1.0.1", 446 | "available-typed-arrays": "^1.0.5", 447 | "call-bind": "^1.0.2", 448 | "es-set-tostringtag": "^2.0.1", 449 | "es-to-primitive": "^1.2.1", 450 | "function.prototype.name": "^1.1.5", 451 | "get-intrinsic": "^1.2.1", 452 | "get-symbol-description": "^1.0.0", 453 | "globalthis": "^1.0.3", 454 | "gopd": "^1.0.1", 455 | "has": "^1.0.3", 456 | "has-property-descriptors": "^1.0.0", 457 | "has-proto": "^1.0.1", 458 | "has-symbols": "^1.0.3", 459 | "internal-slot": "^1.0.5", 460 | "is-array-buffer": "^3.0.2", 461 | "is-callable": "^1.2.7", 462 | "is-negative-zero": "^2.0.2", 463 | "is-regex": "^1.1.4", 464 | "is-shared-array-buffer": "^1.0.2", 465 | "is-string": "^1.0.7", 466 | "is-typed-array": "^1.1.10", 467 | "is-weakref": "^1.0.2", 468 | "object-inspect": "^1.12.3", 469 | "object-keys": "^1.1.1", 470 | "object.assign": "^4.1.4", 471 | "regexp.prototype.flags": "^1.5.0", 472 | "safe-array-concat": "^1.0.0", 473 | "safe-regex-test": "^1.0.0", 474 | "string.prototype.trim": "^1.2.7", 475 | "string.prototype.trimend": "^1.0.6", 476 | "string.prototype.trimstart": "^1.0.6", 477 | "typed-array-buffer": "^1.0.0", 478 | "typed-array-byte-length": "^1.0.0", 479 | "typed-array-byte-offset": "^1.0.0", 480 | "typed-array-length": "^1.0.4", 481 | "unbox-primitive": "^1.0.2", 482 | "which-typed-array": "^1.1.10" 483 | } 484 | }, 485 | "es-set-tostringtag": { 486 | "version": "2.0.1", 487 | "resolved": "https://registry.npmjs.org/es-set-tostringtag/-/es-set-tostringtag-2.0.1.tgz", 488 | "integrity": "sha512-g3OMbtlwY3QewlqAiMLI47KywjWZoEytKr8pf6iTC8uJq5bIAH52Z9pnQ8pVL6whrCto53JZDuUIsifGeLorTg==", 489 | "dev": true, 490 | "requires": { 491 | "get-intrinsic": "^1.1.3", 492 | "has": "^1.0.3", 493 | "has-tostringtag": "^1.0.0" 494 | } 495 | }, 496 | "es-to-primitive": { 497 | "version": "1.2.1", 498 | "resolved": "https://registry.npmjs.org/es-to-primitive/-/es-to-primitive-1.2.1.tgz", 499 | "integrity": "sha512-QCOllgZJtaUo9miYBcLChTUaHNjJF3PYs1VidD7AwiEj1kYxKeQTctLAezAOH5ZKRH0g2IgPn6KwB4IT8iRpvA==", 500 | "dev": true, 501 | "requires": { 502 | "is-callable": "^1.1.4", 503 | "is-date-object": "^1.0.1", 504 | "is-symbol": "^1.0.2" 505 | } 506 | }, 507 | "escalade": { 508 | "version": "3.1.1", 509 | "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.1.1.tgz", 510 | "integrity": "sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==", 511 | "dev": true 512 | }, 513 | "escape-string-regexp": { 514 | "version": "1.0.5", 515 | "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", 516 | "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==", 517 | "dev": true 518 | }, 519 | "esprima": { 520 | "version": "4.0.1", 521 | "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", 522 | "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", 523 | "dev": true 524 | }, 525 | "external-editor": { 526 | "version": "3.1.0", 527 | "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", 528 | "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", 529 | "dev": true, 530 | "requires": { 531 | "chardet": "^0.7.0", 532 | "iconv-lite": "^0.4.24", 533 | "tmp": "^0.0.33" 534 | } 535 | }, 536 | "extract-zip": { 537 | "version": "1.7.0", 538 | "resolved": "https://registry.npmjs.org/extract-zip/-/extract-zip-1.7.0.tgz", 539 | "integrity": "sha512-xoh5G1W/PB0/27lXgMQyIhP5DSY/LhoCsOyZgb+6iMmRtCwVBo55uKaMoEYrDCKQhWvqEip5ZPKAc6eFNyf/MA==", 540 | "dev": true, 541 | "requires": { 542 | "concat-stream": "^1.6.2", 543 | "debug": "^2.6.9", 544 | "mkdirp": "^0.5.4", 545 | "yauzl": "^2.10.0" 546 | } 547 | }, 548 | "fd-slicer": { 549 | "version": "1.1.0", 550 | "resolved": "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz", 551 | "integrity": "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==", 552 | "dev": true, 553 | "requires": { 554 | "pend": "~1.2.0" 555 | } 556 | }, 557 | "figures": { 558 | "version": "3.2.0", 559 | "resolved": "https://registry.npmjs.org/figures/-/figures-3.2.0.tgz", 560 | "integrity": "sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==", 561 | "dev": true, 562 | "requires": { 563 | "escape-string-regexp": "^1.0.5" 564 | } 565 | }, 566 | "for-each": { 567 | "version": "0.3.3", 568 | "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", 569 | "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", 570 | "dev": true, 571 | "requires": { 572 | "is-callable": "^1.1.3" 573 | } 574 | }, 575 | "fs.realpath": { 576 | "version": "1.0.0", 577 | "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", 578 | "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", 579 | "dev": true 580 | }, 581 | "function-bind": { 582 | "version": "1.1.1", 583 | "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz", 584 | "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==", 585 | "dev": true 586 | }, 587 | "function.prototype.name": { 588 | "version": "1.1.6", 589 | "resolved": "https://registry.npmjs.org/function.prototype.name/-/function.prototype.name-1.1.6.tgz", 590 | "integrity": "sha512-Z5kx79swU5P27WEayXM1tBi5Ze/lbIyiNgU3qyXUOf9b2rgXYyF9Dy9Cx+IQv/Lc8WCG6L82zwUPpSS9hGehIg==", 591 | "dev": true, 592 | "requires": { 593 | "call-bind": "^1.0.2", 594 | "define-properties": "^1.2.0", 595 | "es-abstract": "^1.22.1", 596 | "functions-have-names": "^1.2.3" 597 | } 598 | }, 599 | "functions-have-names": { 600 | "version": "1.2.3", 601 | "resolved": "https://registry.npmjs.org/functions-have-names/-/functions-have-names-1.2.3.tgz", 602 | "integrity": "sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==", 603 | "dev": true 604 | }, 605 | "get-caller-file": { 606 | "version": "2.0.5", 607 | "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", 608 | "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", 609 | "dev": true 610 | }, 611 | "get-intrinsic": { 612 | "version": "1.2.1", 613 | "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.1.tgz", 614 | "integrity": "sha512-2DcsyfABl+gVHEfCOaTrWgyt+tb6MSEGmKq+kI5HwLbIYgjgmMcV8KQ41uaKz1xxUcn9tJtgFbQUEVcEbd0FYw==", 615 | "dev": true, 616 | "requires": { 617 | "function-bind": "^1.1.1", 618 | "has": "^1.0.3", 619 | "has-proto": "^1.0.1", 620 | "has-symbols": "^1.0.3" 621 | } 622 | }, 623 | "get-stream": { 624 | "version": "5.2.0", 625 | "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-5.2.0.tgz", 626 | "integrity": "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA==", 627 | "dev": true, 628 | "requires": { 629 | "pump": "^3.0.0" 630 | } 631 | }, 632 | "get-symbol-description": { 633 | "version": "1.0.0", 634 | "resolved": "https://registry.npmjs.org/get-symbol-description/-/get-symbol-description-1.0.0.tgz", 635 | "integrity": "sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw==", 636 | "dev": true, 637 | "requires": { 638 | "call-bind": "^1.0.2", 639 | "get-intrinsic": "^1.1.1" 640 | } 641 | }, 642 | "glob": { 643 | "version": "7.2.3", 644 | "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", 645 | "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", 646 | "dev": true, 647 | "requires": { 648 | "fs.realpath": "^1.0.0", 649 | "inflight": "^1.0.4", 650 | "inherits": "2", 651 | "minimatch": "^3.1.1", 652 | "once": "^1.3.0", 653 | "path-is-absolute": "^1.0.0" 654 | } 655 | }, 656 | "globalthis": { 657 | "version": "1.0.3", 658 | "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.3.tgz", 659 | "integrity": "sha512-sFdI5LyBiNTHjRd7cGPWapiHWMOXKyuBNX/cWJ3NfzrZQVa8GI/8cofCl74AOVqq9W5kNmguTIzJ/1s2gyI9wA==", 660 | "dev": true, 661 | "requires": { 662 | "define-properties": "^1.1.3" 663 | } 664 | }, 665 | "gopd": { 666 | "version": "1.0.1", 667 | "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", 668 | "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", 669 | "dev": true, 670 | "requires": { 671 | "get-intrinsic": "^1.1.3" 672 | } 673 | }, 674 | "got": { 675 | "version": "11.8.6", 676 | "resolved": "https://registry.npmjs.org/got/-/got-11.8.6.tgz", 677 | "integrity": "sha512-6tfZ91bOr7bOXnK7PRDCGBLa1H4U080YHNaAQ2KsMGlLEzRbk44nsZF2E1IeRc3vtJHPVbKCYgdFbaGO2ljd8g==", 678 | "dev": true, 679 | "requires": { 680 | "@sindresorhus/is": "^4.0.0", 681 | "@szmarczak/http-timer": "^4.0.5", 682 | "@types/cacheable-request": "^6.0.1", 683 | "@types/responselike": "^1.0.0", 684 | "cacheable-lookup": "^5.0.3", 685 | "cacheable-request": "^7.0.2", 686 | "decompress-response": "^6.0.0", 687 | "http2-wrapper": "^1.0.0-beta.5.2", 688 | "lowercase-keys": "^2.0.0", 689 | "p-cancelable": "^2.0.0", 690 | "responselike": "^2.0.0" 691 | } 692 | }, 693 | "graceful-fs": { 694 | "version": "4.2.11", 695 | "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", 696 | "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", 697 | "dev": true 698 | }, 699 | "has": { 700 | "version": "1.0.3", 701 | "resolved": "https://registry.npmjs.org/has/-/has-1.0.3.tgz", 702 | "integrity": "sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==", 703 | "dev": true, 704 | "requires": { 705 | "function-bind": "^1.1.1" 706 | } 707 | }, 708 | "has-bigints": { 709 | "version": "1.0.2", 710 | "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.2.tgz", 711 | "integrity": "sha512-tSvCKtBr9lkF0Ex0aQiP9N+OpV4zi2r/Nee5VkRDbaqv35RLYMzbwQfFSZZH0kR+Rd6302UJZ2p/bJCEoR3VoQ==", 712 | "dev": true 713 | }, 714 | "has-flag": { 715 | "version": "4.0.0", 716 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", 717 | "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", 718 | "dev": true 719 | }, 720 | "has-property-descriptors": { 721 | "version": "1.0.0", 722 | "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.0.tgz", 723 | "integrity": "sha512-62DVLZGoiEBDHQyqG4w9xCuZ7eJEwNmJRWw2VY84Oedb7WFcA27fiEVe8oUQx9hAUJ4ekurquucTGwsyO1XGdQ==", 724 | "dev": true, 725 | "requires": { 726 | "get-intrinsic": "^1.1.1" 727 | } 728 | }, 729 | "has-proto": { 730 | "version": "1.0.1", 731 | "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.1.tgz", 732 | "integrity": "sha512-7qE+iP+O+bgF9clE5+UoBFzE65mlBiVj3tKCrlNQ0Ogwm0BjpT/gK4SlLYDMybDh5I3TCTKnPPa0oMG7JDYrhg==", 733 | "dev": true 734 | }, 735 | "has-symbols": { 736 | "version": "1.0.3", 737 | "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", 738 | "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", 739 | "dev": true 740 | }, 741 | "has-tostringtag": { 742 | "version": "1.0.0", 743 | "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", 744 | "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", 745 | "dev": true, 746 | "requires": { 747 | "has-symbols": "^1.0.2" 748 | } 749 | }, 750 | "hosted-git-info": { 751 | "version": "2.8.9", 752 | "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.9.tgz", 753 | "integrity": "sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==", 754 | "dev": true 755 | }, 756 | "http-cache-semantics": { 757 | "version": "4.1.1", 758 | "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", 759 | "integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==", 760 | "dev": true 761 | }, 762 | "http2-wrapper": { 763 | "version": "1.0.3", 764 | "resolved": "https://registry.npmjs.org/http2-wrapper/-/http2-wrapper-1.0.3.tgz", 765 | "integrity": "sha512-V+23sDMr12Wnz7iTcDeJr3O6AIxlnvT/bmaAAAP/Xda35C90p9599p0F1eHR/N1KILWSoWVAiOMFjBBXaXSMxg==", 766 | "dev": true, 767 | "requires": { 768 | "quick-lru": "^5.1.1", 769 | "resolve-alpn": "^1.0.0" 770 | } 771 | }, 772 | "iconv-lite": { 773 | "version": "0.4.24", 774 | "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", 775 | "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", 776 | "dev": true, 777 | "requires": { 778 | "safer-buffer": ">= 2.1.2 < 3" 779 | } 780 | }, 781 | "inflight": { 782 | "version": "1.0.6", 783 | "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", 784 | "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", 785 | "dev": true, 786 | "requires": { 787 | "once": "^1.3.0", 788 | "wrappy": "1" 789 | } 790 | }, 791 | "inherits": { 792 | "version": "2.0.4", 793 | "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", 794 | "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", 795 | "dev": true 796 | }, 797 | "inquirer": { 798 | "version": "7.3.3", 799 | "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-7.3.3.tgz", 800 | "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", 801 | "dev": true, 802 | "requires": { 803 | "ansi-escapes": "^4.2.1", 804 | "chalk": "^4.1.0", 805 | "cli-cursor": "^3.1.0", 806 | "cli-width": "^3.0.0", 807 | "external-editor": "^3.0.3", 808 | "figures": "^3.0.0", 809 | "lodash": "^4.17.19", 810 | "mute-stream": "0.0.8", 811 | "run-async": "^2.4.0", 812 | "rxjs": "^6.6.0", 813 | "string-width": "^4.1.0", 814 | "strip-ansi": "^6.0.0", 815 | "through": "^2.3.6" 816 | } 817 | }, 818 | "internal-slot": { 819 | "version": "1.0.5", 820 | "resolved": "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.5.tgz", 821 | "integrity": "sha512-Y+R5hJrzs52QCG2laLn4udYVnxsfny9CpOhNhUvk/SSSVyF6T27FzRbF0sroPidSu3X8oEAkOn2K804mjpt6UQ==", 822 | "dev": true, 823 | "requires": { 824 | "get-intrinsic": "^1.2.0", 825 | "has": "^1.0.3", 826 | "side-channel": "^1.0.4" 827 | } 828 | }, 829 | "is-array-buffer": { 830 | "version": "3.0.2", 831 | "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", 832 | "integrity": "sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w==", 833 | "dev": true, 834 | "requires": { 835 | "call-bind": "^1.0.2", 836 | "get-intrinsic": "^1.2.0", 837 | "is-typed-array": "^1.1.10" 838 | } 839 | }, 840 | "is-arrayish": { 841 | "version": "0.2.1", 842 | "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", 843 | "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", 844 | "dev": true 845 | }, 846 | "is-bigint": { 847 | "version": "1.0.4", 848 | "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.4.tgz", 849 | "integrity": "sha512-zB9CruMamjym81i2JZ3UMn54PKGsQzsJeo6xvN3HJJ4CAsQNB6iRutp2To77OfCNuoxspsIhzaPoO1zyCEhFOg==", 850 | "dev": true, 851 | "requires": { 852 | "has-bigints": "^1.0.1" 853 | } 854 | }, 855 | "is-boolean-object": { 856 | "version": "1.1.2", 857 | "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.2.tgz", 858 | "integrity": "sha512-gDYaKHJmnj4aWxyj6YHyXVpdQawtVLHU5cb+eztPGczf6cjuTdwve5ZIEfgXqH4e57An1D1AKf8CZ3kYrQRqYA==", 859 | "dev": true, 860 | "requires": { 861 | "call-bind": "^1.0.2", 862 | "has-tostringtag": "^1.0.0" 863 | } 864 | }, 865 | "is-callable": { 866 | "version": "1.2.7", 867 | "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", 868 | "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", 869 | "dev": true 870 | }, 871 | "is-core-module": { 872 | "version": "2.13.0", 873 | "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.13.0.tgz", 874 | "integrity": "sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==", 875 | "dev": true, 876 | "requires": { 877 | "has": "^1.0.3" 878 | } 879 | }, 880 | "is-date-object": { 881 | "version": "1.0.5", 882 | "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.5.tgz", 883 | "integrity": "sha512-9YQaSxsAiSwcvS33MBk3wTCVnWK+HhF8VZR2jRxehM16QcVOdHqPn4VPHmRK4lSr38n9JriurInLcP90xsYNfQ==", 884 | "dev": true, 885 | "requires": { 886 | "has-tostringtag": "^1.0.0" 887 | } 888 | }, 889 | "is-fullwidth-code-point": { 890 | "version": "3.0.0", 891 | "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", 892 | "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", 893 | "dev": true 894 | }, 895 | "is-interactive": { 896 | "version": "1.0.0", 897 | "resolved": "https://registry.npmjs.org/is-interactive/-/is-interactive-1.0.0.tgz", 898 | "integrity": "sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==", 899 | "dev": true 900 | }, 901 | "is-negative-zero": { 902 | "version": "2.0.2", 903 | "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", 904 | "integrity": "sha512-dqJvarLawXsFbNDeJW7zAz8ItJ9cd28YufuuFzh0G8pNHjJMnY08Dv7sYX2uF5UpQOwieAeOExEYAWWfu7ZZUA==", 905 | "dev": true 906 | }, 907 | "is-number-object": { 908 | "version": "1.0.7", 909 | "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.7.tgz", 910 | "integrity": "sha512-k1U0IRzLMo7ZlYIfzRu23Oh6MiIFasgpb9X76eqfFZAqwH44UI4KTBvBYIZ1dSL9ZzChTB9ShHfLkR4pdW5krQ==", 911 | "dev": true, 912 | "requires": { 913 | "has-tostringtag": "^1.0.0" 914 | } 915 | }, 916 | "is-regex": { 917 | "version": "1.1.4", 918 | "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.4.tgz", 919 | "integrity": "sha512-kvRdxDsxZjhzUX07ZnLydzS1TU/TJlTUHHY4YLL87e37oUA49DfkLqgy+VjFocowy29cKvcSiu+kIv728jTTVg==", 920 | "dev": true, 921 | "requires": { 922 | "call-bind": "^1.0.2", 923 | "has-tostringtag": "^1.0.0" 924 | } 925 | }, 926 | "is-shared-array-buffer": { 927 | "version": "1.0.2", 928 | "resolved": "https://registry.npmjs.org/is-shared-array-buffer/-/is-shared-array-buffer-1.0.2.tgz", 929 | "integrity": "sha512-sqN2UDu1/0y6uvXyStCOzyhAjCSlHceFoMKJW8W9EU9cvic/QdsZ0kEU93HEy3IUEFZIiH/3w+AH/UQbPHNdhA==", 930 | "dev": true, 931 | "requires": { 932 | "call-bind": "^1.0.2" 933 | } 934 | }, 935 | "is-string": { 936 | "version": "1.0.7", 937 | "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.7.tgz", 938 | "integrity": "sha512-tE2UXzivje6ofPW7l23cjDOMa09gb7xlAqG6jG5ej6uPV32TlWP3NKPigtaGeHNu9fohccRYvIiZMfOOnOYUtg==", 939 | "dev": true, 940 | "requires": { 941 | "has-tostringtag": "^1.0.0" 942 | } 943 | }, 944 | "is-symbol": { 945 | "version": "1.0.4", 946 | "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.4.tgz", 947 | "integrity": "sha512-C/CPBqKWnvdcxqIARxyOh4v1UUEOCHpgDa0WYgpKDFMszcrPcffg5uhwSgPCLD2WWxmq6isisz87tzT01tuGhg==", 948 | "dev": true, 949 | "requires": { 950 | "has-symbols": "^1.0.2" 951 | } 952 | }, 953 | "is-typed-array": { 954 | "version": "1.1.12", 955 | "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", 956 | "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", 957 | "dev": true, 958 | "requires": { 959 | "which-typed-array": "^1.1.11" 960 | } 961 | }, 962 | "is-weakref": { 963 | "version": "1.0.2", 964 | "resolved": "https://registry.npmjs.org/is-weakref/-/is-weakref-1.0.2.tgz", 965 | "integrity": "sha512-qctsuLZmIQ0+vSSMfoVvyFe2+GSEvnmZ2ezTup1SBse9+twCCeial6EEi3Nc2KFcf6+qz2FBPnjXsk8xhKSaPQ==", 966 | "dev": true, 967 | "requires": { 968 | "call-bind": "^1.0.2" 969 | } 970 | }, 971 | "isarray": { 972 | "version": "1.0.0", 973 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", 974 | "integrity": "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==", 975 | "dev": true 976 | }, 977 | "isexe": { 978 | "version": "2.0.0", 979 | "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", 980 | "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", 981 | "dev": true 982 | }, 983 | "js-yaml": { 984 | "version": "3.14.1", 985 | "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", 986 | "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", 987 | "dev": true, 988 | "requires": { 989 | "argparse": "^1.0.7", 990 | "esprima": "^4.0.0" 991 | } 992 | }, 993 | "json-buffer": { 994 | "version": "3.0.1", 995 | "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", 996 | "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", 997 | "dev": true 998 | }, 999 | "json-parse-better-errors": { 1000 | "version": "1.0.2", 1001 | "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", 1002 | "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==", 1003 | "dev": true 1004 | }, 1005 | "keyv": { 1006 | "version": "4.5.3", 1007 | "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.3.tgz", 1008 | "integrity": "sha512-QCiSav9WaX1PgETJ+SpNnx2PRRapJ/oRSXM4VO5OGYGSjrxbKPVFVhB3l2OCbLCk329N8qyAtsJjSjvVBWzEug==", 1009 | "dev": true, 1010 | "requires": { 1011 | "json-buffer": "3.0.1" 1012 | } 1013 | }, 1014 | "load-json-file": { 1015 | "version": "4.0.0", 1016 | "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-4.0.0.tgz", 1017 | "integrity": "sha512-Kx8hMakjX03tiGTLAIdJ+lL0htKnXjEZN6hk/tozf/WOuYGdZBJrZ+rCJRbVCugsjB3jMLn9746NsQIf5VjBMw==", 1018 | "dev": true, 1019 | "requires": { 1020 | "graceful-fs": "^4.1.2", 1021 | "parse-json": "^4.0.0", 1022 | "pify": "^3.0.0", 1023 | "strip-bom": "^3.0.0" 1024 | } 1025 | }, 1026 | "lodash": { 1027 | "version": "4.17.21", 1028 | "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", 1029 | "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", 1030 | "dev": true 1031 | }, 1032 | "log-symbols": { 1033 | "version": "3.0.0", 1034 | "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-3.0.0.tgz", 1035 | "integrity": "sha512-dSkNGuI7iG3mfvDzUuYZyvk5dD9ocYCYzNU6CYDE6+Xqd+gwme6Z00NS3dUh8mq/73HaEtT7m6W+yUPtU6BZnQ==", 1036 | "dev": true, 1037 | "requires": { 1038 | "chalk": "^2.4.2" 1039 | }, 1040 | "dependencies": { 1041 | "ansi-styles": { 1042 | "version": "3.2.1", 1043 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 1044 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 1045 | "dev": true, 1046 | "requires": { 1047 | "color-convert": "^1.9.0" 1048 | } 1049 | }, 1050 | "chalk": { 1051 | "version": "2.4.2", 1052 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 1053 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 1054 | "dev": true, 1055 | "requires": { 1056 | "ansi-styles": "^3.2.1", 1057 | "escape-string-regexp": "^1.0.5", 1058 | "supports-color": "^5.3.0" 1059 | } 1060 | }, 1061 | "color-convert": { 1062 | "version": "1.9.3", 1063 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 1064 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 1065 | "dev": true, 1066 | "requires": { 1067 | "color-name": "1.1.3" 1068 | } 1069 | }, 1070 | "color-name": { 1071 | "version": "1.1.3", 1072 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1073 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", 1074 | "dev": true 1075 | }, 1076 | "has-flag": { 1077 | "version": "3.0.0", 1078 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1079 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 1080 | "dev": true 1081 | }, 1082 | "supports-color": { 1083 | "version": "5.5.0", 1084 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1085 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1086 | "dev": true, 1087 | "requires": { 1088 | "has-flag": "^3.0.0" 1089 | } 1090 | } 1091 | } 1092 | }, 1093 | "lowercase-keys": { 1094 | "version": "2.0.0", 1095 | "resolved": "https://registry.npmjs.org/lowercase-keys/-/lowercase-keys-2.0.0.tgz", 1096 | "integrity": "sha512-tqNXrS78oMOE73NMxK4EMLQsQowWf8jKooH9g7xPavRT706R6bkQJ6DY2Te7QukaZsulxa30wQ7bk0pm4XiHmA==", 1097 | "dev": true 1098 | }, 1099 | "memorystream": { 1100 | "version": "0.3.1", 1101 | "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", 1102 | "integrity": "sha512-S3UwM3yj5mtUSEfP41UZmt/0SCoVYUcU1rkXv+BQ5Ig8ndL4sPoJNBUJERafdPb5jjHJGuMgytgKvKIf58XNBw==", 1103 | "dev": true 1104 | }, 1105 | "mimic-fn": { 1106 | "version": "2.1.0", 1107 | "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", 1108 | "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", 1109 | "dev": true 1110 | }, 1111 | "mimic-response": { 1112 | "version": "1.0.1", 1113 | "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", 1114 | "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", 1115 | "dev": true 1116 | }, 1117 | "minimatch": { 1118 | "version": "3.1.2", 1119 | "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", 1120 | "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", 1121 | "dev": true, 1122 | "requires": { 1123 | "brace-expansion": "^1.1.7" 1124 | } 1125 | }, 1126 | "minimist": { 1127 | "version": "1.2.8", 1128 | "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", 1129 | "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", 1130 | "dev": true 1131 | }, 1132 | "mkdirp": { 1133 | "version": "0.5.6", 1134 | "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz", 1135 | "integrity": "sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==", 1136 | "dev": true, 1137 | "requires": { 1138 | "minimist": "^1.2.6" 1139 | } 1140 | }, 1141 | "ms": { 1142 | "version": "2.0.0", 1143 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", 1144 | "integrity": "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==", 1145 | "dev": true 1146 | }, 1147 | "mute-stream": { 1148 | "version": "0.0.8", 1149 | "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.8.tgz", 1150 | "integrity": "sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==", 1151 | "dev": true 1152 | }, 1153 | "nice-try": { 1154 | "version": "1.0.5", 1155 | "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", 1156 | "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==", 1157 | "dev": true 1158 | }, 1159 | "normalize-package-data": { 1160 | "version": "2.5.0", 1161 | "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", 1162 | "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", 1163 | "dev": true, 1164 | "requires": { 1165 | "hosted-git-info": "^2.1.4", 1166 | "resolve": "^1.10.0", 1167 | "semver": "2 || 3 || 4 || 5", 1168 | "validate-npm-package-license": "^3.0.1" 1169 | } 1170 | }, 1171 | "normalize-url": { 1172 | "version": "6.1.0", 1173 | "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz", 1174 | "integrity": "sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==", 1175 | "dev": true 1176 | }, 1177 | "npm-run-all": { 1178 | "version": "4.1.5", 1179 | "resolved": "https://registry.npmjs.org/npm-run-all/-/npm-run-all-4.1.5.tgz", 1180 | "integrity": "sha512-Oo82gJDAVcaMdi3nuoKFavkIHBRVqQ1qvMb+9LHk/cF4P6B2m8aP04hGf7oL6wZ9BuGwX1onlLhpuoofSyoQDQ==", 1181 | "dev": true, 1182 | "requires": { 1183 | "ansi-styles": "^3.2.1", 1184 | "chalk": "^2.4.1", 1185 | "cross-spawn": "^6.0.5", 1186 | "memorystream": "^0.3.1", 1187 | "minimatch": "^3.0.4", 1188 | "pidtree": "^0.3.0", 1189 | "read-pkg": "^3.0.0", 1190 | "shell-quote": "^1.6.1", 1191 | "string.prototype.padend": "^3.0.0" 1192 | }, 1193 | "dependencies": { 1194 | "ansi-styles": { 1195 | "version": "3.2.1", 1196 | "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", 1197 | "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", 1198 | "dev": true, 1199 | "requires": { 1200 | "color-convert": "^1.9.0" 1201 | } 1202 | }, 1203 | "chalk": { 1204 | "version": "2.4.2", 1205 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", 1206 | "integrity": "sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==", 1207 | "dev": true, 1208 | "requires": { 1209 | "ansi-styles": "^3.2.1", 1210 | "escape-string-regexp": "^1.0.5", 1211 | "supports-color": "^5.3.0" 1212 | } 1213 | }, 1214 | "color-convert": { 1215 | "version": "1.9.3", 1216 | "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", 1217 | "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", 1218 | "dev": true, 1219 | "requires": { 1220 | "color-name": "1.1.3" 1221 | } 1222 | }, 1223 | "color-name": { 1224 | "version": "1.1.3", 1225 | "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", 1226 | "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==", 1227 | "dev": true 1228 | }, 1229 | "has-flag": { 1230 | "version": "3.0.0", 1231 | "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", 1232 | "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==", 1233 | "dev": true 1234 | }, 1235 | "supports-color": { 1236 | "version": "5.5.0", 1237 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", 1238 | "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", 1239 | "dev": true, 1240 | "requires": { 1241 | "has-flag": "^3.0.0" 1242 | } 1243 | } 1244 | } 1245 | }, 1246 | "object-inspect": { 1247 | "version": "1.12.3", 1248 | "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.12.3.tgz", 1249 | "integrity": "sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==", 1250 | "dev": true 1251 | }, 1252 | "object-keys": { 1253 | "version": "1.1.1", 1254 | "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", 1255 | "integrity": "sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==", 1256 | "dev": true 1257 | }, 1258 | "object.assign": { 1259 | "version": "4.1.4", 1260 | "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.4.tgz", 1261 | "integrity": "sha512-1mxKf0e58bvyjSCtKYY4sRe9itRk3PJpquJOjeIkz885CczcI4IvJJDLPS72oowuSh+pBxUFROpX+TU++hxhZQ==", 1262 | "dev": true, 1263 | "requires": { 1264 | "call-bind": "^1.0.2", 1265 | "define-properties": "^1.1.4", 1266 | "has-symbols": "^1.0.3", 1267 | "object-keys": "^1.1.1" 1268 | } 1269 | }, 1270 | "once": { 1271 | "version": "1.4.0", 1272 | "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", 1273 | "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", 1274 | "dev": true, 1275 | "requires": { 1276 | "wrappy": "1" 1277 | } 1278 | }, 1279 | "onetime": { 1280 | "version": "5.1.2", 1281 | "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", 1282 | "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", 1283 | "dev": true, 1284 | "requires": { 1285 | "mimic-fn": "^2.1.0" 1286 | } 1287 | }, 1288 | "ora": { 1289 | "version": "4.1.1", 1290 | "resolved": "https://registry.npmjs.org/ora/-/ora-4.1.1.tgz", 1291 | "integrity": "sha512-sjYP8QyVWBpBZWD6Vr1M/KwknSw6kJOz41tvGMlwWeClHBtYKTbHMki1PsLZnxKpXMPbTKv9b3pjQu3REib96A==", 1292 | "dev": true, 1293 | "requires": { 1294 | "chalk": "^3.0.0", 1295 | "cli-cursor": "^3.1.0", 1296 | "cli-spinners": "^2.2.0", 1297 | "is-interactive": "^1.0.0", 1298 | "log-symbols": "^3.0.0", 1299 | "mute-stream": "0.0.8", 1300 | "strip-ansi": "^6.0.0", 1301 | "wcwidth": "^1.0.1" 1302 | }, 1303 | "dependencies": { 1304 | "chalk": { 1305 | "version": "3.0.0", 1306 | "resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz", 1307 | "integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==", 1308 | "dev": true, 1309 | "requires": { 1310 | "ansi-styles": "^4.1.0", 1311 | "supports-color": "^7.1.0" 1312 | } 1313 | } 1314 | } 1315 | }, 1316 | "os-tmpdir": { 1317 | "version": "1.0.2", 1318 | "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", 1319 | "integrity": "sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==", 1320 | "dev": true 1321 | }, 1322 | "p-cancelable": { 1323 | "version": "2.1.1", 1324 | "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz", 1325 | "integrity": "sha512-BZOr3nRQHOntUjTrH8+Lh54smKHoHyur8We1V8DSMVrl5A2malOOwuJRnKRDjSnkoeBh4at6BwEnb5I7Jl31wg==", 1326 | "dev": true 1327 | }, 1328 | "parse-json": { 1329 | "version": "4.0.0", 1330 | "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", 1331 | "integrity": "sha512-aOIos8bujGN93/8Ox/jPLh7RwVnPEysynVFE+fQZyg6jKELEHwzgKdLRFHUgXJL6kylijVSBC4BvN9OmsB48Rw==", 1332 | "dev": true, 1333 | "requires": { 1334 | "error-ex": "^1.3.1", 1335 | "json-parse-better-errors": "^1.0.1" 1336 | } 1337 | }, 1338 | "path-is-absolute": { 1339 | "version": "1.0.1", 1340 | "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", 1341 | "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", 1342 | "dev": true 1343 | }, 1344 | "path-key": { 1345 | "version": "2.0.1", 1346 | "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", 1347 | "integrity": "sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==", 1348 | "dev": true 1349 | }, 1350 | "path-parse": { 1351 | "version": "1.0.7", 1352 | "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", 1353 | "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", 1354 | "dev": true 1355 | }, 1356 | "path-type": { 1357 | "version": "3.0.0", 1358 | "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", 1359 | "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", 1360 | "dev": true, 1361 | "requires": { 1362 | "pify": "^3.0.0" 1363 | } 1364 | }, 1365 | "pend": { 1366 | "version": "1.2.0", 1367 | "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", 1368 | "integrity": "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==", 1369 | "dev": true 1370 | }, 1371 | "pidtree": { 1372 | "version": "0.3.1", 1373 | "resolved": "https://registry.npmjs.org/pidtree/-/pidtree-0.3.1.tgz", 1374 | "integrity": "sha512-qQbW94hLHEqCg7nhby4yRC7G2+jYHY4Rguc2bjw7Uug4GIJuu1tvf2uHaZv5Q8zdt+WKJ6qK1FOI6amaWUo5FA==", 1375 | "dev": true 1376 | }, 1377 | "pify": { 1378 | "version": "3.0.0", 1379 | "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", 1380 | "integrity": "sha512-C3FsVNH1udSEX48gGX1xfvwTWfsYWj5U+8/uK15BGzIGrKoUpghX8hWZwa/OFnakBiiVNmBvemTJR5mcy7iPcg==", 1381 | "dev": true 1382 | }, 1383 | "process-nextick-args": { 1384 | "version": "2.0.1", 1385 | "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", 1386 | "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==", 1387 | "dev": true 1388 | }, 1389 | "pump": { 1390 | "version": "3.0.0", 1391 | "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", 1392 | "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", 1393 | "dev": true, 1394 | "requires": { 1395 | "end-of-stream": "^1.1.0", 1396 | "once": "^1.3.1" 1397 | } 1398 | }, 1399 | "quick-lru": { 1400 | "version": "5.1.1", 1401 | "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", 1402 | "integrity": "sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==", 1403 | "dev": true 1404 | }, 1405 | "read-pkg": { 1406 | "version": "3.0.0", 1407 | "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-3.0.0.tgz", 1408 | "integrity": "sha512-BLq/cCO9two+lBgiTYNqD6GdtK8s4NpaWrl6/rCO9w0TUS8oJl7cmToOZfRYllKTISY6nt1U7jQ53brmKqY6BA==", 1409 | "dev": true, 1410 | "requires": { 1411 | "load-json-file": "^4.0.0", 1412 | "normalize-package-data": "^2.3.2", 1413 | "path-type": "^3.0.0" 1414 | } 1415 | }, 1416 | "readable-stream": { 1417 | "version": "2.3.8", 1418 | "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.8.tgz", 1419 | "integrity": "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==", 1420 | "dev": true, 1421 | "requires": { 1422 | "core-util-is": "~1.0.0", 1423 | "inherits": "~2.0.3", 1424 | "isarray": "~1.0.0", 1425 | "process-nextick-args": "~2.0.0", 1426 | "safe-buffer": "~5.1.1", 1427 | "string_decoder": "~1.1.1", 1428 | "util-deprecate": "~1.0.1" 1429 | } 1430 | }, 1431 | "regexp.prototype.flags": { 1432 | "version": "1.5.0", 1433 | "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.5.0.tgz", 1434 | "integrity": "sha512-0SutC3pNudRKgquxGoRGIz946MZVHqbNfPjBdxeOhBrdgDKlRoXmYLQN9xRbrR09ZXWeGAdPuif7egofn6v5LA==", 1435 | "dev": true, 1436 | "requires": { 1437 | "call-bind": "^1.0.2", 1438 | "define-properties": "^1.2.0", 1439 | "functions-have-names": "^1.2.3" 1440 | } 1441 | }, 1442 | "require-directory": { 1443 | "version": "2.1.1", 1444 | "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", 1445 | "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", 1446 | "dev": true 1447 | }, 1448 | "resolve": { 1449 | "version": "1.22.4", 1450 | "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.4.tgz", 1451 | "integrity": "sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==", 1452 | "dev": true, 1453 | "requires": { 1454 | "is-core-module": "^2.13.0", 1455 | "path-parse": "^1.0.7", 1456 | "supports-preserve-symlinks-flag": "^1.0.0" 1457 | } 1458 | }, 1459 | "resolve-alpn": { 1460 | "version": "1.2.1", 1461 | "resolved": "https://registry.npmjs.org/resolve-alpn/-/resolve-alpn-1.2.1.tgz", 1462 | "integrity": "sha512-0a1F4l73/ZFZOakJnQ3FvkJ2+gSTQWz/r2KE5OdDY0TxPm5h4GkqkWWfM47T7HsbnOtcJVEF4epCVy6u7Q3K+g==", 1463 | "dev": true 1464 | }, 1465 | "responselike": { 1466 | "version": "2.0.1", 1467 | "resolved": "https://registry.npmjs.org/responselike/-/responselike-2.0.1.tgz", 1468 | "integrity": "sha512-4gl03wn3hj1HP3yzgdI7d3lCkF95F21Pz4BPGvKHinyQzALR5CapwC8yIi0Rh58DEMQ/SguC03wFj2k0M/mHhw==", 1469 | "dev": true, 1470 | "requires": { 1471 | "lowercase-keys": "^2.0.0" 1472 | } 1473 | }, 1474 | "restore-cursor": { 1475 | "version": "3.1.0", 1476 | "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-3.1.0.tgz", 1477 | "integrity": "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==", 1478 | "dev": true, 1479 | "requires": { 1480 | "onetime": "^5.1.0", 1481 | "signal-exit": "^3.0.2" 1482 | } 1483 | }, 1484 | "rimraf": { 1485 | "version": "3.0.2", 1486 | "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-3.0.2.tgz", 1487 | "integrity": "sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA==", 1488 | "dev": true, 1489 | "requires": { 1490 | "glob": "^7.1.3" 1491 | } 1492 | }, 1493 | "run-async": { 1494 | "version": "2.4.1", 1495 | "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", 1496 | "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", 1497 | "dev": true 1498 | }, 1499 | "rxjs": { 1500 | "version": "6.6.7", 1501 | "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz", 1502 | "integrity": "sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==", 1503 | "dev": true, 1504 | "requires": { 1505 | "tslib": "^1.9.0" 1506 | } 1507 | }, 1508 | "safe-array-concat": { 1509 | "version": "1.0.0", 1510 | "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.0.0.tgz", 1511 | "integrity": "sha512-9dVEFruWIsnie89yym+xWTAYASdpw3CJV7Li/6zBewGf9z2i1j31rP6jnY0pHEO4QZh6N0K11bFjWmdR8UGdPQ==", 1512 | "dev": true, 1513 | "requires": { 1514 | "call-bind": "^1.0.2", 1515 | "get-intrinsic": "^1.2.0", 1516 | "has-symbols": "^1.0.3", 1517 | "isarray": "^2.0.5" 1518 | }, 1519 | "dependencies": { 1520 | "isarray": { 1521 | "version": "2.0.5", 1522 | "resolved": "https://registry.npmjs.org/isarray/-/isarray-2.0.5.tgz", 1523 | "integrity": "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw==", 1524 | "dev": true 1525 | } 1526 | } 1527 | }, 1528 | "safe-buffer": { 1529 | "version": "5.1.2", 1530 | "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", 1531 | "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==", 1532 | "dev": true 1533 | }, 1534 | "safe-regex-test": { 1535 | "version": "1.0.0", 1536 | "resolved": "https://registry.npmjs.org/safe-regex-test/-/safe-regex-test-1.0.0.tgz", 1537 | "integrity": "sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==", 1538 | "dev": true, 1539 | "requires": { 1540 | "call-bind": "^1.0.2", 1541 | "get-intrinsic": "^1.1.3", 1542 | "is-regex": "^1.1.4" 1543 | } 1544 | }, 1545 | "safer-buffer": { 1546 | "version": "2.1.2", 1547 | "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", 1548 | "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==", 1549 | "dev": true 1550 | }, 1551 | "semver": { 1552 | "version": "5.7.2", 1553 | "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz", 1554 | "integrity": "sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==", 1555 | "dev": true 1556 | }, 1557 | "shebang-command": { 1558 | "version": "1.2.0", 1559 | "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", 1560 | "integrity": "sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==", 1561 | "dev": true, 1562 | "requires": { 1563 | "shebang-regex": "^1.0.0" 1564 | } 1565 | }, 1566 | "shebang-regex": { 1567 | "version": "1.0.0", 1568 | "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", 1569 | "integrity": "sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==", 1570 | "dev": true 1571 | }, 1572 | "shell-quote": { 1573 | "version": "1.8.1", 1574 | "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.8.1.tgz", 1575 | "integrity": "sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA==", 1576 | "dev": true 1577 | }, 1578 | "side-channel": { 1579 | "version": "1.0.4", 1580 | "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.4.tgz", 1581 | "integrity": "sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw==", 1582 | "dev": true, 1583 | "requires": { 1584 | "call-bind": "^1.0.0", 1585 | "get-intrinsic": "^1.0.2", 1586 | "object-inspect": "^1.9.0" 1587 | } 1588 | }, 1589 | "signal-exit": { 1590 | "version": "3.0.7", 1591 | "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", 1592 | "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", 1593 | "dev": true 1594 | }, 1595 | "simple-git": { 1596 | "version": "3.19.1", 1597 | "resolved": "https://registry.npmjs.org/simple-git/-/simple-git-3.19.1.tgz", 1598 | "integrity": "sha512-Ck+rcjVaE1HotraRAS8u/+xgTvToTuoMkT9/l9lvuP5jftwnYUp6DwuJzsKErHgfyRk8IB8pqGHWEbM3tLgV1w==", 1599 | "dev": true, 1600 | "requires": { 1601 | "@kwsites/file-exists": "^1.1.1", 1602 | "@kwsites/promise-deferred": "^1.1.1", 1603 | "debug": "^4.3.4" 1604 | }, 1605 | "dependencies": { 1606 | "debug": { 1607 | "version": "4.3.4", 1608 | "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", 1609 | "integrity": "sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==", 1610 | "dev": true, 1611 | "requires": { 1612 | "ms": "2.1.2" 1613 | } 1614 | }, 1615 | "ms": { 1616 | "version": "2.1.2", 1617 | "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", 1618 | "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==", 1619 | "dev": true 1620 | } 1621 | } 1622 | }, 1623 | "spdx-correct": { 1624 | "version": "3.2.0", 1625 | "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.2.0.tgz", 1626 | "integrity": "sha512-kN9dJbvnySHULIluDHy32WHRUu3Og7B9sbY7tsFLctQkIqnMh3hErYgdMjTYuqmcXX+lK5T1lnUt3G7zNswmZA==", 1627 | "dev": true, 1628 | "requires": { 1629 | "spdx-expression-parse": "^3.0.0", 1630 | "spdx-license-ids": "^3.0.0" 1631 | } 1632 | }, 1633 | "spdx-exceptions": { 1634 | "version": "2.3.0", 1635 | "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", 1636 | "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==", 1637 | "dev": true 1638 | }, 1639 | "spdx-expression-parse": { 1640 | "version": "3.0.1", 1641 | "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", 1642 | "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", 1643 | "dev": true, 1644 | "requires": { 1645 | "spdx-exceptions": "^2.1.0", 1646 | "spdx-license-ids": "^3.0.0" 1647 | } 1648 | }, 1649 | "spdx-license-ids": { 1650 | "version": "3.0.13", 1651 | "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.13.tgz", 1652 | "integrity": "sha512-XkD+zwiqXHikFZm4AX/7JSCXA98U5Db4AFd5XUg/+9UNtnH75+Z9KxtpYiJZx36mUDVOwH83pl7yvCer6ewM3w==", 1653 | "dev": true 1654 | }, 1655 | "sprintf-js": { 1656 | "version": "1.0.3", 1657 | "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", 1658 | "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", 1659 | "dev": true 1660 | }, 1661 | "string-width": { 1662 | "version": "4.2.3", 1663 | "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", 1664 | "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", 1665 | "dev": true, 1666 | "requires": { 1667 | "emoji-regex": "^8.0.0", 1668 | "is-fullwidth-code-point": "^3.0.0", 1669 | "strip-ansi": "^6.0.1" 1670 | } 1671 | }, 1672 | "string.prototype.padend": { 1673 | "version": "3.1.4", 1674 | "resolved": "https://registry.npmjs.org/string.prototype.padend/-/string.prototype.padend-3.1.4.tgz", 1675 | "integrity": "sha512-67otBXoksdjsnXXRUq+KMVTdlVRZ2af422Y0aTyTjVaoQkGr3mxl2Bc5emi7dOQ3OGVVQQskmLEWwFXwommpNw==", 1676 | "dev": true, 1677 | "requires": { 1678 | "call-bind": "^1.0.2", 1679 | "define-properties": "^1.1.4", 1680 | "es-abstract": "^1.20.4" 1681 | } 1682 | }, 1683 | "string.prototype.trim": { 1684 | "version": "1.2.7", 1685 | "resolved": "https://registry.npmjs.org/string.prototype.trim/-/string.prototype.trim-1.2.7.tgz", 1686 | "integrity": "sha512-p6TmeT1T3411M8Cgg9wBTMRtY2q9+PNy9EV1i2lIXUN/btt763oIfxwN3RR8VU6wHX8j/1CFy0L+YuThm6bgOg==", 1687 | "dev": true, 1688 | "requires": { 1689 | "call-bind": "^1.0.2", 1690 | "define-properties": "^1.1.4", 1691 | "es-abstract": "^1.20.4" 1692 | } 1693 | }, 1694 | "string.prototype.trimend": { 1695 | "version": "1.0.6", 1696 | "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.6.tgz", 1697 | "integrity": "sha512-JySq+4mrPf9EsDBEDYMOb/lM7XQLulwg5R/m1r0PXEFqrV0qHvl58sdTilSXtKOflCsK2E8jxf+GKC0T07RWwQ==", 1698 | "dev": true, 1699 | "requires": { 1700 | "call-bind": "^1.0.2", 1701 | "define-properties": "^1.1.4", 1702 | "es-abstract": "^1.20.4" 1703 | } 1704 | }, 1705 | "string.prototype.trimstart": { 1706 | "version": "1.0.6", 1707 | "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.6.tgz", 1708 | "integrity": "sha512-omqjMDaY92pbn5HOX7f9IccLA+U1tA9GvtU4JrodiXFfYB7jPzzHpRzpglLAjtUV6bB557zwClJezTqnAiYnQA==", 1709 | "dev": true, 1710 | "requires": { 1711 | "call-bind": "^1.0.2", 1712 | "define-properties": "^1.1.4", 1713 | "es-abstract": "^1.20.4" 1714 | } 1715 | }, 1716 | "string_decoder": { 1717 | "version": "1.1.1", 1718 | "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", 1719 | "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", 1720 | "dev": true, 1721 | "requires": { 1722 | "safe-buffer": "~5.1.0" 1723 | } 1724 | }, 1725 | "strip-ansi": { 1726 | "version": "6.0.1", 1727 | "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", 1728 | "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", 1729 | "dev": true, 1730 | "requires": { 1731 | "ansi-regex": "^5.0.1" 1732 | } 1733 | }, 1734 | "strip-bom": { 1735 | "version": "3.0.0", 1736 | "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", 1737 | "integrity": "sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==", 1738 | "dev": true 1739 | }, 1740 | "supports-color": { 1741 | "version": "7.2.0", 1742 | "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", 1743 | "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", 1744 | "dev": true, 1745 | "requires": { 1746 | "has-flag": "^4.0.0" 1747 | } 1748 | }, 1749 | "supports-hyperlinks": { 1750 | "version": "2.3.0", 1751 | "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", 1752 | "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", 1753 | "dev": true, 1754 | "requires": { 1755 | "has-flag": "^4.0.0", 1756 | "supports-color": "^7.0.0" 1757 | } 1758 | }, 1759 | "supports-preserve-symlinks-flag": { 1760 | "version": "1.0.0", 1761 | "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", 1762 | "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", 1763 | "dev": true 1764 | }, 1765 | "terminal-link": { 1766 | "version": "2.1.1", 1767 | "resolved": "https://registry.npmjs.org/terminal-link/-/terminal-link-2.1.1.tgz", 1768 | "integrity": "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ==", 1769 | "dev": true, 1770 | "requires": { 1771 | "ansi-escapes": "^4.2.1", 1772 | "supports-hyperlinks": "^2.0.0" 1773 | } 1774 | }, 1775 | "through": { 1776 | "version": "2.3.8", 1777 | "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", 1778 | "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==", 1779 | "dev": true 1780 | }, 1781 | "tmp": { 1782 | "version": "0.0.33", 1783 | "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", 1784 | "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", 1785 | "dev": true, 1786 | "requires": { 1787 | "os-tmpdir": "~1.0.2" 1788 | } 1789 | }, 1790 | "tslib": { 1791 | "version": "1.14.1", 1792 | "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", 1793 | "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==", 1794 | "dev": true 1795 | }, 1796 | "type-fest": { 1797 | "version": "0.21.3", 1798 | "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", 1799 | "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", 1800 | "dev": true 1801 | }, 1802 | "typed-array-buffer": { 1803 | "version": "1.0.0", 1804 | "resolved": "https://registry.npmjs.org/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz", 1805 | "integrity": "sha512-Y8KTSIglk9OZEr8zywiIHG/kmQ7KWyjseXs1CbSo8vC42w7hg2HgYTxSWwP0+is7bWDc1H+Fo026CpHFwm8tkw==", 1806 | "dev": true, 1807 | "requires": { 1808 | "call-bind": "^1.0.2", 1809 | "get-intrinsic": "^1.2.1", 1810 | "is-typed-array": "^1.1.10" 1811 | } 1812 | }, 1813 | "typed-array-byte-length": { 1814 | "version": "1.0.0", 1815 | "resolved": "https://registry.npmjs.org/typed-array-byte-length/-/typed-array-byte-length-1.0.0.tgz", 1816 | "integrity": "sha512-Or/+kvLxNpeQ9DtSydonMxCx+9ZXOswtwJn17SNLvhptaXYDJvkFFP5zbfU/uLmvnBJlI4yrnXRxpdWH/M5tNA==", 1817 | "dev": true, 1818 | "requires": { 1819 | "call-bind": "^1.0.2", 1820 | "for-each": "^0.3.3", 1821 | "has-proto": "^1.0.1", 1822 | "is-typed-array": "^1.1.10" 1823 | } 1824 | }, 1825 | "typed-array-byte-offset": { 1826 | "version": "1.0.0", 1827 | "resolved": "https://registry.npmjs.org/typed-array-byte-offset/-/typed-array-byte-offset-1.0.0.tgz", 1828 | "integrity": "sha512-RD97prjEt9EL8YgAgpOkf3O4IF9lhJFr9g0htQkm0rchFp/Vx7LW5Q8fSXXub7BXAODyUQohRMyOc3faCPd0hg==", 1829 | "dev": true, 1830 | "requires": { 1831 | "available-typed-arrays": "^1.0.5", 1832 | "call-bind": "^1.0.2", 1833 | "for-each": "^0.3.3", 1834 | "has-proto": "^1.0.1", 1835 | "is-typed-array": "^1.1.10" 1836 | } 1837 | }, 1838 | "typed-array-length": { 1839 | "version": "1.0.4", 1840 | "resolved": "https://registry.npmjs.org/typed-array-length/-/typed-array-length-1.0.4.tgz", 1841 | "integrity": "sha512-KjZypGq+I/H7HI5HlOoGHkWUUGq+Q0TPhQurLbyrVrvnKTBgzLhIJ7j6J/XTQOi0d1RjyZ0wdas8bKs2p0x3Ng==", 1842 | "dev": true, 1843 | "requires": { 1844 | "call-bind": "^1.0.2", 1845 | "for-each": "^0.3.3", 1846 | "is-typed-array": "^1.1.9" 1847 | } 1848 | }, 1849 | "typedarray": { 1850 | "version": "0.0.6", 1851 | "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", 1852 | "integrity": "sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==", 1853 | "dev": true 1854 | }, 1855 | "unbox-primitive": { 1856 | "version": "1.0.2", 1857 | "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", 1858 | "integrity": "sha512-61pPlCD9h51VoreyJ0BReideM3MDKMKnh6+V9L08331ipq6Q8OFXZYiqP6n/tbHx4s5I9uRhcye6BrbkizkBDw==", 1859 | "dev": true, 1860 | "requires": { 1861 | "call-bind": "^1.0.2", 1862 | "has-bigints": "^1.0.2", 1863 | "has-symbols": "^1.0.3", 1864 | "which-boxed-primitive": "^1.0.2" 1865 | } 1866 | }, 1867 | "util-deprecate": { 1868 | "version": "1.0.2", 1869 | "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", 1870 | "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==", 1871 | "dev": true 1872 | }, 1873 | "validate-npm-package-license": { 1874 | "version": "3.0.4", 1875 | "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", 1876 | "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", 1877 | "dev": true, 1878 | "requires": { 1879 | "spdx-correct": "^3.0.0", 1880 | "spdx-expression-parse": "^3.0.0" 1881 | } 1882 | }, 1883 | "wcwidth": { 1884 | "version": "1.0.1", 1885 | "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz", 1886 | "integrity": "sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==", 1887 | "dev": true, 1888 | "requires": { 1889 | "defaults": "^1.0.3" 1890 | } 1891 | }, 1892 | "which": { 1893 | "version": "1.3.1", 1894 | "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", 1895 | "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", 1896 | "dev": true, 1897 | "requires": { 1898 | "isexe": "^2.0.0" 1899 | } 1900 | }, 1901 | "which-boxed-primitive": { 1902 | "version": "1.0.2", 1903 | "resolved": "https://registry.npmjs.org/which-boxed-primitive/-/which-boxed-primitive-1.0.2.tgz", 1904 | "integrity": "sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==", 1905 | "dev": true, 1906 | "requires": { 1907 | "is-bigint": "^1.0.1", 1908 | "is-boolean-object": "^1.1.0", 1909 | "is-number-object": "^1.0.4", 1910 | "is-string": "^1.0.5", 1911 | "is-symbol": "^1.0.3" 1912 | } 1913 | }, 1914 | "which-typed-array": { 1915 | "version": "1.1.11", 1916 | "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.11.tgz", 1917 | "integrity": "sha512-qe9UWWpkeG5yzZ0tNYxDmd7vo58HDBc39mZ0xWWpolAGADdFOzkfamWLDxkOWcvHQKVmdTyQdLD4NOfjLWTKew==", 1918 | "dev": true, 1919 | "requires": { 1920 | "available-typed-arrays": "^1.0.5", 1921 | "call-bind": "^1.0.2", 1922 | "for-each": "^0.3.3", 1923 | "gopd": "^1.0.1", 1924 | "has-tostringtag": "^1.0.0" 1925 | } 1926 | }, 1927 | "wrap-ansi": { 1928 | "version": "7.0.0", 1929 | "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", 1930 | "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", 1931 | "dev": true, 1932 | "requires": { 1933 | "ansi-styles": "^4.0.0", 1934 | "string-width": "^4.1.0", 1935 | "strip-ansi": "^6.0.0" 1936 | } 1937 | }, 1938 | "wrappy": { 1939 | "version": "1.0.2", 1940 | "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", 1941 | "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", 1942 | "dev": true 1943 | }, 1944 | "y18n": { 1945 | "version": "5.0.8", 1946 | "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", 1947 | "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", 1948 | "dev": true 1949 | }, 1950 | "yargs": { 1951 | "version": "17.7.2", 1952 | "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", 1953 | "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", 1954 | "dev": true, 1955 | "requires": { 1956 | "cliui": "^8.0.1", 1957 | "escalade": "^3.1.1", 1958 | "get-caller-file": "^2.0.5", 1959 | "require-directory": "^2.1.1", 1960 | "string-width": "^4.2.3", 1961 | "y18n": "^5.0.5", 1962 | "yargs-parser": "^21.1.1" 1963 | } 1964 | }, 1965 | "yargs-parser": { 1966 | "version": "21.1.1", 1967 | "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", 1968 | "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", 1969 | "dev": true 1970 | }, 1971 | "yauzl": { 1972 | "version": "2.10.0", 1973 | "resolved": "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz", 1974 | "integrity": "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==", 1975 | "dev": true, 1976 | "requires": { 1977 | "buffer-crc32": "~0.2.3", 1978 | "fd-slicer": "~1.1.0" 1979 | } 1980 | } 1981 | } 1982 | } 1983 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "author": "inc2734", 3 | "license": "GPL-2.0+", 4 | "devDependencies": { 5 | "@wordpress/env": "^8.7.0", 6 | "npm-run-all": "^4.1.5" 7 | }, 8 | "scripts": { 9 | "wp-env": "wp-env", 10 | "start": "wp-env start", 11 | "stop": "wp-env stop", 12 | "cli": "wp-env run cli", 13 | "wp": "wp-env run cli wp", 14 | "composer": "wp-env run --env-cwd=\"wp-content/plugins/wp-breadcrumbs\" cli composer", 15 | "pretest": "wp-env start && npm run composer install -- --no-interaction", 16 | "test:lint:php": "wp-env start && npm run composer lint", 17 | "test:lint": "run-s test:lint:*", 18 | "test:unit:php": "wp-env start && wp-env run --env-cwd=\"wp-content/plugins/wp-breadcrumbs\" tests-wordpress vendor/bin/phpunit -c .phpunit.xml.dist --verbose", 19 | "test:unit": "run-s test:unit:*", 20 | "test": "run-s test:*" 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Bootstrap.php: -------------------------------------------------------------------------------- 1 | _set_items( $breadcrumb->get() ); 29 | 30 | $post_type = $this->get_post_type(); 31 | $post_type_object = get_post_type_object( $post_type ); 32 | 33 | if ( 'post' === $post_type || ( '' === $post_type && ! is_tax() ) ) { 34 | $breadcrumb = new Controller\Blog(); 35 | $this->_set_items( $breadcrumb->get() ); 36 | } elseif ( is_tax() ) { 37 | $breadcrumb = new Controller\Post_Type_Archive(); 38 | $this->_set_items( $breadcrumb->get() ); 39 | } elseif ( $post_type && ! empty( $post_type_object->has_archive ) ) { 40 | $breadcrumb = new Controller\Post_Type_Archive(); 41 | $this->_set_items( $breadcrumb->get() ); 42 | } 43 | 44 | $controllers = array_filter( 45 | array( 46 | 'Not_Found' => is_404(), 47 | 'Search' => is_search(), 48 | 'Taxonomy' => is_tax() || is_category() || is_tag(), 49 | 'Attachment' => is_attachment(), 50 | 'Page' => is_page() && ! is_front_page(), 51 | 'Single' => is_single(), 52 | 'Author' => is_author(), 53 | 'Date' => is_date(), 54 | 'Home' => is_home() && ! is_front_page(), 55 | ) 56 | ); 57 | 58 | if ( ! $controllers ) { 59 | return; 60 | } 61 | 62 | $class = '\Inc2734\WP_Breadcrumbs\Controller\\' . key( $controllers ); 63 | if ( ! class_exists( $class ) ) { 64 | return; 65 | } 66 | 67 | $breadcrumb = new $class(); 68 | $this->_set_items( $breadcrumb->get() ); 69 | } 70 | 71 | /** 72 | * Sets breadcrumbs items. 73 | * 74 | * @param array $items Array of items. 75 | * @return void 76 | */ 77 | protected function _set_items( $items ) { 78 | foreach ( $items as $item ) { 79 | $this->_set( $item['title'], $item['link'] ); 80 | } 81 | } 82 | 83 | /** 84 | * Adds a item. 85 | * 86 | * @param string $title Title. 87 | * @param string $link Link url. 88 | */ 89 | protected function _set( $title, $link = '' ) { 90 | $this->breadcrumbs[] = array( 91 | 'title' => $title, 92 | 'link' => $link, 93 | ); 94 | } 95 | 96 | /** 97 | * Return the current post type. 98 | * 99 | * @return string 100 | */ 101 | protected function get_post_type() { 102 | $post_type = get_post_type(); 103 | if ( $post_type ) { 104 | return $post_type; 105 | } 106 | 107 | if ( is_category() ) { 108 | $taxonomy_object = get_taxonomy( 'category' ); 109 | return $taxonomy_object->object_type[0]; 110 | } elseif ( is_tag() ) { 111 | $taxonomy_object = get_taxonomy( 'post_tag' ); 112 | return $taxonomy_object->object_type[0]; 113 | } elseif ( is_tax() ) { 114 | $term = get_query_var( 'taxonomy' ); 115 | $taxonomy_object = get_taxonomy( $term ); 116 | return $taxonomy_object->object_type[0]; 117 | } elseif ( is_archive() ) { 118 | return get_query_var( 'post_type' ); 119 | } elseif ( is_home() ) { 120 | return 'post'; 121 | } 122 | 123 | return $post_type; 124 | } 125 | 126 | /** 127 | * Gets breadcrumbs items 128 | * 129 | * @return array 130 | */ 131 | public function get() { 132 | $remove_link = apply_filters( 'inc2734_wp_breadcrumbs_remove_last_link', true ); 133 | foreach ( $this->breadcrumbs as $k => $item ) { 134 | if ( count( $this->breadcrumbs ) === $k + 1 && $remove_link ) { 135 | unset( $item['link'] ); 136 | } 137 | } 138 | return apply_filters( 'inc2734_wp_breadcrumbs', $this->breadcrumbs ); 139 | } 140 | } 141 | -------------------------------------------------------------------------------- /src/Contract/Controller/Controller.php: -------------------------------------------------------------------------------- 1 | set_items(); 29 | } 30 | 31 | /** 32 | * Sets breadcrumbs items. 33 | * 34 | * @return void 35 | */ 36 | abstract protected function set_items(); 37 | 38 | /** 39 | * Adds a item. 40 | * 41 | * @param string $title Title. 42 | * @param string $link Link url. 43 | */ 44 | protected function set( $title, $link = '' ) { 45 | $this->breadcrumbs[] = array( 46 | 'title' => $title, 47 | 'link' => $link, 48 | ); 49 | } 50 | 51 | /** 52 | * Set the ancestors of the specified page or taxonomy. 53 | * 54 | * @param int $object_id Post ID or Term ID. 55 | * @param string $object_type Related post type. 56 | */ 57 | protected function set_ancestors( $object_id, $object_type ) { 58 | $ancestors = get_ancestors( $object_id, $object_type ); 59 | krsort( $ancestors ); 60 | 61 | $post_types = get_post_types( 62 | array( 63 | 'hierarchical' => true, 64 | 'public' => true, 65 | ) 66 | ); 67 | 68 | if ( in_array( $object_type, $post_types, true ) ) { 69 | foreach ( $ancestors as $ancestor_id ) { 70 | $this->set( get_the_title( $ancestor_id ), get_permalink( $ancestor_id ) ); 71 | } 72 | } else { 73 | foreach ( $ancestors as $ancestor_id ) { 74 | $ancestor = get_term( $ancestor_id, $object_type ); 75 | $this->set( $ancestor->name, get_term_link( $ancestor ) ); 76 | } 77 | } 78 | } 79 | 80 | /** 81 | * Return the current post type. 82 | * 83 | * @return string 84 | */ 85 | protected function get_post_type() { 86 | $post_type = get_post_type(); 87 | if ( $post_type ) { 88 | return $post_type; 89 | } 90 | 91 | if ( is_category() ) { 92 | $taxonomy_object = get_taxonomy( 'category' ); 93 | return $taxonomy_object->object_type[0]; 94 | } elseif ( is_tag() ) { 95 | $taxonomy_object = get_taxonomy( 'post_tag' ); 96 | return $taxonomy_object->object_type[0]; 97 | } elseif ( is_tax() ) { 98 | $term = get_query_var( 'taxonomy' ); 99 | $taxonomy_object = get_taxonomy( $term ); 100 | return $taxonomy_object->object_type[0]; 101 | } elseif ( is_archive() ) { 102 | return get_query_var( 'post_type' ); 103 | } elseif ( is_home() ) { 104 | return 'post'; 105 | } 106 | 107 | return $post_type; 108 | } 109 | 110 | /** 111 | * Return year label. 112 | * 113 | * @param int $year Year. 114 | * @return string 115 | */ 116 | public function year( $year ) { 117 | if ( 'ja' === get_locale() ) { 118 | $year .= '年'; 119 | } 120 | return $year; 121 | } 122 | 123 | /** 124 | * Return month label. 125 | * 126 | * @param int $month Month. 127 | * @return string 128 | */ 129 | public function month( $month ) { 130 | if ( 'ja' === get_locale() ) { 131 | $month .= '月'; 132 | } else { 133 | $monthes = array( 134 | 1 => 'January', 135 | 2 => 'February', 136 | 3 => 'March', 137 | 4 => 'April', 138 | 5 => 'May', 139 | 6 => 'June', 140 | 7 => 'July', 141 | 8 => 'August', 142 | 9 => 'September', 143 | 10 => 'October', 144 | 11 => 'November', 145 | 12 => 'December', 146 | ); 147 | $month = $monthes[ $month ]; 148 | } 149 | return $month; 150 | } 151 | 152 | /** 153 | * Return day label. 154 | * 155 | * @param int $day Day. 156 | * @return string 157 | */ 158 | public function day( $day ) { 159 | if ( 'ja' === get_locale() ) { 160 | $day .= '日'; 161 | } 162 | return $day; 163 | } 164 | 165 | /** 166 | * Return breadcrumbs items 167 | * 168 | * @return array 169 | */ 170 | public function get() { 171 | return $this->breadcrumbs; 172 | } 173 | } 174 | -------------------------------------------------------------------------------- /src/Controller/Attachment.php: -------------------------------------------------------------------------------- 1 | set( get_the_title(), get_permalink() ); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Controller/Author.php: -------------------------------------------------------------------------------- 1 | set( $display_name, get_author_posts_url( $user_id ) ); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/Controller/Blog.php: -------------------------------------------------------------------------------- 1 | set( get_the_title( $page_for_posts ), get_permalink( $page_for_posts ) ); 29 | } 30 | } 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Controller/Date.php: -------------------------------------------------------------------------------- 1 | set( trim( $title ), $this->get_year_link( $year ) ); 30 | return; 31 | } 32 | 33 | // phpcs:disable WordPress.WP.I18n.MissingArgDomain 34 | $this->set( get_the_date( _x( 'Y', 'yearly archives date format' ) ), $this->get_year_link( $year ) ); 35 | // phpcs:enable 36 | 37 | if ( is_month() ) { 38 | $title = preg_replace( '|^[^:]*:|', '', get_the_archive_title() ); 39 | $this->set( trim( $title ), $this->get_month_link( $year, $month ) ); 40 | return; 41 | } 42 | 43 | // phpcs:disable WordPress.WP.I18n.MissingArgDomain 44 | $this->set( get_the_date( _x( 'F', 'monthly archives date format' ) ), $this->get_month_link( $year, $month ) ); 45 | // phpcs:enable 46 | 47 | if ( is_day() ) { 48 | $this->set( get_the_date(), $this->get_day_link( $year, $month, $day ) ); 49 | } 50 | } 51 | 52 | /** 53 | * Return year archive url. 54 | * 55 | * @param int $year Year. 56 | */ 57 | protected function get_year_link( $year ) { 58 | $post_type = $this->get_post_type(); 59 | $url = get_year_link( $year ); 60 | $url = ( 'post' !== $post_type ) ? add_query_arg( 'post_type', $post_type, $url ) : $url; 61 | return $url; 62 | } 63 | 64 | /** 65 | * Return month archive url. 66 | * 67 | * @param int $year Year. 68 | * @param int $month Month. 69 | */ 70 | protected function get_month_link( $year, $month ) { 71 | $post_type = $this->get_post_type(); 72 | $url = get_month_link( $year, $month ); 73 | $url = ( 'post' !== $post_type ) ? add_query_arg( 'post_type', $post_type, $url ) : $url; 74 | return $url; 75 | } 76 | 77 | /** 78 | * Return day archive url. 79 | * 80 | * @param int $year Year. 81 | * @param int $month Month. 82 | * @param int $day Day. 83 | */ 84 | protected function get_day_link( $year, $month, $day ) { 85 | $post_type = $this->get_post_type(); 86 | $url = get_day_link( $year, $month, $day ); 87 | $url = ( 'post' !== $post_type ) ? add_query_arg( 'post_type', $post_type, $url ) : $url; 88 | return $url; 89 | } 90 | } 91 | -------------------------------------------------------------------------------- /src/Controller/Front_Page.php: -------------------------------------------------------------------------------- 1 | get_home_label(); 24 | $this->set( $home_label, home_url( '/' ) ); 25 | } 26 | 27 | /** 28 | * Return front page label. 29 | * 30 | * @return string 31 | */ 32 | protected function get_home_label() { 33 | $page_on_front = get_option( 'page_on_front' ); 34 | $home_label = __( 'Home', 'inc2734-wp-breadcrumbs' ); 35 | if ( $page_on_front ) { 36 | $home_label = get_the_title( $page_on_front ); 37 | } 38 | return $home_label; 39 | } 40 | } 41 | -------------------------------------------------------------------------------- /src/Controller/Home.php: -------------------------------------------------------------------------------- 1 | set( $title, get_permalink( $page_for_posts ) ); 29 | } 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /src/Controller/Not_Found.php: -------------------------------------------------------------------------------- 1 | set( __( 'Page not found', 'inc2734-wp-breadcrumbs' ) ); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /src/Controller/Page.php: -------------------------------------------------------------------------------- 1 | set_ancestors( get_the_ID(), 'page' ); 24 | $this->set( get_the_title(), get_permalink() ); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /src/Controller/Post_Type_Archive.php: -------------------------------------------------------------------------------- 1 | get_post_type(); 24 | if ( ! $post_type || 'post' === $post_type ) { 25 | return; 26 | } 27 | 28 | $post_type_object = get_post_type_object( $post_type ); 29 | if ( ! $post_type_object->has_archive ) { 30 | return; 31 | } 32 | 33 | $this->set( $post_type_object->label, get_post_type_archive_link( $post_type ) ); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/Controller/Search.php: -------------------------------------------------------------------------------- 1 | set( $title ); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /src/Controller/Single.php: -------------------------------------------------------------------------------- 1 | get_post_type(); 24 | $post_type_object = get_post_type_object( $post_type ); 25 | 26 | if ( $post_type ) { 27 | $this->set_terms( $post_type_object ); 28 | } 29 | 30 | if ( $post_type_object->hierarchical ) { 31 | $this->set_ancestors( get_the_ID(), $post_type ); 32 | } 33 | 34 | $this->set( get_the_title(), get_permalink() ); 35 | } 36 | 37 | /** 38 | * Sets Breadcrumbs items of terms. 39 | * 40 | * @param object $post_type_object The post type object. 41 | * @return void 42 | */ 43 | protected function set_terms( $post_type_object ) { 44 | $taxonomies = get_object_taxonomies( $post_type_object->name ); 45 | if ( ! $taxonomies ) { 46 | return; 47 | } 48 | 49 | $main_taxonomy = null; 50 | $main_term = null; 51 | 52 | foreach ( $taxonomies as $taxonomy ) { 53 | $terms = get_the_terms( get_the_ID(), $taxonomy ); 54 | if ( ! $terms ) { 55 | continue; 56 | } 57 | 58 | $main_taxonomy = $taxonomy; 59 | break; 60 | } 61 | 62 | $main_taxonomy = apply_filters( 'inc2734_wp_breadcrumbs_main_taxonomy', $main_taxonomy, $taxonomies, $post_type_object ); 63 | $terms = get_the_terms( get_the_ID(), $main_taxonomy ); 64 | if ( ! $terms ) { 65 | return; 66 | } 67 | 68 | $main_term = apply_filters( 'inc2734_wp_breadcrumbs_main_term', $terms[0], $terms, $main_taxonomy, get_the_ID() ); 69 | 70 | $this->set_ancestors( $main_term->term_id, $taxonomy ); 71 | $this->set( $main_term->name, get_term_link( $main_term ) ); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/Controller/Taxonomy.php: -------------------------------------------------------------------------------- 1 | taxonomy ); 26 | 27 | if ( ! empty( $taxonomy->name ) ) { 28 | if ( is_taxonomy_hierarchical( $taxonomy->name ) && $term->parent ) { 29 | $this->set_ancestors( $term->term_id, $taxonomy->name ); 30 | } 31 | } 32 | 33 | $this->set( $term->name, get_term_link( $term ) ); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /src/languages/generic.pot: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2021 {package-name} 2 | # This file is distributed under the same license as the {package-name} package. 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: \n" 6 | "Report-Msgid-Bugs-To: https://make.wordpress.org/polyglots/\n" 7 | "POT-Creation-Date: 2021-11-16 00:51:13+00:00\n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "PO-Revision-Date: 2021-MO-DA HO:MI+ZONE\n" 12 | "Last-Translator: FULL NAME \n" 13 | "Language-Team: LANGUAGE \n" 14 | 15 | #: Controller/Date.php:34 16 | msgctxt "yearly archives date format" 17 | msgid "Y" 18 | msgstr "" 19 | 20 | #: Controller/Date.php:44 21 | msgctxt "monthly archives date format" 22 | msgid "F" 23 | msgstr "" 24 | 25 | #: Controller/Front_Page.php:34 26 | msgid "Home" 27 | msgstr "" 28 | 29 | #: Controller/Not_Found.php:23 30 | msgid "Page not found" 31 | msgstr "" 32 | 33 | #. translators: %1$s: Search query 34 | 35 | #: Controller/Search.php:26 36 | msgid "Search results of \"%1$s\"" 37 | msgstr "" 38 | 39 | #: Controller/Search.php:29 40 | msgid "Search results" 41 | msgstr "" -------------------------------------------------------------------------------- /src/languages/ja.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inc2734/wp-breadcrumbs/f1f3ee6dbb2b27092ba57830d75d06026411ac42/src/languages/ja.mo -------------------------------------------------------------------------------- /src/languages/ja.po: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2017 {package-name} 2 | # This file is distributed under the same license as the {package-name} package. 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: inc2734-wp-breadcrumbs\n" 6 | "Report-Msgid-Bugs-To: https://make.wordpress.org/polyglots/\n" 7 | "POT-Creation-Date: 2021-11-16 00:51:13+00:00\n" 8 | "PO-Revision-Date: 2021-11-16 09:52+0900\n" 9 | "Last-Translator: inc2734 \n" 10 | "Language-Team: Takashi Kitajima \n" 11 | "Language: ja_JP\n" 12 | "MIME-Version: 1.0\n" 13 | "Content-Type: text/plain; charset=UTF-8\n" 14 | "Content-Transfer-Encoding: 8bit\n" 15 | "X-Generator: Poedit 3.0\n" 16 | "Plural-Forms: nplurals=1; plural=0;\n" 17 | "X-Poedit-Basepath: ..\n" 18 | "X-Poedit-SearchPath-0: .\n" 19 | 20 | #: Controller/Date.php:34 21 | msgctxt "yearly archives date format" 22 | msgid "Y" 23 | msgstr "Y" 24 | 25 | #: Controller/Date.php:44 26 | msgctxt "monthly archives date format" 27 | msgid "F" 28 | msgstr "F" 29 | 30 | #: Controller/Front_Page.php:34 31 | msgid "Home" 32 | msgstr "ホーム" 33 | 34 | #: Controller/Not_Found.php:23 35 | msgid "Page not found" 36 | msgstr "ページが見つかりませんでした" 37 | 38 | #. translators: %1$s: Search query 39 | #: Controller/Search.php:26 40 | msgid "Search results of \"%1$s\"" 41 | msgstr "「%1$s」の検索結果" 42 | 43 | #: Controller/Search.php:29 44 | msgid "Search results" 45 | msgstr "検索結果" 46 | -------------------------------------------------------------------------------- /src/languages/vi.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/inc2734/wp-breadcrumbs/f1f3ee6dbb2b27092ba57830d75d06026411ac42/src/languages/vi.mo -------------------------------------------------------------------------------- /src/languages/vi.po: -------------------------------------------------------------------------------- 1 | # Copyright (C) 2017 {package-name} 2 | # This file is distributed under the same license as the {package-name} package. 3 | msgid "" 4 | msgstr "" 5 | "Project-Id-Version: \n" 6 | "Report-Msgid-Bugs-To: https://make.wordpress.org/polyglots/\n" 7 | "POT-Creation-Date: 2017-07-21 00:47:50+00:00\n" 8 | "MIME-Version: 1.0\n" 9 | "Content-Type: text/plain; charset=UTF-8\n" 10 | "Content-Transfer-Encoding: 8bit\n" 11 | "PO-Revision-Date: 2019-05-19 08:39+0900\n" 12 | "Language-Team: \n" 13 | "X-Generator: Poedit 2.0.4\n" 14 | "Last-Translator: inc2734 \n" 15 | "Plural-Forms: nplurals=1; plural=0;\n" 16 | "Language: vi\n" 17 | 18 | #: app/controller/front-page.php:26 19 | msgid "Home" 20 | msgstr "Trang chủ" 21 | 22 | #: app/controller/not-found.php:10 23 | msgid "Page not found" 24 | msgstr "Không tìm thấy trang này" 25 | 26 | #: app/controller/search.php:12 27 | msgid "Search results of \"%1$s\"" 28 | msgstr "Kết quả tìm kiếm của “%1$s”" 29 | --------------------------------------------------------------------------------