Plugin Directory

Changeset 2718768


Ignore:
Timestamp:
05/05/2022 08:36:20 PM (4 years ago)
Author:
camilaalvarez
Message:

Allow sort elements as a grid on mobile instant search

Location:
visual-search
Files:
1571 added
36 edited

Legend:

Unmodified
Added
Removed
  • visual-search/trunk/composer.lock

    r2715005 r2718768  
    99        {
    1010            "name": "caseyamcl/guzzle_retry_middleware",
    11             "version": "v2.6.1",
     11            "version": "v2.7",
    1212            "source": {
    1313                "type": "git",
    1414                "url": "https://github.com/caseyamcl/guzzle_retry_middleware.git",
    15                 "reference": "2d6c8e0bdc0c7102b3000ca157f535da48bd0bd0"
    16             },
    17             "dist": {
    18                 "type": "zip",
    19                 "url": "https://api.github.com/repos/caseyamcl/guzzle_retry_middleware/zipball/2d6c8e0bdc0c7102b3000ca157f535da48bd0bd0",
    20                 "reference": "2d6c8e0bdc0c7102b3000ca157f535da48bd0bd0",
     15                "reference": "e6717d8460e5ef40db6d2e7218069a2826f69138"
     16            },
     17            "dist": {
     18                "type": "zip",
     19                "url": "https://api.github.com/repos/caseyamcl/guzzle_retry_middleware/zipball/e6717d8460e5ef40db6d2e7218069a2826f69138",
     20                "reference": "e6717d8460e5ef40db6d2e7218069a2826f69138",
    2121                "shasum": ""
    2222            },
     
    2929                "nesbot/carbon": "^2.0",
    3030                "phpstan/extension-installer": "^1.0",
    31                 "phpstan/phpstan": "^0.12",
     31                "phpstan/phpstan": "^1.0",
    3232                "phpunit/phpunit": "^7.5|^8.0|^9.0",
    3333                "squizlabs/php_codesniffer": "^3.5"
     
    6969            "support": {
    7070                "issues": "https://github.com/caseyamcl/guzzle_retry_middleware/issues",
    71                 "source": "https://github.com/caseyamcl/guzzle_retry_middleware/tree/v2.6.1"
    72             },
    73             "time": "2020-11-27T19:10:19+00:00"
     71                "source": "https://github.com/caseyamcl/guzzle_retry_middleware/tree/v2.7"
     72            },
     73            "time": "2021-12-04T02:49:15+00:00"
    7474        },
    7575        {
     
    318318        {
    319319            "name": "guzzlehttp/promises",
    320             "version": "1.4.1",
     320            "version": "1.5.1",
    321321            "source": {
    322322                "type": "git",
    323323                "url": "https://github.com/guzzle/promises.git",
    324                 "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
    325             },
    326             "dist": {
    327                 "type": "zip",
    328                 "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
    329                 "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
     324                "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da"
     325            },
     326            "dist": {
     327                "type": "zip",
     328                "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
     329                "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
    330330                "shasum": ""
    331331            },
     
    339339            "extra": {
    340340                "branch-alias": {
    341                     "dev-master": "1.4-dev"
    342                 }
    343             },
    344             "autoload": {
     341                    "dev-master": "1.5-dev"
     342                }
     343            },
     344            "autoload": {
     345                "files": [
     346                    "src/functions_include.php"
     347                ],
    345348                "psr-4": {
    346349                    "GuzzleHttp\\Promise\\": "src/"
    347                 },
    348                 "files": [
    349                     "src/functions_include.php"
    350                 ]
     350                }
    351351            },
    352352            "notification-url": "https://packagist.org/downloads/",
     
    355355            ],
    356356            "authors": [
     357                {
     358                    "name": "Graham Campbell",
     359                    "email": "[email protected]",
     360                    "homepage": "https://github.com/GrahamCampbell"
     361                },
    357362                {
    358363                    "name": "Michael Dowling",
    359364                    "email": "[email protected]",
    360365                    "homepage": "https://github.com/mtdowling"
     366                },
     367                {
     368                    "name": "Tobias Nyholm",
     369                    "email": "[email protected]",
     370                    "homepage": "https://github.com/Nyholm"
     371                },
     372                {
     373                    "name": "Tobias Schultze",
     374                    "email": "[email protected]",
     375                    "homepage": "https://github.com/Tobion"
    361376                }
    362377            ],
     
    367382            "support": {
    368383                "issues": "https://github.com/guzzle/promises/issues",
    369                 "source": "https://github.com/guzzle/promises/tree/1.4.1"
    370             },
    371             "time": "2021-03-07T09:25:29+00:00"
     384                "source": "https://github.com/guzzle/promises/tree/1.5.1"
     385            },
     386            "funding": [
     387                {
     388                    "url": "https://github.com/GrahamCampbell",
     389                    "type": "github"
     390                },
     391                {
     392                    "url": "https://github.com/Nyholm",
     393                    "type": "github"
     394                },
     395                {
     396                    "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
     397                    "type": "tidelift"
     398                }
     399            ],
     400            "time": "2021-10-22T20:56:57+00:00"
    372401        },
    373402        {
    374403            "name": "guzzlehttp/psr7",
    375             "version": "1.8.3",
     404            "version": "1.8.5",
    376405            "source": {
    377406                "type": "git",
    378407                "url": "https://github.com/guzzle/psr7.git",
    379                 "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"
    380             },
    381             "dist": {
    382                 "type": "zip",
    383                 "url": "https://api.github.com/repos/guzzle/psr7/zipball/1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
    384                 "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
     408                "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268"
     409            },
     410            "dist": {
     411                "type": "zip",
     412                "url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268",
     413                "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268",
    385414                "shasum": ""
    386415            },
     
    407436            },
    408437            "autoload": {
     438                "files": [
     439                    "src/functions_include.php"
     440                ],
    409441                "psr-4": {
    410442                    "GuzzleHttp\\Psr7\\": "src/"
    411                 },
    412                 "files": [
    413                     "src/functions_include.php"
    414                 ]
     443                }
    415444            },
    416445            "notification-url": "https://packagist.org/downloads/",
     
    463492            "support": {
    464493                "issues": "https://github.com/guzzle/psr7/issues",
    465                 "source": "https://github.com/guzzle/psr7/tree/1.8.3"
     494                "source": "https://github.com/guzzle/psr7/tree/1.8.5"
    466495            },
    467496            "funding": [
     
    479508                }
    480509            ],
    481             "time": "2021-10-05T13:56:00+00:00"
     510            "time": "2022-03-20T21:51:18+00:00"
    482511        },
    483512        {
     
    487516                "type": "git",
    488517                "url": "[email protected]:Impresee/impresee-creative-search-bar-php-base.git",
    489                 "reference": "0e5c866650c16190424e34c310fb52e0e5ab7c66"
    490             },
    491             "dist": {
    492                 "type": "zip",
    493                 "url": "https://api.github.com/repos/Impresee/impresee-creative-search-bar-php-base/zipball/0e5c866650c16190424e34c310fb52e0e5ab7c66",
    494                 "reference": "0e5c866650c16190424e34c310fb52e0e5ab7c66",
     518                "reference": "32d2f7400721ac5a44c2810ea1e98f901bc57634"
     519            },
     520            "dist": {
     521                "type": "zip",
     522                "url": "https://api.github.com/repos/Impresee/impresee-creative-search-bar-php-base/zipball/32d2f7400721ac5a44c2810ea1e98f901bc57634",
     523                "reference": "32d2f7400721ac5a44c2810ea1e98f901bc57634",
    495524                "shasum": ""
    496525            },
     
    509538            },
    510539            "require-dev": {
    511                 "phpunit/phpunit": "~7"
     540                "phpunit/phpunit": "~8"
    512541            },
    513542            "type": "library",
     
    531560                "issues": "https://github.com/Impresee/impresee-creative-search-bar-php-base/issues"
    532561            },
    533             "time": "2021-10-05T18:56:31+00:00"
     562            "time": "2022-05-05T19:12:55+00:00"
    534563        },
    535564        {
     
    703732        {
    704733            "name": "php-di/invoker",
    705             "version": "2.3.2",
     734            "version": "2.3.3",
    706735            "source": {
    707736                "type": "git",
    708737                "url": "https://github.com/PHP-DI/Invoker.git",
    709                 "reference": "5214cbe5aad066022cd845dbf313f0e47aed928f"
    710             },
    711             "dist": {
    712                 "type": "zip",
    713                 "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/5214cbe5aad066022cd845dbf313f0e47aed928f",
    714                 "reference": "5214cbe5aad066022cd845dbf313f0e47aed928f",
     738                "reference": "cd6d9f267d1a3474bdddf1be1da079f01b942786"
     739            },
     740            "dist": {
     741                "type": "zip",
     742                "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/cd6d9f267d1a3474bdddf1be1da079f01b942786",
     743                "reference": "cd6d9f267d1a3474bdddf1be1da079f01b942786",
    715744                "shasum": ""
    716745            },
     
    746775            "support": {
    747776                "issues": "https://github.com/PHP-DI/Invoker/issues",
    748                 "source": "https://github.com/PHP-DI/Invoker/tree/2.3.2"
     777                "source": "https://github.com/PHP-DI/Invoker/tree/2.3.3"
    749778            },
    750779            "funding": [
     
    754783                }
    755784            ],
    756             "time": "2021-07-30T15:05:32+00:00"
     785            "time": "2021-12-13T09:22:56+00:00"
    757786        },
    758787        {
     
    794823            "type": "library",
    795824            "autoload": {
     825                "files": [
     826                    "src/functions.php"
     827                ],
    796828                "psr-4": {
    797829                    "DI\\": "src/"
    798                 },
    799                 "files": [
    800                     "src/functions.php"
    801                 ]
     830                }
    802831            },
    803832            "notification-url": "https://packagist.org/downloads/",
     
    912941        {
    913942            "name": "psr/container",
    914             "version": "1.1.1",
     943            "version": "1.1.2",
    915944            "source": {
    916945                "type": "git",
    917946                "url": "https://github.com/php-fig/container.git",
    918                 "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
    919             },
    920             "dist": {
    921                 "type": "zip",
    922                 "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
    923                 "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
    924                 "shasum": ""
    925             },
    926             "require": {
    927                 "php": ">=7.2.0"
     947                "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
     948            },
     949            "dist": {
     950                "type": "zip",
     951                "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
     952                "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
     953                "shasum": ""
     954            },
     955            "require": {
     956                "php": ">=7.4.0"
    928957            },
    929958            "type": "library",
     
    954983            "support": {
    955984                "issues": "https://github.com/php-fig/container/issues",
    956                 "source": "https://github.com/php-fig/container/tree/1.1.1"
    957             },
    958             "time": "2021-03-05T17:36:06+00:00"
     985                "source": "https://github.com/php-fig/container/tree/1.1.2"
     986            },
     987            "time": "2021-11-05T16:50:12+00:00"
    959988        },
    960989        {
     
    11091138            },
    11101139            "autoload": {
     1140                "files": [
     1141                    "src/functions.php"
     1142                ],
    11111143                "psr-4": {
    11121144                    "Ramsey\\Uuid\\": "src/"
    1113                 },
    1114                 "files": [
    1115                     "src/functions.php"
    1116                 ]
     1145                }
    11171146            },
    11181147            "notification-url": "https://packagist.org/downloads/",
     
    11911220            },
    11921221            "autoload": {
     1222                "files": [
     1223                    "bootstrap.php"
     1224                ],
    11931225                "psr-4": {
    11941226                    "Symfony\\Polyfill\\Ctype\\": ""
    1195                 },
    1196                 "files": [
    1197                     "bootstrap.php"
    1198                 ]
     1227                }
    11991228            },
    12001229            "notification-url": "https://packagist.org/downloads/",
     
    12721301            },
    12731302            "autoload": {
     1303                "files": [
     1304                    "bootstrap.php"
     1305                ],
    12741306                "psr-4": {
    12751307                    "Symfony\\Polyfill\\Intl\\Idn\\": ""
    1276                 },
    1277                 "files": [
    1278                     "bootstrap.php"
    1279                 ]
     1308                }
    12801309            },
    12811310            "notification-url": "https://packagist.org/downloads/",
     
    13531382            },
    13541383            "autoload": {
    1355                 "psr-4": {
    1356                     "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
    1357                 },
    13581384                "files": [
    13591385                    "bootstrap.php"
    13601386                ],
     1387                "psr-4": {
     1388                    "Symfony\\Polyfill\\Intl\\Normalizer\\": ""
     1389                },
    13611390                "classmap": [
    13621391                    "Resources/stubs"
     
    14371466            },
    14381467            "autoload": {
     1468                "files": [
     1469                    "bootstrap.php"
     1470                ],
    14391471                "psr-4": {
    14401472                    "Symfony\\Polyfill\\Mbstring\\": ""
    1441                 },
    1442                 "files": [
    1443                     "bootstrap.php"
    1444                 ]
     1473                }
    14451474            },
    14461475            "notification-url": "https://packagist.org/downloads/",
     
    15561585        {
    15571586            "name": "symfony/polyfill-php72",
    1558             "version": "v1.23.0",
     1587            "version": "v1.25.0",
    15591588            "source": {
    15601589                "type": "git",
     
    15821611            },
    15831612            "autoload": {
     1613                "files": [
     1614                    "bootstrap.php"
     1615                ],
    15841616                "psr-4": {
    15851617                    "Symfony\\Polyfill\\Php72\\": ""
    1586                 },
    1587                 "files": [
    1588                     "bootstrap.php"
    1589                 ]
     1618                }
    15901619            },
    15911620            "notification-url": "https://packagist.org/downloads/",
     
    16121641            ],
    16131642            "support": {
    1614                 "source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0"
     1643                "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0"
    16151644            },
    16161645            "funding": [
     
    16341663        {
    16351664            "name": "doctrine/instantiator",
    1636             "version": "1.4.0",
     1665            "version": "1.4.1",
    16371666            "source": {
    16381667                "type": "git",
    16391668                "url": "https://github.com/doctrine/instantiator.git",
    1640                 "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b"
    1641             },
    1642             "dist": {
    1643                 "type": "zip",
    1644                 "url": "https://api.github.com/repos/doctrine/instantiator/zipball/d56bf6102915de5702778fe20f2de3b2fe570b5b",
    1645                 "reference": "d56bf6102915de5702778fe20f2de3b2fe570b5b",
     1669                "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc"
     1670            },
     1671            "dist": {
     1672                "type": "zip",
     1673                "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc",
     1674                "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc",
    16461675                "shasum": ""
    16471676            },
     
    16501679            },
    16511680            "require-dev": {
    1652                 "doctrine/coding-standard": "^8.0",
     1681                "doctrine/coding-standard": "^9",
    16531682                "ext-pdo": "*",
    16541683                "ext-phar": "*",
    1655                 "phpbench/phpbench": "^0.13 || 1.0.0-alpha2",
    1656                 "phpstan/phpstan": "^0.12",
    1657                 "phpstan/phpstan-phpunit": "^0.12",
    1658                 "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0"
     1684                "phpbench/phpbench": "^0.16 || ^1",
     1685                "phpstan/phpstan": "^1.4",
     1686                "phpstan/phpstan-phpunit": "^1",
     1687                "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5",
     1688                "vimeo/psalm": "^4.22"
    16591689            },
    16601690            "type": "library",
     
    16831713            "support": {
    16841714                "issues": "https://github.com/doctrine/instantiator/issues",
    1685                 "source": "https://github.com/doctrine/instantiator/tree/1.4.0"
     1715                "source": "https://github.com/doctrine/instantiator/tree/1.4.1"
    16861716            },
    16871717            "funding": [
     
    16991729                }
    17001730            ],
    1701             "time": "2020-11-10T18:47:58+00:00"
     1731            "time": "2022-03-03T08:28:38+00:00"
    17021732        },
    17031733        {
    17041734            "name": "myclabs/deep-copy",
    1705             "version": "1.10.2",
     1735            "version": "1.11.0",
    17061736            "source": {
    17071737                "type": "git",
    17081738                "url": "https://github.com/myclabs/DeepCopy.git",
    1709                 "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220"
    1710             },
    1711             "dist": {
    1712                 "type": "zip",
    1713                 "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/776f831124e9c62e1a2c601ecc52e776d8bb7220",
    1714                 "reference": "776f831124e9c62e1a2c601ecc52e776d8bb7220",
     1739                "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614"
     1740            },
     1741            "dist": {
     1742                "type": "zip",
     1743                "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/14daed4296fae74d9e3201d2c4925d1acb7aa614",
     1744                "reference": "14daed4296fae74d9e3201d2c4925d1acb7aa614",
    17151745                "shasum": ""
    17161746            },
     
    17181748                "php": "^7.1 || ^8.0"
    17191749            },
    1720             "replace": {
    1721                 "myclabs/deep-copy": "self.version"
    1722             },
    1723             "require-dev": {
    1724                 "doctrine/collections": "^1.0",
    1725                 "doctrine/common": "^2.6",
    1726                 "phpunit/phpunit": "^7.1"
    1727             },
    1728             "type": "library",
    1729             "autoload": {
     1750            "conflict": {
     1751                "doctrine/collections": "<1.6.8",
     1752                "doctrine/common": "<2.13.3 || >=3,<3.2.2"
     1753            },
     1754            "require-dev": {
     1755                "doctrine/collections": "^1.6.8",
     1756                "doctrine/common": "^2.13.3 || ^3.2.2",
     1757                "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13"
     1758            },
     1759            "type": "library",
     1760            "autoload": {
     1761                "files": [
     1762                    "src/DeepCopy/deep_copy.php"
     1763                ],
    17301764                "psr-4": {
    17311765                    "DeepCopy\\": "src/DeepCopy/"
    1732                 },
    1733                 "files": [
    1734                     "src/DeepCopy/deep_copy.php"
    1735                 ]
     1766                }
    17361767            },
    17371768            "notification-url": "https://packagist.org/downloads/",
     
    17491780            "support": {
    17501781                "issues": "https://github.com/myclabs/DeepCopy/issues",
    1751                 "source": "https://github.com/myclabs/DeepCopy/tree/1.10.2"
     1782                "source": "https://github.com/myclabs/DeepCopy/tree/1.11.0"
    17521783            },
    17531784            "funding": [
     
    17571788                }
    17581789            ],
    1759             "time": "2020-11-13T09:40:50+00:00"
     1790            "time": "2022-03-03T13:19:32+00:00"
    17601791        },
    17611792        {
     
    19241955        {
    19251956            "name": "phpdocumentor/reflection-docblock",
    1926             "version": "5.2.2",
     1957            "version": "5.3.0",
    19271958            "source": {
    19281959                "type": "git",
    19291960                "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git",
    1930                 "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556"
    1931             },
    1932             "dist": {
    1933                 "type": "zip",
    1934                 "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/069a785b2141f5bcf49f3e353548dc1cce6df556",
    1935                 "reference": "069a785b2141f5bcf49f3e353548dc1cce6df556",
     1961                "reference": "622548b623e81ca6d78b721c5e029f4ce664f170"
     1962            },
     1963            "dist": {
     1964                "type": "zip",
     1965                "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170",
     1966                "reference": "622548b623e81ca6d78b721c5e029f4ce664f170",
    19361967                "shasum": ""
    19371968            },
     
    19441975            },
    19451976            "require-dev": {
    1946                 "mockery/mockery": "~1.3.2"
     1977                "mockery/mockery": "~1.3.2",
     1978                "psalm/phar": "^4.8"
    19471979            },
    19481980            "type": "library",
     
    19742006            "support": {
    19752007                "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues",
    1976                 "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/master"
    1977             },
    1978             "time": "2020-09-03T19:13:55+00:00"
     2008                "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0"
     2009            },
     2010            "time": "2021-10-19T17:43:47+00:00"
    19792011        },
    19802012        {
    19812013            "name": "phpdocumentor/type-resolver",
    1982             "version": "1.5.1",
     2014            "version": "1.6.1",
    19832015            "source": {
    19842016                "type": "git",
    19852017                "url": "https://github.com/phpDocumentor/TypeResolver.git",
    1986                 "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae"
    1987             },
    1988             "dist": {
    1989                 "type": "zip",
    1990                 "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/a12f7e301eb7258bb68acd89d4aefa05c2906cae",
    1991                 "reference": "a12f7e301eb7258bb68acd89d4aefa05c2906cae",
     2018                "reference": "77a32518733312af16a44300404e945338981de3"
     2019            },
     2020            "dist": {
     2021                "type": "zip",
     2022                "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/77a32518733312af16a44300404e945338981de3",
     2023                "reference": "77a32518733312af16a44300404e945338981de3",
    19922024                "shasum": ""
    19932025            },
     
    20242056            "support": {
    20252057                "issues": "https://github.com/phpDocumentor/TypeResolver/issues",
    2026                 "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.5.1"
    2027             },
    2028             "time": "2021-10-02T14:08:47+00:00"
     2058                "source": "https://github.com/phpDocumentor/TypeResolver/tree/1.6.1"
     2059            },
     2060            "time": "2022-03-15T21:29:03+00:00"
    20292061        },
    20302062        {
     
    27532785        {
    27542786            "name": "sebastian/exporter",
    2755             "version": "3.1.3",
     2787            "version": "3.1.4",
    27562788            "source": {
    27572789                "type": "git",
    27582790                "url": "https://github.com/sebastianbergmann/exporter.git",
    2759                 "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e"
    2760             },
    2761             "dist": {
    2762                 "type": "zip",
    2763                 "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/6b853149eab67d4da22291d36f5b0631c0fd856e",
    2764                 "reference": "6b853149eab67d4da22291d36f5b0631c0fd856e",
     2791                "reference": "0c32ea2e40dbf59de29f3b49bf375176ce7dd8db"
     2792            },
     2793            "dist": {
     2794                "type": "zip",
     2795                "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/0c32ea2e40dbf59de29f3b49bf375176ce7dd8db",
     2796                "reference": "0c32ea2e40dbf59de29f3b49bf375176ce7dd8db",
    27652797                "shasum": ""
    27662798            },
     
    27712803            "require-dev": {
    27722804                "ext-mbstring": "*",
    2773                 "phpunit/phpunit": "^6.0"
     2805                "phpunit/phpunit": "^8.5"
    27742806            },
    27752807            "type": "library",
     
    28182850            "support": {
    28192851                "issues": "https://github.com/sebastianbergmann/exporter/issues",
    2820                 "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.3"
     2852                "source": "https://github.com/sebastianbergmann/exporter/tree/3.1.4"
    28212853            },
    28222854            "funding": [
     
    28262858                }
    28272859            ],
    2828             "time": "2020-11-30T07:47:53+00:00"
     2860            "time": "2021-11-11T13:51:24+00:00"
    28292861        },
    28302862        {
  • visual-search/trunk/impresee-creativesearch.php

    r2715005 r2718768  
    44 * Plugin URI:     https://impresee.com/plugins/woocommerce/creative-search
    55 * Description:    A search & navigation experience for your store. Featuring Instant Search, Visual Search & Creative Search
    6  * Version:        5.2.2
     6 * Version:        5.2.3
    77 * Author:         Impresee Inc.
    88 * Author URI:     https://impresee.com
  • visual-search/trunk/impresee-creativesearch/includes/Presentation/Integration/Snippet/ImpreseeSnippet.php

    r2715005 r2718768  
    1717
    1818class ImpreseeSnippet {
    19     private $base_snippet_version = 'v5.1';
     19    private $base_snippet_version = 'v5.5';
    2020    private $santa_snippet_version = 'v4.4-navidad-1';
    2121    private $neutral_snippet_version = 'v4.4-navidad-2';
     
    175175        $use_floating_search_bar_button = $search_by_text->use_floating_search_bar_button ? 'true' : 'false';
    176176        $use_search_suggestions = $search_by_text->use_search_suggestions ? 'true' : 'false';
     177        $mobile_instant_as_grid = $search_by_text->mobile_instant_as_grid ? 'true' : 'false';
    177178        // Obtained directly from woo
    178179        $currency_pos = get_option( 'woocommerce_currency_pos' );
     
    217218    window._wssee_store_url = window.location.origin;
    218219    window._wssee_store_app_code = "$impresee_text";
    219     function _wsee_analytics() {
    220         (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    221         new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    222         j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    223         'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    224         })(window,document,'script','dataLayer','GTM-M2KFHW9');
    225     }
    226220    _wsseDocumentReady(function(  ) {
    227221       var searchForms = document.querySelectorAll('form.search-form,form[role="search"]');
     
    229223            searchForm.addEventListener('submit',function(event){event.stopPropagation();event.preventDefault();return false}, true);
    230224        }
    231         _wsee_analytics();
    232225    });
    233226
     
    320313        searchByText: {
    321314            instantFull: $use_instant_full_search,
     315            displayMobileDropdownAsGrid: $mobile_instant_as_grid,
    322316            useSearchSuggestions: $use_search_suggestions,
    323317            useText: $use_text,
  • visual-search/trunk/impresee-creativesearch/includes/Presentation/Settings/SearchByText/SearchByTextSettings.php

    r2715005 r2718768  
    4646                $config->use_search_suggestions = TRUE;
    4747                $config->search_bar_selector = 'input[name=q],input[name=s]';
     48                $config->mobile_instant_as_grid = FALSE;
    4849                $new_configuration->search_by_text_configuration = $config;
    4950
     
    6869                'floating_button_location' => $search_config->floating_button_location,
    6970                'search_bar_selector' => $search_config->search_bar_selector,
    70                 'use_search_suggestions' => $search_config->use_search_suggestions
     71                'use_search_suggestions' => $search_config->use_search_suggestions,
     72                'mobile_instant_as_grid' => $search_config->mobile_instant_as_grid
    7173            )
    7274        );
     
    100102            $new_configuration->search_bar_selector = stripslashes($new_settings["search_bar_selector"]);
    101103            $new_configuration->use_search_suggestions = isset($new_settings["use_search_suggestions"])? TRUE : FALSE;
     104            $new_configuration->mobile_instant_as_grid = isset($new_settings["mobile_instant_as_grid"])? TRUE : FALSE;
    102105             // Update the data
    103106            $config_data->search_by_text_configuration = $new_configuration;
     
    168171            array(
    169172                'type'      => 'setting',
     173                'id'        => 'mobile_instant_as_grid',
     174                'title'     => 'Display instant results as a grid (mobile only)',
     175                'callback'  => 'checkbox',
     176                'section'   => 'search_by_text_settings',
     177                'args'      => array(
     178                    'option_name'   => $option_name,
     179                    'id'            => 'mobile_instant_as_grid',
     180                    'current' => $search_config->mobile_instant_as_grid,
     181
     182                )
     183            ),
     184            array(
     185                'type'      => 'setting',
    170186                'id'        => 'search_delay_millis',
    171187                'title'     => 'Time it takes to start searching after pressing a key (in milliseconds)',
  • visual-search/trunk/impresee-creativesearch/includes/Presentation/Utils/WooProject.php

    r2715005 r2718768  
    44
    55class WooProject implements Project {
    6     const VERSION = '5.2.2';
     6    const VERSION = '5.2.3';
    77    const PROJECT_NAME = 'Creative search bar WooCommerce '.WooProject::VERSION;
    88    const DEBUG = FALSE;
  • visual-search/trunk/readme.txt

    r2715005 r2718768  
    22Contributors: Impresee
    33Tags: woocommerce, image search, search bar, visual search, product search, creative search
    4 Stable tag: 5.2.2
     4Stable tag: 5.2.3
    55Requires at least: 3.5
    66Tested up to: 5.9.3
  • visual-search/trunk/vendor/autoload.php

    r2715005 r2718768  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit9cb9706ca349cdd6a0574ffa3140a2d8::getLoader();
     7return ComposerAutoloaderInit5d2bd2adc3a6601ee58ff71c16be4da2::getLoader();
  • visual-search/trunk/vendor/caseyamcl/guzzle_retry_middleware/CHANGELOG.md

    r2715005 r2718768  
    44
    55Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
     6
     7## 2.7 (2021-12-03)
     8### Added
     9- Support PHP v8.1
     10- New [`give_up_after_secs` parameter](./README.md#setting-a-hard-ceiling-for-all-retries)
     11### Changed
     12- Upgraded to PHPStan 1.2
     13- Improved comments for options array
    614
    715## v2.6.1 (2020-11-27)
  • visual-search/trunk/vendor/caseyamcl/guzzle_retry_middleware/README.md

    r2715005 r2718768  
    6767The following options are available:
    6868
    69 | Option                             | Type              | Default            | Summary |
    70 | ---------------------------------- | ----------------- | ------------------ | ------- |
    71 | `retry_enabled`                    | boolean           | true               | Is retry enabled (useful for disabling for individual requests)
    72 | `max_retry_attempts`               | integer           | 10                 | Maximum number of retries per request
    73 | `max_allowable_timeout_secs`       | integer           | null               | If set, specifies a hard ceiling in seconds that the client can wait between requests
    74 | `retry_only_if_retry_after_header` | boolean           | false              | Retry only if `RetryAfter` header sent
    75 | `retry_on_status`                  | array<int>        | 503, 429           | The response status codes that will trigger a retry
    76 | `default_retry_multiplier`         | float or callable | 1.5                | Value to multiply the number of requests by if `RetryAfter` not supplied (see [below](#setting-default-retry-delay) for details)
    77 | `on_retry_callback`                | callable          | null               | Optional callback to call when a retry occurs
    78 | `retry_on_timeout`                 | boolean           | false              | Set to TRUE if you wish to retry requests that timeout (configured with `connect_timeout` or `timeout` options)
    79 | `expose_retry_header`              | boolean           | false              | Set to TRUE if you wish to expose the number of retries as a header on the response object
    80 | `retry_header`                     | string            | X-Retry-Counter    | The header key to use for the retry counter (if you need it)
    81 | `retry_after_header`               | string            | Retry-After        | The header key to use for the retry after header.
    82 | `retry_after_date_format`          | string            | `D, d M Y H:i:s T` | Optional customization for servers that return date/times that violate the HTTP spec
     69| Option                             | Type              | Default            | Summary                                                                                                                          |
     70|------------------------------------|-------------------|--------------------|----------------------------------------------------------------------------------------------------------------------------------|
     71| `retry_enabled`                    | boolean           | true               | Is retry enabled (useful for disabling per individual request)                                                                   |
     72| `max_retry_attempts`               | integer           | 10                 | Maximum number of retries per request                                                                                            |
     73| `max_allowable_timeout_secs`       | integer           | null               | If set, specifies a hard ceiling in seconds that the client can wait between requests                                            |
     74| `give_up_after_secs`               | integer           | null               | If set, specifies a hard ceiling in seconds that this middleware will allow retries                                              |
     75| `retry_only_if_retry_after_header` | boolean           | false              | Retry only if `RetryAfter` header sent                                                                                           |
     76| `retry_on_status`                  | array<int>        | 503, 429           | The response status codes that will trigger a retry                                                                              |
     77| `default_retry_multiplier`         | float or callable | 1.5                | Value to multiply the number of requests by if `RetryAfter` not supplied (see [below](#setting-default-retry-delay) for details) |
     78| `on_retry_callback`                | callable          | null               | Optional callback to call before a retry occurs                                                                                  |
     79| `retry_on_timeout`                 | boolean           | false              | Set to TRUE if you wish to retry requests that throw a ConnectException such as a timeout or 'connection refused'                |
     80| `expose_retry_header`              | boolean           | false              | Set to TRUE if you wish to expose the number of retries as a header on the response object                                       |
     81| `retry_header`                     | string            | X-Retry-Counter    | The header key to use for the retry counter (if you need it)                                                                     |
     82| `retry_after_header`               | string            | Retry-After        | The remote server header key to look for information about how long to wait until retrying the request.                          |
     83| `retry_after_date_format`          | string            | `D, d M Y H:i:s T` | Optional customization for servers that return date/times that violate the HTTP spec                                             |
    8384
    8485Each option is discussed in detail below.
     
    100101
    101102    // Standard Guzzle options
    102     'base_url'        => 'http://example.org',
     103    'base_url'        => 'https://example.org',
    103104    'connect_timeout' => 10.0,
    104105   
     
    119120If you specify options in two or more places, the configuration is merged as follows:
    120121
    121 1. Request options take precedence over Guzzle constructor options
     1221. Individual request options take precedence over Guzzle constructor options
    1221232. Guzzle constructor options take precedence over middleware constructor options.
    123124
     
    243244### On-Retry callback
    244245
    245 You can supply a callback method that will be called each time a request is retried.  This is useful for logging,
     246You can supply a callback method that will be called before each time a request is retried.  This is useful for logging,
    246247reporting, or anything else you can think of.
    247248
    248 If you specify a callback, it will be called before the middleware calls the `usleep()` delay function.
    249 
    250 The `request` and `options` arguments are sent by reference in case you want to modify them in the callback.
     249If you specify a callback, it will be called *before* the middleware calls the `usleep()` delay function.
     250
     251The `request` and `options` arguments are sent by reference in case you want to modify them in the callback before the
     252request is re-sent.
    251253
    252254```php
     
    264266 * @param ResponseInterface|null $response       Response (or NULL if response not sent; e.g. connect timeout)
    265267 */
    266 $listener = function($attemptNumber, $delay, &$request, &$options, $response) {
     268$listener = function(int $attemptNumber, float $delay, RequestInterface &$request, array &$options, ?ResponseInterface $response) {
    267269   
    268270    echo sprintf(
     
    297299```php
    298300// Retry will NOT be attempted for this request..
    299 $client->get('http://example.org', ['retry_enabled' => false]);
     301$client->get('https://example.org', ['retry_enabled' => false]);
    300302
    301303// Retry WILL be attempted for this request...
    302 $client->get('http://example.org');
     304$client->get('https://example.org');
    303305```
    304306
     
    361363possibility of that.
    362364
    363 ```php
    364 # Change the expected date format of the `Retry-After` header
    365 $response = $client->get('/some-path', [
    366     'retry_after_date_format' => 'Y-m-d H:i:s'
    367 ]);
    368 
    369 # Otherwise, the default date format for the `Retry-After` header will be used.
    370 # (ex. 'Wed, 24 Nov 2020 07:28:00 GMT')
    371 $response = $client->get('/some-path');
    372 ```
    373 
    374365*Note*: Be careful not to use this option with the Unix epoch (`u`) format.  The
    375366client will interpret this value as an integer and subsequently timeout 
    376367for a very, very long time.
     368
    377369
    378370### Setting a maximum allowable timeout value
     
    392384]);
    393385```
     386
     387
     388### Setting a hard ceiling for all retries
     389
     390If you want to set a hard time-limit for all retry requests, set the `give_up_after_secs` option. If set, this will be
     391checked before the number of retries is, so any requests will fail even if you haven't reached your retry count limit.
     392
     393```php
     394# This will fail when either the number of seconds is reached, or the number of retry attempts is reached, whichever
     395# comes first
     396$response = $client->get('/some-path', [
     397   'max_retry_attempts' => 10
     398   'give_up_after_secs' => 10
     399]);
     400```
     401
    394402
    395403## Change log
     
    437445[link-downloads]: https://packagist.org/packages/caseyamcl/guzzle_retry_middleware
    438446[link-author]: https://github.com/caseyamcl
    439 [link-contributors]: ../../contributors
     447[link-contributors]: https://github.com/caseyamcl/guzzle_retry_middleware/contributors
  • visual-search/trunk/vendor/caseyamcl/guzzle_retry_middleware/composer.json

    r2715005 r2718768  
    3030        "nesbot/carbon": "^2.0",
    3131        "phpstan/extension-installer": "^1.0",
    32         "phpstan/phpstan": "^0.12",
     32        "phpstan/phpstan": "^1.0",
    3333        "phpunit/phpunit": "^7.5|^8.0|^9.0",
    3434        "squizlabs/php_codesniffer": "^3.5"
  • visual-search/trunk/vendor/caseyamcl/guzzle_retry_middleware/src/GuzzleRetryMiddleware.php

    r2715005 r2718768  
    2828use Psr\Http\Message\RequestInterface;
    2929use Psr\Http\Message\ResponseInterface;
     30use Throwable;
    3031
    3132use function call_user_func;
     
    3839 * Retry After Middleware
    3940 *
    40  * Guzzle 6 middleware that retries requests when encountering responses
     41 * Guzzle 6/7 middleware that retries requests when encountering responses
    4142 * with certain conditions (429 or 503).  This middleware also respects
    4243 * the `RetryAfter` header
     
    5657
    5758    /**
    58      * @var array<mixed>
     59     * @var array<string,mixed>
    5960     */
    6061    private $defaultOptions = [
     
    7374        'max_allowable_timeout_secs'       => null,
    7475
     76        // Give up after seconds
     77        'give_up_after_secs'               => null,
     78
    7579        // Set this to TRUE to retry only if the HTTP Retry-After header is specified
    7680        'retry_only_if_retry_after_header' => false,
     
    109113     * <code>$handlerStack->push(GuzzleRetryMiddleware::factory());</code>
    110114     *
    111      * @param array<mixed> $defaultOptions
     115     * @param array<string,mixed> $defaultOptions
    112116     * @return Closure
    113117     */
     
    123127     *
    124128     * @param callable $nextHandler
    125      * @param array<mixed> $defaultOptions
     129     * @param array<string,mixed> $defaultOptions
    126130     */
    127131    final public function __construct(callable $nextHandler, array $defaultOptions = [])
     
    133137    /**
    134138     * @param RequestInterface $request
    135      * @param array<mixed> $options
     139     * @param array<string,mixed> $options
    136140     * @return Promise
    137141     */
     
    141145        $options = array_replace($this->defaultOptions, $options);
    142146
    143         // Set the retry count if not already set
     147        // Set the request timestamp as far as we know it
     148        $options['request_timestamp'] = time();
     149
     150        // Set the retry counter if not already set
    144151        if (! isset($options['retry_count'])) {
    145152            $options['retry_count'] = 0;
     153        }
     154
     155        if ($options['retry_count'] === 0) {
     156            $options['first_request_timestamp'] = time();
    146157        }
    147158
     
    161172     *
    162173     * @param RequestInterface $request
    163      * @param array<mixed> $options
     174     * @param array<string,mixed> $options
    164175     * @return callable
    165176     */
     
    180191     *
    181192     * @param RequestInterface $request
    182      * @param array<mixed> $options
     193     * @param array<string,mixed> $options
    183194     * @return callable
    184195     */
    185196    protected function onRejected(RequestInterface $request, array $options): callable
    186197    {
    187         return function ($reason) use ($request, $options): PromiseInterface {
     198        return function (Throwable $reason) use ($request, $options): PromiseInterface {
    188199            // If was bad response exception, test if we retry based on the response headers
    189200            if ($reason instanceof BadResponseException) {
     
    210221
    211222    /**
    212      * Decide whether or not to retry on connect exception
    213      *
    214      * @param array<mixed> $options
     223     * Decide whether to retry on connect exception
     224     *
     225     * @param array<string,mixed> $options
    215226     * @return bool
    216227     */
     
    219230        return $options['retry_enabled']
    220231            && ($options['retry_on_timeout'] ?? false)
     232            && $this->hasTimeAvailable($options) !== false
    221233            && $this->countRemainingRetries($options) > 0;
    222234    }
    223235
    224236    /**
    225      * Check to see if a request can be retried
    226      *
    227      * This checks two things:
     237     * Check whether to retry a request that received an HTTP response
     238     *
     239     * This checks three things:
    228240     *
    229241     * 1. The response status code against the status codes that should be retried
    230242     * 2. The number of attempts made thus far for this request
    231      *
    232      * @param array<mixed> $options
     243     * 3. If 'give_up_after_secs' option is set, time is still available
     244     *
     245     * @param array<string,mixed> $options
    233246     * @param ResponseInterface|null $response
    234247     * @return bool  TRUE if the response should be retried, FALSE if not
     
    237250    {
    238251        $statuses = array_map('\intval', (array) $options['retry_on_status']);
    239         $hasRetryAfterHeader = $response ? $response->hasHeader('Retry-After') : false;
     252        $hasRetryAfterHeader = $response && $response->hasHeader('Retry-After');
    240253
    241254        switch (true) {
    242255            case $options['retry_enabled'] === false:
    243             case $this->countRemainingRetries($options) === 0: // No Retry-After header, and it is required?  Give up
     256            case $this->hasTimeAvailable($options) === false:
     257            case $this->countRemainingRetries($options) === 0: // No Retry-After header, and it is required?  Give up!
    244258            case (! $hasRetryAfterHeader && $options['retry_only_if_retry_after_header']):
    245259                return false;
     
    255269     * Count the number of retries remaining.  Always returns 0 or greater.
    256270     *
    257      * @param array<mixed> $options
     271     * @param array<string,mixed> $options
    258272     * @return int
    259273     */
     
    272286     * Retry the request
    273287     *
    274      * Increments the retry count, determines the delay (timeout), executes callbacks, sleeps, and re-send the request
     288     * Increments the retry count, determines the delay (timeout), executes callbacks, sleeps, and re-sends the request
    275289     *
    276290     * @param RequestInterface $request
    277      * @param array<mixed> $options
     291     * @param array<string,mixed> $options
    278292     * @param ResponseInterface|null $response
    279293     * @return Promise
     
    309323
    310324    /**
    311      * @param array<mixed> $options
     325     * @param array<string,mixed> $options
    312326     * @param ResponseInterface $response
    313327     * @return ResponseInterface
     
    325339     * Determine the delay timeout
    326340     *
    327      * Attempts to read and interpret the configured retry after header, or defaults
     341     * Attempts to read and interpret the configured Retry-After header, or defaults
    328342     * to a built-in incremental back-off algorithm.
    329343     *
    330      * @param array<mixed> $options
     344     * @param array<string,mixed> $options
    331345     * @param ResponseInterface|null $response
    332346     * @return float  Delay timeout, in seconds
     
    334348    protected function determineDelayTimeout(array $options, ?ResponseInterface $response = null): float
    335349    {
     350        // If 'default_retry_multiplier' option is a callable, call it to determine the default timeout...
    336351        if (is_callable($options['default_retry_multiplier'])) {
    337352            $defaultDelayTimeout = (float) call_user_func(
     
    340355                $response
    341356            );
    342         } else {
     357        } else { // ...or if it is a numeric value (default), use that.
    343358            $defaultDelayTimeout = (float) $options['default_retry_multiplier'] * $options['retry_count'];
    344359        }
     
    355370        }
    356371
    357         // If the max_allowable_timeout_secs is set
     372        // If the max_allowable_timeout_secs is set, ensure the timeout value is less than that
    358373        if (! is_null($options['max_allowable_timeout_secs']) && abs($options['max_allowable_timeout_secs']) > 0) {
    359             return min(abs($timeout), (float) abs($options['max_allowable_timeout_secs']));
     374            $timeout = min(abs($timeout), (float) abs($options['max_allowable_timeout_secs']));
    360375        } else {
    361             return abs($timeout);
    362         }
     376            $timeout = abs($timeout);
     377        }
     378
     379        // If 'give_up_after_secs' is set, account for it in determining the timeout
     380        if ($options['give_up_after_secs']) {
     381            $giveUpAfterSecs = abs((float) $options['give_up_after_secs']);
     382            $timeSinceFirstReq =  $options['request_timestamp'] - $options['first_request_timestamp'];
     383            $timeout = min($timeout, ($giveUpAfterSecs - $timeSinceFirstReq));
     384        }
     385
     386        return $timeout;
     387    }
     388
     389    /**
     390     * @param array<string,mixed> $options
     391     * @return bool
     392     */
     393    protected function hasTimeAvailable(array $options): bool
     394    {
     395        // If there is not a 'give_up_after_secs' option, or it is set to a non-truthy value, bail
     396        if (! $options['give_up_after_secs']) {
     397            return true;
     398        }
     399
     400        $giveUpAfterTimestamp = $options['first_request_timestamp'] + abs(intval($options['give_up_after_secs']));
     401        return $options['request_timestamp'] < $giveUpAfterTimestamp;
    363402    }
    364403
  • visual-search/trunk/vendor/composer/autoload_files.php

    r2715005 r2718768  
    99    '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
    1010    '25072dd6e2470089de65ae7bf11d3109' => $vendorDir . '/symfony/polyfill-php72/bootstrap.php',
     11    'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
    1112    '7b11c4dc42b3b3023073cb14e519683c' => $vendorDir . '/ralouphie/getallheaders/src/getallheaders.php',
    1213    'f598d06aa772fa33d905e87be6398fb1' => $vendorDir . '/symfony/polyfill-intl-idn/bootstrap.php',
    13     'c964ee0ededf28c96ebd9db5099ef910' => $vendorDir . '/guzzlehttp/promises/src/functions_include.php',
    1414    'a0edc8309cc5e1d60e3047b5df6b7052' => $vendorDir . '/guzzlehttp/psr7/src/functions_include.php',
     15    '0459e7c960ac8046a6ddaa950f824f0f' => $vendorDir . '/guzzlehttp/guzzle/src/wsee_functions_include.php',
    1516    '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php',
    16     '0459e7c960ac8046a6ddaa950f824f0f' => $vendorDir . '/guzzlehttp/guzzle/src/wsee_functions_include.php',
     17    'b33e3d135e5d9e47d845c576147bda89' => $vendorDir . '/php-di/php-di/src/functions.php',
     18    'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php',
    1719    'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php',
    18     'e39a8b23c42d4e1452234d762b03835a' => $vendorDir . '/ramsey/uuid/src/functions.php',
    19     'b33e3d135e5d9e47d845c576147bda89' => $vendorDir . '/php-di/php-di/src/functions.php',
    2020);
  • visual-search/trunk/vendor/composer/autoload_real.php

    r2715005 r2718768  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit9cb9706ca349cdd6a0574ffa3140a2d8
     5class ComposerAutoloaderInit5d2bd2adc3a6601ee58ff71c16be4da2
    66{
    77    private static $loader;
     
    2525        require __DIR__ . '/platform_check.php';
    2626
    27         spl_autoload_register(array('ComposerAutoloaderInit9cb9706ca349cdd6a0574ffa3140a2d8', 'loadClassLoader'), true, false);
     27        spl_autoload_register(array('ComposerAutoloaderInit5d2bd2adc3a6601ee58ff71c16be4da2', 'loadClassLoader'), true, false);
    2828        self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
    29         spl_autoload_unregister(array('ComposerAutoloaderInit9cb9706ca349cdd6a0574ffa3140a2d8', 'loadClassLoader'));
     29        spl_autoload_unregister(array('ComposerAutoloaderInit5d2bd2adc3a6601ee58ff71c16be4da2', 'loadClassLoader'));
    3030
    3131        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     
    3333            require __DIR__ . '/autoload_static.php';
    3434
    35             call_user_func(\Composer\Autoload\ComposerStaticInit9cb9706ca349cdd6a0574ffa3140a2d8::getInitializer($loader));
     35            call_user_func(\Composer\Autoload\ComposerStaticInit5d2bd2adc3a6601ee58ff71c16be4da2::getInitializer($loader));
    3636        } else {
    3737            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5454
    5555        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInit9cb9706ca349cdd6a0574ffa3140a2d8::$files;
     56            $includeFiles = Composer\Autoload\ComposerStaticInit5d2bd2adc3a6601ee58ff71c16be4da2::$files;
    5757        } else {
    5858            $includeFiles = require __DIR__ . '/autoload_files.php';
    5959        }
    6060        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequire9cb9706ca349cdd6a0574ffa3140a2d8($fileIdentifier, $file);
     61            composerRequire5d2bd2adc3a6601ee58ff71c16be4da2($fileIdentifier, $file);
    6262        }
    6363
     
    6666}
    6767
    68 function composerRequire9cb9706ca349cdd6a0574ffa3140a2d8($fileIdentifier, $file)
     68function composerRequire5d2bd2adc3a6601ee58ff71c16be4da2($fileIdentifier, $file)
    6969{
    7070    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • visual-search/trunk/vendor/composer/autoload_static.php

    r2715005 r2718768  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit9cb9706ca349cdd6a0574ffa3140a2d8
     7class ComposerStaticInit5d2bd2adc3a6601ee58ff71c16be4da2
    88{
    99    public static $files = array (
    1010        '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
    1111        '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
     12        'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
    1213        '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
    1314        'f598d06aa772fa33d905e87be6398fb1' => __DIR__ . '/..' . '/symfony/polyfill-intl-idn/bootstrap.php',
    14         'c964ee0ededf28c96ebd9db5099ef910' => __DIR__ . '/..' . '/guzzlehttp/promises/src/functions_include.php',
    1515        'a0edc8309cc5e1d60e3047b5df6b7052' => __DIR__ . '/..' . '/guzzlehttp/psr7/src/functions_include.php',
     16        '0459e7c960ac8046a6ddaa950f824f0f' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/wsee_functions_include.php',
    1617        '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
    17         '0459e7c960ac8046a6ddaa950f824f0f' => __DIR__ . '/..' . '/guzzlehttp/guzzle/src/wsee_functions_include.php',
     18        'b33e3d135e5d9e47d845c576147bda89' => __DIR__ . '/..' . '/php-di/php-di/src/functions.php',
     19        'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php',
    1820        'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php',
    19         'e39a8b23c42d4e1452234d762b03835a' => __DIR__ . '/..' . '/ramsey/uuid/src/functions.php',
    20         'b33e3d135e5d9e47d845c576147bda89' => __DIR__ . '/..' . '/php-di/php-di/src/functions.php',
    2121    );
    2222
     
    161161    {
    162162        return \Closure::bind(function () use ($loader) {
    163             $loader->prefixLengthsPsr4 = ComposerStaticInit9cb9706ca349cdd6a0574ffa3140a2d8::$prefixLengthsPsr4;
    164             $loader->prefixDirsPsr4 = ComposerStaticInit9cb9706ca349cdd6a0574ffa3140a2d8::$prefixDirsPsr4;
    165             $loader->classMap = ComposerStaticInit9cb9706ca349cdd6a0574ffa3140a2d8::$classMap;
     163            $loader->prefixLengthsPsr4 = ComposerStaticInit5d2bd2adc3a6601ee58ff71c16be4da2::$prefixLengthsPsr4;
     164            $loader->prefixDirsPsr4 = ComposerStaticInit5d2bd2adc3a6601ee58ff71c16be4da2::$prefixDirsPsr4;
     165            $loader->classMap = ComposerStaticInit5d2bd2adc3a6601ee58ff71c16be4da2::$classMap;
    166166
    167167        }, null, ClassLoader::class);
  • visual-search/trunk/vendor/composer/installed.json

    r2715005 r2718768  
    33        {
    44            "name": "caseyamcl/guzzle_retry_middleware",
    5             "version": "v2.6.1",
    6             "version_normalized": "2.6.1.0",
     5            "version": "v2.7",
     6            "version_normalized": "2.7.0.0",
    77            "source": {
    88                "type": "git",
    99                "url": "https://github.com/caseyamcl/guzzle_retry_middleware.git",
    10                 "reference": "2d6c8e0bdc0c7102b3000ca157f535da48bd0bd0"
    11             },
    12             "dist": {
    13                 "type": "zip",
    14                 "url": "https://api.github.com/repos/caseyamcl/guzzle_retry_middleware/zipball/2d6c8e0bdc0c7102b3000ca157f535da48bd0bd0",
    15                 "reference": "2d6c8e0bdc0c7102b3000ca157f535da48bd0bd0",
     10                "reference": "e6717d8460e5ef40db6d2e7218069a2826f69138"
     11            },
     12            "dist": {
     13                "type": "zip",
     14                "url": "https://api.github.com/repos/caseyamcl/guzzle_retry_middleware/zipball/e6717d8460e5ef40db6d2e7218069a2826f69138",
     15                "reference": "e6717d8460e5ef40db6d2e7218069a2826f69138",
    1616                "shasum": ""
    1717            },
     
    2424                "nesbot/carbon": "^2.0",
    2525                "phpstan/extension-installer": "^1.0",
    26                 "phpstan/phpstan": "^0.12",
     26                "phpstan/phpstan": "^1.0",
    2727                "phpunit/phpunit": "^7.5|^8.0|^9.0",
    2828                "squizlabs/php_codesniffer": "^3.5"
    2929            },
    30             "time": "2020-11-27T19:10:19+00:00",
     30            "time": "2021-12-04T02:49:15+00:00",
    3131            "type": "library",
    3232            "extra": {
     
    6666            "support": {
    6767                "issues": "https://github.com/caseyamcl/guzzle_retry_middleware/issues",
    68                 "source": "https://github.com/caseyamcl/guzzle_retry_middleware/tree/v2.6.1"
     68                "source": "https://github.com/caseyamcl/guzzle_retry_middleware/tree/v2.7"
    6969            },
    7070            "install-path": "../caseyamcl/guzzle_retry_middleware"
     
    321321        {
    322322            "name": "guzzlehttp/promises",
    323             "version": "1.4.1",
    324             "version_normalized": "1.4.1.0",
     323            "version": "1.5.1",
     324            "version_normalized": "1.5.1.0",
    325325            "source": {
    326326                "type": "git",
    327327                "url": "https://github.com/guzzle/promises.git",
    328                 "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d"
    329             },
    330             "dist": {
    331                 "type": "zip",
    332                 "url": "https://api.github.com/repos/guzzle/promises/zipball/8e7d04f1f6450fef59366c399cfad4b9383aa30d",
    333                 "reference": "8e7d04f1f6450fef59366c399cfad4b9383aa30d",
     328                "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da"
     329            },
     330            "dist": {
     331                "type": "zip",
     332                "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
     333                "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da",
    334334                "shasum": ""
    335335            },
     
    340340                "symfony/phpunit-bridge": "^4.4 || ^5.1"
    341341            },
    342             "time": "2021-03-07T09:25:29+00:00",
     342            "time": "2021-10-22T20:56:57+00:00",
    343343            "type": "library",
    344344            "extra": {
    345345                "branch-alias": {
    346                     "dev-master": "1.4-dev"
    347                 }
    348             },
    349             "installation-source": "dist",
    350             "autoload": {
    351                 "psr-4": {
    352                     "GuzzleHttp\\Promise\\": "src/"
    353                 },
     346                    "dev-master": "1.5-dev"
     347                }
     348            },
     349            "installation-source": "dist",
     350            "autoload": {
    354351                "files": [
    355352                    "src/functions_include.php"
    356                 ]
    357             },
    358             "notification-url": "https://packagist.org/downloads/",
    359             "license": [
    360                 "MIT"
    361             ],
    362             "authors": [
     353                ],
     354                "psr-4": {
     355                    "GuzzleHttp\\Promise\\": "src/"
     356                }
     357            },
     358            "notification-url": "https://packagist.org/downloads/",
     359            "license": [
     360                "MIT"
     361            ],
     362            "authors": [
     363                {
     364                    "name": "Graham Campbell",
     365                    "email": "[email protected]",
     366                    "homepage": "https://github.com/GrahamCampbell"
     367                },
    363368                {
    364369                    "name": "Michael Dowling",
    365370                    "email": "[email protected]",
    366371                    "homepage": "https://github.com/mtdowling"
     372                },
     373                {
     374                    "name": "Tobias Nyholm",
     375                    "email": "[email protected]",
     376                    "homepage": "https://github.com/Nyholm"
     377                },
     378                {
     379                    "name": "Tobias Schultze",
     380                    "email": "[email protected]",
     381                    "homepage": "https://github.com/Tobion"
    367382                }
    368383            ],
     
    373388            "support": {
    374389                "issues": "https://github.com/guzzle/promises/issues",
    375                 "source": "https://github.com/guzzle/promises/tree/1.4.1"
    376             },
     390                "source": "https://github.com/guzzle/promises/tree/1.5.1"
     391            },
     392            "funding": [
     393                {
     394                    "url": "https://github.com/GrahamCampbell",
     395                    "type": "github"
     396                },
     397                {
     398                    "url": "https://github.com/Nyholm",
     399                    "type": "github"
     400                },
     401                {
     402                    "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises",
     403                    "type": "tidelift"
     404                }
     405            ],
    377406            "install-path": "../guzzlehttp/promises"
    378407        },
    379408        {
    380409            "name": "guzzlehttp/psr7",
    381             "version": "1.8.3",
    382             "version_normalized": "1.8.3.0",
     410            "version": "1.8.5",
     411            "version_normalized": "1.8.5.0",
    383412            "source": {
    384413                "type": "git",
    385414                "url": "https://github.com/guzzle/psr7.git",
    386                 "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85"
    387             },
    388             "dist": {
    389                 "type": "zip",
    390                 "url": "https://api.github.com/repos/guzzle/psr7/zipball/1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
    391                 "reference": "1afdd860a2566ed3c2b0b4a3de6e23434a79ec85",
     415                "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268"
     416            },
     417            "dist": {
     418                "type": "zip",
     419                "url": "https://api.github.com/repos/guzzle/psr7/zipball/337e3ad8e5716c15f9657bd214d16cc5e69df268",
     420                "reference": "337e3ad8e5716c15f9657bd214d16cc5e69df268",
    392421                "shasum": ""
    393422            },
     
    407436                "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
    408437            },
    409             "time": "2021-10-05T13:56:00+00:00",
     438            "time": "2022-03-20T21:51:18+00:00",
    410439            "type": "library",
    411440            "extra": {
     
    416445            "installation-source": "dist",
    417446            "autoload": {
    418                 "psr-4": {
    419                     "GuzzleHttp\\Psr7\\": "src/"
    420                 },
    421447                "files": [
    422448                    "src/functions_include.php"
    423                 ]
     449                ],
     450                "psr-4": {
     451                    "GuzzleHttp\\Psr7\\": "src/"
     452                }
    424453            },
    425454            "notification-url": "https://packagist.org/downloads/",
     
    472501            "support": {
    473502                "issues": "https://github.com/guzzle/psr7/issues",
    474                 "source": "https://github.com/guzzle/psr7/tree/1.8.3"
     503                "source": "https://github.com/guzzle/psr7/tree/1.8.5"
    475504            },
    476505            "funding": [
     
    497526                "type": "git",
    498527                "url": "[email protected]:Impresee/impresee-creative-search-bar-php-base.git",
    499                 "reference": "0e5c866650c16190424e34c310fb52e0e5ab7c66"
    500             },
    501             "dist": {
    502                 "type": "zip",
    503                 "url": "https://api.github.com/repos/Impresee/impresee-creative-search-bar-php-base/zipball/0e5c866650c16190424e34c310fb52e0e5ab7c66",
    504                 "reference": "0e5c866650c16190424e34c310fb52e0e5ab7c66",
     528                "reference": "32d2f7400721ac5a44c2810ea1e98f901bc57634"
     529            },
     530            "dist": {
     531                "type": "zip",
     532                "url": "https://api.github.com/repos/Impresee/impresee-creative-search-bar-php-base/zipball/32d2f7400721ac5a44c2810ea1e98f901bc57634",
     533                "reference": "32d2f7400721ac5a44c2810ea1e98f901bc57634",
    505534                "shasum": ""
    506535            },
     
    519548            },
    520549            "require-dev": {
    521                 "phpunit/phpunit": "~7"
    522             },
    523             "time": "2021-10-05T18:56:31+00:00",
     550                "phpunit/phpunit": "~8"
     551            },
     552            "time": "2022-05-05T19:12:55+00:00",
    524553            "type": "library",
    525554            "installation-source": "dist",
     
    604633                "tokenizer"
    605634            ],
    606             "support": {
    607                 "issues": "https://github.com/jeremeamia/super_closure/issues",
    608                 "source": "https://github.com/jeremeamia/super_closure/tree/master"
    609             },
    610635            "abandoned": "opis/closure",
    611636            "install-path": "../jeremeamia/superclosure"
     
    663688                "php"
    664689            ],
    665             "support": {
    666                 "issues": "https://github.com/nikic/PHP-Parser/issues",
    667                 "source": "https://github.com/nikic/PHP-Parser/tree/v3.1.5"
    668             },
    669690            "install-path": "../nikic/php-parser"
    670691        },
     
    724745        {
    725746            "name": "php-di/invoker",
    726             "version": "2.3.2",
    727             "version_normalized": "2.3.2.0",
     747            "version": "2.3.3",
     748            "version_normalized": "2.3.3.0",
    728749            "source": {
    729750                "type": "git",
    730751                "url": "https://github.com/PHP-DI/Invoker.git",
    731                 "reference": "5214cbe5aad066022cd845dbf313f0e47aed928f"
    732             },
    733             "dist": {
    734                 "type": "zip",
    735                 "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/5214cbe5aad066022cd845dbf313f0e47aed928f",
    736                 "reference": "5214cbe5aad066022cd845dbf313f0e47aed928f",
     752                "reference": "cd6d9f267d1a3474bdddf1be1da079f01b942786"
     753            },
     754            "dist": {
     755                "type": "zip",
     756                "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/cd6d9f267d1a3474bdddf1be1da079f01b942786",
     757                "reference": "cd6d9f267d1a3474bdddf1be1da079f01b942786",
    737758                "shasum": ""
    738759            },
     
    746767                "phpunit/phpunit": "^9.0"
    747768            },
    748             "time": "2021-07-30T15:05:32+00:00",
     769            "time": "2021-12-13T09:22:56+00:00",
    749770            "type": "library",
    750771            "installation-source": "dist",
     
    770791            "support": {
    771792                "issues": "https://github.com/PHP-DI/Invoker/issues",
    772                 "source": "https://github.com/PHP-DI/Invoker/tree/2.3.2"
     793                "source": "https://github.com/PHP-DI/Invoker/tree/2.3.3"
    773794            },
    774795            "funding": [
     
    843864                "psr11"
    844865            ],
    845             "support": {
    846                 "issues": "https://github.com/PHP-DI/PHP-DI/issues",
    847                 "source": "https://github.com/PHP-DI/PHP-DI/tree/master"
    848             },
    849866            "install-path": "../php-di/php-di"
    850867        },
     
    888905                "reflection"
    889906            ],
    890             "support": {
    891                 "issues": "https://github.com/PHP-DI/PhpDocReader/issues",
    892                 "source": "https://github.com/PHP-DI/PhpDocReader/tree/2.2.1"
    893             },
    894907            "install-path": "../php-di/phpdoc-reader"
    895908        },
     
    937950                "monad"
    938951            ],
    939             "support": {
    940                 "issues": "https://github.com/php-fp/php-fp-either/issues",
    941                 "source": "https://github.com/php-fp/php-fp-either/tree/master"
    942             },
    943952            "install-path": "../php-fp/php-fp-either"
    944953        },
    945954        {
    946955            "name": "psr/container",
    947             "version": "1.1.1",
    948             "version_normalized": "1.1.1.0",
     956            "version": "1.1.2",
     957            "version_normalized": "1.1.2.0",
    949958            "source": {
    950959                "type": "git",
    951960                "url": "https://github.com/php-fig/container.git",
    952                 "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf"
    953             },
    954             "dist": {
    955                 "type": "zip",
    956                 "url": "https://api.github.com/repos/php-fig/container/zipball/8622567409010282b7aeebe4bb841fe98b58dcaf",
    957                 "reference": "8622567409010282b7aeebe4bb841fe98b58dcaf",
    958                 "shasum": ""
    959             },
    960             "require": {
    961                 "php": ">=7.2.0"
    962             },
    963             "time": "2021-03-05T17:36:06+00:00",
     961                "reference": "513e0666f7216c7459170d56df27dfcefe1689ea"
     962            },
     963            "dist": {
     964                "type": "zip",
     965                "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea",
     966                "reference": "513e0666f7216c7459170d56df27dfcefe1689ea",
     967                "shasum": ""
     968            },
     969            "require": {
     970                "php": ">=7.4.0"
     971            },
     972            "time": "2021-11-05T16:50:12+00:00",
    964973            "type": "library",
    965974            "installation-source": "dist",
     
    990999            "support": {
    9911000                "issues": "https://github.com/php-fig/container/issues",
    992                 "source": "https://github.com/php-fig/container/tree/1.1.1"
     1001                "source": "https://github.com/php-fig/container/tree/1.1.2"
    9931002            },
    9941003            "install-path": "../psr/container"
     
    10451054                "response"
    10461055            ],
    1047             "support": {
    1048                 "source": "https://github.com/php-fig/http-message/tree/master"
    1049             },
    10501056            "install-path": "../psr/http-message"
    10511057        },
     
    10911097            ],
    10921098            "description": "A polyfill for getallheaders.",
    1093             "support": {
    1094                 "issues": "https://github.com/ralouphie/getallheaders/issues",
    1095                 "source": "https://github.com/ralouphie/getallheaders/tree/develop"
    1096             },
    10971099            "install-path": "../ralouphie/getallheaders"
    10981100        },
     
    12681270                "portable"
    12691271            ],
    1270             "support": {
    1271                 "source": "https://github.com/symfony/polyfill-ctype/tree/v1.17.1"
    1272             },
    12731272            "funding": [
    12741273                {
     
    13541353                "shim"
    13551354            ],
    1356             "support": {
    1357                 "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.17.1"
    1358             },
    13591355            "funding": [
    13601356                {
     
    14411437                "shim"
    14421438            ],
    1443             "support": {
    1444                 "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/master"
    1445             },
    14461439            "funding": [
    14471440                {
     
    15241517                "shim"
    15251518            ],
    1526             "support": {
    1527                 "source": "https://github.com/symfony/polyfill-mbstring/tree/master"
    1528             },
    15291519            "funding": [
    15301520                {
     
    15941584                "shim"
    15951585            ],
    1596             "support": {
    1597                 "source": "https://github.com/symfony/polyfill-php56/tree/v1.20.0"
    1598             },
    15991586            "funding": [
    16001587                {
     
    16151602        {
    16161603            "name": "symfony/polyfill-php72",
    1617             "version": "v1.23.0",
    1618             "version_normalized": "1.23.0.0",
     1604            "version": "v1.25.0",
     1605            "version_normalized": "1.25.0.0",
    16191606            "source": {
    16201607                "type": "git",
     
    16441631            "installation-source": "dist",
    16451632            "autoload": {
    1646                 "psr-4": {
    1647                     "Symfony\\Polyfill\\Php72\\": ""
    1648                 },
    16491633                "files": [
    16501634                    "bootstrap.php"
    1651                 ]
     1635                ],
     1636                "psr-4": {
     1637                    "Symfony\\Polyfill\\Php72\\": ""
     1638                }
    16521639            },
    16531640            "notification-url": "https://packagist.org/downloads/",
     
    16741661            ],
    16751662            "support": {
    1676                 "source": "https://github.com/symfony/polyfill-php72/tree/v1.23.0"
     1663                "source": "https://github.com/symfony/polyfill-php72/tree/v1.25.0"
    16771664            },
    16781665            "funding": [
  • visual-search/trunk/vendor/composer/installed.php

    r2715005 r2718768  
    11<?php return array(
    22    'root' => array(
    3         'pretty_version' => '1.0.0+no-version-set',
    4         'version' => '1.0.0.0',
     3        'pretty_version' => '5.2.3.x-dev',
     4        'version' => '5.2.3.9999999-dev',
    55        'type' => 'wordpress-plugin',
    66        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'calvarez/woocommerce-plugin' => array(
    14             'pretty_version' => '1.0.0+no-version-set',
    15             'version' => '1.0.0.0',
     14            'pretty_version' => '5.2.3.x-dev',
     15            'version' => '5.2.3.9999999-dev',
    1616            'type' => 'wordpress-plugin',
    1717            'install_path' => __DIR__ . '/../../',
     
    2121        ),
    2222        'caseyamcl/guzzle_retry_middleware' => array(
    23             'pretty_version' => 'v2.6.1',
    24             'version' => '2.6.1.0',
     23            'pretty_version' => 'v2.7',
     24            'version' => '2.7.0.0',
    2525            'type' => 'library',
    2626            'install_path' => __DIR__ . '/../caseyamcl/guzzle_retry_middleware',
    2727            'aliases' => array(),
    28             'reference' => '2d6c8e0bdc0c7102b3000ca157f535da48bd0bd0',
     28            'reference' => 'e6717d8460e5ef40db6d2e7218069a2826f69138',
    2929            'dev_requirement' => false,
    3030        ),
     
    4848        ),
    4949        'guzzlehttp/promises' => array(
    50             'pretty_version' => '1.4.1',
    51             'version' => '1.4.1.0',
     50            'pretty_version' => '1.5.1',
     51            'version' => '1.5.1.0',
    5252            'type' => 'library',
    5353            'install_path' => __DIR__ . '/../guzzlehttp/promises',
    5454            'aliases' => array(),
    55             'reference' => '8e7d04f1f6450fef59366c399cfad4b9383aa30d',
     55            'reference' => 'fe752aedc9fd8fcca3fe7ad05d419d32998a06da',
    5656            'dev_requirement' => false,
    5757        ),
    5858        'guzzlehttp/psr7' => array(
    59             'pretty_version' => '1.8.3',
    60             'version' => '1.8.3.0',
     59            'pretty_version' => '1.8.5',
     60            'version' => '1.8.5.0',
    6161            'type' => 'library',
    6262            'install_path' => __DIR__ . '/../guzzlehttp/psr7',
    6363            'aliases' => array(),
    64             'reference' => '1afdd860a2566ed3c2b0b4a3de6e23434a79ec85',
     64            'reference' => '337e3ad8e5716c15f9657bd214d16cc5e69df268',
    6565            'dev_requirement' => false,
    6666        ),
     
    7171            'install_path' => __DIR__ . '/../impresee/impresee-creative-search-bar-php-base',
    7272            'aliases' => array(),
    73             'reference' => '0e5c866650c16190424e34c310fb52e0e5ab7c66',
     73            'reference' => '32d2f7400721ac5a44c2810ea1e98f901bc57634',
    7474            'dev_requirement' => false,
    7575        ),
     
    102102        ),
    103103        'php-di/invoker' => array(
    104             'pretty_version' => '2.3.2',
    105             'version' => '2.3.2.0',
     104            'pretty_version' => '2.3.3',
     105            'version' => '2.3.3.0',
    106106            'type' => 'library',
    107107            'install_path' => __DIR__ . '/../php-di/invoker',
    108108            'aliases' => array(),
    109             'reference' => '5214cbe5aad066022cd845dbf313f0e47aed928f',
     109            'reference' => 'cd6d9f267d1a3474bdddf1be1da079f01b942786',
    110110            'dev_requirement' => false,
    111111        ),
     
    138138        ),
    139139        'psr/container' => array(
    140             'pretty_version' => '1.1.1',
    141             'version' => '1.1.1.0',
     140            'pretty_version' => '1.1.2',
     141            'version' => '1.1.2.0',
    142142            'type' => 'library',
    143143            'install_path' => __DIR__ . '/../psr/container',
    144144            'aliases' => array(),
    145             'reference' => '8622567409010282b7aeebe4bb841fe98b58dcaf',
     145            'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea',
    146146            'dev_requirement' => false,
    147147        ),
     
    249249        ),
    250250        'symfony/polyfill-php72' => array(
    251             'pretty_version' => 'v1.23.0',
    252             'version' => '1.23.0.0',
     251            'pretty_version' => 'v1.25.0',
     252            'version' => '1.25.0.0',
    253253            'type' => 'library',
    254254            'install_path' => __DIR__ . '/../symfony/polyfill-php72',
  • visual-search/trunk/vendor/composer/platform_check.php

    r2715005 r2718768  
    55$issues = array();
    66
    7 if (!(PHP_VERSION_ID >= 70300)) {
    8     $issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.';
     7if (!(PHP_VERSION_ID >= 70400)) {
     8    $issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
    99}
    1010
  • visual-search/trunk/vendor/guzzlehttp/promises/CHANGELOG.md

    r2715005 r2718768  
    11# CHANGELOG
    22
     3## 1.5.1 - 2021-10-22
     4
     5### Fixed
     6
     7- Revert "Call handler when waiting on fulfilled/rejected Promise"
     8- Fix pool memory leak when empty array of promises provided
     9
     10## 1.5.0 - 2021-10-07
     11
     12### Changed
     13
     14- Call handler when waiting on fulfilled/rejected Promise
     15
     16### Fixed
     17
     18- Fix manually settle promises generated with Utils::task
     19
    320## 1.4.1 - 2021-02-18
     21
     22### Fixed
    423
    524- Fixed `each_limit` skipping promises and failing
  • visual-search/trunk/vendor/guzzlehttp/promises/LICENSE

    r2715005 r2718768  
    1 Copyright (c) 2015-2016 Michael Dowling, https://github.com/mtdowling <[email protected]>
     1The MIT License (MIT)
     2
     3Copyright (c) 2015 Michael Dowling <[email protected]>
     4Copyright (c) 2015 Graham Campbell <[email protected]>
     5Copyright (c) 2017 Tobias Schultze <[email protected]>
     6Copyright (c) 2020 Tobias Nyholm <[email protected]>
    27
    38Permission is hereby granted, free of charge, to any person obtaining a copy
  • visual-search/trunk/vendor/guzzlehttp/promises/README.md

    r2715005 r2718768  
    531531| `is_settled` | `Is::settled` |
    532532| `coroutine` | `Coroutine::of` |
     533
     534
     535## Security
     536
     537If you discover a security vulnerability within this package, please send an email to [email protected]. All security vulnerabilities will be promptly addressed. Please do not disclose security-related issues publicly until a fix has been announced. Please see [Security Policy](https://github.com/guzzle/promises/security/policy) for more information.
     538
     539## License
     540
     541Guzzle is made available under the MIT License (MIT). Please see [License File](LICENSE) for more information.
     542
     543## For Enterprise
     544
     545Available as part of the Tidelift Subscription
     546
     547The maintainers of Guzzle and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-guzzlehttp-promises?utm_source=packagist-guzzlehttp-promises&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
  • visual-search/trunk/vendor/guzzlehttp/promises/composer.json

    r2715005 r2718768  
    66    "authors": [
    77        {
     8            "name": "Graham Campbell",
     9            "email": "[email protected]",
     10            "homepage": "https://github.com/GrahamCampbell"
     11        },
     12        {
    813            "name": "Michael Dowling",
    914            "email": "[email protected]",
    1015            "homepage": "https://github.com/mtdowling"
     16        },
     17        {
     18            "name": "Tobias Nyholm",
     19            "email": "[email protected]",
     20            "homepage": "https://github.com/Nyholm"
     21        },
     22        {
     23            "name": "Tobias Schultze",
     24            "email": "[email protected]",
     25            "homepage": "https://github.com/Tobion"
    1126        }
    1227    ],
     
    3449    "extra": {
    3550        "branch-alias": {
    36             "dev-master": "1.4-dev"
     51            "dev-master": "1.5-dev"
    3752        }
     53    },
     54    "config": {
     55        "preferred-install": "dist",
     56        "sort-packages": true
    3857    }
    3958}
  • visual-search/trunk/vendor/guzzlehttp/promises/src/EachPromise.php

    r2715005 r2718768  
    8080            /** @psalm-assert Promise $this->aggregate */
    8181            $this->iterable->rewind();
    82             if (!$this->checkIfFinished()) {
    83                 $this->refillPending();
    84             }
     82            $this->refillPending();
    8583        } catch (\Throwable $e) {
    8684            /**
     
    108106        $this->mutex = false;
    109107        $this->aggregate = new Promise(function () {
     108            if ($this->checkIfFinished()) {
     109                return;
     110            }
    110111            reset($this->pending);
    111112            // Consume a potentially fluctuating list of promises while
  • visual-search/trunk/vendor/guzzlehttp/promises/src/Utils.php

    r2715005 r2718768  
    4949        $queue->add(function () use ($task, $promise) {
    5050            try {
    51                 $promise->resolve($task());
     51                if (Is::pending($promise)) {
     52                    $promise->resolve($task());
     53                }
    5254            } catch (\Throwable $e) {
    5355                $promise->reject($e);
  • visual-search/trunk/vendor/guzzlehttp/psr7/CHANGELOG.md

    r2715005 r2718768  
    99
    1010## Unreleased
     11
     12## 1.8.5 - 2022-03-20
     13
     14### Fixed
     15
     16- Correct header value validation
     17
     18## 1.8.4 - 2022-03-20
     19
     20### Fixed
     21
     22- Validate header values properly
    1123
    1224## 1.8.3 - 2021-10-05
  • visual-search/trunk/vendor/guzzlehttp/psr7/composer.json

    r2715005 r2718768  
    6969    "config": {
    7070        "preferred-install": "dist",
    71         "sort-packages": true
     71        "sort-packages": true,
     72        "allow-plugins": {
     73            "bamarni/composer-bin-plugin": true
     74        }
    7275    }
    7376}
  • visual-search/trunk/vendor/guzzlehttp/psr7/src/MessageTrait.php

    r2715005 r2718768  
    158158    }
    159159
     160    /**
     161     * @param mixed $value
     162     *
     163     * @return string[]
     164     */
    160165    private function normalizeHeaderValue($value)
    161166    {
    162167        if (!is_array($value)) {
    163             return $this->trimHeaderValues([$value]);
     168            return $this->trimAndValidateHeaderValues([$value]);
    164169        }
    165170
     
    168173        }
    169174
    170         return $this->trimHeaderValues($value);
     175        return $this->trimAndValidateHeaderValues($value);
    171176    }
    172177
     
    179184     * OWS          = *( SP / HTAB )
    180185     *
    181      * @param string[] $values Header values
     186     * @param mixed[] $values Header values
    182187     *
    183188     * @return string[] Trimmed header values
     
    185190     * @see https://tools.ietf.org/html/rfc7230#section-3.2.4
    186191     */
    187     private function trimHeaderValues(array $values)
     192    private function trimAndValidateHeaderValues(array $values)
    188193    {
    189194        return array_map(function ($value) {
     
    195200            }
    196201
    197             return trim((string) $value, " \t");
     202            $trimmed = trim((string) $value, " \t");
     203            $this->assertValue($trimmed);
     204
     205            return $trimmed;
    198206        }, array_values($values));
    199207    }
    200208
     209    /**
     210     * @see https://tools.ietf.org/html/rfc7230#section-3.2
     211     *
     212     * @param mixed $header
     213     *
     214     * @return void
     215     */
    201216    private function assertHeader($header)
    202217    {
     
    211226            throw new \InvalidArgumentException('Header name can not be empty.');
    212227        }
     228
     229        if (! preg_match('/^[a-zA-Z0-9\'`#$%&*+.^_|~!-]+$/', $header)) {
     230            throw new \InvalidArgumentException(
     231                sprintf(
     232                    '"%s" is not valid header name',
     233                    $header
     234                )
     235            );
     236        }
     237    }
     238
     239    /**
     240     * @param string $value
     241     *
     242     * @return void
     243     *
     244     * @see https://tools.ietf.org/html/rfc7230#section-3.2
     245     *
     246     * field-value    = *( field-content / obs-fold )
     247     * field-content  = field-vchar [ 1*( SP / HTAB ) field-vchar ]
     248     * field-vchar    = VCHAR / obs-text
     249     * VCHAR          = %x21-7E
     250     * obs-text       = %x80-FF
     251     * obs-fold       = CRLF 1*( SP / HTAB )
     252     */
     253    private function assertValue($value)
     254    {
     255        // The regular expression intentionally does not support the obs-fold production, because as
     256        // per RFC 7230#3.2.4:
     257        //
     258        // A sender MUST NOT generate a message that includes
     259        // line folding (i.e., that has any field-value that contains a match to
     260        // the obs-fold rule) unless the message is intended for packaging
     261        // within the message/http media type.
     262        //
     263        // Clients must not send a request with line folding and a server sending folded headers is
     264        // likely very rare. Line folding is a fairly obscure feature of HTTP/1.1 and thus not accepting
     265        // folding is not likely to break any legitimate use case.
     266        if (! preg_match('/^[\x20\x09\x21-\x7E\x80-\xFF]*$/', $value)) {
     267            throw new \InvalidArgumentException(sprintf('"%s" is not valid header value', $value));
     268        }
    213269    }
    214270}
  • visual-search/trunk/vendor/impresee/impresee-creative-search-bar-php-base/composer.json

    r2715005 r2718768  
    3535    },
    3636    "require-dev": {
    37         "phpunit/phpunit": "~7"
     37        "phpunit/phpunit": "~8"
    3838    }
    3939}
  • visual-search/trunk/vendor/impresee/impresee-creative-search-bar-php-base/src/Data/Mappers/ImpreseeSnippetConfigurationModel2ImpreseeSnippetConfiguration.php

    r2715005 r2718768  
    8585        $search_by_text_config->search_bar_selector = $from->search_bar_selector;
    8686        $search_by_text_config->use_search_suggestions = $from->use_search_suggestions;
     87        $search_by_text_config->mobile_instant_as_grid = $from->mobile_instant_as_grid;
    8788        $configuration = new ImpreseeSnippetConfiguration;
    8889        $configuration->general_configuration = $general_config;
     
    167168            $search_by_text_config->floating_button_location
    168169        );
     170        $model->mobile_instant_as_grid = $search_by_text_config->mobile_instant_as_grid;
    169171        $model->search_bar_selector = $search_by_text_config->search_bar_selector;
    170172        $model->use_search_suggestions = $search_by_text_config->use_search_suggestions;
  • visual-search/trunk/vendor/impresee/impresee-creative-search-bar-php-base/src/Data/Models/ImpreseeSnippetConfigurationModel.php

    r2715005 r2718768  
    5151    public $use_text;
    5252    public $search_delay_millis;
     53    public $mobile_instant_as_grid;
    5354    public $full_text_search_results_container;
    5455    public $compute_results_top_position_from;
     
    131132            'use_photo_search' => $this->use_photo_search,
    132133            'use_sketch_search' => $this->use_sketch_search,
     134            'mobile_instant_as_grid' => $this->mobile_instant_as_grid,
    133135        );
    134136    }
     
    205207        $this->use_photo_search = !array_key_exists('use_photo_search',$array) ? TRUE : $array['use_photo_search'];
    206208        $this->use_sketch_search = !array_key_exists('use_sketch_search',$array) ? TRUE : $array['use_sketch_search'];
     209        $this->mobile_instant_as_grid = !array_key_exists('mobile_instant_as_grid',$array) ? FALSE : $array['mobile_instant_as_grid'];
    207210    }
    208211
     
    264267        $this->use_photo_search = TRUE;
    265268        $this->use_sketch_search = TRUE;
     269        $this->mobile_instant_as_grid = FALSE;
    266270    }
    267271}
  • visual-search/trunk/vendor/impresee/impresee-creative-search-bar-php-base/src/Domain/Entities/ImpreseeSnippetSearchByTextConfiguration.php

    r2715005 r2718768  
    1919    public $search_bar_selector;
    2020    public $use_search_suggestions;
     21    public $mobile_instant_as_grid;
    2122}
  • visual-search/trunk/vendor/impresee/impresee-creative-search-bar-php-base/tests/Data/DataSources/SearchBarDisplayLocalDataSourceImplTest.php

    r2715005 r2718768  
    591591        $expected_model->search_bar_selector = 'input';
    592592        $expected_model->use_search_suggestions = TRUE;
     593        $expected_model->mobile_instant_as_grid = FALSE;
    593594        $expected_model->floating_button_location = ImpreseeSnippetConfigurationModel::FLOATING_BUTTON_BOTTOM_RIGHT;
    594595        $this->key_value_storage->expects($this->at(0))
     
    674675        $expected_model->search_bar_selector = 'input[name=q],input[name=s]';
    675676        $expected_model->use_search_suggestions = TRUE;
     677        $expected_model->mobile_instant_as_grid = FALSE;
    676678        $expected_model->floating_button_location = ImpreseeSnippetConfigurationModel::FLOATING_BUTTON_BOTTOM_LEFT;
    677679        $empty_model = new ImpreseeSnippetConfigurationModel;
     
    773775            'search_bar_selector' => 'input',
    774776            'use_search_suggestions' => TRUE,
     777            'mobile_instant_as_grid' => TRUE
    775778        );
    776779        $model = new ImpreseeSnippetConfigurationModel;
     
    822825        $model->search_bar_selector = 'input';
    823826        $model->use_search_suggestions = TRUE;
     827        $model->mobile_instant_as_grid = TRUE;
    824828        $model->floating_button_location = ImpreseeSnippetConfigurationModel::FLOATING_BUTTON_BOTTOM_RIGHT;
    825829        $storage_key = "see_wccs_snippet_";
     
    908912            'search_bar_selector' => 'input',
    909913            'use_search_suggestions' => FALSE,
     914            'mobile_instant_as_grid' => TRUE
    910915        );
    911916        $model = new ImpreseeSnippetConfigurationModel;
     
    957962        $model->search_bar_selector = 'input';
    958963        $model->use_search_suggestions = FALSE;
     964        $model->mobile_instant_as_grid = TRUE;
    959965        $model->floating_button_location = ImpreseeSnippetConfigurationModel::FLOATING_BUTTON_BOTTOM_RIGHT;
    960966        $this->key_value_storage->expects($this->once())
     
    10321038            'search_bar_selector' => 'input',
    10331039            'use_search_suggestions' => FALSE,
     1040            'mobile_instant_as_grid' => TRUE,
    10341041        );
    10351042        $model = new ImpreseeSnippetConfigurationModel;
     
    10811088        $model->search_bar_selector = 'input';
    10821089        $model->use_search_suggestions = FALSE;
     1090        $model->mobile_instant_as_grid = TRUE;
    10831091        $model->floating_button_location = ImpreseeSnippetConfigurationModel::FLOATING_BUTTON_BOTTOM_RIGHT;
    10841092        $this->key_value_storage->expects($this->at(0))
  • visual-search/trunk/vendor/impresee/impresee-creative-search-bar-php-base/tests/Data/Models/ImpreseeSnippetConfigurationModelTest.php

    r2715005 r2718768  
    5656        $model->floating_button_location = ImpreseeSnippetConfigurationModel::FLOATING_BUTTON_BOTTOM_RIGHT;
    5757        $model->use_search_suggestions = FALSE;
     58        $model->mobile_instant_as_grid = TRUE;
    5859        $expected_array = array(
    5960            'load_after_page_render' => FALSE,
     
    105106            'use_photo_search' => TRUE,
    106107            'use_sketch_search' => TRUE,
     108            'mobile_instant_as_grid' =>TRUE,
    107109        );
    108110        $this->assertEquals(
  • visual-search/trunk/vendor/php-di/invoker/src/ParameterResolver/Container/TypeHintContainerResolver.php

    r2715005 r2718768  
    4242                continue;
    4343            }
     44            if (! $parameterType instanceof ReflectionNamedType) {
     45                // Union types are not supported
     46                continue;
     47            }
    4448            if ($parameterType->isBuiltin()) {
    4549                // Primitive types are not supported
    46                 continue;
    47             }
    48             if (! $parameterType instanceof ReflectionNamedType) {
    49                 // Union types are not supported
    5050                continue;
    5151            }
  • visual-search/trunk/vendor/php-di/invoker/src/ParameterResolver/TypeHintResolver.php

    r2715005 r2718768  
    3131                continue;
    3232            }
     33            if (! $parameterType instanceof ReflectionNamedType) {
     34                // Union types are not supported
     35                continue;
     36            }
    3337            if ($parameterType->isBuiltin()) {
    3438                // Primitive types are not supported
    35                 continue;
    36             }
    37             if (! $parameterType instanceof ReflectionNamedType) {
    38                 // Union types are not supported
    3939                continue;
    4040            }
  • visual-search/trunk/vendor/psr/container/composer.json

    r2715005 r2718768  
    1313    ],
    1414    "require": {
    15         "php": ">=7.2.0"
     15        "php": ">=7.4.0"
    1616    },
    1717    "autoload": {
  • visual-search/trunk/vendor/psr/container/src/ContainerExceptionInterface.php

    r2715005 r2718768  
    33namespace Psr\Container;
    44
     5use Throwable;
     6
    57/**
    68 * Base interface representing a generic exception in a container.
    79 */
    8 interface ContainerExceptionInterface
     10interface ContainerExceptionInterface extends Throwable
    911{
    1012}
Note: See TracChangeset for help on using the changeset viewer.