From 073019f4c4b165ff642829365411fdd838c1a4a6 Mon Sep 17 00:00:00 2001 From: Shin <2082119+shinsenter@users.noreply.github.com> Date: Sat, 27 Mar 2021 14:28:21 +0900 Subject: [PATCH] Updated to dev --- composer.json | 2 +- composer.lock | 31 +++++++++++++++++-------------- defer-wordpress.php | 2 +- package-lock.json | 15 ++++++++------- package.json | 2 +- 5 files changed, 28 insertions(+), 24 deletions(-) diff --git a/composer.json b/composer.json index 36f244e..3848809 100644 --- a/composer.json +++ b/composer.json @@ -54,7 +54,7 @@ }, "require": { "php": ">=5.6", - "shinsenter/defer.php": "^2.0", + "shinsenter/defer.php": "dev-develop", "symfony/polyfill-mbstring": "<=1.22.0", "dangoodman/composer-for-wordpress": "^2.0" }, diff --git a/composer.lock b/composer.lock index 7bcacbc..c6f6db6 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "fb8acccbd287c05f02529c3739dec9c4", + "content-hash": "172b16ed3092399b49bbafa10c659b57", "packages": [ { "name": "dangoodman/composer-for-wordpress", @@ -152,16 +152,16 @@ }, { "name": "shinsenter/defer.php", - "version": "2.0.0", + "version": "dev-develop", "source": { "type": "git", "url": "https://github.com/shinsenter/defer.php.git", - "reference": "abc844b2c141c50f6a3c2ae4ffebcbb6fc99bba3" + "reference": "97b36b97d81d546a3bc025905640a9cd3e7ee2b2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shinsenter/defer.php/zipball/abc844b2c141c50f6a3c2ae4ffebcbb6fc99bba3", - "reference": "abc844b2c141c50f6a3c2ae4ffebcbb6fc99bba3", + "url": "https://api.github.com/repos/shinsenter/defer.php/zipball/97b36b97d81d546a3bc025905640a9cd3e7ee2b2", + "reference": "97b36b97d81d546a3bc025905640a9cd3e7ee2b2", "shasum": "" }, "require": { @@ -241,7 +241,7 @@ "type": "paypal" } ], - "time": "2021-03-25T02:16:10+00:00" + "time": "2021-03-27T05:15:26+00:00" }, { "name": "symfony/css-selector", @@ -539,16 +539,16 @@ }, { "name": "composer/xdebug-handler", - "version": "1.4.5", + "version": "1.4.6", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "f28d44c286812c714741478d968104c5e604a1d4" + "reference": "f27e06cd9675801df441b3656569b328e04aa37c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f28d44c286812c714741478d968104c5e604a1d4", - "reference": "f28d44c286812c714741478d968104c5e604a1d4", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/f27e06cd9675801df441b3656569b328e04aa37c", + "reference": "f27e06cd9675801df441b3656569b328e04aa37c", "shasum": "" }, "require": { @@ -556,7 +556,8 @@ "psr/log": "^1.0" }, "require-dev": { - "phpunit/phpunit": "^4.8.35 || ^5.7 || 6.5 - 8" + "phpstan/phpstan": "^0.12.55", + "symfony/phpunit-bridge": "^4.2 || ^5" }, "type": "library", "autoload": { @@ -582,7 +583,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/1.4.5" + "source": "https://github.com/composer/xdebug-handler/tree/1.4.6" }, "funding": [ { @@ -598,7 +599,7 @@ "type": "tidelift" } ], - "time": "2020-11-13T08:04:11+00:00" + "time": "2021-03-25T17:01:18+00:00" }, { "name": "doctrine/annotations", @@ -1710,7 +1711,9 @@ ], "aliases": [], "minimum-stability": "stable", - "stability-flags": [], + "stability-flags": { + "shinsenter/defer.php": 20 + }, "prefer-stable": false, "prefer-lowest": false, "platform": { diff --git a/defer-wordpress.php b/defer-wordpress.php index 8901471..e97e4dc 100644 --- a/defer-wordpress.php +++ b/defer-wordpress.php @@ -58,7 +58,7 @@ $has_deferjs = file_exists(__DIR__ . '/public/lib/defer_plus.min.js'); define('DEFER_WP_SRC_DEFERJS_CDN', $has_deferjs ? __DIR__ . '/public/lib/defer_plus.min.js' - : 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.1.0/dist/defer_plus.min.js'); + : 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.2.0/dist/defer_plus.min.js'); $has_polyfill = file_exists(__DIR__ . '/public/lib/polyfill.min.js'); define('DEFER_WP_SRC_POLYFILL_CDN', $has_polyfill diff --git a/package-lock.json b/package-lock.json index c69a19c..2f147cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,20 +7,21 @@ "name": "shinsenter/defer-wordpress", "license": "GPL-2.0", "dependencies": { - "@shinsenter/defer.js": "^2.1.0" + "@shinsenter/defer.js": "^2.2.0" } }, "node_modules/@shinsenter/defer.js": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.1.0.tgz", - "integrity": "sha512-Q0nnWr+nmSXzcsIiQ5sbLvLTYG30Hj3KusiodM+4jOfQdwgyzTjJeNVfokpWi1AW2Qw28cWX/PIXBlnqiTITMQ==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.2.0.tgz", + "integrity": "sha512-OkA5sY+KbO/PLqVxERzMMghCCB0MTZMF6vSDDGyaKEKslkyJRB0HJUMwvgaxUwtxs+Qt7PlSJFCYtGr75ueAUg==", + "license": "MIT" } }, "dependencies": { "@shinsenter/defer.js": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.1.0.tgz", - "integrity": "sha512-Q0nnWr+nmSXzcsIiQ5sbLvLTYG30Hj3KusiodM+4jOfQdwgyzTjJeNVfokpWi1AW2Qw28cWX/PIXBlnqiTITMQ==" + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.2.0.tgz", + "integrity": "sha512-OkA5sY+KbO/PLqVxERzMMghCCB0MTZMF6vSDDGyaKEKslkyJRB0HJUMwvgaxUwtxs+Qt7PlSJFCYtGr75ueAUg==" } } } diff --git a/package.json b/package.json index 8b35874..a605c9b 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Mai Nhut Tan ", "license": "GPL-2.0", "dependencies": { - "@shinsenter/defer.js": "^2.1.0" + "@shinsenter/defer.js": "^2.2.0" }, "repository": { "type": "git",