From ec5371e96cc9a3855decbd0c8329cd054f69bc18 Mon Sep 17 00:00:00 2001 From: Shin <2082119+shinsenter@users.noreply.github.com> Date: Sun, 15 Aug 2021 11:25:02 +0900 Subject: [PATCH] Small bug fixes (#61) * Update dependencies * Small bug fixes --- VERSION | 2 +- composer.lock | 40 ++++++++++++++++++++-------------------- defer-wordpress.php | 6 +++--- package-lock.json | 14 +++++++------- package.json | 2 +- 5 files changed, 32 insertions(+), 32 deletions(-) diff --git a/VERSION b/VERSION index 58073ef..acdc3f1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.4.1 \ No newline at end of file +2.4.2 \ No newline at end of file diff --git a/composer.lock b/composer.lock index d0e39ae..bc2d0d4 100644 --- a/composer.lock +++ b/composer.lock @@ -152,16 +152,16 @@ }, { "name": "shinsenter/defer.php", - "version": "2.4.1", + "version": "2.4.2", "source": { "type": "git", "url": "https://github.com/shinsenter/defer.php.git", - "reference": "f95a852a12b541ecb9f75c354c82eb966b174464" + "reference": "1d9f476077c6cf2aa1a8d7b97367cb8d7e719655" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/shinsenter/defer.php/zipball/f95a852a12b541ecb9f75c354c82eb966b174464", - "reference": "f95a852a12b541ecb9f75c354c82eb966b174464", + "url": "https://api.github.com/repos/shinsenter/defer.php/zipball/1d9f476077c6cf2aa1a8d7b97367cb8d7e719655", + "reference": "1d9f476077c6cf2aa1a8d7b97367cb8d7e719655", "shasum": "" }, "require": { @@ -175,7 +175,7 @@ "symfony/polyfill-mbstring": "^1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.0" + "friendsofphp/php-cs-fixer": ">=2" }, "suggest": { "ext-mbstring": "*" @@ -244,7 +244,7 @@ "type": "paypal" } ], - "time": "2021-05-21T03:02:10+00:00" + "time": "2021-08-15T02:17:20+00:00" }, { "name": "symfony/css-selector", @@ -542,21 +542,21 @@ }, { "name": "composer/xdebug-handler", - "version": "2.0.1", + "version": "2.0.2", "source": { "type": "git", "url": "https://github.com/composer/xdebug-handler.git", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496" + "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", - "reference": "964adcdd3a28bf9ed5d9ac6450064e0d71ed7496", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/84674dd3a7575ba617f5a76d7e9e29a7d3891339", + "reference": "84674dd3a7575ba617f5a76d7e9e29a7d3891339", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0", - "psr/log": "^1.0" + "psr/log": "^1 || ^2 || ^3" }, "require-dev": { "phpstan/phpstan": "^0.12.55", @@ -586,7 +586,7 @@ "support": { "irc": "irc://irc.freenode.org/composer", "issues": "https://github.com/composer/xdebug-handler/issues", - "source": "https://github.com/composer/xdebug-handler/tree/2.0.1" + "source": "https://github.com/composer/xdebug-handler/tree/2.0.2" }, "funding": [ { @@ -602,7 +602,7 @@ "type": "tidelift" } ], - "time": "2021-05-05T19:37:51+00:00" + "time": "2021-07-31T17:03:58+00:00" }, { "name": "doctrine/annotations", @@ -742,16 +742,16 @@ }, { "name": "friendsofphp/php-cs-fixer", - "version": "v2.19.0", + "version": "v2.19.1", "source": { "type": "git", "url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git", - "reference": "d5b8a9d852b292c2f8a035200fa6844b1f82300b" + "reference": "1fa4af92841f67362c053728989b262fba8eb1ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/d5b8a9d852b292c2f8a035200fa6844b1f82300b", - "reference": "d5b8a9d852b292c2f8a035200fa6844b1f82300b", + "url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/1fa4af92841f67362c053728989b262fba8eb1ec", + "reference": "1fa4af92841f67362c053728989b262fba8eb1ec", "shasum": "" }, "require": { @@ -839,7 +839,7 @@ "description": "A tool to automatically fix PHP code style", "support": { "issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues", - "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.19.0" + "source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v2.19.1" }, "funding": [ { @@ -847,7 +847,7 @@ "type": "github" } ], - "time": "2021-05-03T21:43:24+00:00" + "time": "2021-08-02T17:52:09+00:00" }, { "name": "paragonie/random_compat", @@ -1729,5 +1729,5 @@ "platform-overrides": { "php": "5.6" }, - "plugin-api-version": "2.0.0" + "plugin-api-version": "2.1.0" } diff --git a/defer-wordpress.php b/defer-wordpress.php index 42b7724..826bcb1 100644 --- a/defer-wordpress.php +++ b/defer-wordpress.php @@ -28,7 +28,7 @@ * Plugin Name: A faster website! (aka defer.js) * Plugin URI: https://wordpress.org/plugins/shins-pageload-magic/ * Description: 💯 Latest web technologies in website optimization by experienced web experts. 🔰 Very easy to use. - * Version: 2.4.1 + * Version: 2.4.2 * Author: Mai Nhut Tan * Author URI: https://code.shin.company/ * License: GPL-2.0+ @@ -44,7 +44,7 @@ if (!defined('DEFER_WP_PLUGIN_VERSION')) { define('DEFER_WP_PLUGIN_BASE', plugin_basename(__FILE__)); define('DEFER_WP_PLUGIN_NAME', 'defer-wordpress'); - define('DEFER_WP_PLUGIN_VERSION', '2.4.1'); + define('DEFER_WP_PLUGIN_VERSION', '2.4.2'); define('DEFER_WP_PLUGIN_PREFIX', DEFER_WP_PLUGIN_NAME . '_'); define('DEFER_WP_PLUGIN_HOOK', 'plugin_action_links_' . DEFER_WP_PLUGIN_BASE); @@ -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.4.2/dist/defer_plus.min.js'); + : 'https://cdn.jsdelivr.net/npm/@shinsenter/defer.js@2.5.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 2d9a54d..414cb6e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,13 +7,13 @@ "name": "shinsenter/defer-wordpress", "license": "GPL-2.0", "dependencies": { - "@shinsenter/defer.js": "^2.4.2" + "@shinsenter/defer.js": "^2.5.0" } }, "node_modules/@shinsenter/defer.js": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.4.2.tgz", - "integrity": "sha512-hZkySx293V5zqZb1aEc4ARm3v2ONj3ufPtmZRJzZMzmTNfmpdcVjfcBqgm09vf5ja1lH1NOLE5zxYF4KIwn7yQ==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.5.0.tgz", + "integrity": "sha512-XWMKIZQFW7nfI8sPQR2kWsMezKfrIngREIGpnd3COka33ANNBjdlkdViqpcia6/R+9T0idnCuP3MZS8OYZrEMw==", "funding": [ { "type": "github", @@ -32,9 +32,9 @@ }, "dependencies": { "@shinsenter/defer.js": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.4.2.tgz", - "integrity": "sha512-hZkySx293V5zqZb1aEc4ARm3v2ONj3ufPtmZRJzZMzmTNfmpdcVjfcBqgm09vf5ja1lH1NOLE5zxYF4KIwn7yQ==" + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@shinsenter/defer.js/-/defer.js-2.5.0.tgz", + "integrity": "sha512-XWMKIZQFW7nfI8sPQR2kWsMezKfrIngREIGpnd3COka33ANNBjdlkdViqpcia6/R+9T0idnCuP3MZS8OYZrEMw==" } } } diff --git a/package.json b/package.json index 026a31d..d346764 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "author": "Mai Nhut Tan ", "license": "GPL-2.0", "dependencies": { - "@shinsenter/defer.js": "^2.4.2" + "@shinsenter/defer.js": "^2.5.0" }, "repository": { "type": "git",