From 55008fbe4e03cecac4968dcecfefce9dadd9c5fd Mon Sep 17 00:00:00 2001 From: CGastrell Date: Fri, 20 Oct 2023 13:26:30 +0000 Subject: [PATCH] MyJetpack: Add jetpack-plans dependency (#33706) * add jetpack-plans dependency * changelog * fix versions on all proyects after adding new dependency to my-jetpack Committed via a GitHub action: https://github.com/Automattic/jetpack/actions/runs/6588087043 --- composer.json | 2 +- .../jetpack-my-jetpack/CHANGELOG.md | 8 + .../jetpack-my-jetpack/composer.json | 5 +- .../src/class-initializer.php | 2 +- .../automattic/jetpack-search/composer.json | 2 +- jetpack_vendor/i18n-map.php | 2 +- vendor/automattic/jetpack-plans/CHANGELOG.md | 124 ++++++ vendor/automattic/jetpack-plans/LICENSE.txt | 357 ++++++++++++++++ vendor/automattic/jetpack-plans/SECURITY.md | 47 +++ vendor/automattic/jetpack-plans/composer.json | 52 +++ .../jetpack-plans/src/class-current-plan.php | 381 ++++++++++++++++++ .../jetpack-plans/src/class-plans.php | 80 ++++ vendor/composer/autoload_classmap.php | 2 + vendor/composer/autoload_static.php | 2 + vendor/composer/installed.json | 124 ++++-- vendor/composer/installed.php | 61 +-- vendor/composer/jetpack_autoload_classmap.php | 60 +-- 17 files changed, 1225 insertions(+), 86 deletions(-) create mode 100644 vendor/automattic/jetpack-plans/CHANGELOG.md create mode 100644 vendor/automattic/jetpack-plans/LICENSE.txt create mode 100644 vendor/automattic/jetpack-plans/SECURITY.md create mode 100644 vendor/automattic/jetpack-plans/composer.json create mode 100644 vendor/automattic/jetpack-plans/src/class-current-plan.php create mode 100644 vendor/automattic/jetpack-plans/src/class-plans.php diff --git a/composer.json b/composer.json index fc85ee657..22eca25e7 100644 --- a/composer.json +++ b/composer.json @@ -9,7 +9,7 @@ "automattic/jetpack-config": "^1.15.4", "automattic/jetpack-connection": "^1.58.2", "automattic/jetpack-identity-crisis": "^0.11.1", - "automattic/jetpack-my-jetpack": "^3.9.1", + "automattic/jetpack-my-jetpack": "^3.10.0-alpha", "automattic/jetpack-search": "^0.39.3-alpha", "automattic/jetpack-stats": "^0.6.6-alpha", "automattic/jetpack-status": "^1.18.5", diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md index 26d9cdfc9..4ff3e2e7f 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/CHANGELOG.md @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.10.0-alpha] - unreleased + +This is an alpha version! The changes listed here are not final. + +### Added +- Add jetpack-plans dependency. It will be use to restore the reverted change on #33410 + ## [3.9.1] - 2023-10-19 ### Changed - Make has_required_plan return true (as it was before #33410) as a way to revert the change. [#33697] @@ -1069,6 +1076,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Created package +[3.10.0-alpha]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.9.1...3.10.0-alpha [3.9.1]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.9.0...3.9.1 [3.9.0]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.8.2...3.9.0 [3.8.2]: https://github.com/Automattic/jetpack-my-jetpack/compare/3.8.1...3.8.2 diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json b/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json index 73a97f01d..295374c46 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/composer.json @@ -11,7 +11,8 @@ "automattic/jetpack-licensing": "^1.8.4", "automattic/jetpack-plugins-installer": "^0.2.5", "automattic/jetpack-redirect": "^1.7.27", - "automattic/jetpack-constants": "^1.6.23" + "automattic/jetpack-constants": "^1.6.23", + "automattic/jetpack-plans": "^0.3.4" }, "require-dev": { "yoast/phpunit-polyfills": "1.1.0", @@ -65,7 +66,7 @@ "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" }, "branch-alias": { - "dev-trunk": "3.9.x-dev" + "dev-trunk": "3.10.x-dev" }, "version-constants": { "::PACKAGE_VERSION": "src/class-initializer.php" diff --git a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php index 34fb3d1aa..7d9552bc8 100644 --- a/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php +++ b/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php @@ -32,7 +32,7 @@ class Initializer { * * @var string */ - const PACKAGE_VERSION = '3.9.1'; + const PACKAGE_VERSION = '3.10.0-alpha'; /** * HTML container ID for the IDC screen on My Jetpack page. diff --git a/jetpack_vendor/automattic/jetpack-search/composer.json b/jetpack_vendor/automattic/jetpack-search/composer.json index 7c0e54189..b4d698d7c 100644 --- a/jetpack_vendor/automattic/jetpack-search/composer.json +++ b/jetpack_vendor/automattic/jetpack-search/composer.json @@ -9,7 +9,7 @@ "automattic/jetpack-constants": "^1.6.23", "automattic/jetpack-status": "^1.18.5", "automattic/jetpack-config": "^1.15.4", - "automattic/jetpack-my-jetpack": "^3.9.1" + "automattic/jetpack-my-jetpack": "^3.10.0-alpha" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", diff --git a/jetpack_vendor/i18n-map.php b/jetpack_vendor/i18n-map.php index 62c980974..6b6526682 100644 --- a/jetpack_vendor/i18n-map.php +++ b/jetpack_vendor/i18n-map.php @@ -38,7 +38,7 @@ ), 'jetpack-my-jetpack' => array( 'path' => 'jetpack_vendor/automattic/jetpack-my-jetpack', - 'ver' => '3.9.1', + 'ver' => '3.10.0-alpha1697806960', ), 'jetpack-password-checker' => array( 'path' => 'jetpack_vendor/automattic/jetpack-password-checker', diff --git a/vendor/automattic/jetpack-plans/CHANGELOG.md b/vendor/automattic/jetpack-plans/CHANGELOG.md new file mode 100644 index 000000000..3275471da --- /dev/null +++ b/vendor/automattic/jetpack-plans/CHANGELOG.md @@ -0,0 +1,124 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [0.3.4] - 2023-08-23 +### Changed +- Updated package dependencies. [#32605] + +## [0.3.3] - 2023-06-19 +### Added +- Add the Advanced SEO feature to the list of free features. [#31213] + +## [0.3.2] - 2023-06-12 +### Changed +- Remove Jetpack-the-plugin dependencies from Current Plan class. [#31207] + +## [0.3.1] - 2023-06-05 +### Fixed +- Revert gating removal for simple payments [#31067] + +## [0.3.0] - 2023-05-11 +### Changed +- Make Earn products free for all Jetpack plans [#30432] + +## [0.2.12] - 2023-05-08 +### Changed +- Make Premium Content accessible on Free plans. [#30398] + +## [0.2.11] - 2023-04-10 +### Added +- Add Jetpack Autoloader package suggestion. [#29988] + +## [0.2.10] - 2023-02-20 +### Changed +- Minor internal updates. + +## [0.2.9] - 2023-01-25 +### Changed +- Minor internal updates. + +## [0.2.8] - 2022-12-02 +### Changed +- Updated package dependencies. [#27688] + +## [0.2.7] - 2022-11-22 +### Changed +- Updated package dependencies. [#27043] + +## [0.2.6] - 2022-11-07 +### Changed +- Updated package dependencies. [#27278] + +## [0.2.5] - 2022-10-25 +### Changed +- Updated package dependencies. [#26705] + +## [0.2.4] - 2022-09-20 +### Changed +- Updated package dependencies. + +## [0.2.3] - 2022-09-08 +### Changed +- Updated package dependencies. + +## [0.2.2] - 2022-08-30 +### Changed +- Updated package dependencies. [#25694] + +## [0.2.1] - 2022-08-23 +### Changed +- Updated package dependencies. [#25628] + +## [0.2.0] - 2022-08-16 +### Added +- Tweaked the supports method of the plans package to refresh the plan data. [#25347] + +## [0.1.3] - 2022-08-03 +### Changed +- Updated package dependencies. [#25300, #25315] + +## [0.1.2] - 2022-07-26 +### Changed +- Add mirror repository information to package info. [#25142] +- Updated package dependencies. [#25158] + +## 0.1.1 - 2022-07-19 +### Changed +- Updated package dependencies. + +## 0.1.0 - 2022-07-06 +### Added +- Add support for WordPress.com Starter plan. [#24496] +- Package created. [#23503] + +### Changed +- Renaming master to trunk. [#24661] +- Updated package dependencies. + +### Deprecated +- Moved the options class into Connection. [#24095] + +[0.3.4]: https://github.com/Automattic/jetpack-plans/compare/v0.3.3...v0.3.4 +[0.3.3]: https://github.com/Automattic/jetpack-plans/compare/v0.3.2...v0.3.3 +[0.3.2]: https://github.com/Automattic/jetpack-plans/compare/v0.3.1...v0.3.2 +[0.3.1]: https://github.com/Automattic/jetpack-plans/compare/v0.3.0...v0.3.1 +[0.3.0]: https://github.com/Automattic/jetpack-plans/compare/v0.2.12...v0.3.0 +[0.2.12]: https://github.com/Automattic/jetpack-plans/compare/v0.2.11...v0.2.12 +[0.2.11]: https://github.com/Automattic/jetpack-plans/compare/v0.2.10...v0.2.11 +[0.2.10]: https://github.com/Automattic/jetpack-plans/compare/v0.2.9...v0.2.10 +[0.2.9]: https://github.com/Automattic/jetpack-plans/compare/v0.2.8...v0.2.9 +[0.2.8]: https://github.com/Automattic/jetpack-plans/compare/v0.2.7...v0.2.8 +[0.2.7]: https://github.com/Automattic/jetpack-plans/compare/v0.2.6...v0.2.7 +[0.2.6]: https://github.com/Automattic/jetpack-plans/compare/v0.2.5...v0.2.6 +[0.2.5]: https://github.com/Automattic/jetpack-plans/compare/v0.2.4...v0.2.5 +[0.2.4]: https://github.com/Automattic/jetpack-plans/compare/v0.2.3...v0.2.4 +[0.2.3]: https://github.com/Automattic/jetpack-plans/compare/v0.2.2...v0.2.3 +[0.2.2]: https://github.com/Automattic/jetpack-plans/compare/v0.2.1...v0.2.2 +[0.2.1]: https://github.com/Automattic/jetpack-plans/compare/v0.2.0...v0.2.1 +[0.2.0]: https://github.com/Automattic/jetpack-plans/compare/v0.1.3...v0.2.0 +[0.1.3]: https://github.com/Automattic/jetpack-plans/compare/v0.1.2...v0.1.3 +[0.1.2]: https://github.com/Automattic/jetpack-plans/compare/v0.1.1...v0.1.2 diff --git a/vendor/automattic/jetpack-plans/LICENSE.txt b/vendor/automattic/jetpack-plans/LICENSE.txt new file mode 100644 index 000000000..e82774c1b --- /dev/null +++ b/vendor/automattic/jetpack-plans/LICENSE.txt @@ -0,0 +1,357 @@ +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + + +=================================== + + +GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + +Copyright (C) 1989, 1991 Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +Everyone is permitted to copy and distribute verbatim copies +of this license document, but changing it is not allowed. + + Preamble + +The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + +When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + +To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + +For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + +We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + +Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + +Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + +The precise terms and conditions for copying, distribution and +modification follow. + +GNU GENERAL PUBLIC LICENSE +TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + +0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + +1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + +2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + +a) You must cause the modified files to carry prominent notices +stating that you changed the files and the date of any change. + +b) You must cause any work that you distribute or publish, that in +whole or in part contains or is derived from the Program or any +part thereof, to be licensed as a whole at no charge to all third +parties under the terms of this License. + +c) If the modified program normally reads commands interactively +when run, you must cause it, when started running for such +interactive use in the most ordinary way, to print or display an +announcement including an appropriate copyright notice and a +notice that there is no warranty (or else, saying that you provide +a warranty) and that users may redistribute the program under +these conditions, and telling the user how to view a copy of this +License. (Exception: if the Program itself is interactive but +does not normally print such an announcement, your work based on +the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + +3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + +a) Accompany it with the complete corresponding machine-readable +source code, which must be distributed under the terms of Sections +1 and 2 above on a medium customarily used for software interchange; or, + +b) Accompany it with a written offer, valid for at least three +years, to give any third party, for a charge no more than your +cost of physically performing source distribution, a complete +machine-readable copy of the corresponding source code, to be +distributed under the terms of Sections 1 and 2 above on a medium +customarily used for software interchange; or, + +c) Accompany it with the information you received as to the offer +to distribute corresponding source code. (This alternative is +allowed only for noncommercial distribution and only if you +received the program in object code or executable form with such +an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + +4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + +5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + +6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + +7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + +8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + +9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + +10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + +11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + +12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + +How to Apply These Terms to Your New Programs + +If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + +To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + +Copyright (C) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along +with this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + +Gnomovision version 69, Copyright (C) year name of author +Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. +This is free software, and you are welcome to redistribute it +under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + +Yoyodyne, Inc., hereby disclaims all copyright interest in the program +`Gnomovision' (which makes passes at compilers) written by James Hacker. + +, 1 April 1989 +Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. diff --git a/vendor/automattic/jetpack-plans/SECURITY.md b/vendor/automattic/jetpack-plans/SECURITY.md new file mode 100644 index 000000000..98f48dd1d --- /dev/null +++ b/vendor/automattic/jetpack-plans/SECURITY.md @@ -0,0 +1,47 @@ +# Security Policy + +Full details of the Automattic Security Policy can be found on [automattic.com](https://automattic.com/security/). + +## Supported Versions + +Generally, only the latest version of Jetpack and its associated plugins have continued support. If a critical vulnerability is found in the current version of a plugin, we may opt to backport any patches to previous versions. + +## Reporting a Vulnerability + +Our HackerOne program covers the below plugin software, as well as a variety of related projects and infrastructure: + +* [Jetpack](https://jetpack.com/) +* Jetpack Backup +* Jetpack Boost +* Jetpack CRM +* Jetpack Protect +* Jetpack Search +* Jetpack Social +* Jetpack VideoPress + +**For responsible disclosure of security issues and to be eligible for our bug bounty program, please submit your report via the [HackerOne](https://hackerone.com/automattic) portal.** + +Our most critical targets are: + +* Jetpack and the Jetpack composer packages (all within this repo) +* Jetpack.com -- the primary marketing site. +* cloud.jetpack.com -- a management site. +* wordpress.com -- the shared management site for both Jetpack and WordPress.com sites. + +For more targets, see the `In Scope` section on [HackerOne](https://hackerone.com/automattic). + +_Please note that the **WordPress software is a separate entity** from Automattic. Please report vulnerabilities for WordPress through [the WordPress Foundation's HackerOne page](https://hackerone.com/wordpress)._ + +## Guidelines + +We're committed to working with security researchers to resolve the vulnerabilities they discover. You can help us by following these guidelines: + +* Follow [HackerOne's disclosure guidelines](https://www.hackerone.com/disclosure-guidelines). +* Pen-testing Production: + * Please **setup a local environment** instead whenever possible. Most of our code is open source (see above). + * If that's not possible, **limit any data access/modification** to the bare minimum necessary to reproduce a PoC. + * **_Don't_ automate form submissions!** That's very annoying for us, because it adds extra work for the volunteers who manage those systems, and reduces the signal/noise ratio in our communication channels. + * To be eligible for a bounty, all of these guidelines must be followed. +* Be Patient - Give us a reasonable time to correct the issue before you disclose the vulnerability. + +We also expect you to comply with all applicable laws. You're responsible to pay any taxes associated with your bounties. diff --git a/vendor/automattic/jetpack-plans/composer.json b/vendor/automattic/jetpack-plans/composer.json new file mode 100644 index 000000000..4bdedbfc3 --- /dev/null +++ b/vendor/automattic/jetpack-plans/composer.json @@ -0,0 +1,52 @@ +{ + "name": "automattic/jetpack-plans", + "description": "Fetch information about Jetpack Plans from wpcom", + "type": "library", + "license": "GPL-2.0-or-later", + "require": { + "automattic/jetpack-connection": "^1.58.2" + }, + "require-dev": { + "yoast/phpunit-polyfills": "1.1.0", + "automattic/jetpack-changelogger": "^3.3.11", + "automattic/jetpack-status": "^1.18.5", + "automattic/wordbless": "@dev" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": "WorDBless\\Composer\\InstallDropin::copy", + "post-update-cmd": "WorDBless\\Composer\\InstallDropin::copy", + "build-production": "echo 'Add your build step to composer.json, please!'", + "build-development": "echo 'Add your build step to composer.json, please!'" + }, + "minimum-stability": "dev", + "prefer-stable": true, + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-plans", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-plans/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.3.x-dev" + } + }, + "config": { + "allow-plugins": { + "roots/wordpress-core-installer": true + } + } +} diff --git a/vendor/automattic/jetpack-plans/src/class-current-plan.php b/vendor/automattic/jetpack-plans/src/class-current-plan.php new file mode 100644 index 000000000..c57fed4e8 --- /dev/null +++ b/vendor/automattic/jetpack-plans/src/class-current-plan.php @@ -0,0 +1,381 @@ + array( + 'plans' => array( + 'jetpack_free', + ), + 'supports' => array( + 'advanced-seo', + 'opentable', + 'calendly', + 'send-a-message', + 'whatsapp-button', + 'social-previews', + 'videopress', + 'videopress/video', + 'v6-video-frame-poster', + + 'core/video', + 'core/cover', + 'core/audio', + ), + ), + 'personal' => array( + 'plans' => array( + 'jetpack_personal', + 'jetpack_personal_monthly', + 'personal-bundle', + 'personal-bundle-monthly', + 'personal-bundle-2y', + 'personal-bundle-3y', + 'starter-plan', + ), + 'supports' => array( + 'akismet', + 'payments', + 'videopress', + ), + ), + 'premium' => array( + 'plans' => array( + 'jetpack_premium', + 'jetpack_premium_monthly', + 'value_bundle', + 'value_bundle-monthly', + 'value_bundle-2y', + 'value_bundle-3y', + ), + 'supports' => array( + 'simple-payments', + 'vaultpress', + 'videopress', + 'republicize', + ), + ), + 'security' => array( + 'plans' => array( + 'jetpack_security_daily', + 'jetpack_security_daily_monthly', + 'jetpack_security_realtime', + 'jetpack_security_realtime_monthly', + 'jetpack_security_t1_yearly', + 'jetpack_security_t1_monthly', + 'jetpack_security_t2_yearly', + 'jetpack_security_t2_monthly', + ), + 'supports' => array(), + ), + 'business' => array( + 'plans' => array( + 'jetpack_business', + 'jetpack_business_monthly', + 'business-bundle', + 'business-bundle-monthly', + 'business-bundle-2y', + 'business-bundle-3y', + 'ecommerce-bundle', + 'ecommerce-bundle-monthly', + 'ecommerce-bundle-2y', + 'ecommerce-bundle-3y', + 'pro-plan', + ), + 'supports' => array(), + ), + + 'complete' => array( + 'plans' => array( + 'jetpack_complete', + 'jetpack_complete_monthly', + 'vip', + ), + 'supports' => array(), + ), + ); + + /** + * Given a response to the `/sites/%d` endpoint, will parse the response and attempt to set the + * site's plan and products from the response. + * + * @param array $response The response from `/sites/%d`. + * @return bool Was the plan successfully updated? + */ + public static function update_from_sites_response( $response ) { + // Bail if there was an error or malformed response. + if ( is_wp_error( $response ) || ! is_array( $response ) || ! isset( $response['body'] ) ) { + return false; + } + + $body = wp_remote_retrieve_body( $response ); + if ( is_wp_error( $body ) ) { + return false; + } + + // Decode the results. + $results = json_decode( $body, true ); + + if ( ! is_array( $results ) ) { + return false; + } + + if ( isset( $results['products'] ) ) { + // Store the site's products in an option and return true if updated. + self::store_data_in_option( self::SITE_PRODUCTS_OPTION, $results['products'] ); + } + + if ( ! isset( $results['plan'] ) ) { + return false; + } + + $current_plan = get_option( self::PLAN_OPTION, array() ); + + if ( ! empty( $current_plan ) && $current_plan === $results['plan'] ) { + // Bail if the plans array hasn't changed. + return false; + } + + // Store the new plan in an option and return true if updated. + $result = self::store_data_in_option( self::PLAN_OPTION, $results['plan'] ); + + if ( $result ) { + // Reset the cache since we've just updated the plan. + self::$active_plan_cache = null; + } + + return $result; + } + + /** + * Store data in an option. + * + * @param string $option The name of the option that will store the data. + * @param array $data Data to be store in an option. + * @return bool Were the subscriptions successfully updated? + */ + private static function store_data_in_option( $option, $data ) { + $result = update_option( $option, $data, true ); + + // If something goes wrong with the update, so delete the current option and then update it. + if ( ! $result ) { + delete_option( $option ); + $result = update_option( $option, $data, true ); + } + + return $result; + } + + /** + * Make an API call to WordPress.com for plan status + * + * @uses Jetpack_Options::get_option() + * @uses Client::wpcom_json_api_request_as_blog() + * @uses update_option() + * + * @access public + * @static + * + * @return bool True if plan is updated, false if no update + */ + public static function refresh_from_wpcom() { + $site_id = Manager::get_site_id(); + if ( is_wp_error( $site_id ) ) { + return false; + } + + // Make the API request. + + $response = Client::wpcom_json_api_request_as_blog( + sprintf( '/sites/%d?force=wpcom', $site_id ), + '1.1' + ); + + return self::update_from_sites_response( $response ); + } + + /** + * Get the plan that this Jetpack site is currently using. + * + * @uses get_option() + * + * @access public + * @static + * + * @return array Active Jetpack plan details + */ + public static function get() { + // this can be expensive to compute so we cache for the duration of a request. + if ( is_array( self::$active_plan_cache ) && ! empty( self::$active_plan_cache ) ) { + return self::$active_plan_cache; + } + + $plan = get_option( self::PLAN_OPTION, array() ); + + // Set the default options. + $plan = wp_parse_args( + $plan, + array( + 'product_slug' => 'jetpack_free', + 'class' => 'free', + 'features' => array( + 'active' => array(), + ), + ) + ); + + list( $plan['class'], $supports ) = self::get_class_and_features( $plan['product_slug'] ); + + $modules = new Modules(); + foreach ( $modules->get_available() as $module_slug ) { + $module = $modules->get( $module_slug ); + if ( ! isset( $module ) || ! is_array( $module ) ) { + continue; + } + if ( in_array( 'free', $module['plan_classes'], true ) || in_array( $plan['class'], $module['plan_classes'], true ) ) { + $supports[] = $module_slug; + } + } + + $plan['supports'] = $supports; + + self::$active_plan_cache = $plan; + + return $plan; + } + + /** + * Get the site's products. + * + * @uses get_option() + * + * @access public + * @static + * + * @return array Active Jetpack products + */ + public static function get_products() { + return get_option( self::SITE_PRODUCTS_OPTION, array() ); + } + + /** + * Get the class of plan and a list of features it supports + * + * @param string $plan_slug The plan that we're interested in. + * @return array Two item array, the plan class and the an array of features. + */ + private static function get_class_and_features( $plan_slug ) { + $features = array(); + foreach ( self::PLAN_DATA as $class => $details ) { + $features = array_merge( $features, $details['supports'] ); + if ( in_array( $plan_slug, $details['plans'], true ) ) { + return array( $class, $features ); + } + } + return array( 'free', self::PLAN_DATA['free']['supports'] ); + } + + /** + * Gets the minimum plan slug that supports the given feature + * + * @param string $feature The name of the feature. + * @return string|bool The slug for the minimum plan that supports. + * the feature or false if not found + */ + public static function get_minimum_plan_for_feature( $feature ) { + foreach ( self::PLAN_DATA as $details ) { + if ( in_array( $feature, $details['supports'], true ) ) { + return $details['plans'][0]; + } + } + return false; + } + + /** + * Determine whether the active plan supports a particular feature + * + * @uses self::get() + * + * @access public + * @static + * + * @param string $feature The module or feature to check. + * @param bool $refresh_from_wpcom Refresh the local plan cache from wpcom. + * + * @return bool True if plan supports feature, false if not + */ + public static function supports( $feature, $refresh_from_wpcom = false ) { + if ( $refresh_from_wpcom ) { + self::refresh_from_wpcom(); + } + + // Hijack the feature eligibility check on WordPress.com sites since they are gated differently. + $should_wpcom_gate_feature = ( + function_exists( 'wpcom_site_has_feature' ) && + function_exists( 'wpcom_feature_exists' ) && + wpcom_feature_exists( $feature ) + ); + if ( $should_wpcom_gate_feature ) { + return wpcom_site_has_feature( $feature ); + } + + // Search product bypasses plan feature check. + if ( 'search' === $feature && (bool) get_option( 'has_jetpack_search_product' ) ) { + return true; + } + + // As of Q3 2021 - a videopress free tier is available to all plans. + if ( 'videopress' === $feature ) { + return true; + } + + // As of 05 2023 - all plans support Earn features (minus 'simple-payments') + if ( in_array( $feature, array( 'donations', 'recurring-payments', 'premium-content/container' ), true ) ) { + return true; + } + + $plan = self::get(); + + if ( + in_array( $feature, $plan['supports'], true ) + || in_array( $feature, $plan['features']['active'], true ) + ) { + return true; + } + + return false; + } +} diff --git a/vendor/automattic/jetpack-plans/src/class-plans.php b/vendor/automattic/jetpack-plans/src/class-plans.php new file mode 100644 index 000000000..a62a95a17 --- /dev/null +++ b/vendor/automattic/jetpack-plans/src/class-plans.php @@ -0,0 +1,80 @@ + 'GET', + 'headers' => array( + 'X-Forwarded-For' => ( new Automattic\Jetpack\Status\Visitor() )->get_ip( true ), + ), + ), + null, + 'rest' + ); + + $body = wp_remote_retrieve_body( $request ); + if ( 200 === wp_remote_retrieve_response_code( $request ) ) { + return json_decode( $body ); + } else { + return $body; + } + } + + /** + * Get plan information for a plan given its slug + * + * @since-jetpack 7.7.0 + * + * @param string $plan_slug Plan slug. + * + * @return object The plan object + */ + public static function get_plan( $plan_slug ) { + $plans = self::get_plans(); + if ( ! is_array( $plans ) ) { + return; + } + + foreach ( $plans as $plan ) { + if ( $plan_slug === $plan->product_slug ) { + return $plan; + } + } + } +} diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 08cc55f0a..6f226697e 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -45,6 +45,7 @@ 'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php', 'Automattic\\Jetpack\\Constants' => $baseDir . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php', 'Automattic\\Jetpack\\CookieState' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php', + 'Automattic\\Jetpack\\Current_Plan' => $vendorDir . '/automattic/jetpack-plans/src/class-current-plan.php', 'Automattic\\Jetpack\\Device_Detection' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php', 'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php', 'Automattic\\Jetpack\\Errors' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php', @@ -93,6 +94,7 @@ 'Automattic\\Jetpack\\Partner_Coupon' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php', 'Automattic\\Jetpack\\Password_Checker' => $baseDir . '/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php', 'Automattic\\Jetpack\\Paths' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php', + 'Automattic\\Jetpack\\Plans' => $vendorDir . '/automattic/jetpack-plans/src/class-plans.php', 'Automattic\\Jetpack\\Plugins_Installer' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php', 'Automattic\\Jetpack\\Redirect' => $baseDir . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php', 'Automattic\\Jetpack\\Roles' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php', diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index f852df309..532c81741 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -64,6 +64,7 @@ class ComposerStaticInitb462338fb66be23595d68a93345c9e3d_jetpack_searchâ“¥1_5_0_ 'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php', 'Automattic\\Jetpack\\Constants' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php', 'Automattic\\Jetpack\\CookieState' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php', + 'Automattic\\Jetpack\\Current_Plan' => __DIR__ . '/..' . '/automattic/jetpack-plans/src/class-current-plan.php', 'Automattic\\Jetpack\\Device_Detection' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php', 'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php', 'Automattic\\Jetpack\\Errors' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php', @@ -112,6 +113,7 @@ class ComposerStaticInitb462338fb66be23595d68a93345c9e3d_jetpack_searchâ“¥1_5_0_ 'Automattic\\Jetpack\\Partner_Coupon' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php', 'Automattic\\Jetpack\\Password_Checker' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php', 'Automattic\\Jetpack\\Paths' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php', + 'Automattic\\Jetpack\\Plans' => __DIR__ . '/..' . '/automattic/jetpack-plans/src/class-plans.php', 'Automattic\\Jetpack\\Plugins_Installer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php', 'Automattic\\Jetpack\\Redirect' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php', 'Automattic\\Jetpack\\Roles' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php', diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index bb86c2405..2fb6c92b8 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -7,7 +7,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-a8c-mc-stats", - "reference": "7317f8ca2e0b8cc14902945c1fc46038f45c1117" + "reference": "1837a947acadad94d0aa3db67e029b1c95aa43de" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -57,7 +57,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-admin-ui", - "reference": "1392cdb528d69690fd999d7e581a76ff2c7ae9eb" + "reference": "d7fb28711bb393b0917caf72df6526f3fcbf14f8" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -119,7 +119,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-assets", - "reference": "47208b7109cc8ba88ca6484a749bba30a211d927" + "reference": "f6eabdffaae5618aabf2d551e536141c0039a938" }, "require": { "automattic/jetpack-constants": "^1.6.23" @@ -187,7 +187,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-autoloader", - "reference": "b427f1e619270c1f9f48f8b57c7ee0e6f195ab22" + "reference": "ee7a5373853427863f0255b2917bf05ff8b7a407" }, "require": { "composer-plugin-api": "^1.1 || ^2.0" @@ -252,7 +252,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-composer-plugin", - "reference": "833ae8ad770868bcc6e1da54c53c9319878edb44" + "reference": "c758b8c0af397b793386987169b9bd207e7df33c" }, "require": { "composer-plugin-api": "^2.1.0" @@ -311,7 +311,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-config", - "reference": "0b7c83de86f08b8a91d6d3797275b378a8391748" + "reference": "588a034ced938981f73be1f5a06f28963395e592" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11" @@ -353,7 +353,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-connection", - "reference": "8a009a3fd3e9d9e7fb31a89c602af545bcdf75f9" + "reference": "3e9db92d01a332c1c7a3a88061c778fc3e553c8f" }, "require": { "automattic/jetpack-a8c-mc-stats": "^1.4.22", @@ -431,7 +431,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-constants", - "reference": "d0d54be4a98af29240931e2992bc90476ce4c90f" + "reference": "88d74a9e8c00fe10f4ba567b0fb93d9fa9c3a688" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -482,7 +482,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-device-detection", - "reference": "b8ad6efab6f62975a48fc657833ecfb8b513d6e4" + "reference": "705aa39519c7f5fd50dedcf0641da532a76b1fb8" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -532,7 +532,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-identity-crisis", - "reference": "5815d95a75eb83657a2248218bc7a9d957d7564a" + "reference": "696175e6c57f024efc4b6221fe8b88a518f59fb4" }, "require": { "automattic/jetpack-assets": "^1.18.13", @@ -610,7 +610,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-ip", - "reference": "58a650816130cc3230776853c98c031735580005" + "reference": "895859d465b8ff78176e48bac0f752ceeed8cfad" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -665,7 +665,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-jitm", - "reference": "2337d78a7ec58daabba218613ac83c472a27d08f" + "reference": "25f0f1f2c2eebeccd4e720af7a1974a724d8aacb" }, "require": { "automattic/jetpack-a8c-mc-stats": "^1.4.22", @@ -740,7 +740,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-licensing", - "reference": "45dd4f4bcce9f992931380dde62b3ed653a6355f" + "reference": "5666a6b3b5932dbdc30fdd865be845e1c86dcb14" }, "require": { "automattic/jetpack-connection": "^1.58.2" @@ -801,7 +801,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-logo", - "reference": "5ced0f81ffde894755ecbd89602e93bd3e399beb" + "reference": "f10b6ad1174a8f9e416d20e366aad4765c8a5416" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -846,12 +846,12 @@ }, { "name": "automattic/jetpack-my-jetpack", - "version": "3.9.1", - "version_normalized": "3.9.1.0", + "version": "3.10.0-alpha.1697806960", + "version_normalized": "3.10.0.0-alpha1697806960", "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-my-jetpack", - "reference": "13c84cd42c75651de1a1006fc63c6590a9dfa84f" + "reference": "0abb26de60bb8fe712c1fffaf70e52bfe479fa7b" }, "require": { "automattic/jetpack-admin-ui": "^0.2.23", @@ -860,6 +860,7 @@ "automattic/jetpack-constants": "^1.6.23", "automattic/jetpack-jitm": "^2.5.1", "automattic/jetpack-licensing": "^1.8.4", + "automattic/jetpack-plans": "^0.3.4", "automattic/jetpack-plugins-installer": "^0.2.5", "automattic/jetpack-redirect": "^1.7.27" }, @@ -881,7 +882,7 @@ "link-template": "https://github.com/Automattic/jetpack-my-jetpack/compare/${old}...${new}" }, "branch-alias": { - "dev-trunk": "3.9.x-dev" + "dev-trunk": "3.10.x-dev" }, "version-constants": { "::PACKAGE_VERSION": "src/class-initializer.php" @@ -941,7 +942,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-partner", - "reference": "8b1a60efbe430697c1980bd75e55e83920169313" + "reference": "a9b3ef82d950848536aa3d100df8baf62f1efcbc" }, "require": { "automattic/jetpack-connection": "^1.58.2", @@ -1003,7 +1004,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-password-checker", - "reference": "5c77dd6a4f6aee278bc162d993966ba5470c2c25" + "reference": "61989fe1056899ef6493a61a2f898d4bfc2e67c5" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -1054,6 +1055,73 @@ }, "install-path": "../../jetpack_vendor/automattic/jetpack-password-checker" }, + { + "name": "automattic/jetpack-plans", + "version": "0.3.4", + "version_normalized": "0.3.4.0", + "dist": { + "type": "path", + "url": "/tmp/jetpack-build/Automattic/jetpack-plans", + "reference": "df5c4bee7852b876b0b72540993bfa2ffa133c75" + }, + "require": { + "automattic/jetpack-connection": "^1.58.2" + }, + "require-dev": { + "automattic/jetpack-changelogger": "^3.3.11", + "automattic/jetpack-status": "^1.18.5", + "automattic/wordbless": "@dev", + "yoast/phpunit-polyfills": "1.1.0" + }, + "suggest": { + "automattic/jetpack-autoloader": "Allow for better interoperability with other plugins that use this package." + }, + "type": "library", + "extra": { + "autotagger": true, + "mirror-repo": "Automattic/jetpack-plans", + "changelogger": { + "link-template": "https://github.com/Automattic/jetpack-plans/compare/v${old}...v${new}" + }, + "branch-alias": { + "dev-trunk": "0.3.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/" + ] + }, + "scripts": { + "phpunit": [ + "./vendor/phpunit/phpunit/phpunit --colors=always" + ], + "test-php": [ + "@composer phpunit" + ], + "post-install-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "post-update-cmd": [ + "WorDBless\\Composer\\InstallDropin::copy" + ], + "build-production": [ + "echo 'Add your build step to composer.json, please!'" + ], + "build-development": [ + "echo 'Add your build step to composer.json, please!'" + ] + }, + "license": [ + "GPL-2.0-or-later" + ], + "description": "Fetch information about Jetpack Plans from wpcom", + "transport-options": { + "relative": false + }, + "install-path": "../automattic/jetpack-plans" + }, { "name": "automattic/jetpack-plugins-installer", "version": "0.2.5", @@ -1061,7 +1129,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-plugins-installer", - "reference": "e88f540bcddfbf55b5225705953123dc9b3451b8" + "reference": "2bce20aead03ab8bdfab06b270e237f0989e01c0" }, "require": { "automattic/jetpack-a8c-mc-stats": "^1.4.22" @@ -1115,7 +1183,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-redirect", - "reference": "29438b5d048724acc16d1145a4f034dca62ce23a" + "reference": "7f91714913c11a3a6b2c7d16d5f58c7ab1db748a" }, "require": { "automattic/jetpack-status": "^1.18.5" @@ -1169,7 +1237,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-roles", - "reference": "3c4fe9b625089f2895c2f4ec22bf08bd7c4f733e" + "reference": "ffde859a0468d95cd75c44ef0dc1d114e1fcc463" }, "require-dev": { "automattic/jetpack-changelogger": "^3.3.11", @@ -1220,14 +1288,14 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-search", - "reference": "b07214417d5d0c837bbbfeb2ba97c17fad931482" + "reference": "403b4aac15970fe8a347534cbd528ed35d8671de" }, "require": { "automattic/jetpack-assets": "^1.18.13", "automattic/jetpack-config": "^1.15.4", "automattic/jetpack-connection": "^1.58.2", "automattic/jetpack-constants": "^1.6.23", - "automattic/jetpack-my-jetpack": "^3.9.1", + "automattic/jetpack-my-jetpack": "^3.10.0-alpha", "automattic/jetpack-status": "^1.18.5" }, "require-dev": { @@ -1306,7 +1374,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-stats", - "reference": "8ca02179f1aab1a68f7356c8315b6b8c3e958e53" + "reference": "9bb6e5f19044db94dbc582022b8622c09b7dfd97" }, "require": { "automattic/jetpack-assets": "^1.18.13", @@ -1370,7 +1438,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-status", - "reference": "559c3bdb168dcfa02de7b613ecf566c1ca67917e" + "reference": "b2374ffe27a69736ad47a516d639c73b68ba5d94" }, "require": { "automattic/jetpack-constants": "^1.6.23" @@ -1425,7 +1493,7 @@ "dist": { "type": "path", "url": "/tmp/jetpack-build/Automattic/jetpack-sync", - "reference": "122a325a54980d718719d075e43364ad33447224" + "reference": "7ac89b6804b1623fd3d6346e88a43eae5155d70a" }, "require": { "automattic/jetpack-connection": "^1.58.2", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 9d6b66347..7218fee07 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -13,7 +13,7 @@ 'automattic/jetpack-a8c-mc-stats' => array( 'pretty_version' => '1.4.22', 'version' => '1.4.22.0', - 'reference' => '7317f8ca2e0b8cc14902945c1fc46038f45c1117', + 'reference' => '1837a947acadad94d0aa3db67e029b1c95aa43de', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-a8c-mc-stats', 'aliases' => array(), @@ -22,7 +22,7 @@ 'automattic/jetpack-admin-ui' => array( 'pretty_version' => '0.2.23', 'version' => '0.2.23.0', - 'reference' => '1392cdb528d69690fd999d7e581a76ff2c7ae9eb', + 'reference' => 'd7fb28711bb393b0917caf72df6526f3fcbf14f8', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-admin-ui', 'aliases' => array(), @@ -31,7 +31,7 @@ 'automattic/jetpack-assets' => array( 'pretty_version' => '1.18.13', 'version' => '1.18.13.0', - 'reference' => '47208b7109cc8ba88ca6484a749bba30a211d927', + 'reference' => 'f6eabdffaae5618aabf2d551e536141c0039a938', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets', 'aliases' => array(), @@ -40,7 +40,7 @@ 'automattic/jetpack-autoloader' => array( 'pretty_version' => '2.12.0', 'version' => '2.12.0.0', - 'reference' => 'b427f1e619270c1f9f48f8b57c7ee0e6f195ab22', + 'reference' => 'ee7a5373853427863f0255b2917bf05ff8b7a407', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-autoloader', 'aliases' => array(), @@ -49,7 +49,7 @@ 'automattic/jetpack-composer-plugin' => array( 'pretty_version' => '1.1.14', 'version' => '1.1.14.0', - 'reference' => '833ae8ad770868bcc6e1da54c53c9319878edb44', + 'reference' => 'c758b8c0af397b793386987169b9bd207e7df33c', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin', 'aliases' => array(), @@ -58,7 +58,7 @@ 'automattic/jetpack-config' => array( 'pretty_version' => '1.15.4', 'version' => '1.15.4.0', - 'reference' => '0b7c83de86f08b8a91d6d3797275b378a8391748', + 'reference' => '588a034ced938981f73be1f5a06f28963395e592', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-config', 'aliases' => array(), @@ -67,7 +67,7 @@ 'automattic/jetpack-connection' => array( 'pretty_version' => '1.58.2', 'version' => '1.58.2.0', - 'reference' => '8a009a3fd3e9d9e7fb31a89c602af545bcdf75f9', + 'reference' => '3e9db92d01a332c1c7a3a88061c778fc3e553c8f', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection', 'aliases' => array(), @@ -76,7 +76,7 @@ 'automattic/jetpack-constants' => array( 'pretty_version' => '1.6.23', 'version' => '1.6.23.0', - 'reference' => 'd0d54be4a98af29240931e2992bc90476ce4c90f', + 'reference' => '88d74a9e8c00fe10f4ba567b0fb93d9fa9c3a688', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants', 'aliases' => array(), @@ -85,7 +85,7 @@ 'automattic/jetpack-device-detection' => array( 'pretty_version' => '1.4.27', 'version' => '1.4.27.0', - 'reference' => 'b8ad6efab6f62975a48fc657833ecfb8b513d6e4', + 'reference' => '705aa39519c7f5fd50dedcf0641da532a76b1fb8', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection', 'aliases' => array(), @@ -94,7 +94,7 @@ 'automattic/jetpack-identity-crisis' => array( 'pretty_version' => '0.11.1', 'version' => '0.11.1.0', - 'reference' => '5815d95a75eb83657a2248218bc7a9d957d7564a', + 'reference' => '696175e6c57f024efc4b6221fe8b88a518f59fb4', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-identity-crisis', 'aliases' => array(), @@ -103,7 +103,7 @@ 'automattic/jetpack-ip' => array( 'pretty_version' => '0.1.6', 'version' => '0.1.6.0', - 'reference' => '58a650816130cc3230776853c98c031735580005', + 'reference' => '895859d465b8ff78176e48bac0f752ceeed8cfad', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-ip', 'aliases' => array(), @@ -112,7 +112,7 @@ 'automattic/jetpack-jitm' => array( 'pretty_version' => '2.5.1', 'version' => '2.5.1.0', - 'reference' => '2337d78a7ec58daabba218613ac83c472a27d08f', + 'reference' => '25f0f1f2c2eebeccd4e720af7a1974a724d8aacb', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm', 'aliases' => array(), @@ -121,7 +121,7 @@ 'automattic/jetpack-licensing' => array( 'pretty_version' => '1.8.4', 'version' => '1.8.4.0', - 'reference' => '45dd4f4bcce9f992931380dde62b3ed653a6355f', + 'reference' => '5666a6b3b5932dbdc30fdd865be845e1c86dcb14', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing', 'aliases' => array(), @@ -130,16 +130,16 @@ 'automattic/jetpack-logo' => array( 'pretty_version' => '1.6.3', 'version' => '1.6.3.0', - 'reference' => '5ced0f81ffde894755ecbd89602e93bd3e399beb', + 'reference' => 'f10b6ad1174a8f9e416d20e366aad4765c8a5416', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo', 'aliases' => array(), 'dev_requirement' => false, ), 'automattic/jetpack-my-jetpack' => array( - 'pretty_version' => '3.9.1', - 'version' => '3.9.1.0', - 'reference' => '13c84cd42c75651de1a1006fc63c6590a9dfa84f', + 'pretty_version' => '3.10.0-alpha.1697806960', + 'version' => '3.10.0.0-alpha1697806960', + 'reference' => '0abb26de60bb8fe712c1fffaf70e52bfe479fa7b', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack', 'aliases' => array(), @@ -148,7 +148,7 @@ 'automattic/jetpack-partner' => array( 'pretty_version' => '1.7.25', 'version' => '1.7.25.0', - 'reference' => '8b1a60efbe430697c1980bd75e55e83920169313', + 'reference' => 'a9b3ef82d950848536aa3d100df8baf62f1efcbc', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-partner', 'aliases' => array(), @@ -157,16 +157,25 @@ 'automattic/jetpack-password-checker' => array( 'pretty_version' => '0.2.14', 'version' => '0.2.14.0', - 'reference' => '5c77dd6a4f6aee278bc162d993966ba5470c2c25', + 'reference' => '61989fe1056899ef6493a61a2f898d4bfc2e67c5', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker', 'aliases' => array(), 'dev_requirement' => false, ), + 'automattic/jetpack-plans' => array( + 'pretty_version' => '0.3.4', + 'version' => '0.3.4.0', + 'reference' => 'df5c4bee7852b876b0b72540993bfa2ffa133c75', + 'type' => 'library', + 'install_path' => __DIR__ . '/../automattic/jetpack-plans', + 'aliases' => array(), + 'dev_requirement' => false, + ), 'automattic/jetpack-plugins-installer' => array( 'pretty_version' => '0.2.5', 'version' => '0.2.5.0', - 'reference' => 'e88f540bcddfbf55b5225705953123dc9b3451b8', + 'reference' => '2bce20aead03ab8bdfab06b270e237f0989e01c0', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer', 'aliases' => array(), @@ -175,7 +184,7 @@ 'automattic/jetpack-redirect' => array( 'pretty_version' => '1.7.27', 'version' => '1.7.27.0', - 'reference' => '29438b5d048724acc16d1145a4f034dca62ce23a', + 'reference' => '7f91714913c11a3a6b2c7d16d5f58c7ab1db748a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect', 'aliases' => array(), @@ -184,7 +193,7 @@ 'automattic/jetpack-roles' => array( 'pretty_version' => '1.4.25', 'version' => '1.4.25.0', - 'reference' => '3c4fe9b625089f2895c2f4ec22bf08bd7c4f733e', + 'reference' => 'ffde859a0468d95cd75c44ef0dc1d114e1fcc463', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles', 'aliases' => array(), @@ -193,7 +202,7 @@ 'automattic/jetpack-search' => array( 'pretty_version' => '0.39.3-alpha.1697744587', 'version' => '0.39.3.0-alpha1697744587', - 'reference' => 'b07214417d5d0c837bbbfeb2ba97c17fad931482', + 'reference' => '403b4aac15970fe8a347534cbd528ed35d8671de', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-search', 'aliases' => array(), @@ -211,7 +220,7 @@ 'automattic/jetpack-stats' => array( 'pretty_version' => '0.6.6-alpha.1697503455', 'version' => '0.6.6.0-alpha1697503455', - 'reference' => '8ca02179f1aab1a68f7356c8315b6b8c3e958e53', + 'reference' => '9bb6e5f19044db94dbc582022b8622c09b7dfd97', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-stats', 'aliases' => array(), @@ -220,7 +229,7 @@ 'automattic/jetpack-status' => array( 'pretty_version' => '1.18.5', 'version' => '1.18.5.0', - 'reference' => '559c3bdb168dcfa02de7b613ecf566c1ca67917e', + 'reference' => 'b2374ffe27a69736ad47a516d639c73b68ba5d94', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status', 'aliases' => array(), @@ -229,7 +238,7 @@ 'automattic/jetpack-sync' => array( 'pretty_version' => '1.58.1', 'version' => '1.58.1.0', - 'reference' => '122a325a54980d718719d075e43364ad33447224', + 'reference' => '7ac89b6804b1623fd3d6346e88a43eae5155d70a', 'type' => 'jetpack-library', 'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync', 'aliases' => array(), diff --git a/vendor/composer/jetpack_autoload_classmap.php b/vendor/composer/jetpack_autoload_classmap.php index c973ddc42..d24bfa3e2 100644 --- a/vendor/composer/jetpack_autoload_classmap.php +++ b/vendor/composer/jetpack_autoload_classmap.php @@ -174,6 +174,10 @@ 'version' => '1.18.5.0', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php' ), + 'Automattic\\Jetpack\\Current_Plan' => array( + 'version' => '0.3.4.0', + 'path' => $vendorDir . '/automattic/jetpack-plans/src/class-current-plan.php' + ), 'Automattic\\Jetpack\\Device_Detection' => array( 'version' => '1.4.27.0', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php' @@ -247,107 +251,107 @@ 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Product' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Jetpack_Ai' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-jetpack-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Starter' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-starter.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Stats' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-stats.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_AI' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-ai.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Product_Data' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-product-data.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php' ), 'Automattic\\Jetpack\\My_Jetpack\\REST_Zendesk_Chat' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-zendesk-chat.php' ), 'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => array( - 'version' => '3.9.1.0', + 'version' => '3.10.0.0-alpha1697806960', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php' ), 'Automattic\\Jetpack\\Partner' => array( @@ -366,6 +370,10 @@ 'version' => '1.18.5.0', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php' ), + 'Automattic\\Jetpack\\Plans' => array( + 'version' => '0.3.4.0', + 'path' => $vendorDir . '/automattic/jetpack-plans/src/class-plans.php' + ), 'Automattic\\Jetpack\\Plugins_Installer' => array( 'version' => '0.2.5.0', 'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php'