Re-add "mobiledetect/mobiledetectlib" library

This commit is contained in:
Justin Palmer 2023-11-11 02:58:39 +01:00
parent dfcaa6019d
commit df2e05e4cf
No known key found for this signature in database
GPG Key ID: ACAB7C35AA2577AF
3 changed files with 69 additions and 3 deletions

View File

@ -8,6 +8,7 @@
},
"require-dev": {
"league/container": "3.3.5",
"mobiledetect/mobiledetectlib": "^3.74",
"psr/container": "^1.1"
},
"config": {
@ -29,6 +30,7 @@
"dep_directory": "/packages/",
"packages": [
"league/container",
"mobiledetect/mobiledetectlib",
"psr/container"
],
"excluded_packages": [

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "08afc0d13426146cf441a311818703f5",
"content-hash": "e7bcc779909e9742f85e0f7e8cec2a2b",
"packages": [],
"packages-dev": [
{
@ -86,6 +86,70 @@
],
"time": "2021-03-16T09:42:56+00:00"
},
{
"name": "mobiledetect/mobiledetectlib",
"version": "3.74.3",
"source": {
"type": "git",
"url": "https://github.com/serbanghita/Mobile-Detect.git",
"reference": "39582ab62f86b40e4edb698159f895929a29c346"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/39582ab62f86b40e4edb698159f895929a29c346",
"reference": "39582ab62f86b40e4edb698159f895929a29c346",
"shasum": ""
},
"require": {
"php": ">=7.4"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.14",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7"
},
"type": "library",
"autoload": {
"psr-4": {
"Detection\\": "src/"
},
"classmap": [
"src/MobileDetect.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Serban Ghita",
"email": "serbanghita@gmail.com",
"homepage": "https://mobiledetect.net",
"role": "Developer"
}
],
"description": "Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment.",
"homepage": "https://github.com/serbanghita/Mobile-Detect",
"keywords": [
"detect mobile devices",
"mobile",
"mobile detect",
"mobile detector",
"php mobile detect"
],
"support": {
"issues": "https://github.com/serbanghita/Mobile-Detect/issues",
"source": "https://github.com/serbanghita/Mobile-Detect/tree/3.74.3"
},
"funding": [
{
"url": "https://github.com/serbanghita",
"type": "github"
}
],
"time": "2023-10-27T16:28:04+00:00"
},
{
"name": "psr/container",
"version": "1.1.2",

View File

@ -18,7 +18,7 @@
* @author Nick Ilyin <nick.ilyin@gmail.com>
* @author: Victor Stanciu <vic.stanciu@gmail.com> (original author)
*
* @version 3.74.2
* @version 3.74.3
*/
namespace Automattic\WooCommerce\Vendor\Detection;
@ -226,7 +226,7 @@ class MobileDetect
/**
* Stores the version number of the current release.
*/
const VERSION = '3.74.2';
const VERSION = '3.74.3';
/**
* A type for the version() method indicating a string return value.