diff --git a/composer.json b/composer.json index 63fec3d..2044f8b 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "description": "Acknowledge the people behind your frontend dependencies - and give thanks!", "type": "library", "license": "MIT", - "version": "1.2.0", + "version": "1.2.1", "keywords": ["gratitude", "appreciation", "gratefulness", "thankfulness"], "homepage": "https://github.com/S1SYPHOS", "scripts": { diff --git a/lib/Drivers/Composer.php b/lib/Drivers/Composer.php index 64db77e..67fd209 100644 --- a/lib/Drivers/Composer.php +++ b/lib/Drivers/Composer.php @@ -60,7 +60,7 @@ protected function process(\Shieldon\SimpleCache\Cache $cache, array $config): \ $data = []; # Build unique caching key - $hash = md5($pkgName); + $hash = md5($pkgName . $pkg['version']); # Fetch information about package .. # (1) .. from cache (if available) diff --git a/lib/Drivers/Node.php b/lib/Drivers/Node.php index 6958a30..ddf94e1 100644 --- a/lib/Drivers/Node.php +++ b/lib/Drivers/Node.php @@ -65,7 +65,7 @@ protected function process(\Shieldon\SimpleCache\Cache $cache, array $config): \ $data = []; # Build unique caching key - $hash = md5($pkgName); + $hash = md5($pkgName . $pkg['version']); # Fetch information about package .. if ($cache->has($hash)) { diff --git a/lib/Thx.php b/lib/Thx.php index f1959cb..6f7694b 100644 --- a/lib/Thx.php +++ b/lib/Thx.php @@ -28,7 +28,7 @@ class Thx /** * Current version */ - const VERSION = '1.2.0'; + const VERSION = '1.2.1'; /**