Merge branch 'bump-deps' into fix-babel
This commit is contained in:
commit
c7baef1d6a
|
|
@ -23,9 +23,9 @@
|
|||
"php-parallel-lint/php-parallel-lint": "^1.3.2",
|
||||
"phpcompatibility/phpcompatibility-wp": "^2.1.4",
|
||||
"phpmd/phpmd": "^2.13.0",
|
||||
"phpstan/phpstan": "^1.9.18",
|
||||
"phpstan/phpstan": "^1.10.8",
|
||||
"roave/security-advisories": "dev-latest",
|
||||
"squizlabs/php_codesniffer": "^3.7.1",
|
||||
"squizlabs/php_codesniffer": "^3.7.2",
|
||||
"szepeviktor/phpstan-wordpress": "^1.1.7",
|
||||
"wp-coding-standards/wpcs": "^2.3.0",
|
||||
"wptrt/wpthemereview": "^0.2.1"
|
||||
|
|
|
|||
|
|
@ -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": "380ce245225beac301d7402d294d5ee2",
|
||||
"content-hash": "24765b85dc002ebd9657308b1068f538",
|
||||
"packages": [],
|
||||
"packages-dev": [
|
||||
{
|
||||
|
|
@ -146,16 +146,16 @@
|
|||
},
|
||||
{
|
||||
"name": "pdepend/pdepend",
|
||||
"version": "2.12.1",
|
||||
"version": "2.13.0",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/pdepend/pdepend.git",
|
||||
"reference": "7a892d56ceafd804b4a2ecc85184640937ce9e84"
|
||||
"reference": "31be7cd4f305f3f7b52af99c1cb13fc938d1cfad"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/pdepend/pdepend/zipball/7a892d56ceafd804b4a2ecc85184640937ce9e84",
|
||||
"reference": "7a892d56ceafd804b4a2ecc85184640937ce9e84",
|
||||
"url": "https://api.github.com/repos/pdepend/pdepend/zipball/31be7cd4f305f3f7b52af99c1cb13fc938d1cfad",
|
||||
"reference": "31be7cd4f305f3f7b52af99c1cb13fc938d1cfad",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
"description": "Official version of pdepend to be handled with Composer",
|
||||
"support": {
|
||||
"issues": "https://github.com/pdepend/pdepend/issues",
|
||||
"source": "https://github.com/pdepend/pdepend/tree/2.12.1"
|
||||
"source": "https://github.com/pdepend/pdepend/tree/2.13.0"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -199,7 +199,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2022-09-08T19:30:37+00:00"
|
||||
"time": "2023-02-28T20:56:15+00:00"
|
||||
},
|
||||
{
|
||||
"name": "php-parallel-lint/php-parallel-lint",
|
||||
|
|
@ -561,16 +561,16 @@
|
|||
},
|
||||
{
|
||||
"name": "phpstan/phpstan",
|
||||
"version": "1.9.18",
|
||||
"version": "1.10.8",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/phpstan/phpstan.git",
|
||||
"reference": "f2d5cf71be91172a57c649770b73c20ebcffb0bf"
|
||||
"reference": "0166aef76e066f0dd2adc2799bdadfa1635711e9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/f2d5cf71be91172a57c649770b73c20ebcffb0bf",
|
||||
"reference": "f2d5cf71be91172a57c649770b73c20ebcffb0bf",
|
||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/0166aef76e066f0dd2adc2799bdadfa1635711e9",
|
||||
"reference": "0166aef76e066f0dd2adc2799bdadfa1635711e9",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -599,8 +599,11 @@
|
|||
"static analysis"
|
||||
],
|
||||
"support": {
|
||||
"docs": "https://phpstan.org/user-guide/getting-started",
|
||||
"forum": "https://github.com/phpstan/phpstan/discussions",
|
||||
"issues": "https://github.com/phpstan/phpstan/issues",
|
||||
"source": "https://github.com/phpstan/phpstan/tree/1.9.18"
|
||||
"security": "https://github.com/phpstan/phpstan/security/policy",
|
||||
"source": "https://github.com/phpstan/phpstan-src"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -616,7 +619,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-02-17T15:01:27+00:00"
|
||||
"time": "2023-03-24T10:28:16+00:00"
|
||||
},
|
||||
{
|
||||
"name": "psr/container",
|
||||
|
|
@ -722,12 +725,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/Roave/SecurityAdvisories.git",
|
||||
"reference": "df155ba3057743b818f94889528787f145992478"
|
||||
"reference": "08c832d96735c46a9d5849a5412fc4304e12d242"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/df155ba3057743b818f94889528787f145992478",
|
||||
"reference": "df155ba3057743b818f94889528787f145992478",
|
||||
"url": "https://api.github.com/repos/Roave/SecurityAdvisories/zipball/08c832d96735c46a9d5849a5412fc4304e12d242",
|
||||
"reference": "08c832d96735c46a9d5849a5412fc4304e12d242",
|
||||
"shasum": ""
|
||||
},
|
||||
"conflict": {
|
||||
|
|
@ -737,7 +740,7 @@
|
|||
"aheinze/cockpit": "<=2.2.1",
|
||||
"akaunting/akaunting": "<2.1.13",
|
||||
"akeneo/pim-community-dev": "<5.0.119|>=6,<6.0.53",
|
||||
"alextselegidis/easyappointments": "<=1.4.3",
|
||||
"alextselegidis/easyappointments": "<1.5",
|
||||
"alterphp/easyadmin-extension-bundle": ">=1.2,<1.2.11|>=1.3,<1.3.1",
|
||||
"amazing/media2click": ">=1,<1.3.3",
|
||||
"amphp/artax": "<1.0.6|>=2,<2.0.6",
|
||||
|
|
@ -746,7 +749,7 @@
|
|||
"anchorcms/anchor-cms": "<=0.12.7",
|
||||
"andreapollastri/cipi": "<=3.1.15",
|
||||
"apereo/phpcas": "<1.6",
|
||||
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6",
|
||||
"api-platform/core": ">=2.2,<2.2.10|>=2.3,<2.3.6|>=2.6,<2.7.10|>=3,<3.0.12|>=3.1,<3.1.3",
|
||||
"appwrite/server-ce": "<0.11.1|>=0.12,<0.12.2",
|
||||
"arc/web": "<3",
|
||||
"area17/twill": "<1.2.5|>=2,<2.5.3",
|
||||
|
|
@ -761,7 +764,7 @@
|
|||
"barrelstrength/sprout-forms": "<3.9",
|
||||
"barryvdh/laravel-translation-manager": "<0.6.2",
|
||||
"barzahlen/barzahlen-php": "<2.0.1",
|
||||
"baserproject/basercms": "<4.7.2",
|
||||
"baserproject/basercms": "<4.7.5",
|
||||
"bassjobsen/bootstrap-3-typeahead": ">4.0.2",
|
||||
"billz/raspap-webgui": "<=2.6.6",
|
||||
"bk2k/bootstrap-package": ">=7.1,<7.1.2|>=8,<8.0.8|>=9,<9.0.4|>=9.1,<9.1.3|>=10,<10.0.10|>=11,<11.0.3",
|
||||
|
|
@ -785,11 +788,11 @@
|
|||
"catfan/medoo": "<1.7.5",
|
||||
"centreon/centreon": "<22.10-beta.1",
|
||||
"cesnet/simplesamlphp-module-proxystatistics": "<3.1",
|
||||
"cockpit-hq/cockpit": "<2.3.9",
|
||||
"cockpit-hq/cockpit": "<2.4.1",
|
||||
"codeception/codeception": "<3.1.3|>=4,<4.1.22",
|
||||
"codeigniter/framework": "<=3.0.6",
|
||||
"codeigniter4/framework": "<4.2.11",
|
||||
"codeigniter4/shield": "= 1.0.0-beta",
|
||||
"codeigniter4/shield": "<1-beta.4|= 1.0.0-beta",
|
||||
"codiad/codiad": "<=2.8.4",
|
||||
"composer/composer": "<1.10.26|>=2-alpha.1,<2.2.12|>=2.3,<2.3.5",
|
||||
"concrete5/concrete5": "<=9.1.3|>= 9.0.0RC1, < 9.1.3",
|
||||
|
|
@ -800,7 +803,7 @@
|
|||
"contao/core-bundle": "<4.9.18|>=4.10,<4.11.7|>=4.13,<4.13.3|= 4.10.0",
|
||||
"contao/listing-bundle": ">=4,<4.4.8",
|
||||
"contao/managed-edition": "<=1.5",
|
||||
"craftcms/cms": "<3.7.55.2|>= 4.0.0-RC1, < 4.2.1",
|
||||
"craftcms/cms": "<3.7.64|>= 4.0.0-RC1, < 4.3.7|>= 4.0.0-RC1, < 4.2.1",
|
||||
"croogo/croogo": "<3.0.7",
|
||||
"cuyz/valinor": "<0.12",
|
||||
"czproject/git-php": "<4.0.3",
|
||||
|
|
@ -829,6 +832,7 @@
|
|||
"ectouch/ectouch": "<=2.7.2",
|
||||
"elefant/cms": "<1.3.13",
|
||||
"elgg/elgg": "<3.3.24|>=4,<4.0.5",
|
||||
"encore/laravel-admin": "<=1.8.19",
|
||||
"endroid/qr-code-bundle": "<3.4.2",
|
||||
"enshrined/svg-sanitize": "<0.15",
|
||||
"erusev/parsedown": "<1.7.2",
|
||||
|
|
@ -843,11 +847,11 @@
|
|||
"ezsystems/ezplatform-admin-ui": ">=1.3,<1.3.5|>=1.4,<1.4.6|>=1.5,<1.5.29|>=2.3,<2.3.26",
|
||||
"ezsystems/ezplatform-admin-ui-assets": ">=4,<4.2.1|>=5,<5.0.1|>=5.1,<5.1.1",
|
||||
"ezsystems/ezplatform-graphql": ">=1-rc.1,<1.0.13|>=2-beta.1,<2.3.12",
|
||||
"ezsystems/ezplatform-kernel": "<=1.2.5|>=1.3,<1.3.26",
|
||||
"ezsystems/ezplatform-kernel": "<1.2.5.1|>=1.3,<1.3.26",
|
||||
"ezsystems/ezplatform-rest": ">=1.2,<=1.2.2|>=1.3,<1.3.8",
|
||||
"ezsystems/ezplatform-richtext": ">=2.3,<=2.3.7",
|
||||
"ezsystems/ezplatform-user": ">=1,<1.0.1",
|
||||
"ezsystems/ezpublish-kernel": "<=6.13.8.1|>=7,<7.5.30",
|
||||
"ezsystems/ezpublish-kernel": "<6.13.8.2|>=7,<7.5.30",
|
||||
"ezsystems/ezpublish-legacy": "<=2017.12.7.3|>=2018.6,<=2019.3.5.1",
|
||||
"ezsystems/platform-ui-assets-bundle": ">=4.2,<4.2.3",
|
||||
"ezsystems/repository-forms": ">=2.3,<2.3.2.1|>=2.5,<2.5.15",
|
||||
|
|
@ -861,7 +865,7 @@
|
|||
"firebase/php-jwt": "<6",
|
||||
"fixpunkt/fp-masterquiz": "<2.2.1|>=3,<3.5.2",
|
||||
"fixpunkt/fp-newsletter": "<1.1.1|>=2,<2.1.2|>=2.2,<3.2.6",
|
||||
"flarum/core": "<1.6.3",
|
||||
"flarum/core": "<1.7",
|
||||
"flarum/mentions": "<1.6.3",
|
||||
"flarum/sticky": ">=0.1-beta.14,<=0.1-beta.15",
|
||||
"flarum/tags": "<=0.1-beta.13",
|
||||
|
|
@ -871,14 +875,16 @@
|
|||
"fooman/tcpdf": "<6.2.22",
|
||||
"forkcms/forkcms": "<5.11.1",
|
||||
"fossar/tcpdf-parser": "<6.2.22",
|
||||
"francoisjacquet/rosariosis": "<10.1",
|
||||
"francoisjacquet/rosariosis": "<10.8.2",
|
||||
"frappant/frp-form-answers": "<3.1.2|>=4,<4.0.2",
|
||||
"friendsofsymfony/oauth2-php": "<1.3",
|
||||
"friendsofsymfony/rest-bundle": ">=1.2,<1.2.2",
|
||||
"friendsofsymfony/user-bundle": ">=1.2,<1.3.5",
|
||||
"friendsoftypo3/mediace": ">=7.6.2,<7.6.5",
|
||||
"froala/wysiwyg-editor": "<3.2.7",
|
||||
"froxlor/froxlor": "<2.0.10",
|
||||
"froxlor/froxlor": "<2.0.13",
|
||||
"fuel/core": "<1.8.1",
|
||||
"funadmin/funadmin": "<=3.2",
|
||||
"gaoming13/wechat-php-sdk": "<=1.10.2",
|
||||
"genix/cms": "<=1.1.11",
|
||||
"getgrav/grav": "<1.7.34",
|
||||
|
|
@ -889,7 +895,7 @@
|
|||
"globalpayments/php-sdk": "<2",
|
||||
"google/protobuf": "<3.15",
|
||||
"gos/web-socket-bundle": "<1.10.4|>=2,<2.6.1|>=3,<3.3",
|
||||
"gree/jose": "<=2.2",
|
||||
"gree/jose": "<2.2.1",
|
||||
"gregwar/rst": "<1.0.3",
|
||||
"grumpydictator/firefly-iii": "<5.8",
|
||||
"guzzlehttp/guzzle": "<6.5.8|>=7,<7.4.5",
|
||||
|
|
@ -936,6 +942,7 @@
|
|||
"kimai/kimai": "<1.1",
|
||||
"kitodo/presentation": "<3.1.2",
|
||||
"klaviyo/magento2-extension": ">=1,<3",
|
||||
"knplabs/knp-snappy": "<=1.4.1",
|
||||
"krayin/laravel-crm": "<1.2.2",
|
||||
"kreait/firebase-php": ">=3.2,<3.8.1",
|
||||
"la-haute-societe/tcpdf": "<6.2.22",
|
||||
|
|
@ -964,6 +971,7 @@
|
|||
"magento/magento1ee": ">=1,<1.14.4.3",
|
||||
"magento/product-community-edition": ">=2,<2.2.10|>=2.3,<2.3.2-p.2",
|
||||
"maikuolan/phpmussel": ">=1,<1.6",
|
||||
"mantisbt/mantisbt": "<=2.25.5",
|
||||
"marcwillmann/turn": "<0.3.3",
|
||||
"matyhtf/framework": "<3.0.6",
|
||||
"mautic/core": "<4.3|= 2.13.1",
|
||||
|
|
@ -974,14 +982,14 @@
|
|||
"melisplatform/melis-front": "<5.0.1",
|
||||
"mezzio/mezzio-swoole": "<3.7|>=4,<4.3",
|
||||
"mgallegos/laravel-jqgrid": "<=1.3",
|
||||
"microweber/microweber": "<1.3.2",
|
||||
"microweber/microweber": "<=1.3.2",
|
||||
"miniorange/miniorange-saml": "<1.4.3",
|
||||
"mittwald/typo3_forum": "<1.2.1",
|
||||
"mobiledetect/mobiledetectlib": "<2.8.32",
|
||||
"modx/revolution": "<= 2.8.3-pl|<2.8",
|
||||
"mojo42/jirafeau": "<4.4",
|
||||
"monolog/monolog": ">=1.8,<1.12",
|
||||
"moodle/moodle": "<4.0.5",
|
||||
"moodle/moodle": "<4.0.7|>=4.1-beta,<4.1.2|= 3.11",
|
||||
"mustache/mustache": ">=2,<2.14.1",
|
||||
"namshi/jose": "<2.2",
|
||||
"neoan3-apps/template": "<1.1.1",
|
||||
|
|
@ -993,7 +1001,7 @@
|
|||
"netgen/tagsbundle": ">=3.4,<3.4.11|>=4,<4.0.15",
|
||||
"nette/application": ">=2,<2.0.19|>=2.1,<2.1.13|>=2.2,<2.2.10|>=2.3,<2.3.14|>=2.4,<2.4.16|>=3,<3.0.6",
|
||||
"nette/nette": ">=2,<2.0.19|>=2.1,<2.1.13",
|
||||
"nilsteampassnet/teampass": "<=2.1.27.36",
|
||||
"nilsteampassnet/teampass": "<3.0.0.23",
|
||||
"notrinos/notrinos-erp": "<=0.7",
|
||||
"noumo/easyii": "<=0.9",
|
||||
"nukeviet/nukeviet": "<4.5.2",
|
||||
|
|
@ -1034,14 +1042,15 @@
|
|||
"phpmyfaq/phpmyfaq": "<=3.1.7",
|
||||
"phpoffice/phpexcel": "<1.8",
|
||||
"phpoffice/phpspreadsheet": "<1.16",
|
||||
"phpseclib/phpseclib": "<2.0.31|>=3,<3.0.7",
|
||||
"phpseclib/phpseclib": "<2.0.31|>=3,<3.0.19",
|
||||
"phpservermon/phpservermon": "<=3.5.2",
|
||||
"phpunit/phpunit": ">=4.8.19,<4.8.28|>=5,<5.6.3",
|
||||
"phpwhois/phpwhois": "<=4.2.5",
|
||||
"phpxmlrpc/extras": "<0.6.1",
|
||||
"phpxmlrpc/phpxmlrpc": "<4.9.2",
|
||||
"pimcore/data-hub": "<1.2.4",
|
||||
"pimcore/pimcore": "<10.5.17",
|
||||
"pimcore/pimcore": "<11",
|
||||
"pixelfed/pixelfed": "<=0.11.4",
|
||||
"pocketmine/bedrock-protocol": "<8.0.2",
|
||||
"pocketmine/pocketmine-mp": "<4.12.5|>= 4.0.0-BETA5, < 4.4.2",
|
||||
"pressbooks/pressbooks": "<5.18",
|
||||
|
|
@ -1049,7 +1058,7 @@
|
|||
"prestashop/blockwishlist": ">=2,<2.1.1",
|
||||
"prestashop/contactform": ">=1.0.1,<4.3",
|
||||
"prestashop/gamification": "<2.3.2",
|
||||
"prestashop/prestashop": "<1.7.8.8",
|
||||
"prestashop/prestashop": "<8.0.1",
|
||||
"prestashop/productcomments": "<5.0.2",
|
||||
"prestashop/ps_emailsubscription": "<2.6.1",
|
||||
"prestashop/ps_facetedsearch": "<3.4.1",
|
||||
|
|
@ -1091,7 +1100,7 @@
|
|||
"silverstripe/comments": ">=1.3,<1.9.99|>=2,<2.9.99|>=3,<3.1.1",
|
||||
"silverstripe/forum": "<=0.6.1|>=0.7,<=0.7.3",
|
||||
"silverstripe/framework": "<4.11.14",
|
||||
"silverstripe/graphql": "<3.5.2|>=4-alpha.1,<4-alpha.2|= 4.0.0-alpha1",
|
||||
"silverstripe/graphql": "<3.5.2|>=4-alpha.1,<4-alpha.2|>=4.1.1,<4.1.2|>=4.2.2,<4.2.3|= 4.0.0-alpha1",
|
||||
"silverstripe/hybridsessions": ">=1,<2.4.1|>=2.5,<2.5.1",
|
||||
"silverstripe/registry": ">=2.1,<2.1.2|>=2.2,<2.2.1",
|
||||
"silverstripe/restfulserver": ">=1,<1.0.9|>=2,<2.0.4",
|
||||
|
|
@ -1107,6 +1116,7 @@
|
|||
"simplesamlphp/simplesamlphp-module-openid": "<1",
|
||||
"simplesamlphp/simplesamlphp-module-openidprovider": "<0.9",
|
||||
"simplito/elliptic-php": "<1.0.6",
|
||||
"sitegeist/fluid-components": "<3.5",
|
||||
"slim/slim": "<2.6",
|
||||
"smarty/smarty": "<3.1.47|>=4,<4.2.1",
|
||||
"snipe/snipe-it": "<=6.0.14|>= 6.0.0-RC-1, <= 6.0.0-RC-5",
|
||||
|
|
@ -1200,6 +1210,7 @@
|
|||
"unisharp/laravel-filemanager": "<=2.5.1",
|
||||
"userfrosting/userfrosting": ">=0.3.1,<4.6.3",
|
||||
"usmanhalalit/pixie": "<1.0.3|>=2,<2.0.2",
|
||||
"uvdesk/community-skeleton": "<1.1",
|
||||
"vanilla/safecurl": "<0.9.2",
|
||||
"verot/class.upload.php": "<=1.0.3|>=2,<=2.0.4",
|
||||
"vova07/yii2-fileapi-widget": "<0.1.9",
|
||||
|
|
@ -1218,6 +1229,7 @@
|
|||
"wp-cli/wp-cli": "<2.5",
|
||||
"wp-graphql/wp-graphql": "<0.3.5",
|
||||
"wpanel/wpanel4-cms": "<=4.3.1",
|
||||
"wpcloud/wp-stateless": "<3.2",
|
||||
"wwbn/avideo": "<12.4",
|
||||
"xataface/xataface": "<3",
|
||||
"xpressengine/xpressengine": "<3.0.15",
|
||||
|
|
@ -1283,6 +1295,9 @@
|
|||
}
|
||||
],
|
||||
"description": "Prevents installation of composer packages with known security vulnerabilities: no API, simply require it",
|
||||
"keywords": [
|
||||
"dev"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/Roave/SecurityAdvisories/issues",
|
||||
"source": "https://github.com/Roave/SecurityAdvisories/tree/latest"
|
||||
|
|
@ -1297,20 +1312,20 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-02-17T15:04:38+00:00"
|
||||
"time": "2023-03-27T09:04:40+00:00"
|
||||
},
|
||||
{
|
||||
"name": "squizlabs/php_codesniffer",
|
||||
"version": "3.7.1",
|
||||
"version": "3.7.2",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
|
||||
"reference": "1359e176e9307e906dc3d890bcc9603ff6d90619"
|
||||
"reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/1359e176e9307e906dc3d890bcc9603ff6d90619",
|
||||
"reference": "1359e176e9307e906dc3d890bcc9603ff6d90619",
|
||||
"url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/ed8e00df0a83aa96acf703f8c2979ff33341f879",
|
||||
"reference": "ed8e00df0a83aa96acf703f8c2979ff33341f879",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -1346,27 +1361,28 @@
|
|||
"homepage": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||
"keywords": [
|
||||
"phpcs",
|
||||
"standards"
|
||||
"standards",
|
||||
"static analysis"
|
||||
],
|
||||
"support": {
|
||||
"issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues",
|
||||
"source": "https://github.com/squizlabs/PHP_CodeSniffer",
|
||||
"wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki"
|
||||
},
|
||||
"time": "2022-06-18T07:21:10+00:00"
|
||||
"time": "2023-02-22T23:07:41+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/config",
|
||||
"version": "v5.4.19",
|
||||
"version": "v5.4.21",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/config.git",
|
||||
"reference": "9bd60843443cda9638efdca7c41eb82ed0026179"
|
||||
"reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/config/zipball/9bd60843443cda9638efdca7c41eb82ed0026179",
|
||||
"reference": "9bd60843443cda9638efdca7c41eb82ed0026179",
|
||||
"url": "https://api.github.com/repos/symfony/config/zipball/2a6b1111d038adfa15d52c0871e540f3b352d1e4",
|
||||
"reference": "2a6b1111d038adfa15d52c0871e540f3b352d1e4",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -1416,7 +1432,7 @@
|
|||
"description": "Helps you find, load, combine, autofill and validate configuration values of any kind",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/config/tree/v5.4.19"
|
||||
"source": "https://github.com/symfony/config/tree/v5.4.21"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -1432,20 +1448,20 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-01-08T13:23:55+00:00"
|
||||
"time": "2023-02-14T08:03:56+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/dependency-injection",
|
||||
"version": "v5.4.20",
|
||||
"version": "v5.4.21",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/dependency-injection.git",
|
||||
"reference": "8185ed0df129005a26715902f1a53bad0fe67102"
|
||||
"reference": "5bc403d96622cf0091abd92c939eadecd4d07f94"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/8185ed0df129005a26715902f1a53bad0fe67102",
|
||||
"reference": "8185ed0df129005a26715902f1a53bad0fe67102",
|
||||
"url": "https://api.github.com/repos/symfony/dependency-injection/zipball/5bc403d96622cf0091abd92c939eadecd4d07f94",
|
||||
"reference": "5bc403d96622cf0091abd92c939eadecd4d07f94",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -1505,7 +1521,7 @@
|
|||
"description": "Allows you to standardize and centralize the way objects are constructed in your application",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/dependency-injection/tree/v5.4.20"
|
||||
"source": "https://github.com/symfony/dependency-injection/tree/v5.4.21"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -1521,7 +1537,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-01-27T11:08:11+00:00"
|
||||
"time": "2023-02-16T09:33:00+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/deprecation-contracts",
|
||||
|
|
@ -1592,16 +1608,16 @@
|
|||
},
|
||||
{
|
||||
"name": "symfony/filesystem",
|
||||
"version": "v5.4.19",
|
||||
"version": "v5.4.21",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/filesystem.git",
|
||||
"reference": "648bfaca6a494f3e22378123bcee2894045dc9d8"
|
||||
"reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/filesystem/zipball/648bfaca6a494f3e22378123bcee2894045dc9d8",
|
||||
"reference": "648bfaca6a494f3e22378123bcee2894045dc9d8",
|
||||
"url": "https://api.github.com/repos/symfony/filesystem/zipball/e75960b1bbfd2b8c9e483e0d74811d555ca3de9f",
|
||||
"reference": "e75960b1bbfd2b8c9e483e0d74811d555ca3de9f",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
|
@ -1636,7 +1652,7 @@
|
|||
"description": "Provides basic utilities for the filesystem",
|
||||
"homepage": "https://symfony.com",
|
||||
"support": {
|
||||
"source": "https://github.com/symfony/filesystem/tree/v5.4.19"
|
||||
"source": "https://github.com/symfony/filesystem/tree/v5.4.21"
|
||||
},
|
||||
"funding": [
|
||||
{
|
||||
|
|
@ -1652,7 +1668,7 @@
|
|||
"type": "tidelift"
|
||||
}
|
||||
],
|
||||
"time": "2023-01-14T19:14:44+00:00"
|
||||
"time": "2023-02-14T08:03:56+00:00"
|
||||
},
|
||||
{
|
||||
"name": "symfony/polyfill-ctype",
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ if ( ! function_exists( 'understrap_body_attributes' ) ) {
|
|||
* @param array $atts An associative array of attributes.
|
||||
*/
|
||||
$atts = array_unique( apply_filters( 'understrap_body_attributes', $atts = array() ) );
|
||||
if ( ! is_array( $atts ) || empty( $atts ) ) {
|
||||
if ( empty( $atts ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1821,7 +1821,7 @@
|
|||
|
||||
function getUAString() {
|
||||
var uaData = navigator.userAgentData;
|
||||
if (uaData != null && uaData.brands) {
|
||||
if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
|
||||
return uaData.brands.map(function (item) {
|
||||
return item.brand + "/" + item.version;
|
||||
}).join(' ');
|
||||
|
|
@ -2108,10 +2108,9 @@
|
|||
// Zooming can change the DPR, but it seems to report a value that will
|
||||
// cleanly divide the values into the appropriate subpixels.
|
||||
|
||||
function roundOffsetsByDPR(_ref) {
|
||||
function roundOffsetsByDPR(_ref, win) {
|
||||
var x = _ref.x,
|
||||
y = _ref.y;
|
||||
var win = window;
|
||||
var dpr = win.devicePixelRatio || 1;
|
||||
return {
|
||||
x: round(x * dpr) / dpr || 0,
|
||||
|
|
@ -2184,7 +2183,7 @@
|
|||
var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
|
||||
x: x,
|
||||
y: y
|
||||
}) : {
|
||||
}, getWindow(popper)) : {
|
||||
x: x,
|
||||
y: y
|
||||
};
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
18
package.json
18
package.json
|
|
@ -54,30 +54,30 @@
|
|||
},
|
||||
"homepage": "https://understrap.com",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.21.0",
|
||||
"@babel/core": "^7.21.3",
|
||||
"@babel/preset-env": "^7.20.2",
|
||||
"@popperjs/core": "^2.11.6",
|
||||
"@popperjs/core": "^2.11.7",
|
||||
"@rollup/plugin-babel": "^6.0.3",
|
||||
"@rollup/plugin-commonjs": "^24.0.1",
|
||||
"@rollup/plugin-multi-entry": "^6.0.0",
|
||||
"@rollup/plugin-node-resolve": "^15.0.1",
|
||||
"@rollup/plugin-replace": "^5.0.2",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"autoprefixer": "^10.4.14",
|
||||
"bootstrap": "^5.2.3",
|
||||
"bootstrap4": "npm:bootstrap@^4.6.2",
|
||||
"browser-sync": "^2.27.11",
|
||||
"browser-sync": "^2.29.1",
|
||||
"browserslist": "^4.21.5",
|
||||
"caniuse-lite": "^1.0.30001457",
|
||||
"caniuse-lite": "^1.0.30001470",
|
||||
"clean-css-cli": "^5.6.2",
|
||||
"font-awesome": "^4.7.0",
|
||||
"nodemon": "^2.0.20",
|
||||
"nodemon": "^2.0.22",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"popper.js": "^1.16.1",
|
||||
"postcss": "^8.4.21",
|
||||
"postcss-cli": "^10.1.0",
|
||||
"postcss-understrap-palette-generator": "git+https://github.com/understrap/postcss-understrap-palette-generator.git",
|
||||
"rollup": "^3.17.2",
|
||||
"sass": "^1.58.3",
|
||||
"terser": "^5.16.4"
|
||||
"rollup": "^3.20.2",
|
||||
"sass": "^1.60.0",
|
||||
"terser": "^5.16.8"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -89,6 +89,11 @@
|
|||
<exclude phpcs-only="true" name="Generic.Files.LineEndings"/>
|
||||
</rule>
|
||||
|
||||
<!-- Ignore mixed line-endings warnings -->
|
||||
<rule ref="Internal.LineEndings.Mixed">
|
||||
<severity>0</severity>
|
||||
</rule>
|
||||
|
||||
<!-- Use the WPThemeReview Ruleset -->
|
||||
<rule ref="WPThemeReview" />
|
||||
|
||||
|
|
|
|||
|
|
@ -54,14 +54,20 @@ class GetThemeModReturnType implements DynamicFunctionReturnTypeExtension {
|
|||
$functionReflection->getVariants()
|
||||
)->getReturnType();
|
||||
|
||||
if (!$argType instanceof ConstantStringType) {
|
||||
return $defaultType;
|
||||
if (count($argType->getConstantStrings()) === 0) {
|
||||
return null;
|
||||
}
|
||||
|
||||
// Return the default value if it is not an Understrap specific theme mod.
|
||||
if (!in_array($argType->getValue(), self::$themeMods, true)) {
|
||||
return $defaultType;
|
||||
$returnType = [];
|
||||
foreach ($argType->getConstantStrings() as $constantString) {
|
||||
if (in_array($constantString->getValue(), self::$themeMods, true)) {
|
||||
$returnType[] = new StringType();
|
||||
} else {
|
||||
$returnType[] = $defaultType;
|
||||
}
|
||||
}
|
||||
$returnType = TypeCombinator::union(...$returnType);
|
||||
|
||||
|
||||
// Without second argument the default value is false, but can be filtered.
|
||||
$defaultType = new MixedType();
|
||||
|
|
@ -69,6 +75,6 @@ class GetThemeModReturnType implements DynamicFunctionReturnTypeExtension {
|
|||
$defaultType = $scope->getType($functionCall->getArgs()[1]->value);
|
||||
}
|
||||
|
||||
return TypeCombinator::union(new StringType(), $defaultType);
|
||||
return TypeCombinator::union($returnType, $defaultType);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue