updated plugin Jetpack Protect
version 1.2.0
This commit is contained in:
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
||||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2::getLoader();
|
||||
return ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0::getLoader();
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,6 +5,10 @@ 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.2.8] - 2022-12-02
|
||||
### Changed
|
||||
- Updated package dependencies. [#27688]
|
||||
|
||||
## [0.2.7] - 2022-11-22
|
||||
### Changed
|
||||
- Updated package dependencies. [#27043]
|
||||
@ -62,6 +66,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Deprecated
|
||||
- Moved the options class into Connection. [#24095]
|
||||
|
||||
[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
|
||||
|
@ -4,12 +4,12 @@
|
||||
"type": "library",
|
||||
"license": "GPL-2.0-or-later",
|
||||
"require": {
|
||||
"automattic/jetpack-connection": "^1.46.4"
|
||||
"automattic/jetpack-connection": "^1.47.1"
|
||||
},
|
||||
"require-dev": {
|
||||
"yoast/phpunit-polyfills": "1.0.3",
|
||||
"automattic/jetpack-changelogger": "^3.2.1",
|
||||
"automattic/jetpack-status": "^1.15.1",
|
||||
"yoast/phpunit-polyfills": "1.0.4",
|
||||
"automattic/jetpack-changelogger": "^3.2.2",
|
||||
"automattic/jetpack-status": "^1.15.2",
|
||||
"automattic/wordbless": "@dev"
|
||||
},
|
||||
"autoload": {
|
||||
|
@ -6,6 +6,8 @@ $vendorDir = dirname(__DIR__);
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'AhoCorasick\\MultiStringMatcher' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringMatcher.php',
|
||||
'AhoCorasick\\MultiStringReplacer' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringReplacer.php',
|
||||
'Automattic\\Jetpack\\A8c_Mc_Stats' => $baseDir . '/jetpack_vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php',
|
||||
'Automattic\\Jetpack\\Admin_UI\\Admin_Menu' => $baseDir . '/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php',
|
||||
'Automattic\\Jetpack\\Assets' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php',
|
||||
@ -159,6 +161,17 @@ return array(
|
||||
'Automattic\\Jetpack\\Transport_Helper\\Helper_Script_Manager' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-helper-script-manager.php',
|
||||
'Automattic\\Jetpack\\Transport_Helper\\Package_Version' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-package-version.php',
|
||||
'Automattic\\Jetpack\\Transport_Helper\\REST_Controller' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-rest-controller.php',
|
||||
'Automattic\\Jetpack\\Waf\\CLI' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php',
|
||||
'Automattic\\Jetpack\\Waf\\REST_Controller' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-rest-controller.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Compatibility' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-compatibility.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Constants' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Initializer' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Operators' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Request' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Runner' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Runtime' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Standalone_Bootstrap' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Transforms' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php',
|
||||
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
|
||||
'Jetpack_IXR_Client' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php',
|
||||
'Jetpack_IXR_ClientMulticall' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php',
|
||||
|
@ -8,4 +8,5 @@ $baseDir = dirname($vendorDir);
|
||||
return array(
|
||||
'3773ef3f09c37da5478d578e32b03a4b' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
|
||||
'590147edb63acb03b2852d5c4db13ce8' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/actions.php',
|
||||
'3d45c7e6a7f0e71849e33afe4b3b3ede' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/cli.php',
|
||||
);
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
// autoload_real.php @generated by Composer
|
||||
|
||||
class ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2
|
||||
class ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,21 @@ class ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2', 'loadClassLoader'), true, true);
|
||||
require __DIR__ . '/platform_check.php';
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequirec4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2($fileIdentifier, $file);
|
||||
composerRequirec4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +48,7 @@ class ComposerAutoloaderInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequirec4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2($fileIdentifier, $file)
|
||||
function composerRequirec4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||
|
@ -4,11 +4,12 @@
|
||||
|
||||
namespace Composer\Autoload;
|
||||
|
||||
class ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2
|
||||
class ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0
|
||||
{
|
||||
public static $files = array (
|
||||
'3773ef3f09c37da5478d578e32b03a4b' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/actions.php',
|
||||
'590147edb63acb03b2852d5c4db13ce8' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-transport-helper/actions.php',
|
||||
'3d45c7e6a7f0e71849e33afe4b3b3ede' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/cli.php',
|
||||
);
|
||||
|
||||
public static $prefixLengthsPsr4 = array (
|
||||
@ -26,6 +27,8 @@ class ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2
|
||||
);
|
||||
|
||||
public static $classMap = array (
|
||||
'AhoCorasick\\MultiStringMatcher' => __DIR__ . '/..' . '/wikimedia/aho-corasick/src/MultiStringMatcher.php',
|
||||
'AhoCorasick\\MultiStringReplacer' => __DIR__ . '/..' . '/wikimedia/aho-corasick/src/MultiStringReplacer.php',
|
||||
'Automattic\\Jetpack\\A8c_Mc_Stats' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php',
|
||||
'Automattic\\Jetpack\\Admin_UI\\Admin_Menu' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php',
|
||||
'Automattic\\Jetpack\\Assets' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php',
|
||||
@ -179,6 +182,17 @@ class ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2
|
||||
'Automattic\\Jetpack\\Transport_Helper\\Helper_Script_Manager' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-helper-script-manager.php',
|
||||
'Automattic\\Jetpack\\Transport_Helper\\Package_Version' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-package-version.php',
|
||||
'Automattic\\Jetpack\\Transport_Helper\\REST_Controller' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-rest-controller.php',
|
||||
'Automattic\\Jetpack\\Waf\\CLI' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php',
|
||||
'Automattic\\Jetpack\\Waf\\REST_Controller' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-rest-controller.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Compatibility' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-compatibility.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Constants' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Initializer' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Operators' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Request' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Runner' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Runtime' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Standalone_Bootstrap' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php',
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Transforms' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php',
|
||||
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
|
||||
'Jetpack_IXR_Client' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php',
|
||||
'Jetpack_IXR_ClientMulticall' => __DIR__ . '/../..' . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php',
|
||||
@ -193,9 +207,9 @@ class ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -11,48 +11,48 @@
|
||||
),
|
||||
'versions' => array(
|
||||
'automattic/jetpack-a8c-mc-stats' => array(
|
||||
'pretty_version' => 'v1.4.16',
|
||||
'version' => '1.4.16.0',
|
||||
'pretty_version' => 'v1.4.17',
|
||||
'version' => '1.4.17.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-a8c-mc-stats',
|
||||
'aliases' => array(),
|
||||
'reference' => '60cc966a8c12092ce4ee609eb9f52ad8bafe349b',
|
||||
'reference' => 'bb1f94fe891053789633b52860a48aa4751a09be',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-admin-ui' => array(
|
||||
'pretty_version' => 'v0.2.13',
|
||||
'version' => '0.2.13.0',
|
||||
'pretty_version' => 'v0.2.14',
|
||||
'version' => '0.2.14.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-admin-ui',
|
||||
'aliases' => array(),
|
||||
'reference' => '054349177910cdb0840c2194f244b0603f92f82e',
|
||||
'reference' => 'e1deffd3173204b4b8702adfeffa3f37731b654f',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-assets' => array(
|
||||
'pretty_version' => 'v1.17.27',
|
||||
'version' => '1.17.27.0',
|
||||
'pretty_version' => 'v1.17.28',
|
||||
'version' => '1.17.28.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-assets',
|
||||
'aliases' => array(),
|
||||
'reference' => '2372db5c0ecaf23fa28ae79b84992685bd0c7c7b',
|
||||
'reference' => '6d3544111163f6ffaf32fdaf4f7ab76715e980e1',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-autoloader' => array(
|
||||
'pretty_version' => 'v2.11.12',
|
||||
'version' => '2.11.12.0',
|
||||
'pretty_version' => 'v2.11.13',
|
||||
'version' => '2.11.13.0',
|
||||
'type' => 'composer-plugin',
|
||||
'install_path' => __DIR__ . '/../automattic/jetpack-autoloader',
|
||||
'aliases' => array(),
|
||||
'reference' => '60a1cbf0a0acff63b412c49baf9d417e5bd5779e',
|
||||
'reference' => 'e4242fa1a20e882975ae3b7b918f46e662c5a6ee',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-composer-plugin' => array(
|
||||
'pretty_version' => 'v1.1.6',
|
||||
'version' => '1.1.6.0',
|
||||
'pretty_version' => 'v1.1.7',
|
||||
'version' => '1.1.7.0',
|
||||
'type' => 'composer-plugin',
|
||||
'install_path' => __DIR__ . '/../automattic/jetpack-composer-plugin',
|
||||
'aliases' => array(),
|
||||
'reference' => '5bb520ea9376eafb92993e8bfe660d399857f08f',
|
||||
'reference' => '225e2afdd372875064457daf6d2b6fa653547ad8',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-config' => array(
|
||||
@ -65,111 +65,111 @@
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-connection' => array(
|
||||
'pretty_version' => 'v1.47.0',
|
||||
'version' => '1.47.0.0',
|
||||
'pretty_version' => 'v1.47.1',
|
||||
'version' => '1.47.1.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-connection',
|
||||
'aliases' => array(),
|
||||
'reference' => 'dd2a6c2cede50d717890d07499db59d9e335deac',
|
||||
'reference' => 'd9d789cbd6faaeed9325d050a1504fcc69568f3c',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-constants' => array(
|
||||
'pretty_version' => 'v1.6.19',
|
||||
'version' => '1.6.19.0',
|
||||
'pretty_version' => 'v1.6.20',
|
||||
'version' => '1.6.20.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-constants',
|
||||
'aliases' => array(),
|
||||
'reference' => 'a224991e11045e15250bac415cf92788e0b59bb7',
|
||||
'reference' => 'c57b99b82c20d20f6dd2d2d701bb5b50b2cbe33a',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-device-detection' => array(
|
||||
'pretty_version' => 'v1.4.21',
|
||||
'version' => '1.4.21.0',
|
||||
'pretty_version' => 'v1.4.22',
|
||||
'version' => '1.4.22.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-device-detection',
|
||||
'aliases' => array(),
|
||||
'reference' => '3fb859a414b52d8a98ff50e62ae1ada94b0d677e',
|
||||
'reference' => '2da848bca9a3622885c05509f0a1dab8264067b2',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-identity-crisis' => array(
|
||||
'pretty_version' => 'v0.8.32',
|
||||
'version' => '0.8.32.0',
|
||||
'pretty_version' => 'v0.8.33',
|
||||
'version' => '0.8.33.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-identity-crisis',
|
||||
'aliases' => array(),
|
||||
'reference' => '46b473843770daf1884c24b3bb76cb809da84318',
|
||||
'reference' => '9356eab5416e8ebb71df3bace7ef28d30e3ba630',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-jitm' => array(
|
||||
'pretty_version' => 'v2.2.34',
|
||||
'version' => '2.2.34.0',
|
||||
'pretty_version' => 'v2.2.35',
|
||||
'version' => '2.2.35.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-jitm',
|
||||
'aliases' => array(),
|
||||
'reference' => '0662b1935f7a2157268cdd0556f3bfb5c84fb5f5',
|
||||
'reference' => '2d19faef459c1beaac8a00ad8d51b945b8358091',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-licensing' => array(
|
||||
'pretty_version' => 'v1.7.12',
|
||||
'version' => '1.7.12.0',
|
||||
'pretty_version' => 'v1.7.13',
|
||||
'version' => '1.7.13.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-licensing',
|
||||
'aliases' => array(),
|
||||
'reference' => 'a5869854c012fd411d4b7311654fc745b5380730',
|
||||
'reference' => '4db2c3ec7440eed268c1d9ee7ee80cb5dde8c558',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-logo' => array(
|
||||
'pretty_version' => 'v1.5.19',
|
||||
'version' => '1.5.19.0',
|
||||
'pretty_version' => 'v1.5.20',
|
||||
'version' => '1.5.20.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-logo',
|
||||
'aliases' => array(),
|
||||
'reference' => '4a872f151e6708e88041bc2e9355d43232d6fab7',
|
||||
'reference' => '74e3fdc172753672488110418cf379fd8b2f4e75',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-my-jetpack' => array(
|
||||
'pretty_version' => 'v2.5.1',
|
||||
'version' => '2.5.1.0',
|
||||
'pretty_version' => 'v2.6.0',
|
||||
'version' => '2.6.0.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-my-jetpack',
|
||||
'aliases' => array(),
|
||||
'reference' => 'b54cfd6c1e6160a7fc262d59fcc18ce8152bccd1',
|
||||
'reference' => 'f8352a9be345449db7936fbd3e2fa9e94dd2b557',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-partner' => array(
|
||||
'pretty_version' => 'v1.7.20',
|
||||
'version' => '1.7.20.0',
|
||||
'pretty_version' => 'v1.7.21',
|
||||
'version' => '1.7.21.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-partner',
|
||||
'aliases' => array(),
|
||||
'reference' => '299f5bdbd820df8d9120771cb21c624f92f5559a',
|
||||
'reference' => '67a89bfab8da4fb45cb005d2399512fa343befee',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-password-checker' => array(
|
||||
'pretty_version' => 'v0.2.8',
|
||||
'version' => '0.2.8.0',
|
||||
'pretty_version' => 'v0.2.9',
|
||||
'version' => '0.2.9.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-password-checker',
|
||||
'aliases' => array(),
|
||||
'reference' => 'dd72762218e43cac18deff9b5c409c13c8d80dd0',
|
||||
'reference' => 'bc372d55252fbdbbea251b0fb84fc109d7b31f54',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-plans' => array(
|
||||
'pretty_version' => 'v0.2.7',
|
||||
'version' => '0.2.7.0',
|
||||
'pretty_version' => 'v0.2.8',
|
||||
'version' => '0.2.8.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../automattic/jetpack-plans',
|
||||
'aliases' => array(),
|
||||
'reference' => '81dc92ebf07fd8d547079639b24b7e984156cd19',
|
||||
'reference' => 'f62608398c70864ff9a79a374b919865e626bf2d',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-plugins-installer' => array(
|
||||
'pretty_version' => 'v0.2.1',
|
||||
'version' => '0.2.1.0',
|
||||
'pretty_version' => 'v0.2.2',
|
||||
'version' => '0.2.2.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-plugins-installer',
|
||||
'aliases' => array(),
|
||||
'reference' => 'c133eec6a0a947130c1c5ee9e85b0408e93eb675',
|
||||
'reference' => 'e4a3eb71be7698dd896ad9c18565139007f0e7eb',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-protect' => array(
|
||||
@ -182,48 +182,66 @@
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-redirect' => array(
|
||||
'pretty_version' => 'v1.7.20',
|
||||
'version' => '1.7.20.0',
|
||||
'pretty_version' => 'v1.7.21',
|
||||
'version' => '1.7.21.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-redirect',
|
||||
'aliases' => array(),
|
||||
'reference' => '8106e58119e204549badeb55da8d97ee36a09eb2',
|
||||
'reference' => '0f56502a8cc74fbde1ab6a4222e8b7f48a30d51f',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-roles' => array(
|
||||
'pretty_version' => 'v1.4.18',
|
||||
'version' => '1.4.18.0',
|
||||
'pretty_version' => 'v1.4.20',
|
||||
'version' => '1.4.20.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-roles',
|
||||
'aliases' => array(),
|
||||
'reference' => '23b6fb028544b19fb6231440c726e64fd7af3e2a',
|
||||
'reference' => '8f4ce9fdfa0a50ffc4fd3108370392c9c4ced27a',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-status' => array(
|
||||
'pretty_version' => 'v1.15.1',
|
||||
'version' => '1.15.1.0',
|
||||
'pretty_version' => 'v1.15.2',
|
||||
'version' => '1.15.2.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-status',
|
||||
'aliases' => array(),
|
||||
'reference' => '197f3ab6fd6ab8c2fa0e0d577160a82bf68ab529',
|
||||
'reference' => '9097545f48fe3d45a737255e25d9c56d18a326ab',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-sync' => array(
|
||||
'pretty_version' => 'v1.44.0',
|
||||
'version' => '1.44.0.0',
|
||||
'pretty_version' => 'v1.44.1',
|
||||
'version' => '1.44.1.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-sync',
|
||||
'aliases' => array(),
|
||||
'reference' => '8b1e3796c09a7423dd484399a5032a420e5966bf',
|
||||
'reference' => '869c02f9bb180670a9dbd86d2f133e286f1e7a52',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-transport-helper' => array(
|
||||
'pretty_version' => 'v0.1.1',
|
||||
'version' => '0.1.1.0',
|
||||
'pretty_version' => 'v0.1.2',
|
||||
'version' => '0.1.2.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-transport-helper',
|
||||
'aliases' => array(),
|
||||
'reference' => '430c07ef5f029c89cf6003503ef1073fba136412',
|
||||
'reference' => 'cb87e4fb26449af1e0dcd6924c5c72e1478eb18b',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'automattic/jetpack-waf' => array(
|
||||
'pretty_version' => 'v0.8.1',
|
||||
'version' => '0.8.1.0',
|
||||
'type' => 'jetpack-library',
|
||||
'install_path' => __DIR__ . '/../../jetpack_vendor/automattic/jetpack-waf',
|
||||
'aliases' => array(),
|
||||
'reference' => '876bb9157dc2d45a54b526c00fe502734f1241df',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
'wikimedia/aho-corasick' => array(
|
||||
'pretty_version' => 'v1.0.1',
|
||||
'version' => '1.0.1.0',
|
||||
'type' => 'library',
|
||||
'install_path' => __DIR__ . '/../wikimedia/aho-corasick',
|
||||
'aliases' => array(),
|
||||
'reference' => '2f3a1bd765913637a66eade658d11d82f0e551be',
|
||||
'dev_requirement' => false,
|
||||
),
|
||||
),
|
||||
|
@ -6,56 +6,64 @@ $vendorDir = dirname(__DIR__);
|
||||
$baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'AhoCorasick\\MultiStringMatcher' => array(
|
||||
'version' => '1.0.1.0',
|
||||
'path' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringMatcher.php'
|
||||
),
|
||||
'AhoCorasick\\MultiStringReplacer' => array(
|
||||
'version' => '1.0.1.0',
|
||||
'path' => $vendorDir . '/wikimedia/aho-corasick/src/MultiStringReplacer.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\A8c_Mc_Stats' => array(
|
||||
'version' => '1.4.16.0',
|
||||
'version' => '1.4.17.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-a8c-mc-stats/src/class-a8c-mc-stats.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Admin_UI\\Admin_Menu' => array(
|
||||
'version' => '0.2.13.0',
|
||||
'version' => '0.2.14.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-admin-ui/src/class-admin-menu.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Assets' => array(
|
||||
'version' => '1.17.27.0',
|
||||
'version' => '1.17.28.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-assets.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Assets\\Logo' => array(
|
||||
'version' => '1.5.19.0',
|
||||
'version' => '1.5.20.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-logo/src/class-logo.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Assets\\Semver' => array(
|
||||
'version' => '1.17.27.0',
|
||||
'version' => '1.17.28.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/src/class-semver.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Autoloader\\AutoloadFileWriter' => array(
|
||||
'version' => '2.11.12.0',
|
||||
'version' => '2.11.13.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadFileWriter.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Autoloader\\AutoloadGenerator' => array(
|
||||
'version' => '2.11.12.0',
|
||||
'version' => '2.11.13.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadGenerator.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Autoloader\\AutoloadProcessor' => array(
|
||||
'version' => '2.11.12.0',
|
||||
'version' => '2.11.13.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/AutoloadProcessor.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Autoloader\\CustomAutoloaderPlugin' => array(
|
||||
'version' => '2.11.12.0',
|
||||
'version' => '2.11.13.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Autoloader\\ManifestGenerator' => array(
|
||||
'version' => '2.11.12.0',
|
||||
'version' => '2.11.13.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-autoloader/src/ManifestGenerator.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Automatic_Install_Skin' => array(
|
||||
'version' => '0.2.1.0',
|
||||
'version' => '0.2.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-automatic-install-skin.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Composer\\Manager' => array(
|
||||
'version' => '1.1.6.0',
|
||||
'version' => '1.1.7.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-composer-plugin/src/class-manager.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Composer\\Plugin' => array(
|
||||
'version' => '1.1.6.0',
|
||||
'version' => '1.1.7.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-composer-plugin/src/class-plugin.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Config' => array(
|
||||
@ -63,263 +71,263 @@ return array(
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-config/src/class-config.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Client' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-client.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Error_Handler' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-error-handler.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Initial_State' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-initial-state.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Manager' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-manager.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Manager_Interface' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/interface-manager.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Nonce_Handler' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-nonce-handler.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Package_Version' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-package-version.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Package_Version_Tracker' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-package-version-tracker.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Plugin' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-plugin.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Plugin_Storage' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-plugin-storage.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\REST_Connector' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-rest-connector.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Rest_Authentication' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-rest-authentication.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Secrets' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-secrets.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Server_Sandbox' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-server-sandbox.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Tokens' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tokens.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Urls' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-urls.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Utils' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-utils.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Webhooks' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-webhooks.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\Webhooks\\Authorize_Redirect' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/webhooks/class-authorize-redirect.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\XMLRPC_Async_Call' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-async-call.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Connection\\XMLRPC_Connector' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-xmlrpc-connector.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Constants' => array(
|
||||
'version' => '1.6.19.0',
|
||||
'version' => '1.6.20.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-constants/src/class-constants.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\CookieState' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cookiestate.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Current_Plan' => array(
|
||||
'version' => '0.2.7.0',
|
||||
'version' => '0.2.8.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-plans/src/class-current-plan.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Device_Detection' => array(
|
||||
'version' => '1.4.21.0',
|
||||
'version' => '1.4.22.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-device-detection.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Device_Detection\\User_Agent_Info' => array(
|
||||
'version' => '1.4.21.0',
|
||||
'version' => '1.4.22.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-device-detection/src/class-user-agent-info.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Errors' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-errors.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Files' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-files.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Heartbeat' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-heartbeat.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\IdentityCrisis\\REST_Endpoints' => array(
|
||||
'version' => '0.8.32.0',
|
||||
'version' => '0.8.33.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-rest-endpoints.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\IdentityCrisis\\UI' => array(
|
||||
'version' => '0.8.32.0',
|
||||
'version' => '0.8.33.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-ui.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Identity_Crisis' => array(
|
||||
'version' => '0.8.32.0',
|
||||
'version' => '0.8.33.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-identity-crisis/src/class-identity-crisis.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\JITMS\\JITM' => array(
|
||||
'version' => '2.2.34.0',
|
||||
'version' => '2.2.35.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-jitm.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\JITMS\\Post_Connection_JITM' => array(
|
||||
'version' => '2.2.34.0',
|
||||
'version' => '2.2.35.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-post-connection-jitm.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\JITMS\\Pre_Connection_JITM' => array(
|
||||
'version' => '2.2.34.0',
|
||||
'version' => '2.2.35.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-pre-connection-jitm.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\JITMS\\Rest_Api_Endpoints' => array(
|
||||
'version' => '2.2.34.0',
|
||||
'version' => '2.2.35.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-jitm/src/class-rest-api-endpoints.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Licensing' => array(
|
||||
'version' => '1.7.12.0',
|
||||
'version' => '1.7.13.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-licensing.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Licensing\\Endpoints' => array(
|
||||
'version' => '1.7.12.0',
|
||||
'version' => '1.7.13.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-licensing/src/class-endpoints.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Modules' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-modules.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Hybrid_Product' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-hybrid-product.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Initializer' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-initializer.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Module_Product' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-module-product.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Product' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-product.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-products.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Anti_Spam' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-anti-spam.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Backup' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-backup.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Boost' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-boost.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Crm' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-crm.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Extras' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-extras.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Protect' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-protect.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Scan' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-scan.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Search' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Search_Stats' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-search-stats.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Security' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-security.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Social' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-social.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Products\\Videopress' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/products/class-videopress.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\REST_Products' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-products.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\REST_Purchases' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-rest-purchases.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\My_Jetpack\\Wpcom_Products' => array(
|
||||
'version' => '2.5.1.0',
|
||||
'version' => '2.6.0.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-my-jetpack/src/class-wpcom-products.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Partner' => array(
|
||||
'version' => '1.7.20.0',
|
||||
'version' => '1.7.21.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Partner_Coupon' => array(
|
||||
'version' => '1.7.20.0',
|
||||
'version' => '1.7.21.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-partner/src/class-partner-coupon.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Password_Checker' => array(
|
||||
'version' => '0.2.8.0',
|
||||
'version' => '0.2.9.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-password-checker/src/class-password-checker.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Paths' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-paths.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Plans' => array(
|
||||
'version' => '0.2.7.0',
|
||||
'version' => '0.2.8.0',
|
||||
'path' => $vendorDir . '/automattic/jetpack-plans/src/class-plans.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Plugins_Installer' => array(
|
||||
'version' => '0.2.1.0',
|
||||
'version' => '0.2.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-plugins-installer/src/class-plugins-installer.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Protect\\Credentials' => array(
|
||||
@ -363,271 +371,315 @@ return array(
|
||||
'path' => $baseDir . '/src/class-threats.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Redirect' => array(
|
||||
'version' => '1.7.20.0',
|
||||
'version' => '1.7.21.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-redirect/src/class-redirect.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Roles' => array(
|
||||
'version' => '1.4.18.0',
|
||||
'version' => '1.4.20.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-roles/src/class-roles.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Status' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-status.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Status\\Cache' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-cache.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Status\\Host' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-host.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Status\\Visitor' => array(
|
||||
'version' => '1.15.1.0',
|
||||
'version' => '1.15.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-status/src/class-visitor.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Actions' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-actions.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Codec_Interface' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/interface-codec.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Data_Settings' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-data-settings.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Dedicated_Sender' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-dedicated-sender.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Default_Filter_Settings' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-default-filter-settings.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Defaults' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-defaults.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Functions' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-functions.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Health' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-health.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\JSON_Deflate_Array_Codec' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-json-deflate-array-codec.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Listener' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-listener.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Lock' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-lock.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Main' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-main.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-modules.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Attachments' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-attachments.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Callables' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-callables.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Comments' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-comments.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Constants' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-constants.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Full_Sync_Immediately' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-full-sync-immediately.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Import' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-import.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Menus' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-menus.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Meta' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-meta.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Module' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-module.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Network_Options' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-network-options.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Options' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-options.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Plugins' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-plugins.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Posts' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-posts.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Protect' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-protect.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Search' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-search.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Stats' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-stats.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Term_Relationships' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-term-relationships.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Terms' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-terms.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Themes' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-themes.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Updates' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-updates.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\Users' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-users.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\WP_Super_Cache' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-wp-super-cache.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Modules\\WooCommerce' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/modules/class-woocommerce.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Package_Version' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-package-version.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Queue' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-queue.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Queue_Buffer' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-queue-buffer.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\REST_Endpoints' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-rest-endpoints.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\REST_Sender' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-rest-sender.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Replicastore' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-replicastore.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum_Usermeta' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-usermeta.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Replicastore\\Table_Checksum_Users' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/replicastore/class-table-checksum-users.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Replicastore_Interface' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/interface-replicastore.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Sender' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-sender.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Server' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-server.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Settings' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-settings.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Simple_Codec' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-simple-codec.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Users' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-users.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Sync\\Utils' => array(
|
||||
'version' => '1.44.0.0',
|
||||
'version' => '1.44.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-sync/src/class-utils.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Terms_Of_Service' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-terms-of-service.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Tracking' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/src/class-tracking.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Transport_Helper\\Helper_Script_Manager' => array(
|
||||
'version' => '0.1.1.0',
|
||||
'version' => '0.1.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-helper-script-manager.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Transport_Helper\\Package_Version' => array(
|
||||
'version' => '0.1.1.0',
|
||||
'version' => '0.1.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-package-version.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Transport_Helper\\REST_Controller' => array(
|
||||
'version' => '0.1.1.0',
|
||||
'version' => '0.1.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/src/class-rest-controller.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\CLI' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-cli.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\REST_Controller' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-rest-controller.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Compatibility' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-compatibility.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Constants' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-constants.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Initializer' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-initializer.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Operators' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-operators.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Request' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-request.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Runner' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runner.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Runtime' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-runtime.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Standalone_Bootstrap' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-standalone-bootstrap.php'
|
||||
),
|
||||
'Automattic\\Jetpack\\Waf\\Waf_Transforms' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/src/class-waf-transforms.php'
|
||||
),
|
||||
'Jetpack_IXR_Client' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-client.php'
|
||||
),
|
||||
'Jetpack_IXR_ClientMulticall' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-ixr-clientmulticall.php'
|
||||
),
|
||||
'Jetpack_Options' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-options.php'
|
||||
),
|
||||
'Jetpack_Protect' => array(
|
||||
@ -635,19 +687,19 @@ return array(
|
||||
'path' => $baseDir . '/src/class-jetpack-protect.php'
|
||||
),
|
||||
'Jetpack_Signature' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-signature.php'
|
||||
),
|
||||
'Jetpack_Tracks_Client' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-client.php'
|
||||
),
|
||||
'Jetpack_Tracks_Event' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-tracks-event.php'
|
||||
),
|
||||
'Jetpack_XMLRPC_Server' => array(
|
||||
'version' => '1.47.0.0',
|
||||
'version' => '1.47.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-connection/legacy/class-jetpack-xmlrpc-server.php'
|
||||
),
|
||||
);
|
||||
|
@ -7,11 +7,15 @@ $baseDir = dirname($vendorDir);
|
||||
|
||||
return array(
|
||||
'3773ef3f09c37da5478d578e32b03a4b' => array(
|
||||
'version' => '1.17.27.0',
|
||||
'version' => '1.17.28.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-assets/actions.php'
|
||||
),
|
||||
'590147edb63acb03b2852d5c4db13ce8' => array(
|
||||
'version' => '0.1.1.0',
|
||||
'version' => '0.1.2.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-transport-helper/actions.php'
|
||||
),
|
||||
'3d45c7e6a7f0e71849e33afe4b3b3ede' => array(
|
||||
'version' => '0.8.1.0',
|
||||
'path' => $baseDir . '/jetpack_vendor/automattic/jetpack-waf/cli.php'
|
||||
),
|
||||
);
|
||||
|
26
wp-content/plugins/jetpack-protect/vendor/composer/platform_check.php
vendored
Normal file
26
wp-content/plugins/jetpack-protect/vendor/composer/platform_check.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
// platform_check.php @generated by Composer
|
||||
|
||||
$issues = array();
|
||||
|
||||
if (!(PHP_VERSION_ID >= 50509)) {
|
||||
$issues[] = 'Your Composer dependencies require a PHP version ">= 5.5.9". You are running ' . PHP_VERSION . '.';
|
||||
}
|
||||
|
||||
if ($issues) {
|
||||
if (!headers_sent()) {
|
||||
header('HTTP/1.1 500 Internal Server Error');
|
||||
}
|
||||
if (!ini_get('display_errors')) {
|
||||
if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') {
|
||||
fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL);
|
||||
} elseif (!headers_sent()) {
|
||||
echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL;
|
||||
}
|
||||
}
|
||||
trigger_error(
|
||||
'Composer detected issues in your platform: ' . implode(' ', $issues),
|
||||
E_USER_ERROR
|
||||
);
|
||||
}
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
* @package automattic/jetpack-autoloader
|
||||
*/
|
||||
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_1_2;
|
||||
namespace Automattic\Jetpack\Autoloader\jpc4802e05bbcf59fd3b6350e8d3e5482c_protectⓥ1_2_0;
|
||||
|
||||
// phpcs:ignore
|
||||
|
||||
|
202
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/LICENSE
vendored
Normal file
202
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/LICENSE
vendored
Normal file
@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
2
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/NOTICE
vendored
Normal file
2
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/NOTICE
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
AhoCorasick PHP Library
|
||||
Copyright 2015 Ori Livneh <ori@wikimedia.org>
|
75
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/bench/bench.php
vendored
Normal file
75
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/bench/bench.php
vendored
Normal file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../src/MultiStringMatcher.php';
|
||||
require_once __DIR__ . '/../src/MultiStringReplacer.php';
|
||||
|
||||
use AhoCorasick\MultiStringReplacer;
|
||||
|
||||
if ( !file_exists( __DIR__ . '/23835-0.txt' ) ) {
|
||||
die( "Please download http://www.gutenberg.org/files/23835/23835-0.txt\n" );
|
||||
}
|
||||
|
||||
if ( !file_exists( __DIR__ . '/ZhConversion.php' ) ) {
|
||||
die( "You need ZhConversion.php, from " .
|
||||
"https://github.com/wikimedia/mediawiki/blob/master/includes/ZhConversion.php\n" );
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/ZhConversion.php';
|
||||
|
||||
$text = file_get_contents( __DIR__ . '/23835-0.txt' );
|
||||
|
||||
$options = getopt( '', [ 'count:', 'input:', 'profile', 'fss', 'msr', 'strtr' ] );
|
||||
$text = file_get_contents( isset( $options['input'] ) ? $options['input'] : 'SueiTangYanYi.txt' );
|
||||
$loops = isset( $options['count'] ) ? intval( $options['count'] ) : 5;
|
||||
if ( !isset( $options['fss'] ) && !isset( $options['msr'] ) && !isset( $options['strtr'] ) ) {
|
||||
$options['fss'] = true;
|
||||
$options['msr'] = true;
|
||||
$options['strtr'] = true;
|
||||
}
|
||||
$profile = false;
|
||||
if ( isset( $options['profile'] ) ) {
|
||||
$profile = true;
|
||||
$options['msr'] = true;
|
||||
unset( $options['fss'] );
|
||||
unset( $options['strtr'] );
|
||||
}
|
||||
|
||||
if ( isset( $options['msr'] ) ) {
|
||||
$replacer = new MultiStringReplacer( $zh2Hant );
|
||||
if ( $profile ) {
|
||||
xhprof_enable( XHPROF_FLAGS_CPU );
|
||||
}
|
||||
$startTime = microtime( true );
|
||||
for ( $i = 0; $i < $loops; $i++ ) {
|
||||
$replacer->searchAndReplace( $text );
|
||||
}
|
||||
$endTime = microtime( true );
|
||||
$wallTime = 1000 * ( ( $endTime - $startTime ) / $loops );
|
||||
printf( "%-'.40s %.2fms\n", 'MultiStringRepeater::searchAndReplace(): ', $wallTime );
|
||||
if ( $profile ) {
|
||||
$profile = xhprof_disable();
|
||||
foreach ( $profile as $func => $data ) {
|
||||
printf( "%s: %.2f\n", $func, $data['cpu'] / $data['ct'] );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( function_exists( 'fss_prep_replace' ) && isset( $options['fss'] ) ) {
|
||||
$fss = fss_prep_replace( $zh2Hant );
|
||||
$startTime = microtime( true );
|
||||
for ( $i = 0; $i < $loops; $i++ ) {
|
||||
fss_exec_replace( $fss, $text );
|
||||
}
|
||||
$endTime = microtime( true );
|
||||
$wallTime = 1000 * ( ( $endTime - $startTime ) / $loops );
|
||||
printf( "%-'.40s %.2fms\n", 'fss_exec_replace(): ', $wallTime );
|
||||
}
|
||||
|
||||
if ( isset( $options['strtr'] ) ) {
|
||||
$startTime = microtime( true );
|
||||
for ( $i = 0; $i < $loops; $i++ ) {
|
||||
strtr( $text, $zh2Hant );
|
||||
}
|
||||
$endTime = microtime( true );
|
||||
$wallTime = 1000 * ( ( $endTime - $startTime ) / $loops );
|
||||
printf( "%-'.40s %.2fms\n", 'strtr(): ', $wallTime );
|
||||
}
|
42
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/bench/check.php
vendored
Normal file
42
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/bench/check.php
vendored
Normal file
@ -0,0 +1,42 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../src/MultiStringMatcher.php';
|
||||
require_once __DIR__ . '/../src/MultiStringReplacer.php';
|
||||
|
||||
use AhoCorasick\MultiStringReplacer;
|
||||
|
||||
if ( !file_exists( __DIR__ . '/23835-0.txt' ) ) {
|
||||
die( 'Please download http://www.gutenberg.org/files/23835/23835-0.txt' );
|
||||
}
|
||||
|
||||
if ( !file_exists( __DIR__ . '/ZhConversion.php' ) ) {
|
||||
die( 'You need ZhConversion.php, from http://git.io/vIMst' );
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/ZhConversion.php';
|
||||
|
||||
$text = file_get_contents( __DIR__ . '/23835-0.txt' );
|
||||
|
||||
$status = 0;
|
||||
$expected = strtr( $text, $zh2Hant );
|
||||
|
||||
echo "MultiStringReplacer::searchAndReplace(): ";
|
||||
$replacer = new MultiStringReplacer( $zh2Hant );
|
||||
if ( $replacer->searchAndReplace( $text ) !== $expected ) {
|
||||
echo "ERROR\n";
|
||||
$status = 1;
|
||||
} else {
|
||||
echo "OK\n";
|
||||
}
|
||||
|
||||
if ( function_exists( 'fss_exec_replace' ) ) {
|
||||
echo "fss_exec_replace(): ";
|
||||
$fss = fss_prep_replace( $zh2Hant );
|
||||
if ( fss_exec_replace( $fss, $text ) !== $expected ) {
|
||||
echo "ERROR\n";
|
||||
$status = 1;
|
||||
} else {
|
||||
echo "OK\n";
|
||||
}
|
||||
}
|
||||
|
||||
exit( $status );
|
230
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/src/MultiStringMatcher.php
vendored
Normal file
230
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/src/MultiStringMatcher.php
vendored
Normal file
@ -0,0 +1,230 @@
|
||||
<?php
|
||||
/**
|
||||
* AhoCorasick PHP Library
|
||||
*
|
||||
* A PHP implementation of the Aho-Corasick string matching algorithm.
|
||||
*
|
||||
* Alfred V. Aho and Margaret J. Corasick, "Efficient string matching:
|
||||
* an aid to bibliographic search", CACM, 18(6):333-340, June 1975.
|
||||
*
|
||||
* @link http://xlinux.nist.gov/dads//HTML/ahoCorasick.html
|
||||
* @link https://en.wikipedia.org/wiki/Aho-Corasick_string_matching_algorithm
|
||||
*
|
||||
* Copyright (C) 2015 Ori Livneh <ori@wikimedia.org>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* @file
|
||||
* @author Ori Livneh <ori@wikimedia.org>
|
||||
*/
|
||||
|
||||
namespace AhoCorasick;
|
||||
|
||||
/**
|
||||
* Represents a finite state machine that can find all occurrences
|
||||
* of a set of search keywords in a body of text.
|
||||
*
|
||||
* The time it takes to construct the finite state machine is
|
||||
* proportional to the sum of the lengths of the search keywords.
|
||||
* Once constructed, the machine can locate all occurences of all
|
||||
* search keywords in a body of text in a single pass, making exactly
|
||||
* one state transition per input character.
|
||||
*
|
||||
* This is an implementation of the Aho-Corasick string matching
|
||||
* algorithm.
|
||||
*
|
||||
* Alfred V. Aho and Margaret J. Corasick, "Efficient string matching:
|
||||
* an aid to bibliographic search", CACM, 18(6):333-340, June 1975.
|
||||
*
|
||||
* @link http://xlinux.nist.gov/dads//HTML/ahoCorasick.html
|
||||
*/
|
||||
class MultiStringMatcher {
|
||||
|
||||
/** @var string[] The set of keywords to be searched for. **/
|
||||
protected $searchKeywords = [];
|
||||
|
||||
/** @var int The number of possible states of the string-matching finite state machine. **/
|
||||
protected $numStates = 1;
|
||||
|
||||
/** @var array Mapping of states to outputs. **/
|
||||
protected $outputs = [];
|
||||
|
||||
/** @var array Mapping of failure transitions. **/
|
||||
protected $noTransitions = [];
|
||||
|
||||
/** @var array Mapping of success transitions. **/
|
||||
protected $yesTransitions = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param string[] $searchKeywords The set of keywords to be matched.
|
||||
*/
|
||||
public function __construct( array $searchKeywords ) {
|
||||
foreach ( $searchKeywords as $keyword ) {
|
||||
if ( $keyword !== '' ) {
|
||||
$this->searchKeywords[$keyword] = strlen( $keyword );
|
||||
}
|
||||
}
|
||||
|
||||
if ( !$this->searchKeywords ) {
|
||||
trigger_error( __METHOD__ . ': The set of search keywords is empty.', E_USER_WARNING );
|
||||
// Unreachable 'return' when PHPUnit detects trigger_error
|
||||
return; // @codeCoverageIgnore
|
||||
}
|
||||
|
||||
$this->computeYesTransitions();
|
||||
$this->computeNoTransitions();
|
||||
}
|
||||
|
||||
/**
|
||||
* Accessor for the search keywords.
|
||||
*
|
||||
* @return string[] Search keywords.
|
||||
*/
|
||||
public function getKeywords() {
|
||||
return array_keys( $this->searchKeywords );
|
||||
}
|
||||
|
||||
/**
|
||||
* Map the current state and input character to the next state.
|
||||
*
|
||||
* @param int $currentState The current state of the string-matching
|
||||
* automaton.
|
||||
* @param string $inputChar The character the string-matching
|
||||
* automaton is currently processing.
|
||||
* @return int The state the automaton should transition to.
|
||||
*/
|
||||
public function nextState( $currentState, $inputChar ) {
|
||||
$initialState = $currentState;
|
||||
while ( true ) {
|
||||
$transitions =& $this->yesTransitions[$currentState];
|
||||
if ( isset( $transitions[$inputChar] ) ) {
|
||||
$nextState = $transitions[$inputChar];
|
||||
// Avoid failure transitions next time.
|
||||
if ( $currentState !== $initialState ) {
|
||||
$this->yesTransitions[$initialState][$inputChar] = $nextState;
|
||||
}
|
||||
return $nextState;
|
||||
}
|
||||
if ( $currentState === 0 ) {
|
||||
return 0;
|
||||
}
|
||||
$currentState = $this->noTransitions[$currentState];
|
||||
}
|
||||
// Unreachable outside 'while'
|
||||
} // @codeCoverageIgnore
|
||||
|
||||
/**
|
||||
* Locate the search keywords in some text.
|
||||
*
|
||||
* @param string $text The string to search in.
|
||||
* @return array[] An array of matches. Each match is a vector
|
||||
* containing an integer offset and the matched keyword.
|
||||
*
|
||||
* @par Example:
|
||||
* @code
|
||||
* $keywords = new MultiStringMatcher( array( 'ore', 'hell' ) );
|
||||
* $keywords->searchIn( 'She sells sea shells by the sea shore.' );
|
||||
* // result: array( array( 15, 'hell' ), array( 34, 'ore' ) )
|
||||
* @endcode
|
||||
*/
|
||||
public function searchIn( $text ) {
|
||||
if ( !$this->searchKeywords || $text === '' ) {
|
||||
return []; // fast path
|
||||
}
|
||||
|
||||
$state = 0;
|
||||
$results = [];
|
||||
$length = strlen( $text );
|
||||
|
||||
for ( $i = 0; $i < $length; $i++ ) {
|
||||
$ch = $text[$i];
|
||||
$state = $this->nextState( $state, $ch );
|
||||
foreach ( $this->outputs[$state] as $match ) {
|
||||
$offset = $i - $this->searchKeywords[$match] + 1;
|
||||
$results[] = [ $offset, $match ];
|
||||
}
|
||||
}
|
||||
|
||||
return $results;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the state transitions which the string-matching automaton
|
||||
* shall make as it advances through input text.
|
||||
*
|
||||
* Constructs a directed tree with a root node which represents the
|
||||
* initial state of the string-matching automaton and from which a
|
||||
* path exists which spells out each search keyword.
|
||||
*/
|
||||
protected function computeYesTransitions() {
|
||||
$this->yesTransitions = [ [] ];
|
||||
$this->outputs = [ [] ];
|
||||
foreach ( $this->searchKeywords as $keyword => $length ) {
|
||||
$state = 0;
|
||||
for ( $i = 0; $i < $length; $i++ ) {
|
||||
$ch = $keyword[$i];
|
||||
if ( !empty( $this->yesTransitions[$state][$ch] ) ) {
|
||||
$state = $this->yesTransitions[$state][$ch];
|
||||
} else {
|
||||
$this->yesTransitions[$state][$ch] = $this->numStates;
|
||||
$this->yesTransitions[] = [];
|
||||
$this->outputs[] = [];
|
||||
$state = $this->numStates++;
|
||||
}
|
||||
}
|
||||
|
||||
$this->outputs[$state][] = $keyword;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the state transitions which the string-matching automaton
|
||||
* shall make when a partial match proves false.
|
||||
*/
|
||||
protected function computeNoTransitions() {
|
||||
$queue = [];
|
||||
$this->noTransitions = [];
|
||||
|
||||
foreach ( $this->yesTransitions[0] as $ch => $toState ) {
|
||||
$queue[] = $toState;
|
||||
$this->noTransitions[$toState] = 0;
|
||||
}
|
||||
|
||||
while ( true ) {
|
||||
$fromState = array_shift( $queue );
|
||||
if ( $fromState === null ) {
|
||||
break;
|
||||
}
|
||||
foreach ( $this->yesTransitions[$fromState] as $ch => $toState ) {
|
||||
$queue[] = $toState;
|
||||
$state = $this->noTransitions[$fromState];
|
||||
|
||||
while ( $state !== 0 && empty( $this->yesTransitions[$state][$ch] ) ) {
|
||||
$state = $this->noTransitions[$state];
|
||||
}
|
||||
|
||||
if ( isset( $this->yesTransitions[$state][$ch] ) ) {
|
||||
$noState = $this->yesTransitions[$state][$ch];
|
||||
} else {
|
||||
$noState = 0;
|
||||
}
|
||||
|
||||
$this->noTransitions[$toState] = $noState;
|
||||
$this->outputs[$toState] = array_merge(
|
||||
$this->outputs[$toState], $this->outputs[$noState] );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
96
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/src/MultiStringReplacer.php
vendored
Normal file
96
wp-content/plugins/jetpack-protect/vendor/wikimedia/aho-corasick/src/MultiStringReplacer.php
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
<?php
|
||||
/**
|
||||
* AhoCorasick PHP Library
|
||||
*
|
||||
* A PHP implementation of the Aho-Corasick string matching algorithm.
|
||||
*
|
||||
* Alfred V. Aho and Margaret J. Corasick, "Efficient string matching:
|
||||
* an aid to bibliographic search", CACM, 18(6):333-340, June 1975.
|
||||
*
|
||||
* @link http://xlinux.nist.gov/dads//HTML/ahoCorasick.html
|
||||
* @link https://en.wikipedia.org/wiki/Aho-Corasick_string_matching_algorithm
|
||||
*
|
||||
* Copyright (C) 2015 Ori Livneh <ori@wikimedia.org>
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*
|
||||
* @file
|
||||
* @author Ori Livneh <ori@wikimedia.org>
|
||||
*/
|
||||
|
||||
namespace AhoCorasick;
|
||||
|
||||
/**
|
||||
* This class extends MultiStringMatcher, adding search and replace
|
||||
* functionality.
|
||||
*/
|
||||
class MultiStringReplacer extends MultiStringMatcher {
|
||||
|
||||
/** @var array Mapping of states to outputs. **/
|
||||
protected $replacePairs = [];
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
*
|
||||
* @param array $replacePairs array of ( 'from' => 'to' ) replacement pairs.
|
||||
*/
|
||||
public function __construct( array $replacePairs ) {
|
||||
foreach ( $replacePairs as $keyword => $replacement ) {
|
||||
if ( $keyword !== '' ) {
|
||||
$this->replacePairs[$keyword] = $replacement;
|
||||
}
|
||||
}
|
||||
parent::__construct( array_keys( $this->replacePairs ) );
|
||||
}
|
||||
|
||||
/**
|
||||
* Search and replace a set of keywords in some text.
|
||||
*
|
||||
* @param string $text The string to search in.
|
||||
* @return string The input text with replacements.
|
||||
*
|
||||
* @par Example:
|
||||
* @code
|
||||
* $replacer = new MultiStringReplacer( array( 'csh' => 'sea shells' ) );
|
||||
* $replacer->searchAndReplace( 'She sells csh by the sea shore.' );
|
||||
* // result: 'She sells sea shells by the sea shore.'
|
||||
* @endcode
|
||||
*/
|
||||
public function searchAndReplace( $text ) {
|
||||
$state = 0;
|
||||
$length = strlen( $text );
|
||||
$matches = [];
|
||||
for ( $i = 0; $i < $length; $i++ ) {
|
||||
$ch = $text[$i];
|
||||
$state = $this->nextState( $state, $ch );
|
||||
foreach ( $this->outputs[$state] as $match ) {
|
||||
$offset = $i - $this->searchKeywords[$match] + 1;
|
||||
$matches[$offset] = $match;
|
||||
}
|
||||
}
|
||||
ksort( $matches );
|
||||
|
||||
$buf = '';
|
||||
$lastInsert = 0;
|
||||
foreach ( $matches as $offset => $match ) {
|
||||
if ( $offset >= $lastInsert ) {
|
||||
$buf .= substr( $text, $lastInsert, $offset - $lastInsert );
|
||||
$buf .= $this->replacePairs[$match];
|
||||
$lastInsert = $offset + $this->searchKeywords[$match];
|
||||
}
|
||||
}
|
||||
$buf .= substr( $text, $lastInsert );
|
||||
|
||||
return $buf;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user