diff --git a/cloudflare.php b/cloudflare.php index 8925bd90..dce129bc 100644 --- a/cloudflare.php +++ b/cloudflare.php @@ -3,7 +3,7 @@ Plugin Name: Cloudflare Plugin URI: https://blog.cloudflare.com/new-wordpress-plugin/ Description: Cloudflare speeds up and protects your WordPress site. -Version: 3.8.9 +Version: 3.8.10 Author: Cloudflare, Inc. License: BSD-3-Clause */ diff --git a/composer.json b/composer.json index 9c0ed996..8c2f41f8 100644 --- a/composer.json +++ b/composer.json @@ -30,7 +30,7 @@ "_comment": [ "php-compatibility-install comes from https://github.com/wimg/PHPCompatibility/issues/102#issuecomment-255778195" ], - "version": "3.8.9", + "version": "3.8.10", "config": { "platform": { "php": "5.6.40" diff --git a/composer.lock b/composer.lock index eec961fa..0d237050 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f04db0a8787a60d01011679075e6374e", + "content-hash": "512233f3a6a5182e4691ee18e18292dd", "packages": [ { "name": "cloudflare/cf-ip-rewrite", diff --git a/config.json b/config.json index 8790d6ba..b7b8d2d6 100644 --- a/config.json +++ b/config.json @@ -25,5 +25,5 @@ }, "locale": "en", "integrationName": "wordpress", - "version": "3.8.9" + "version": "3.8.10" } diff --git a/readme.txt b/readme.txt index c2c3fc6e..663b172b 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: icyapril, manatarms, thillcf, deuill, epatryk, jacobbednarz Tags: cloudflare, seo, ssl, ddos, speed, security, cdn, performance, free Requires at least: 3.4 Tested up to: 5.5.1 -Stable tag: 3.8.9 +Stable tag: 3.8.10 License: BSD-3-Clause All of Cloudflare’s performance and security benefits in a simple one-click install. @@ -89,6 +89,10 @@ Yes, Cloudflare works with, and helps speed up your site even more, if you have == Changelog == += 3.8.10 - 2021-01-29 = + +* Add Jacob to maintainers list + = 3.8.9 - 2021-01-14 = * Revert Add pagination purging diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 41da348a..1bdb5ac1 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -85,30 +85,30 @@ }, { "name": "dealerdirect/phpcodesniffer-composer-installer", - "version": "v0.6.2", - "version_normalized": "0.6.2.0", + "version": "v0.7.1", + "version_normalized": "0.7.1.0", "source": { "type": "git", "url": "https://github.com/Dealerdirect/phpcodesniffer-composer-installer.git", - "reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a" + "reference": "fe390591e0241955f22eb9ba327d137e501c771c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/8001af8eb107fbfcedc31a8b51e20b07d85b457a", - "reference": "8001af8eb107fbfcedc31a8b51e20b07d85b457a", + "url": "https://api.github.com/repos/Dealerdirect/phpcodesniffer-composer-installer/zipball/fe390591e0241955f22eb9ba327d137e501c771c", + "reference": "fe390591e0241955f22eb9ba327d137e501c771c", "shasum": "" }, "require": { - "composer-plugin-api": "^1.0", - "php": "^5.3|^7", - "squizlabs/php_codesniffer": "^2|^3" + "composer-plugin-api": "^1.0 || ^2.0", + "php": ">=5.3", + "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" }, "require-dev": { "composer/composer": "*", "phpcompatibility/php-compatibility": "^9.0", "sensiolabs/security-checker": "^4.1.0" }, - "time": "2020-01-29T20:22:20+00:00", + "time": "2020-12-07T18:04:37+00:00", "type": "composer-plugin", "extra": { "class": "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\Plugin" @@ -2023,12 +2023,12 @@ "version_normalized": "1.9.1.0", "source": { "type": "git", - "url": "https://github.com/webmozart/assert.git", + "url": "https://github.com/webmozarts/assert.git", "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", "shasum": "" }, diff --git a/vendor/dealerdirect/phpcodesniffer-composer-installer/.remarkrc b/vendor/dealerdirect/phpcodesniffer-composer-installer/.remarkrc new file mode 100644 index 00000000..bfa065da --- /dev/null +++ b/vendor/dealerdirect/phpcodesniffer-composer-installer/.remarkrc @@ -0,0 +1,6 @@ +{ + "plugins": [ + "remark-preset-lint-recommended", + ["remark-lint-list-item-indent", "space"] + ] +} diff --git a/vendor/dealerdirect/phpcodesniffer-composer-installer/CODE_OF_CONDUCT.md b/vendor/dealerdirect/phpcodesniffer-composer-installer/CODE_OF_CONDUCT.md new file mode 100644 index 00000000..a408703d --- /dev/null +++ b/vendor/dealerdirect/phpcodesniffer-composer-installer/CODE_OF_CONDUCT.md @@ -0,0 +1,129 @@ + +# Contributor Covenant Code of Conduct + +## Our Pledge + +We as members, contributors, and leaders pledge to make participation in our +community a harassment-free experience for everyone, regardless of age, body +size, visible or invisible disability, ethnicity, sex characteristics, gender +identity and expression, level of experience, education, socio-economic status, +nationality, personal appearance, race, religion, or sexual identity +and orientation. + +We pledge to act and interact in ways that contribute to an open, welcoming, +diverse, inclusive, and healthy community. + +## Our Standards + +Examples of behavior that contributes to a positive environment for our +community include: + +* Demonstrating empathy and kindness toward other people +* Being respectful of differing opinions, viewpoints, and experiences +* Giving and gracefully accepting constructive feedback +* Accepting responsibility and apologizing to those affected by our mistakes, + and learning from the experience +* Focusing on what is best not just for us as individuals, but for the + overall community + +Examples of unacceptable behavior include: + +* The use of sexualized language or imagery, and sexual attention or + advances of any kind +* Trolling, insulting or derogatory comments, and personal or political attacks +* Public or private harassment +* Publishing others' private information, such as a physical or email + address, without their explicit permission +* Other conduct which could reasonably be considered inappropriate in a + professional setting + +## Enforcement Responsibilities + +Community leaders are responsible for clarifying and enforcing our standards of +acceptable behavior and will take appropriate and fair corrective action in +response to any behavior that they deem inappropriate, threatening, offensive, +or harmful. + +Community leaders have the right and responsibility to remove, edit, or reject +comments, commits, code, wiki edits, issues, and other contributions that are +not aligned to this Code of Conduct, and will communicate reasons for moderation +decisions when appropriate. + +## Scope + +This Code of Conduct applies within all community spaces, and also applies when +an individual is officially representing the community in public spaces. +Examples of representing our community include using an official e-mail address, +posting via an official social media account, or acting as an appointed +representative at an online or offline event. + +## Enforcement + +Instances of abusive, harassing, or otherwise unacceptable behavior may be +reported to the community leaders responsible for enforcement at +. +All complaints will be reviewed and investigated promptly and fairly. + +All community leaders are obligated to respect the privacy and security of the +reporter of any incident. + +## Enforcement Guidelines + +Community leaders will follow these Community Impact Guidelines in determining +the consequences for any action they deem in violation of this Code of Conduct: + +### 1. Correction + +**Community Impact**: Use of inappropriate language or other behavior deemed +unprofessional or unwelcome in the community. + +**Consequence**: A private, written warning from community leaders, providing +clarity around the nature of the violation and an explanation of why the +behavior was inappropriate. A public apology may be requested. + +### 2. Warning + +**Community Impact**: A violation through a single incident or series +of actions. + +**Consequence**: A warning with consequences for continued behavior. No +interaction with the people involved, including unsolicited interaction with +those enforcing the Code of Conduct, for a specified period of time. This +includes avoiding interactions in community spaces as well as external channels +like social media. Violating these terms may lead to a temporary or +permanent ban. + +### 3. Temporary Ban + +**Community Impact**: A serious violation of community standards, including +sustained inappropriate behavior. + +**Consequence**: A temporary ban from any sort of interaction or public +communication with the community for a specified period of time. No public or +private interaction with the people involved, including unsolicited interaction +with those enforcing the Code of Conduct, is allowed during this period. +Violating these terms may lead to a permanent ban. + +### 4. Permanent Ban + +**Community Impact**: Demonstrating a pattern of violation of community +standards, including sustained inappropriate behavior, harassment of an +individual, or aggression toward or disparagement of classes of individuals. + +**Consequence**: A permanent ban from any sort of public interaction within +the community. + +## Attribution + +This Code of Conduct is adapted from the [Contributor Covenant][homepage], +version 2.0, available at +https://www.contributor-covenant.org/version/2/0/code_of_conduct.html. + +Community Impact Guidelines were inspired by [Mozilla's code of conduct +enforcement ladder](https://github.com/mozilla/diversity). + +[homepage]: https://www.contributor-covenant.org + +For answers to common questions about this code of conduct, see the FAQ at +https://www.contributor-covenant.org/faq. Translations are available at +https://www.contributor-covenant.org/translations. diff --git a/vendor/dealerdirect/phpcodesniffer-composer-installer/README.md b/vendor/dealerdirect/phpcodesniffer-composer-installer/README.md index ed22d24f..2be42ed7 100644 --- a/vendor/dealerdirect/phpcodesniffer-composer-installer/README.md +++ b/vendor/dealerdirect/phpcodesniffer-composer-installer/README.md @@ -10,6 +10,8 @@ [![Latest Version on Packagist][packagist-version-shield]][packagist-version] [![Packagist][packagist-shield]][packagist] +[![Contributor Covenant][code-of-conduct-shield]][code-of-conduct] + This composer installer plugin allows for easy installation of [PHP_CodeSniffer][codesniffer] coding standards (rulesets). No more symbolic linking of directories, checking out repositories on specific locations or changing @@ -19,7 +21,7 @@ _Note: This plugin is compatible with both version 2.x and 3.x of_ [PHP_CodeSnif ## Usage -Installation can be done with [composer], by requiring this package as a development dependency: +Installation can be done with [Composer][composer], by requiring this package as a development dependency: ```bash composer require --dev dealerdirect/phpcodesniffer-composer-installer @@ -225,17 +227,17 @@ THE SOFTWARE. [awesome-shield]: https://img.shields.io/badge/awesome%3F-yes-brightgreen.svg [changelog]: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/releases +[code-of-conduct-shield]: https://img.shields.io/badge/Contributor%20Covenant-v2.0-ff69b4.svg +[code-of-conduct]: CODE_OF_CONDUCT.md [codesniffer]: https://github.com/squizlabs/PHP_CodeSniffer [composer-manual-scripts]: https://getcomposer.org/doc/articles/scripts.md [composer]: https://getcomposer.org/ [contributing-guidelines]: CONTRIBUTING.md [contributors]: https://github.com/Dealerdirect/phpcodesniffer-composer-installer/graphs/contributors -[dealerdirectcom]: http://www.dealerdirect.com/en [definition-ci]: https://en.wikipedia.org/wiki/Continuous_integration [frenck]: https://github.com/frenck -[get-in-touch]: https://www.dealerdirect.com/en/contact -[license-shield]: https://img.shields.io/github/license/dealerdirect/phpcodesniffer-composer-installer.svg [last-updated-shield]: https://img.shields.io/github/last-commit/Dealerdirect/phpcodesniffer-composer-installer.svg +[license-shield]: https://img.shields.io/github/license/dealerdirect/phpcodesniffer-composer-installer.svg [packagist-shield]: https://img.shields.io/packagist/dt/dealerdirect/phpcodesniffer-composer-installer.svg [packagist-version-shield]: https://img.shields.io/packagist/v/dealerdirect/phpcodesniffer-composer-installer.svg [packagist-version]: https://packagist.org/packages/dealerdirect/phpcodesniffer-composer-installer @@ -247,4 +249,3 @@ THE SOFTWARE. [travis]: https://travis-ci.org/Dealerdirect/phpcodesniffer-composer-installer [tutorial]: https://github.com/squizlabs/PHP_CodeSniffer/wiki/Coding-Standard-Tutorial [using-composer-plugins]: https://getcomposer.org/doc/articles/plugins.md#using-plugins -[vacancies]: https://www.dealerdirect.com/en/vacancies diff --git a/vendor/dealerdirect/phpcodesniffer-composer-installer/composer.json b/vendor/dealerdirect/phpcodesniffer-composer-installer/composer.json index 46bf5972..7fefc0fa 100644 --- a/vendor/dealerdirect/phpcodesniffer-composer-installer/composer.json +++ b/vendor/dealerdirect/phpcodesniffer-composer-installer/composer.json @@ -23,15 +23,17 @@ "source": "https://github.com/dealerdirect/phpcodesniffer-composer-installer" }, "require": { - "php": "^5.3|^7", - "composer-plugin-api": "^1.0", - "squizlabs/php_codesniffer": "^2|^3" + "php": ">=5.3", + "composer-plugin-api": "^1.0 || ^2.0", + "squizlabs/php_codesniffer": "^2.0 || ^3.0 || ^4.0" }, "require-dev": { "composer/composer": "*", "sensiolabs/security-checker": "^4.1.0", "phpcompatibility/php-compatibility": "^9.0" }, + "minimum-stability": "dev", + "prefer-stable": true, "autoload": { "psr-4": { "Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\": "src/" diff --git a/vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php b/vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php index 141dda62..c87f7630 100644 --- a/vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php +++ b/vendor/dealerdirect/phpcodesniffer-composer-installer/src/Plugin.php @@ -15,7 +15,7 @@ use Composer\IO\IOInterface; use Composer\Package\AliasPackage; use Composer\Package\PackageInterface; -use Composer\Package\RootpackageInterface; +use Composer\Package\RootPackageInterface; use Composer\Plugin\PluginInterface; use Composer\Script\Event; use Composer\Script\ScriptEvents; @@ -124,6 +124,20 @@ public function activate(Composer $composer, IOInterface $io) $this->init(); } + /** + * {@inheritDoc} + */ + public function deactivate(Composer $composer, IOInterface $io) + { + } + + /** + * {@inheritDoc} + */ + public function uninstall(Composer $composer, IOInterface $io) + { + } + /** * Prepares the plugin so it's main functionality can be run. * @@ -253,6 +267,7 @@ private function saveInstalledPaths() { // Check if we found installed paths to set. if (count($this->installedPaths) !== 0) { + sort($this->installedPaths); $paths = implode(',', $this->installedPaths); $arguments = array('--config-set', self::PHPCS_CONFIG_KEY, $paths); $configMessage = sprintf( @@ -488,7 +503,7 @@ function (PackageInterface $package) { ); if ( - ! $this->composer->getPackage() instanceof RootpackageInterface + ! $this->composer->getPackage() instanceof RootPackageInterface && $this->composer->getPackage()->getType() === self::PACKAGE_TYPE ) { $codingStandardPackages[] = $this->composer->getPackage();